Searched refs:fileName (Results 1 - 25 of 149) sorted by relevance

123456

/haiku/src/apps/haiku3d/mesh/
H A DStaticMesh.h17 StaticMesh(const char* fileName);
24 void _ReadText(const char* fileName);
25 void _WriteBinary(const char* fileName);
26 void _ReadBinary(const char* fileName);
H A DStaticMesh.cpp26 //BString fileName;
27 //fileName << "data/" << name << ".hk3d";
28 //_LoadText(fileName);
30 //fileName << ".bin";
31 //_WriteBinary(fileName);
44 StaticMesh::_ReadText(const char* fileName) argument
46 FILE* f = fopen(fileName, "r");
48 printf("Mesh::_ReadText, error accessing %s\n", fileName);
72 fileName, fFaceCount);
77 StaticMesh::_WriteBinary(const char* fileName) argument
99 _ReadBinary(const char* fileName) argument
[all...]
/haiku/src/apps/icon-o-matic/generic/support/
H A Dsupport_settings.h16 status_t load_settings(BMessage* message, const char* fileName,
19 status_t save_settings(BMessage* message, const char* fileName,
H A Dsupport_settings.cpp21 load_settings(BMessage* message, const char* fileName, const char* folder) argument
30 if (ret == B_OK && (ret = path.Append(fileName)) == B_OK) {
44 save_settings(BMessage* message, const char* fileName, const char* folder) argument
53 if (ret == B_OK && (ret = path.Append(fileName)) == B_OK) {
/haiku/src/tests/kits/midi/synth_file_reader/
H A Dmain.cpp45 const char* fileName = argv[1]; local
51 SSynthFile synth(fileName);
56 SSynthFileReader reader(fileName);
61 printf("could not open '%s' or not a valid synth file!\n", fileName);
/haiku/src/apps/haiku3d/texture/
H A DVideoFileTexture.h21 VideoFileTexture(const char* fileName);
26 void _Load(const char* fileName);
/haiku/src/tools/cppunit/cppunit/
H A DSourceLine.cpp15 SourceLine::SourceLine( const string &fileName, argument
17 m_fileName( fileName ),
43 SourceLine::fileName() const function in class:CppUnit::SourceLine
H A DTestAssert.cpp20 string fileName )
24 SourceLine( fileName, lineNumber ) );
33 string fileName )
37 SouceLine( fileName, lineNumber ), "" );
47 string fileName )
53 fileName ); local
H A DException.cpp46 std::string fileName ) :
48 m_sourceLine( fileName, lineNumber )
106 Exception::fileName() const function in class:CppUnit::Exception
108 return m_sourceLine.isValid() ? m_sourceLine.fileName() :
/haiku/build/scripts/
H A Dbuild_haiku_repository34 fileName=`"$package" info -f "%fileName%" "$packageFile"`
35 cp "$packageFile" "$packageDir/$fileName"
/haiku/headers/tools/cppunit/cppunit/
H A DSourceLine.h35 SourceLine( const std::string &fileName,
45 std::string fileName() const;
/haiku/src/apps/haikudepot/ui_generic/
H A Dsupport.h18 status_t load_settings(BMessage* message, const char* fileName,
21 status_t save_settings(const BMessage* message, const char* fileName,
H A Dsupport.cpp25 load_settings(BMessage* message, const char* fileName, const char* folder) argument
27 if (message == NULL || fileName == NULL || fileName[0] == '\0')
39 if (ret == B_OK && (ret = path.Append(fileName)) == B_OK ) {
51 save_settings(const BMessage* message, const char* fileName, const char* folder) argument
53 if (message == NULL || fileName == NULL || fileName[0] == '\0')
69 ret = path.Append(fileName);
/haiku/src/kits/debugger/dwarf/
H A DCompilationUnit.cpp17 BString fileName; member in struct:CompilationUnit::File
21 File(const char* fileName, const char* dirName) argument
23 fileName(fileName),
108 CompilationUnit::AddFile(const char* fileName, int32 dirIndex) argument
110 File* file = new(std::nothrow) File(fileName, DirectoryAt(dirIndex));
111 if (file == NULL || file->fileName.Length() == 0 || !fFiles.AddItem(file)) {
133 return file->fileName.String();
/haiku/src/bin/package/
H A Dcommand_info.cpp52 const char* fileName = argv[optind++]; local
57 if (BString(fileName).EndsWith(".hpkg")) {
58 status_t error = info.ReadFromPackageFile(fileName);
61 fileName, strerror(error));
65 status_t error = info.ReadFromConfigFile(BEntry(fileName));
68 "%s\n", fileName, strerror(error));
93 if (variable == "fileName") {
/haiku/3rdparty/vmware/
H A Dhaiku-alpha.vmx28 serial0.fileName = "serial-port.txt"
36 sound.fileName = "-1"
44 ide0:0.fileName = "haiku-alpha.vmdk"
54 ide0:1.fileName = "blank-bfs-2048mb.vmdk"
64 ide1:0.fileName = "auto detect"
H A Dhaiku-nightly.vmx28 serial0.fileName = "serial-port.txt"
36 sound.fileName = "-1"
44 ide0:0.fileName = "haiku-nightly.vmdk"
54 ide0:1.fileName = "blank-bfs-2048mb.vmdk"
64 ide1:0.fileName = "auto detect"
H A Dhaiku.vmx28 serial0.fileName = "serial-port.txt"
36 sound.fileName = "-1"
44 ide0:0.fileName = "haiku.vmdk"
56 ide1:0.fileName = "auto detect"
/haiku/src/add-ons/kernel/file_systems/packagefs/resolvables/
H A DDependency.cpp46 char* fileName = strdup(name); local
47 if (fileName == NULL)
49 MemoryDeleter fileNameDeleter(fileName);
51 char* remainder = fileName;
57 if (!fFileName.SetTo(fileName))
/haiku/src/bin/
H A Dsettype.cpp153 const char *fileName = files[i]; local
157 status_t error = entry.SetTo(fileName, false);
160 fileName, strerror(error));
167 fileName);
175 "be set for executable files.\n", fileName);
184 error = (signature ? file.SetTo(fileName, B_READ_WRITE)
185 : node.SetTo(fileName));
188 fileName, strerror(error));
200 fileName, strerror(error));
210 "application of file \"%s\": %s\n", fileName,
[all...]
/haiku/src/tests/system/kernel/
H A Dmmap_resize_test.cpp19 const char* fileName = "/tmp/mmap-resize-test-file"; local
23 int fd = open(fileName, O_CREAT | O_RDWR | O_TRUNC, 0644);
25 fprintf(stderr, "Failed to open \"%s\": %s\n", fileName,
/haiku/src/apps/launchbox/
H A Dsupport.h19 status_t load_settings(BMessage* message, const char* fileName,
22 status_t save_settings(BMessage* message, const char* fileName,
/haiku/src/kits/package/hpkg/
H A DRepositoryReader.cpp35 BRepositoryReader::Init(const char* fileName) argument
40 return fImpl->Init(fileName);
/haiku/src/bin/makebootable/platform/bios_ia32/
H A Dmakebootable.cpp184 write_boot_code_part(const char *fileName, int fd, off_t imageOffset, argument
191 fprintf(stderr, "Error: Failed to write to \"%s\": %s\n", fileName,
359 const char *fileName = files[i]; local
361 error = entry.SetTo(fileName, true);
364 fileName, strerror(error));
373 fileName, strerror(error));
387 "\"%s\": %s\n", fileName, strerror(error));
391 fileName = info.device_name;
420 int fileNameLen = strlen(fileName);
423 if (!isdigit(fileName[
[all...]
/haiku/headers/os/add-ons/registrar/
H A DMimeSnifferAddon.h25 virtual float GuessMimeType(const char* fileName,

Completed in 394 milliseconds

123456