/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/ |
D | rubygenerator.py | 39 write(self.beginDict(name), file=self.outFile) 45 write(f'{enquote(key)} => {value},', file=self.outFile) 46 write(self.endDict(), file=self.outFile) 55 write('def {}'.format(name), file=self.outFile) 56 write(' @{}'.format(name), file=self.outFile) 57 write('end', file=self.outFile) 65 write('class APInames\n', ' def initialize', file=self.outFile) 85 write(self.beginDict('mapDict'), file=self.outFile) 89 file=self.outFile) 90 write(self.endDict(), file=self.outFile) [all …]
|
D | cgenerator.py | 157 write('#ifndef', headerSym, file=self.outFile) 158 write('#define', headerSym, '1', file=self.outFile) 164 write(s, file=self.outFile) 168 write('#ifdef __cplusplus', file=self.outFile) 169 write('extern "C" {', file=self.outFile) 170 write('#endif', file=self.outFile) 177 write('#ifdef __cplusplus', file=self.outFile) 178 write('}', file=self.outFile) 179 write('#endif', file=self.outFile) 182 write('#endif', file=self.outFile) [all …]
|
D | pygenerator.py | 31 write(self.beginDict(name), file=self.outFile) 37 write(f'{enquote(key)} : {value},', file=self.outFile) 38 write(self.endDict(), file=self.outFile) 72 write(self.beginDict('mapDict'), file=self.outFile) 75 pprint.pformat(self.mapDict[baseType])), file=self.outFile) 76 write(self.endDict(), file=self.outFile) 86 write(self.beginDict('requiredBy'), file=self.outFile) 91 write('{} : [{}],'.format(enquote(api), reqs), file=self.outFile) 92 write(self.endDict(), file=self.outFile)
|
/third_party/vulkan-headers/registry/ |
D | cgenerator.py | 183 write('#ifndef', headerSym, file=self.outFile) 184 write('#define', headerSym, '1', file=self.outFile) 190 write(s, file=self.outFile) 194 write('#ifdef __cplusplus', file=self.outFile) 195 write('extern "C" {', file=self.outFile) 196 write('#endif', file=self.outFile) 205 write('#ifdef __cplusplus', file=self.outFile) 206 write('}', file=self.outFile) 207 write('#endif', file=self.outFile) 210 write('#endif', file=self.outFile) [all …]
|
/third_party/skia/third_party/externals/dawn/src/tests/perf_tests/ |
D | DawnPerfTest.cpp | 34 std::ofstream outFile; in DumpTraceEventsToJSONFile() local 35 outFile.open(traceFile, std::ios_base::app); in DumpTraceEventsToJSONFile() 58 outFile << ", { " in DumpTraceEventsToJSONFile() 68 outFile.close(); in DumpTraceEventsToJSONFile() 131 std::ofstream outFile; in SetUp() local 132 outFile.open(mTraceFile); in SetUp() 133 outFile << "{ \"traceEvents\": ["; in SetUp() 134 outFile << "{}"; // Dummy object so trace events can always prepend a comma in SetUp() 135 outFile.flush(); in SetUp() 136 outFile.close(); in SetUp() [all …]
|
/third_party/skia/third_party/externals/opengl-registry/xml/ |
D | reg.py | 350 self.outFile = None 389 self.outFile = open(self.genOpts.filename, 'w') 391 self.outFile = sys.stdout 396 self.outFile.flush() 397 if (self.outFile != sys.stdout and self.outFile != sys.stderr): 398 self.outFile.close() 508 write('', file=self.outFile) 517 write('#ifndef', headerSym, file=self.outFile) 518 write('#define', headerSym, '1', file=self.outFile) 520 write('#ifdef __cplusplus', file=self.outFile) [all …]
|
/third_party/EGL/api/ |
D | reg.py | 340 self.outFile = None 379 self.outFile = open(self.genOpts.filename, 'w') 381 self.outFile = sys.stdout 386 self.outFile.flush() 387 if (self.outFile != sys.stdout and self.outFile != sys.stderr): 388 self.outFile.close() 498 write('', file=self.outFile) 507 write('#ifndef', headerSym, file=self.outFile) 508 write('#define', headerSym, '1', file=self.outFile) 510 write('#ifdef __cplusplus', file=self.outFile) [all …]
|
/third_party/openGLES/xml/ |
D | reg.py | 339 self.outFile = None 378 self.outFile = open(self.genOpts.filename, 'w') 380 self.outFile = sys.stdout 385 self.outFile.flush() 386 if (self.outFile != sys.stdout and self.outFile != sys.stderr): 387 self.outFile.close() 497 write('', file=self.outFile) 506 write('#ifndef', headerSym, file=self.outFile) 507 write('#define', headerSym, '1', file=self.outFile) 509 write('#ifdef __cplusplus', file=self.outFile) [all …]
|
/third_party/skia/third_party/externals/egl-registry/api/ |
D | reg.py | 351 self.outFile = None 390 self.outFile = open(self.genOpts.filename, 'w') 392 self.outFile = sys.stdout 397 self.outFile.flush() 398 if (self.outFile != sys.stdout and self.outFile != sys.stderr): 399 self.outFile.close() 509 write('', file=self.outFile) 518 write('#ifndef', headerSym, file=self.outFile) 519 write('#define', headerSym, '1', file=self.outFile) 521 write('#ifdef __cplusplus', file=self.outFile) [all …]
|
/third_party/skia/third_party/externals/angle2/src/tests/gles_conformance_tests/ |
D | generate_gles_conformance_tests.py | 32 def GenerateTests(outFile, testNames): argument 37 outFile.write("#include \"gles_conformance_tests.h\"\n\n") 42 outFile.write("DEFINE_CONFORMANCE_TEST_CLASS(" + testSuite + ");\n\n") 45 outFile.write("TYPED_TEST(" + testSuite + ", " + GetTestName(test) + ")\n") 46 outFile.write("{\n") 47 outFile.write(" run(\"" + test + "\");\n") 48 outFile.write("}\n\n")
|
/third_party/pulseaudio/sonic/ |
D | main.c | 19 waveFile outFile, in runSonic() argument 50 writeToWaveFile(outFile, outBuffer, samplesWritten); in runSonic() 75 waveFile inFile, outFile; in main() local 129 outFile = openOutputWaveFile(outFileName, sampleRate, numChannels); in main() 130 if(outFile == NULL) { in main() 134 runSonic(inFile, outFile, speed, pitch, rate, volume, emulateChordPitch, quality, in main() 137 closeWaveFile(outFile); in main()
|
/third_party/vulkan-loader/scripts/ |
D | dispatch_table_helper_generator.py | 99 write("#pragma once", file=self.outFile) 103 write(s, file=self.outFile) 107 write(file_comment, file=self.outFile) 137 write(copyright, file=self.outFile) 138 write(preamble, file=self.outFile) 149 write(stub, file=self.outFile) 150 write("\n\n", file=self.outFile) 151 write(device_table, file=self.outFile); 152 write("\n", file=self.outFile) 153 write(instance_table, file=self.outFile);
|
/third_party/spirv-tools/tools/as/ |
D | as.cpp | 55 const char* outFile = nullptr; in main() local 66 if (!outFile && argi + 1 < argc) { in main() 67 outFile = argv[++argi]; in main() 127 if (!outFile) { in main() 128 outFile = "out.spv"; in main() 146 if (!WriteFile<uint32_t>(outFile, "wb", binary->code, binary->wordCount)) { in main()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/tools/as/ |
D | as.cpp | 55 const char* outFile = nullptr; in main() local 66 if (!outFile && argi + 1 < argc) { in main() 67 outFile = argv[++argi]; in main() 127 if (!outFile) { in main() 128 outFile = "out.spv"; in main() 146 if (!WriteFile<uint32_t>(outFile, "wb", binary->code, binary->wordCount)) { in main()
|
/third_party/skia/third_party/externals/spirv-tools/tools/as/ |
D | as.cpp | 55 const char* outFile = nullptr; in main() local 66 if (!outFile && argi + 1 < argc) { in main() 67 outFile = argv[++argi]; in main() 127 if (!outFile) { in main() 128 outFile = "out.spv"; in main() 146 if (!WriteFile<uint32_t>(outFile, "wb", binary->code, binary->wordCount)) { in main()
|
/third_party/spirv-tools/tools/dis/ |
D | dis.cpp | 69 const char* outFile = nullptr; in main() local 93 if (!outFile && argi + 1 < argc) { in main() 94 outFile = argv[++argi]; in main() 166 if (!outFile || (0 == strcmp("-", outFile))) { in main() 208 if (!WriteFile<char>(outFile, "w", text->str, text->length)) { in main()
|
/third_party/spirv-tools/tools/link/ |
D | linker.cpp | 72 const char* outFile = nullptr; in main() local 81 if (!outFile) { in main() 82 outFile = argv[++argi]; in main() 125 if (!outFile) { in main() 126 outFile = "out.spv"; in main() 168 if (!WriteFile<uint32_t>(outFile, "wb", linkingResult.data(), in main()
|
/third_party/skia/third_party/externals/spirv-tools/tools/link/ |
D | linker.cpp | 69 const char* outFile = nullptr; in main() local 78 if (!outFile) { in main() 79 outFile = argv[++argi]; in main() 122 if (!outFile) { in main() 123 outFile = "out.spv"; in main() 164 if (!WriteFile<uint32_t>(outFile, "wb", linkingResult.data(), in main()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/tools/dis/ |
D | dis.cpp | 69 const char* outFile = nullptr; in main() local 93 if (!outFile && argi + 1 < argc) { in main() 94 outFile = argv[++argi]; in main() 166 if (!outFile || (0 == strcmp("-", outFile))) { in main() 208 if (!WriteFile<char>(outFile, "w", text->str, text->length)) { in main()
|
/third_party/skia/third_party/externals/spirv-tools/tools/dis/ |
D | dis.cpp | 69 const char* outFile = nullptr; in main() local 93 if (!outFile && argi + 1 < argc) { in main() 94 outFile = argv[++argi]; in main() 166 if (!outFile || (0 == strcmp("-", outFile))) { in main() 208 if (!WriteFile<char>(outFile, "w", text->str, text->length)) { in main()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/tools/link/ |
D | linker.cpp | 69 const char* outFile = nullptr; in main() local 78 if (!outFile) { in main() 79 outFile = argv[++argi]; in main() 122 if (!outFile) { in main() 123 outFile = "out.spv"; in main() 164 if (!WriteFile<uint32_t>(outFile, "wb", linkingResult.data(), in main()
|
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/Retired/ |
D | extensionStubSource.py | 129 write(s, file=self.outFile) 134 write('#include <vulkan/vulkan.h>', file=self.outFile) 146 write(pointer, file=self.outFile) 150 write('void vkExtInitInstance(VkInstance instance)\n{', file=self.outFile) 152 write(pointerInitializer, file=self.outFile) 153 write('}', file=self.outFile) 157 write('void vkExtInitDevice(VkDevice device)\n{', file=self.outFile) 159 write(pointerInitializer, file=self.outFile) 160 write('}', file=self.outFile)
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/tools/cfg/ |
D | cfg.cpp | 51 const char* outFile = nullptr; // Stays nullptr if printing to stdout. in main() local 60 if (!outFile && argi + 1 < argc) { in main() 61 outFile = argv[++argi]; in main() 121 WriteFile(outFile, "w", str.data(), str.size()); in main()
|
/third_party/spirv-tools/tools/cfg/ |
D | cfg.cpp | 51 const char* outFile = nullptr; // Stays nullptr if printing to stdout. in main() local 60 if (!outFile && argi + 1 < argc) { in main() 61 outFile = argv[++argi]; in main() 121 WriteFile(outFile, "w", str.data(), str.size()); in main()
|
/third_party/skia/third_party/externals/spirv-tools/tools/cfg/ |
D | cfg.cpp | 51 const char* outFile = nullptr; // Stays nullptr if printing to stdout. in main() local 60 if (!outFile && argi + 1 < argc) { in main() 61 outFile = argv[++argi]; in main() 121 WriteFile(outFile, "w", str.data(), str.size()); in main()
|