/external/v8/src/inspector/build/ |
D | generate_protocol_externs.py | 107 output_file = open(output_path, "w") 109 output_file.write( 129 output_file.write("\n\n/**\n * @constructor\n*/\n") 130 output_file.write("Protocol.%sAgent = function(){};\n" % domain_name) 134 output_file.write("\n/**\n") 143 …output_file.write(" * @param {%s=} opt_%s\n" % (param_type(domain_name, in_param), in_param["name"… 146 … output_file.write(" * @param {%s} %s\n" % (param_type(domain_name, in_param), in_param["name"])) 162 …output_file.write(" * @param {function(%s):%s} opt_callback\n" % (", ".join(returns), callback_ret… 164 output_file.write(" * @return {!Promise.<T>}\n") 165 output_file.write(" * @template T\n") [all …]
|
/external/libjpeg-turbo/ |
D | wrgif.c | 89 if (JFWRITE(dinfo->pub.output_file, dinfo->packetbuf, dinfo->bytesinpkt) in flush_packet() 206 putc(w & 0xFF, dinfo->pub.output_file); in put_word() 207 putc((w >> 8) & 0xFF, dinfo->pub.output_file); in put_word() 215 putc(val, dinfo->pub.output_file); in put_3bytes() 216 putc(val, dinfo->pub.output_file); in put_3bytes() 217 putc(val, dinfo->pub.output_file); in put_3bytes() 245 putc('G', dinfo->pub.output_file); in emit_header() 246 putc('I', dinfo->pub.output_file); in emit_header() 247 putc('F', dinfo->pub.output_file); in emit_header() 248 putc('8', dinfo->pub.output_file); in emit_header() [all …]
|
/external/vulkan-validation-layers/libs/vkjson/ |
D | vkjson_info.cc | 40 std::string output_file; member 67 options->output_file = arg2; in ParseOptions() 85 if (options->instance && options->output_file.empty()) { in ParseOptions() 90 if (!options->output_file.empty() && !options->instance && in ParseOptions() 124 std::string output_file; in Dump() local 125 if (options.output_file.empty()) { in Dump() 128 output_file.assign("/sdcard/Android/" + std::string(out_device->properties.deviceName)); in Dump() 130 output_file.assign(out_device->properties.deviceName); in Dump() 132 output_file.append(".json"); in Dump() 134 output_file = options.output_file; in Dump() [all …]
|
/external/swiftshader/third_party/LLVM/runtime/libprofile/ |
D | GCDAProfiling.c | 39 static FILE *output_file = NULL; variable 42 fwrite(&i, 4, 1, output_file); in write_int32() 61 fwrite(s, strlen(s), 1, output_file); in write_string() 62 fwrite("\0\0\0\0", 4 - (strlen(s) % 4), 1, output_file); in write_string() 114 output_file = fopen(filename, "wb"); in llvm_gcda_start_file() 118 fwrite("adcg*204MVLL", 12, 1, output_file); in llvm_gcda_start_file() 120 fwrite("adcg*404MVLL", 12, 1, output_file); in llvm_gcda_start_file() 160 fwrite("\0\0\0\1", 4, 1, output_file); in llvm_gcda_emit_function() 171 fwrite("\0\0\xa1\1", 4, 1, output_file); in llvm_gcda_emit_arcs() 187 fwrite("\0\0\0\0\0\0\0\0", 8, 1, output_file); in llvm_gcda_end_file() [all …]
|
/external/chromium-trace/catapult/common/py_vulcanize/py_vulcanize/ |
D | generate.py | 156 def WriteToFile(self, output_file): argument 157 _AssertIsUTF8(output_file) 165 output_file.write('<script %s>\n' % ' '.join(attrs)) 167 output_file.write('<script>\n') 169 output_file.write(self.text_content) 170 output_file.write('</script>\n') 200 def GenerateStandaloneHTMLToFile(output_file, argument 214 _AssertIsUTF8(output_file) 218 output_file.write( 225 output_file.write(' <title>%s</title>\n ' % title) [all …]
|
/external/webrtc/webrtc/voice_engine/test/auto_test/standard/ |
D | file_before_streaming_test.cc | 61 FILE* output_file = fopen(output_filename_.c_str(), "rb"); in VerifyOutput() local 62 ASSERT_TRUE(output_file != NULL); in VerifyOutput() 67 EXPECT_EQ(0, fseek(output_file, sizeof(output_value) * in VerifyOutput() 69 while (fread(&output_value, sizeof(output_value), 1, output_file) == 1) { in VerifyOutput() 79 ASSERT_NE(0, feof(output_file)); in VerifyOutput() 80 ASSERT_EQ(0, fclose(output_file)); in VerifyOutput() 84 FILE* output_file = fopen(output_filename_.c_str(), "rb"); in VerifyEmptyOutput() local 85 ASSERT_TRUE(output_file != NULL); in VerifyEmptyOutput() 86 ASSERT_EQ(0, fseek(output_file, 0, SEEK_END)); in VerifyEmptyOutput() 87 EXPECT_EQ(0, ftell(output_file)); in VerifyEmptyOutput() [all …]
|
/external/protobuf/gtest/scripts/ |
D | fuse_gtest_files.py | 117 output_file = os.path.join(output_dir, relative_path) 118 if os.path.exists(output_file): 131 parent_directory = os.path.dirname(output_file) 149 output_file = file(os.path.join(output_dir, GTEST_H_OUTPUT), 'w') 169 output_file.write(line) 172 output_file.close() 175 def FuseGTestAllCcToFile(gtest_root, output_file): argument 206 output_file.write('#include <%s>\n' % (GTEST_H_OUTPUT,)) 213 output_file.write(line) 221 output_file = file(os.path.join(output_dir, GTEST_ALL_CC_OUTPUT), 'w') [all …]
|
/external/googletest/googletest/scripts/ |
D | fuse_gtest_files.py | 120 output_file = os.path.join(output_dir, relative_path) 121 if os.path.exists(output_file): 134 parent_directory = os.path.dirname(output_file) 152 output_file = open(os.path.join(output_dir, GTEST_H_OUTPUT), 'w') 172 output_file.write(line) 175 output_file.close() 178 def FuseGTestAllCcToFile(gtest_root, output_file): argument 209 output_file.write('#include "%s"\n' % (GTEST_H_OUTPUT,)) 216 output_file.write(line) 224 output_file = open(os.path.join(output_dir, GTEST_ALL_CC_OUTPUT), 'w') [all …]
|
/external/google-breakpad/src/testing/gtest/scripts/ |
D | fuse_gtest_files.py | 117 output_file = os.path.join(output_dir, relative_path) 118 if os.path.exists(output_file): 131 parent_directory = os.path.dirname(output_file) 149 output_file = file(os.path.join(output_dir, GTEST_H_OUTPUT), 'w') 169 output_file.write(line) 172 output_file.close() 175 def FuseGTestAllCcToFile(gtest_root, output_file): argument 206 output_file.write('#include "%s"\n' % (GTEST_H_OUTPUT,)) 213 output_file.write(line) 221 output_file = file(os.path.join(output_dir, GTEST_ALL_CC_OUTPUT), 'w') [all …]
|
/external/v8/testing/gtest/scripts/ |
D | fuse_gtest_files.py | 117 output_file = os.path.join(output_dir, relative_path) 118 if os.path.exists(output_file): 131 parent_directory = os.path.dirname(output_file) 149 output_file = file(os.path.join(output_dir, GTEST_H_OUTPUT), 'w') 169 output_file.write(line) 172 output_file.close() 175 def FuseGTestAllCcToFile(gtest_root, output_file): argument 206 output_file.write('#include "%s"\n' % (GTEST_H_OUTPUT,)) 213 output_file.write(line) 221 output_file = file(os.path.join(output_dir, GTEST_ALL_CC_OUTPUT), 'w') [all …]
|
/external/vulkan-validation-layers/tests/gtest-1.7.0/scripts/ |
D | fuse_gtest_files.py | 117 output_file = os.path.join(output_dir, relative_path) 118 if os.path.exists(output_file): 131 parent_directory = os.path.dirname(output_file) 149 output_file = file(os.path.join(output_dir, GTEST_H_OUTPUT), 'w') 169 output_file.write(line) 172 output_file.close() 175 def FuseGTestAllCcToFile(gtest_root, output_file): argument 206 output_file.write('#include "%s"\n' % (GTEST_H_OUTPUT,)) 213 output_file.write(line) 221 output_file = file(os.path.join(output_dir, GTEST_ALL_CC_OUTPUT), 'w') [all …]
|
/external/sfntly/cpp/src/test/ |
D | chrome_subsetter.cc | 52 FILE* output_file = NULL; in TestChromeSubsetter() local 54 fopen_s(&output_file, kOutputFileName, "wb"); in TestChromeSubsetter() 56 output_file = fopen(kOutputFileName, "wb"); in TestChromeSubsetter() 58 EXPECT_TRUE((output_file != NULL)); in TestChromeSubsetter() 59 if (output_file) { in TestChromeSubsetter() 60 int byte_count = fwrite(output_buffer, 1, output_length, output_file); in TestChromeSubsetter() 62 fflush(output_file); in TestChromeSubsetter() 63 fclose(output_file); in TestChromeSubsetter()
|
/external/google-breakpad/src/testing/scripts/ |
D | fuse_gmock_files.py | 122 output_file = file(os.path.join(output_dir, GMOCK_H_OUTPUT), 'w') 150 output_file.write('#include "%s"\n' % (gtest.GTEST_H_OUTPUT,)) 153 output_file.write(line) 156 output_file.close() 159 def FuseGMockAllCcToFile(gmock_root, output_file): argument 184 output_file.write('#include "%s"\n' % (GMOCK_H_OUTPUT,)) 199 output_file.write(line) 207 output_file = file(os.path.join(output_dir, GMOCK_GTEST_ALL_CC_OUTPUT), 'w') 209 gtest.FuseGTestAllCcToFile(GetGTestRootDir(gmock_root), output_file) 211 FuseGMockAllCcToFile(gmock_root, output_file) [all …]
|
/external/v8/testing/gmock/scripts/ |
D | fuse_gmock_files.py | 122 output_file = file(os.path.join(output_dir, GMOCK_H_OUTPUT), 'w') 150 output_file.write('#include "%s"\n' % (gtest.GTEST_H_OUTPUT,)) 153 output_file.write(line) 156 output_file.close() 159 def FuseGMockAllCcToFile(gmock_root, output_file): argument 184 output_file.write('#include "%s"\n' % (GMOCK_H_OUTPUT,)) 199 output_file.write(line) 207 output_file = file(os.path.join(output_dir, GMOCK_GTEST_ALL_CC_OUTPUT), 'w') 209 gtest.FuseGTestAllCcToFile(GetGTestRootDir(gmock_root), output_file) 211 FuseGMockAllCcToFile(gmock_root, output_file) [all …]
|
/external/googletest/googlemock/scripts/ |
D | fuse_gmock_files.py | 122 output_file = file(os.path.join(output_dir, GMOCK_H_OUTPUT), 'w') 150 output_file.write('#include "%s"\n' % (gtest.GTEST_H_OUTPUT,)) 153 output_file.write(line) 156 output_file.close() 159 def FuseGMockAllCcToFile(gmock_root, output_file): argument 184 output_file.write('#include "%s"\n' % (GMOCK_H_OUTPUT,)) 199 output_file.write(line) 207 output_file = file(os.path.join(output_dir, GMOCK_GTEST_ALL_CC_OUTPUT), 'w') 209 gtest.FuseGTestAllCcToFile(GetGTestRootDir(gmock_root), output_file) 211 FuseGMockAllCcToFile(gmock_root, output_file) [all …]
|
/external/autotest/scheduler/ |
D | luciferlib.py | 128 output_file = os.path.join(results_dir, 'job_reporter_output.log') 129 drone.spawn(_ENV, args, output_file=output_file) 171 output_file = os.path.join(results_dir, 'job_reporter_output.log') 172 drone.spawn(_ENV, args, output_file=output_file) 300 def spawn(self, path, args, output_file): argument 323 def spawn(self, path, args, output_file): argument 324 _spawn(path, [path] + args, output_file) 338 def spawn(self, path, args, output_file): argument 341 safe_file = pipes.quote(output_file) 350 def _spawn(path, argv, output_file): argument [all …]
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/scripts/ |
D | gen_llvm_ir_macros.py | 235 def generate_gen_h(functions, output_file): argument 236 output_lines = gen_file_header(os.path.basename(output_file.name)) 254 output_file.write('\n'.join(output_lines) + '\n') 259 def generate_gen_cpp(functions, output_file): argument 260 output_lines = gen_file_header(os.path.basename(output_file.name)) 294 output_file.write('\n'.join(output_lines) + '\n') 299 def generate_x86_h(output_file): argument 300 output_lines = gen_file_header(os.path.basename(output_file.name)) 325 output_file.write('\n'.join(output_lines) + '\n') 330 def generate_x86_cpp(output_file): argument [all …]
|
/external/sfntly/cpp/src/sample/subtly/ |
D | utils.cc | 76 FILE* output_file = NULL; in SerializeFont() local 78 fopen_s(&output_file, font_path, "wb"); in SerializeFont() 80 output_file = fopen(font_path, "wb"); in SerializeFont() 82 if (output_file == reinterpret_cast<FILE*>(NULL)) in SerializeFont() 85 fwrite(&(output_stream.Get()[i]), 1, 1, output_file); in SerializeFont() 87 fflush(output_file); in SerializeFont() 88 fclose(output_file); in SerializeFont()
|
/external/webrtc/webrtc/tools/barcode_tools/ |
D | barcode_encoder.py | 133 output_file = open(output_file_name, "wb") 136 output_file=output_file) 137 output_file.close() 140 def _add_to_file_and_delete(output_file, file_name): argument 152 output_file.write(input_file_contents) 162 def _overlay_barcode_and_base_frames(barcodes_file, base_file, output_file, argument 198 output_file.write(barcode_plane) 200 output_file.write(base_plane) 229 output_file = open(output_file_name, 'wb') 234 output_file, [all …]
|
/external/googletest/googletest/test/ |
D | gtest-options_test.cc | 97 const std::string& output_file = in TEST() local 100 EXPECT_STRCASEEQ(expected_output_file.c_str(), output_file.c_str()); in TEST() 102 EXPECT_EQ(expected_output_file, output_file.c_str()); in TEST() 178 const std::string& output_file = in TEST_F() local 181 EXPECT_STRCASEEQ(expected_output_file.c_str(), output_file.c_str()); in TEST_F() 183 EXPECT_EQ(expected_output_file, output_file.c_str()); in TEST_F() 209 const std::string& output_file = in TEST_F() local 213 EXPECT_STRCASEEQ(expected_output_file.c_str(), output_file.c_str()); in TEST_F() 215 EXPECT_EQ(expected_output_file, output_file.c_str()); in TEST_F()
|
/external/vulkan-validation-layers/tests/gtest-1.7.0/test/ |
D | gtest-options_test.cc | 97 const std::string& output_file = in TEST() local 100 EXPECT_STRCASEEQ(expected_output_file.c_str(), output_file.c_str()); in TEST() 102 EXPECT_EQ(expected_output_file, output_file.c_str()); in TEST() 172 const std::string& output_file = in TEST_F() local 175 EXPECT_STRCASEEQ(expected_output_file.c_str(), output_file.c_str()); in TEST_F() 177 EXPECT_EQ(expected_output_file, output_file.c_str()); in TEST_F() 203 const std::string& output_file = in TEST_F() local 207 EXPECT_STRCASEEQ(expected_output_file.c_str(), output_file.c_str()); in TEST_F() 209 EXPECT_EQ(expected_output_file, output_file.c_str()); in TEST_F()
|
/external/google-breakpad/src/testing/gtest/test/ |
D | gtest-options_test.cc | 97 const String& output_file = UnitTestOptions::GetAbsolutePathToOutputFile(); in TEST() local 99 EXPECT_STRCASEEQ(expected_output_file.c_str(), output_file.c_str()); in TEST() 101 EXPECT_EQ(expected_output_file, output_file.c_str()); in TEST() 171 const String& output_file = UnitTestOptions::GetAbsolutePathToOutputFile(); in TEST_F() local 173 EXPECT_STRCASEEQ(expected_output_file.c_str(), output_file.c_str()); in TEST_F() 175 EXPECT_EQ(expected_output_file, output_file.c_str()); in TEST_F() 201 const String& output_file = UnitTestOptions::GetAbsolutePathToOutputFile(); in TEST_F() local 204 EXPECT_STRCASEEQ(expected_output_file.c_str(), output_file.c_str()); in TEST_F() 206 EXPECT_EQ(expected_output_file, output_file.c_str()); in TEST_F()
|
/external/v8/testing/gtest/test/ |
D | gtest-options_test.cc | 97 const std::string& output_file = in TEST() local 100 EXPECT_STRCASEEQ(expected_output_file.c_str(), output_file.c_str()); in TEST() 102 EXPECT_EQ(expected_output_file, output_file.c_str()); in TEST() 172 const std::string& output_file = in TEST_F() local 175 EXPECT_STRCASEEQ(expected_output_file.c_str(), output_file.c_str()); in TEST_F() 177 EXPECT_EQ(expected_output_file, output_file.c_str()); in TEST_F() 203 const std::string& output_file = in TEST_F() local 207 EXPECT_STRCASEEQ(expected_output_file.c_str(), output_file.c_str()); in TEST_F() 209 EXPECT_EQ(expected_output_file, output_file.c_str()); in TEST_F()
|
/external/protobuf/gtest/test/ |
D | gtest-options_test.cc | 97 const String& output_file = UnitTestOptions::GetAbsolutePathToOutputFile(); in TEST() local 99 EXPECT_STRCASEEQ(expected_output_file.c_str(), output_file.c_str()); in TEST() 101 EXPECT_EQ(expected_output_file, output_file.c_str()); in TEST() 171 const String& output_file = UnitTestOptions::GetAbsolutePathToOutputFile(); in TEST_F() local 173 EXPECT_STRCASEEQ(expected_output_file.c_str(), output_file.c_str()); in TEST_F() 175 EXPECT_EQ(expected_output_file, output_file.c_str()); in TEST_F() 201 const String& output_file = UnitTestOptions::GetAbsolutePathToOutputFile(); in TEST_F() local 204 EXPECT_STRCASEEQ(expected_output_file.c_str(), output_file.c_str()); in TEST_F() 206 EXPECT_EQ(expected_output_file, output_file.c_str()); in TEST_F()
|
/external/libusb/tests/ |
D | testlib.c | 96 if (ctx->output_file != stdout) { in cleanup_test_output() 97 fclose(ctx->output_file); in cleanup_test_output() 98 ctx->output_file = stdout; in cleanup_test_output() 140 ctx->output_file = fdopen(ctx->old_stdout, "w"); in setup_test_output() 141 if (!ctx->output_file) { in setup_test_output() 142 ctx->output_file = stdout; in setup_test_output() 157 vfprintf(ctx->output_file, fmt, va); in libusb_testlib_logf() 159 fprintf(ctx->output_file, "\n"); in libusb_testlib_logf() 160 fflush(ctx->output_file); in libusb_testlib_logf() 185 ctx.output_file = stdout; in libusb_testlib_run_tests()
|