/external/libjpeg-turbo/ |
D | wrgif.c | 88 if (JFWRITE(dinfo->pub.output_file, dinfo->packetbuf, dinfo->bytesinpkt) in flush_packet() 205 putc(w & 0xFF, dinfo->pub.output_file); in put_word() 206 putc((w >> 8) & 0xFF, dinfo->pub.output_file); in put_word() 214 putc(val, dinfo->pub.output_file); in put_3bytes() 215 putc(val, dinfo->pub.output_file); in put_3bytes() 216 putc(val, dinfo->pub.output_file); in put_3bytes() 244 putc('G', dinfo->pub.output_file); in emit_header() 245 putc('I', dinfo->pub.output_file); in emit_header() 246 putc('F', dinfo->pub.output_file); in emit_header() 247 putc('8', dinfo->pub.output_file); in emit_header() [all …]
|
/external/vulkan-validation-layers/libs/vkjson/ |
D | vkjson_info.cc | 44 std::string output_file; member 71 options->output_file = arg2; in ParseOptions() 89 if (options->instance && options->output_file.empty()) { in ParseOptions() 94 if (!options->output_file.empty() && !options->instance && in ParseOptions() 128 std::string output_file; in Dump() local 129 if (options.output_file.empty()) { in Dump() 131 output_file.assign(out_device->properties.deviceName); in Dump() 132 output_file.append(".json"); in Dump() 134 output_file = options.output_file; in Dump() 137 if (output_file == "-") { in Dump() [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/chromium-trace/catapult/third_party/py_vulcanize/py_vulcanize/ |
D | generate.py | 161 def WriteToFile(self, output_file): argument 162 _AssertIsUTF8(output_file) 170 output_file.write('<script %s>\n' % ' '.join(attrs)) 172 output_file.write('<script>\n') 174 output_file.write(self.text_content) 175 output_file.write('</script>\n') 205 def GenerateStandaloneHTMLToFile(output_file, argument 219 _AssertIsUTF8(output_file) 223 output_file.write( 230 output_file.write(' <title>%s</title>\n ' % title) [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()
|
D | test_font_utils.cc | 87 FILE* output_file = NULL; in SerializeToFile() local 89 fopen_s(&output_file, file_path, "wb"); in SerializeToFile() 91 output_file = fopen(file_path, "wb"); in SerializeToFile() 93 EXPECT_NE(output_file, reinterpret_cast<FILE*>(NULL)); in SerializeToFile() 94 fwrite(output_stream->Get(), 1, output_stream->Size(), output_file); in SerializeToFile() 95 fflush(output_file); in SerializeToFile() 96 fclose(output_file); in SerializeToFile()
|
/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/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/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/chromium-trace/catapult/perf_insights/perf_insights/results/ |
D | json_output_formatter.py | 11 def __init__(self, output_file): argument 13 super(JSONOutputFormatter, self).__init__(output_file) 14 self.output_file = output_file 18 json.dump(d, self.output_file, indent=2) 19 if hasattr(self.output_file, 'flush'): 20 self.output_file.flush()
|
/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/chromium-trace/catapult/telemetry/telemetry/internal/platform/profiler/ |
D | netlog_profiler.py | 35 output_file = i[len(self._NET_LOG_ARG):] 36 assert output_file 42 output_file, host_output_file) 47 self._browser_backend.device.RunShellCommand('rm %s' % output_file) 48 output_file = host_output_file 49 print 'Net-internals log saved as %s' % output_file 51 return [output_file]
|
D | v8_profiler.py | 37 output_file = match.groups(0)[0] 38 assert output_file 44 output_file, host_output_file) 49 self._browser_backend.device.RunShellCommand('rm %s' % output_file) 50 output_file = host_output_file 51 print 'V8 profile saved as %s' % output_file 54 return [output_file]
|
D | vtune_profiler.py | 18 def __init__(self, pid, output_file, browser_backend, platform_backend): argument 22 self._output_file = output_file 97 for pid, output_file in process_output_file_map.iteritems(): 98 if 'renderer' in output_file: 102 for pid, output_file in process_output_file_map.iteritems(): 104 if not 'renderer' in output_file: 106 elif not 'browser0' in output_file: 110 _SingleProcessVTuneProfiler(pid, output_file, browser_backend,
|
/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/chromium-trace/catapult/tracing/tracing_build/ |
D | trace2html.py | 61 def WriteToFile(self, output_file): argument 62 output_file.write('<script id="viewer-data" type="%s">\n' % self._mime_type) 67 output_file.write(b64_content) 68 output_file.write('\n</script>\n') 72 title, output_file, argument 101 output_file, load_sequence, title, extra_scripts=scripts) 104 def WriteHTMLForTracesToFile(trace_filenames, output_file, config_name=None): argument 116 WriteHTMLForTraceDataToFile(trace_data_list, title, output_file, config_name)
|
/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/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/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/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/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 …]
|
D | yuv_cropper.py | 15 def _crop_one_frame(yuv_file, output_file, component_sizes): argument 43 output_file.write(yuv_plane) 68 output_file = open(output_file_name, 'wb') 72 data_left = _crop_one_frame(yuv_file, output_file, component_sizes) 75 output_file.close() 119 crop_frames(options.yuv_file, options.output_file, options.width,
|
/external/sfntly/cpp/src/sample/chromium/ |
D | chrome_subsetter.cc | 66 FILE* output_file = NULL; in SaveFile() local 68 fopen_s(&output_file, output_file_path, "wb"); in SaveFile() 70 output_file = fopen(output_file_path, "wb"); in SaveFile() 72 if (output_file) { in SaveFile() 73 byte_count = fwrite(output_buffer, 1, buffer_length, output_file); in SaveFile() 74 fflush(output_file); in SaveFile() 75 fclose(output_file); in SaveFile()
|
/external/webrtc/webrtc/tools/converter/ |
D | converter.cc | 38 FILE* output_file = fopen(output_file_name.c_str(), "wb"); in ConvertRGBAToI420Video() local 41 if (output_file == NULL) { in ConvertRGBAToI420Video() 90 dst_v, v_plane_size, output_file); in ConvertRGBAToI420Video() 104 fclose(output_file); in ConvertRGBAToI420Video() 115 FILE* output_file) { in AddYUVToFile() argument 116 bool success = AddYUVPlaneToFile(y_plane, y_plane_size, output_file) && in AddYUVToFile() 117 AddYUVPlaneToFile(u_plane, u_plane_size, output_file) && in AddYUVToFile() 118 AddYUVPlaneToFile(v_plane, v_plane_size, output_file); in AddYUVToFile()
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/results/ |
D | html_output_formatter_unittest.py | 53 output_file = StringIOFile() 70 output_file, FakeMetadataForTest(), False, False, 'browser_type') 109 output_file.seek(0) 124 output_file, FakeMetadataForTest(), False, False, 'browser_type') 196 last_output_len = len(output_file.getvalue()) 199 output_file.seek(0) 216 output_file, FakeMetadataForTest(), True, False, 'browser_type') 265 self.assertTrue(len(output_file.getvalue()) < last_output_len)
|