Home
last modified time | relevance | path

Searched refs:output_stream (Results 1 – 25 of 41) sorted by relevance

12

/external/sfntly/cpp/src/test/
Dtest_font_utils.cc40 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()
Dfont_parsing_test.cc109 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()
Dtest_font_utils.h35 void SerializeToFile(MemoryOutputStream* output_stream, const char* file_path);
/external/chromium-trace/catapult/telemetry/telemetry/internal/results/
Dresults_options.py137 output_stream = _GetOutputStream(output_format, options.output_dir)
141 output_stream, trace_tag=options.output_trace_tag))
144 output_stream, benchmark_metadata, options.reset_results,
148 output_stream, benchmark_metadata))
152 output_stream, benchmark_metadata))
156 output_stream, benchmark_metadata, options.reset_results))
160 output_stream, benchmark_metadata, options.reset_results,
Doutput_formatter.py19 def __init__(self, output_stream): argument
25 self._output_stream = output_stream
39 print 'View result at file://' + os.path.abspath(self.output_stream.name)
49 def output_stream(self): member in OutputFormatter
Djson_output_formatter.py47 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')
Dchart_json_output_formatter.py98 def __init__(self, output_stream, benchmark_metadata): argument
99 super(ChartJsonOutputFormatter, self).__init__(output_stream)
112 json.dump(results, self.output_stream, indent=2,
114 self.output_stream.write('\n')
Dcsv_pivot_table_output_formatter.py30 def __init__(self, output_stream, trace_tag=''): argument
31 super(CsvPivotTableOutputFormatter, self).__init__(output_stream)
35 csv_writer = csv.writer(self.output_stream)
Dlegacy_html_output_formatter.py39 def __init__(self, output_stream, metadata, reset_results, browser_type, argument
41 super(LegacyHtmlOutputFormatter, self).__init__(output_stream)
76 def _ReadExistingResults(self, output_stream): argument
77 results_html = output_stream.read()
Dhistogram_set_json_output_formatter.py12 def __init__(self, output_stream, metadata, reset_results): argument
13 super(HistogramSetJsonOutputFormatter, self).__init__(output_stream)
Dhtml_output_formatter.py21 def __init__(self, output_stream, metadata, reset_results, argument
23 super(HtmlOutputFormatter, self).__init__(output_stream)
Dgtest_progress_reporter.py23 def __init__(self, output_stream, output_skipped_tests_summary=False): argument
25 self._output_stream = output_stream
Dpage_test_results_unittest.py369 output_stream = stream.TestOutputStream()
375 output_stream, benchmark_metadata))
377 output_stream, benchmark_metadata))
381 self.assertEquals(output_stream.output_data,
/external/chromium-trace/catapult/telemetry/telemetry/
Drecord_wpr.py97 def _PrintAllImpl(all_items, item_name, output_stream): argument
98 output_stream.write('Available %s\' names with descriptions:\n' % item_name)
101 _PrintPairs(key_description, output_stream)
102 output_stream.write('\n')
105 def _PrintAllBenchmarks(base_dir, output_stream): argument
110 output_stream)
113 def _PrintAllStories(base_dir, output_stream): argument
117 output_stream)
120 def _PrintPairs(pairs, output_stream, prefix=''): argument
125 output_stream.write(format_string % (a, b.strip()))
/external/v8/tools/ignition/
Dlinux_perf_report.py164 def write_flamegraph_input_file(output_stream, callchains): argument
166 output_stream.write("{}; {}\n".format(callchain, count))
169 def write_handlers_report(output_stream, callchains): argument
175 output_stream.write(
243 write_flamegraph_input_file(program_options.output_stream, callchains)
245 write_handlers_report(program_options.output_stream, callchains)
/external/sfntly/cpp/src/sample/subsetter/
Dsubset_util.cc89 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/
Dutils.cc73 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/protobuf/src/google/protobuf/util/
Djson_util_test.cc247 SegmentedZeroCopyOutputStream output_stream(segments); in TEST() local
248 internal::ZeroCopyStreamByteSink byte_sink(&output_stream); in TEST()
267 SegmentedZeroCopyOutputStream output_stream(segments); in TEST() local
268 internal::ZeroCopyStreamByteSink byte_sink(&output_stream); in TEST()
289 SegmentedZeroCopyOutputStream output_stream(segments); in TEST() local
290 internal::ZeroCopyStreamByteSink byte_sink(&output_stream); in TEST()
Djson_util.cc100 io::StringOutputStream output_stream(json_output); in BinaryToJsonString() local
101 return BinaryToJsonStream(resolver, type_url, &input_stream, &output_stream, in BinaryToJsonString()
170 io::StringOutputStream output_stream(binary_output); in JsonToBinaryString() local
171 return JsonToBinaryStream(resolver, type_url, &input_stream, &output_stream); in JsonToBinaryString()
/external/google-breakpad/src/tools/python/
Dfilter_syms.py60 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/
Dcpp_unittest.cc653 io::CodedOutputStream output_stream(&array_stream); in TEST() local
654 message1.SerializeWithCachedSizes(&output_stream); in TEST()
655 EXPECT_FALSE(output_stream.HadError()); in TEST()
656 EXPECT_EQ(size, output_stream.ByteCount()); in TEST()
672 io::CodedOutputStream output_stream(&array_stream); in TEST() local
673 message1.SerializeWithCachedSizes(&output_stream); in TEST()
674 EXPECT_FALSE(output_stream.HadError()); in TEST()
675 EXPECT_EQ(size, output_stream.ByteCount()); in TEST()
1916 io::CodedOutputStream output_stream(&array_stream); in TEST_F() local
1917 message1.SerializeWithCachedSizes(&output_stream); in TEST_F()
[all …]
/external/webrtc/webrtc/modules/audio_processing/
Daudio_processing_impl.cc350 : 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/
Dprogress_reporter.py13 def __init__(self, output_stream): argument
14 self._output_stream = output_stream
/external/protobuf/src/google/protobuf/
Dlite_unittest.cc335 google::protobuf::io::StringOutputStream output_stream(&buffer); in main() local
336 google::protobuf::io::CodedOutputStream coded_output(&output_stream); in main()
542 google::protobuf::io::CodedOutputStream output_stream(&array_stream); in main() local
543 message1.SerializeWithCachedSizes(&output_stream); in main()
544 EXPECT_FALSE(output_stream.HadError()); in main()
545 EXPECT_EQ(size, output_stream.ByteCount()); in main()
Dwire_format_unittest.cc496 io::CodedOutputStream output_stream(&array_stream); in TEST() local
497 message_set.SerializeWithCachedSizes(&output_stream); in TEST()
498 ASSERT_FALSE(output_stream.HadError()); in TEST()
504 io::CodedOutputStream output_stream(&string_stream); in TEST() local
505 WireFormat::SerializeWithCachedSizes(message_set, size, &output_stream); in TEST()
506 ASSERT_FALSE(output_stream.HadError()); in TEST()
573 io::StringOutputStream output_stream(&data); in TEST() local
574 io::CodedOutputStream coded_output(&output_stream); in TEST()

12