/external/sfntly/cpp/src/test/ |
D | test_font_utils.cc | 40 MemoryOutputStream output_stream; in SerializeFont() local 41 factory->SerializeFont(font, &output_stream); in SerializeFont() 42 SerializeToFile(&output_stream, font_path); in SerializeFont() 83 void SerializeToFile(MemoryOutputStream* output_stream, const char* file_path) { in SerializeToFile() argument 85 assert(output_stream); in SerializeToFile() 94 fwrite(output_stream->Get(), 1, output_stream->Size(), output_file); in SerializeToFile()
|
D | font_parsing_test.cc | 109 MemoryOutputStream output_stream; in TestTTFReadWrite() local 110 factory->SerializeFont(font, &output_stream); in TestTTFReadWrite() 111 EXPECT_GE(output_stream.Size(), SAMPLE_TTF_SIZE); in TestTTFReadWrite() 127 MemoryOutputStream output_stream; in TestTTFMemoryBasedReadWrite() local 128 factory->SerializeFont(font, &output_stream); in TestTTFMemoryBasedReadWrite() 129 EXPECT_GE(output_stream.Size(), input_buffer.size()); in TestTTFMemoryBasedReadWrite()
|
D | test_font_utils.h | 35 void SerializeToFile(MemoryOutputStream* output_stream, const char* file_path);
|
/external/opencv3/apps/annotation/ |
D | opencv_annotation.cpp | 74 void get_annotations(Mat input_image, stringstream* output_stream) in get_annotations() argument 148 *output_stream << " " << num_of_rec << temp_stream.str() << endl; in get_annotations() 197 stringstream output_stream; in main() local 198 get_annotations(current_image, &output_stream); in main() 201 if (output_stream.str() != ""){ in main() 202 output << filenames[i] << output_stream.str(); in main()
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/results/ |
D | json_output_formatter.py | 47 def __init__(self, output_stream, benchmark_metadata): argument 48 super(JsonOutputFormatter, self).__init__(output_stream) 58 self.output_stream, indent=2) 59 self.output_stream.write('\n')
|
D | results_options.py | 127 output_stream = _GetOutputStream(output_format, options.output_dir) 131 output_stream, trace_tag=options.output_trace_tag)) 135 output_stream, trace_tag=options.output_trace_tag)) 146 output_stream, benchmark_metadata, options.reset_results, 151 output_stream, benchmark_metadata)) 155 output_stream, benchmark_metadata))
|
D | chart_json_output_formatter.py | 73 def __init__(self, output_stream, benchmark_metadata): argument 74 super(ChartJsonOutputFormatter, self).__init__(output_stream) 82 self.output_stream, indent=2) 83 self.output_stream.write('\n')
|
D | output_formatter.py | 16 def __init__(self, output_stream): argument 22 self._output_stream = output_stream 36 def output_stream(self): member in OutputFormatter
|
D | csv_pivot_table_output_formatter.py | 29 def __init__(self, output_stream, trace_tag=''): argument 30 super(CsvPivotTableOutputFormatter, self).__init__(output_stream) 34 csv_writer = csv.writer(self.output_stream)
|
D | buildbot_output_formatter.py | 15 def __init__(self, output_stream, trace_tag=''): argument 16 super(BuildbotOutputFormatter, self).__init__(output_stream) 23 self.output_stream.write(output + '\n') 24 self.output_stream.flush()
|
D | html_output_formatter.py | 41 def __init__(self, output_stream, metadata, reset_results, upload_results, argument 43 super(HtmlOutputFormatter, self).__init__(output_stream) 48 self._existing_results = self._ReadExistingResults(output_stream) 79 def _ReadExistingResults(self, output_stream): argument 80 results_html = output_stream.read()
|
D | gtest_progress_reporter.py | 23 def __init__(self, output_stream, output_skipped_tests_summary=False): argument 25 self._output_stream = output_stream
|
/external/chromium-trace/catapult/telemetry/telemetry/ |
D | record_wpr.py | 88 def _PrintAllImpl(all_items, item_name, output_stream): argument 89 output_stream.write('Available %s\' names with descriptions:\n' % item_name) 92 _PrintPairs(key_description, output_stream) 93 output_stream.write('\n') 96 def _PrintAllBenchmarks(base_dir, output_stream): argument 101 output_stream) 104 def _PrintAllStories(base_dir, output_stream): argument 108 output_stream) 111 def _PrintPairs(pairs, output_stream, prefix=''): argument 116 output_stream.write(format_string % (a, b.strip()))
|
/external/chromium-trace/catapult/perf_insights/perf_insights/results/ |
D | output_formatter.py | 11 def __init__(self, output_stream): argument 12 self._output_stream = output_stream 18 def output_stream(self): member in OutputFormatter
|
D | gtest_progress_reporter.py | 12 def __init__(self, canonical_url, output_stream, timestamp): argument 14 self._output_stream = output_stream 48 def __init__(self, output_stream): argument 50 self._output_stream = output_stream
|
/external/sfntly/cpp/src/sample/subsetter/ |
D | subset_util.cc | 89 MemoryOutputStream output_stream; in Subset() local 90 factory->SerializeFont(new_font, &output_stream); in Subset() 93 fwrite(output_stream.Get(), 1, output_stream.Size(), output_file); in Subset()
|
/external/sfntly/cpp/src/sample/subtly/ |
D | utils.cc | 73 MemoryOutputStream output_stream; in SerializeFont() local 74 factory->SerializeFont(font, &output_stream); in SerializeFont() 84 for (size_t i = 0; i < output_stream.Size(); ++i) { in SerializeFont() 85 fwrite(&(output_stream.Get()[i]), 1, 1, output_file); in SerializeFont()
|
/external/google-breakpad/src/tools/python/ |
D | filter_syms.py | 60 def __init__(self, input_stream, output_stream, ignored_prefixes=None, argument 86 self.output_stream = output_stream 95 self.output_stream.write(parsed + '\n')
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_unittest.cc | 628 io::CodedOutputStream output_stream(&array_stream); in TEST() local 629 message1.SerializeWithCachedSizes(&output_stream); in TEST() 630 EXPECT_FALSE(output_stream.HadError()); in TEST() 631 EXPECT_EQ(size, output_stream.ByteCount()); in TEST() 647 io::CodedOutputStream output_stream(&array_stream); in TEST() local 648 message1.SerializeWithCachedSizes(&output_stream); in TEST() 649 EXPECT_FALSE(output_stream.HadError()); in TEST() 650 EXPECT_EQ(size, output_stream.ByteCount()); in TEST() 1851 io::CodedOutputStream output_stream(&array_stream); in TEST_F() local 1852 message1.SerializeWithCachedSizes(&output_stream); in TEST_F() [all …]
|
/external/webrtc/webrtc/modules/audio_processing/ |
D | audio_processing_impl.cc | 350 : formats_.api_format.output_stream().num_channels(); in InitializeLocked() 380 formats_.api_format.output_stream().num_frames())); in InitializeLocked() 419 const size_t num_out_channels = config.output_stream().num_channels(); in InitializeLocked() 438 formats_.api_format.output_stream().sample_rate_hz()); in InitializeLocked() 544 return formats_.api_format.output_stream().num_channels(); in num_output_channels() 566 StreamConfig output_stream; in ProcessStream() local 573 output_stream = formats_.api_format.output_stream(); in ProcessStream() 579 output_stream.set_sample_rate_hz(output_sample_rate_hz); in ProcessStream() 580 output_stream.set_num_channels(ChannelsFromLayout(output_layout)); in ProcessStream() 581 output_stream.set_has_keyboard(LayoutHasKeyboard(output_layout)); in ProcessStream() [all …]
|
/external/chromium-trace/catapult/telemetry/telemetry/testing/ |
D | gtest_progress_reporter.py | 19 def __init__(self, output_stream): argument 20 super(GTestProgressReporter, self).__init__(output_stream)
|
D | progress_reporter.py | 13 def __init__(self, output_stream): argument 14 self._output_stream = output_stream
|
/external/protobuf/src/google/protobuf/ |
D | wire_format_unittest.cc | 492 io::CodedOutputStream output_stream(&array_stream); in TEST() local 493 message_set.SerializeWithCachedSizes(&output_stream); in TEST() 494 ASSERT_FALSE(output_stream.HadError()); in TEST() 500 io::CodedOutputStream output_stream(&string_stream); in TEST() local 501 WireFormat::SerializeWithCachedSizes(message_set, size, &output_stream); in TEST() 502 ASSERT_FALSE(output_stream.HadError()); in TEST() 569 io::StringOutputStream output_stream(&data); in TEST() local 570 io::CodedOutputStream coded_output(&output_stream); in TEST()
|
D | extension_set_unittest.cc | 371 io::CodedOutputStream output_stream(&array_stream); in TEST() local 372 source.SerializeWithCachedSizes(&output_stream); in TEST() 373 ASSERT_FALSE(output_stream.HadError()); in TEST() 415 io::CodedOutputStream output_stream(&array_stream); in TEST() local 416 source.SerializeWithCachedSizes(&output_stream); in TEST() 417 ASSERT_FALSE(output_stream.HadError()); in TEST()
|
/external/sfntly/cpp/src/sample/chromium/ |
D | subsetter_impl.cc | 667 MemoryOutputStream output_stream; in SubsetFont() local 668 factory_->SerializeFont(new_font, &output_stream); in SubsetFont() 669 int length = static_cast<int>(output_stream.Size()); in SubsetFont() 672 memcpy(*output_buffer, output_stream.Get(), length); in SubsetFont()
|