/haiku/src/tools/locale/ |
H A D | linkcatkeys.cpp | 51 BString outputFile("default.catalog"); in main() local 75 outputFile = (++argv)[0]; in main() 93 if (inputFiles.empty() || !catalogSig || !outputFile.Length()) in main() 96 DefaultCatalog targetCatImpl(outputFile.String(), catalogSig, in main() 100 outputFile.String(), strerror(res)); in main() 128 BEntry entry(outputFile.String()); in main() 136 outputFile.String(), strerror(res)); in main() 142 BEntry entry(outputFile.String()); in main() 150 outputFile.String(), strerror(res)); in main() 156 res = targetCatImpl.WriteToFile(outputFile.String()); in main() [all …]
|
H A D | collectcatkeys.cpp | 31 BString outputFile; variable 248 outputFile = (++argv)[0]; in main() 264 if (!outputFile.Length() && inputFile) { in main() 267 outputFile = inputFile; in main() 268 int32 dot = outputFile.FindLast('.'); in main() 270 outputFile.Truncate(dot); in main() 271 outputFile << ".catkeys"; in main() 273 if (!inputFile || !catalogSig || !outputFile.Length() || !catalogLang) in main() 298 res = catalog->WriteToFile(outputFile.String()); in main() 301 outputFile.String(), strerror(res)); in main() [all …]
|
/haiku/src/bin/locale/ |
H A D | linkcatkeys.cpp | 51 BString outputFile("default.catalog"); in main() local 75 outputFile = (++argv)[0]; in main() 93 if (inputFiles.empty() || !catalogSig || !outputFile.Length()) in main() 99 outputFile.String(), strerror(res)); in main() 106 outputFile.String()); in main() 144 BEntry entry(outputFile.String()); in main() 151 outputFile.String(), strerror(res)); in main() 157 BEntry entry(outputFile.String()); in main() 164 outputFile.String(), strerror(res)); in main() 170 res = targetCatalog.WriteToFile(outputFile.String()); in main() [all …]
|
H A D | collectcatkeys.cpp | 31 BString outputFile; variable 242 outputFile = (++argv)[0]; in main() 260 if (!outputFile.Length() && inputFile) { in main() 263 outputFile = inputFile; in main() 264 int32 dot = outputFile.FindLast('.'); in main() 266 outputFile.Truncate(dot); in main() 267 outputFile << ".catkeys"; in main() 269 if (!inputFile || !catalogSig || !outputFile.Length() || !catalogLang) in main() 294 res = catalog->WriteToFile(outputFile.String()); in main() 297 outputFile.String(), strerror(res)); in main() [all …]
|
/haiku/src/bin/ |
H A D | resattr.cpp | 174 resources_to_attributes(const char *outputFile, const char **inputFiles, in resources_to_attributes() argument 178 if (!BEntry(outputFile).Exists()) { in resources_to_attributes() 180 status_t error = createdOut.SetTo(outputFile, in resources_to_attributes() 184 outputFile, strerror(error)); in resources_to_attributes() 191 status_t error = out.SetTo(outputFile); in resources_to_attributes() 193 fprintf(stderr, "Failed to open output file `%s': %s\n", outputFile, in resources_to_attributes() 226 attributes_to_resources(const char *outputFile, const char **inputFiles, in attributes_to_resources() argument 231 status_t error = out.SetTo(outputFile, B_READ_WRITE | B_CREATE_FILE); in attributes_to_resources() 233 fprintf(stderr, "Failed to open output file `%s': %s\n", outputFile, in attributes_to_resources() 243 outputFile, strerror(error)); in attributes_to_resources() [all …]
|
H A D | badblocks.cpp | 16 FILE *outputFile = NULL; variable 78 fprintf(outputFile, "%lld\n", block + i); in scan_device() 105 outputFile = stdout; in main()
|
/haiku/src/bin/debug/time_stats/ |
H A D | time_stats.cpp | 52 const char* outputFile = NULL; in main() local 82 outputFile = optarg; in main() 99 if (outputFile != NULL) { in main() 100 outFD = open(outputFile, O_WRONLY | O_CREAT | O_TRUNC, in main() 103 fprintf(stderr, "Error: Failed to open \"%s\": %s\n", outputFile, in main()
|
/haiku/src/bin/debug/strace/ |
H A D | strace.cpp | 313 print_buffer(FILE *outputFile, char* buffer, int32 length) in print_buffer() argument 316 if (outputFile != NULL) in print_buffer() 317 fwrite(buffer, length, 1, outputFile); in print_buffer() 340 print_syscall(FILE *outputFile, Syscall* syscall, debug_pre_syscall &message, in print_syscall() argument 388 print_buffer(outputFile, buffer, sizeof(buffer) - length); in print_syscall() 393 print_syscall(FILE *outputFile, Syscall* syscall, debug_post_syscall &message, in print_syscall() argument 483 print_buffer(outputFile, buffer, sizeof(buffer) - length); in print_syscall() 488 print_signal(FILE *outputFile, debug_signal_received &message, in print_signal() argument 507 print_buffer(outputFile, buffer, sizeof(buffer) - length); in print_signal() 521 print_stats(FILE* outputFile) in print_stats() argument [all …]
|
/haiku/src/tests/kits/support/ |
H A D | compression_test.cpp | 143 BFile outputFile; in main() local 144 error = outputFile.SetTo(outputFilePath, in main() 212 error = outputFile.WriteExactly(buffer, bytesRead); in main() 224 &outputFile, compressionParameters, outputStream); in main() 227 &outputFile, decompressionParameters, outputStream); in main()
|
/haiku/src/bin/package/ |
H A D | command_checksum.cpp | 149 ChecksumIO outputFile; in command_checksum() local 150 error = packageWriter.Init(new BDataPositionIOWrapper(&outputFile), true, in command_checksum() 159 printf("%s\n", outputFile.Digest().String()); in command_checksum()
|
/haiku/src/bin/rc/ |
H A D | compile.cpp | 264 rdef_compile(const char *outputFile) in rdef_compile() argument 268 if (outputFile == NULL || outputFile[0] == '\0') { in rdef_compile() 273 rsrc_file = outputFile; in rdef_compile()
|
/haiku/src/bin/debug/scheduling_recorder/ |
H A D | scheduling_recorder.cpp | 76 status_t Init(const char* outputFile) in Init() argument 79 status_t error = fOutputFile.SetTo(outputFile, in Init() 82 fprintf(stderr, "Error: Failed to open \"%s\": %s\n", outputFile, in Init() 355 const char* outputFile = argv[optind++]; in main() local 360 if (recorder.Init(outputFile) != B_OK) in main()
|
/haiku/src/tools/anyboot/ |
H A D | anyboot.cpp | 183 const char *outputFile = NULL; in main() local 223 else if (outputFile == NULL) in main() 224 outputFile = argv[index]; in main() 230 int outputFileHandle = open(outputFile, O_WRONLY | O_TRUNC | O_CREAT, in main()
|
/haiku/src/add-ons/kernel/drivers/input/i2c_hid/ |
H A D | HIDDevice.cpp | 74 char outputFile[128]; in HIDDevice() local 75 sprintf(outputFile, "/tmp/i2c_hid_report_descriptor_%04x_%04x.bin", in HIDDevice() 77 int fd = open(outputFile, O_WRONLY | O_CREAT | O_TRUNC, 0644); in HIDDevice()
|
/haiku/src/add-ons/kernel/drivers/input/usb_hid/ |
H A D | HIDDevice.cpp | 139 char outputFile[128]; in HIDDevice() local 140 sprintf(outputFile, "/tmp/usb_hid_report_descriptor_%04x_%04x_%lu.bin", in HIDDevice() 143 int fd = open(outputFile, O_WRONLY | O_CREAT | O_TRUNC, 0644); in HIDDevice()
|
/haiku/src/bin/debug/profile/ |
H A D | profile.cpp | 1024 const char* outputFile = NULL; in main() local 1067 outputFile = optarg; in main() 1096 if (outputFile != NULL) { in main() 1097 gOptions.output = fopen(outputFile, "w+"); in main() 1100 kCommandName, outputFile, strerror(errno)); in main()
|