Home
last modified time | relevance | path

Searched refs:output_stream (Results 1 – 25 of 36) 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/opencv3/apps/annotation/
Dopencv_annotation.cpp74 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/
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')
Dresults_options.py127 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))
Dchart_json_output_formatter.py73 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')
Doutput_formatter.py16 def __init__(self, output_stream): argument
22 self._output_stream = output_stream
36 def output_stream(self): member in OutputFormatter
Dcsv_pivot_table_output_formatter.py29 def __init__(self, output_stream, trace_tag=''): argument
30 super(CsvPivotTableOutputFormatter, self).__init__(output_stream)
34 csv_writer = csv.writer(self.output_stream)
Dbuildbot_output_formatter.py15 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()
Dhtml_output_formatter.py41 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()
Dgtest_progress_reporter.py23 def __init__(self, output_stream, output_skipped_tests_summary=False): argument
25 self._output_stream = output_stream
/external/chromium-trace/catapult/telemetry/telemetry/
Drecord_wpr.py88 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/
Doutput_formatter.py11 def __init__(self, output_stream): argument
12 self._output_stream = output_stream
18 def output_stream(self): member in OutputFormatter
Dgtest_progress_reporter.py12 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/
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/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.cc628 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/
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/
Dgtest_progress_reporter.py19 def __init__(self, output_stream): argument
20 super(GTestProgressReporter, self).__init__(output_stream)
Dprogress_reporter.py13 def __init__(self, output_stream): argument
14 self._output_stream = output_stream
/external/protobuf/src/google/protobuf/
Dwire_format_unittest.cc492 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()
Dextension_set_unittest.cc371 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/
Dsubsetter_impl.cc667 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()

12