Home
last modified time | relevance | path

Searched refs:input_stream (Results 1 – 25 of 44) sorted by relevance

12

/external/dynamic_depth/internal/xmpmeta/
Djpeg_io.cc24 size_t GetBytesAvailable(std::istream* input_stream) { in GetBytesAvailable() argument
25 const std::streamoff pos = input_stream->tellg(); in GetBytesAvailable()
30 input_stream->seekg(0, std::ios::end); in GetBytesAvailable()
31 if (!input_stream->good()) { in GetBytesAvailable()
35 const std::streamoff end = input_stream->tellg(); in GetBytesAvailable()
39 input_stream->seekg(pos); in GetBytesAvailable()
48 int ReadByteAsInt(std::istream* input_stream) { in ReadByteAsInt() argument
50 input_stream->read(reinterpret_cast<char*>(&byte), 1); in ReadByteAsInt()
51 if (!input_stream->good()) { in ReadByteAsInt()
59 size_t Read2ByteLength(std::istream* input_stream, bool* error) { in Read2ByteLength() argument
[all …]
/external/sfntly/cpp/src/sample/subtly/
Dutils.cc46 FileInputStream input_stream; in LoadFonts() local
47 input_stream.Open(font_path); in LoadFonts()
48 factory->LoadFonts(&input_stream, fonts); in LoadFonts()
49 input_stream.Close(); in LoadFonts()
55 FileInputStream input_stream; in LoadFontBuilders() local
56 input_stream.Open(font_path); in LoadFontBuilders()
57 factory->LoadFontsForBuilding(&input_stream, builders); in LoadFontBuilders()
58 input_stream.Close(); in LoadFontBuilders()
/external/perfetto/tools/trace_to_text/
Dmain.cc54 std::istream* input_stream; in main() local
61 input_stream = &file_istream; in main()
69 input_stream = &std::cin; in main()
87 return perfetto::trace_to_text::TraceToSystrace(input_stream, output_stream, in main()
90 return perfetto::trace_to_text::TraceToSystrace(input_stream, output_stream, in main()
93 return perfetto::trace_to_text::TraceToText(input_stream, output_stream); in main()
96 return perfetto::trace_to_text::TraceToProfile(input_stream, output_stream); in main()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/generated/com/github/javaparser/
DASTParserTokenManager.java278 try { curChar = input_stream.readChar(); } in jjMoveStringLiteralDfa1_0()
405 try { curChar = input_stream.readChar(); } in jjMoveStringLiteralDfa2_0()
481 try { curChar = input_stream.readChar(); } in jjMoveStringLiteralDfa3_0()
557 try { curChar = input_stream.readChar(); } in jjMoveStringLiteralDfa4_0()
629 try { curChar = input_stream.readChar(); } in jjMoveStringLiteralDfa5_0()
691 try { curChar = input_stream.readChar(); } in jjMoveStringLiteralDfa6_0()
741 try { curChar = input_stream.readChar(); } in jjMoveStringLiteralDfa7_0()
775 try { curChar = input_stream.readChar(); } in jjMoveStringLiteralDfa8_0()
807 try { curChar = input_stream.readChar(); } in jjMoveStringLiteralDfa9_0()
833 try { curChar = input_stream.readChar(); } in jjMoveStringLiteralDfa10_0()
[all …]
/external/tensorflow/tensorflow/core/lib/io/
Dbuffered_inputstream_test.cc41 std::unique_ptr<RandomAccessInputStream> input_stream( in TEST() local
43 BufferedInputStream in(input_stream.get(), buf_size); in TEST()
58 std::unique_ptr<RandomAccessInputStream> input_stream( in TEST() local
60 BufferedInputStream in(input_stream.get(), buf_size); in TEST()
82 std::unique_ptr<RandomAccessInputStream> input_stream( in TEST() local
84 BufferedInputStream in(input_stream.get(), buf_size); in TEST()
107 std::unique_ptr<RandomAccessInputStream> input_stream( in TEST() local
109 BufferedInputStream in(input_stream.get(), buf_size); in TEST()
136 std::unique_ptr<RandomAccessInputStream> input_stream( in TEST() local
138 BufferedInputStream in(input_stream.get(), buf_size); in TEST()
[all …]
Dzlib_buffers_test.cc85 std::unique_ptr<RandomAccessInputStream> input_stream( in TestAllCombinations() local
87 ZlibInputStream in(input_stream.get(), input_buf_size, output_buf_size, in TestAllCombinations()
139 std::unique_ptr<RandomAccessInputStream> input_stream( in TestMultipleWrites() local
141 ZlibInputStream in(input_stream.get(), input_buf_size, output_buf_size, in TestMultipleWrites()
186 std::unique_ptr<RandomAccessInputStream> input_stream( in TEST() local
188 ZlibInputStream in(input_stream.get(), input_buf_size, output_buf_size, in TEST()
227 std::unique_ptr<RandomAccessInputStream> input_stream( in TestTell() local
229 ZlibInputStream in(input_stream.get(), input_buf_size, output_buf_size, in TestTell()
271 std::unique_ptr<RandomAccessInputStream> input_stream( in TestSkipNBytes() local
273 ZlibInputStream in(input_stream.get(), input_buf_size, output_buf_size, in TestSkipNBytes()
Dzlib_inputstream.cc56 InputStreamInterface* input_stream, in ZlibInputStream() argument
61 input_stream_(input_stream), in ZlibInputStream()
71 ZlibInputStream::ZlibInputStream(InputStreamInterface* input_stream, in ZlibInputStream() argument
75 : ZlibInputStream(input_stream, input_buffer_bytes, output_buffer_bytes, in ZlibInputStream()
Dzlib_inputstream.h48 ZlibInputStream(InputStreamInterface* input_stream, size_t input_buffer_bytes,
54 ZlibInputStream(InputStreamInterface* input_stream, size_t input_buffer_bytes,
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-generated-sources/com/github/javaparser/
DASTParserTokenManager.java366 try { curChar = input_stream.readChar(); } in jjMoveStringLiteralDfa1_0()
490 try { curChar = input_stream.readChar(); } in jjMoveStringLiteralDfa2_0()
565 try { curChar = input_stream.readChar(); } in jjMoveStringLiteralDfa3_0()
640 try { curChar = input_stream.readChar(); } in jjMoveStringLiteralDfa4_0()
711 try { curChar = input_stream.readChar(); } in jjMoveStringLiteralDfa5_0()
772 try { curChar = input_stream.readChar(); } in jjMoveStringLiteralDfa6_0()
821 try { curChar = input_stream.readChar(); } in jjMoveStringLiteralDfa7_0()
854 try { curChar = input_stream.readChar(); } in jjMoveStringLiteralDfa8_0()
885 try { curChar = input_stream.readChar(); } in jjMoveStringLiteralDfa9_0()
910 try { curChar = input_stream.readChar(); } in jjMoveStringLiteralDfa10_0()
[all …]
/external/grpc-grpc/test/core/util/
Dfuzzer_util.h34 } input_stream; typedef
37 uint8_t grpc_fuzzer_get_next_byte(input_stream* inp);
41 char* grpc_fuzzer_get_next_string(input_stream* inp, bool* special);
44 uint32_t grpc_fuzzer_get_next_uint32(input_stream* inp);
Dfuzzer_util.cc28 uint8_t grpc_fuzzer_get_next_byte(input_stream* inp) { in grpc_fuzzer_get_next_byte()
35 char* grpc_fuzzer_get_next_string(input_stream* inp, bool* special) { in grpc_fuzzer_get_next_string()
57 uint32_t grpc_fuzzer_get_next_uint32(input_stream* inp) { in grpc_fuzzer_get_next_uint32()
/external/javaparser/javaparser-core/generated-sources/javacc/com/github/javaparser/
DGeneratedJavaParserTokenManager.java367 try { curChar = input_stream.readChar(); } in jjMoveStringLiteralDfa1_0()
499 try { curChar = input_stream.readChar(); } in jjMoveStringLiteralDfa2_0()
578 try { curChar = input_stream.readChar(); } in jjMoveStringLiteralDfa3_0()
664 try { curChar = input_stream.readChar(); } in jjMoveStringLiteralDfa4_0()
737 try { curChar = input_stream.readChar(); } in jjMoveStringLiteralDfa5_0()
800 try { curChar = input_stream.readChar(); } in jjMoveStringLiteralDfa6_0()
851 try { curChar = input_stream.readChar(); } in jjMoveStringLiteralDfa7_0()
892 try { curChar = input_stream.readChar(); } in jjMoveStringLiteralDfa8_0()
925 try { curChar = input_stream.readChar(); } in jjMoveStringLiteralDfa9_0()
954 try { curChar = input_stream.readChar(); } in jjMoveStringLiteralDfa10_0()
[all …]
/external/grpc-grpc/test/cpp/util/
Dgrpc_tool.cc510 std::istream* input_stream; in CallMethod() local
529 input_stream = &std::cin; in CallMethod()
532 input_stream = &input_file; in CallMethod()
543 (!input_stream->eof() && getline(*input_stream, line))) { in CallMethod()
605 std::istream* input_stream; in CallMethod() local
613 input_stream = &std::cin; in CallMethod()
616 input_stream = &input_file; in CallMethod()
628 (!input_stream->eof() && getline(*input_stream, line))) { in CallMethod()
712 std::stringstream input_stream; in CallMethod() local
717 input_stream << std::cin.rdbuf(); in CallMethod()
[all …]
/external/webrtc/webrtc/modules/audio_processing/
Daudio_processing_impl.cc349 ? formats_.api_format.input_stream().num_channels() in InitializeLocked()
376 new AudioBuffer(formats_.api_format.input_stream().num_frames(), in InitializeLocked()
377 formats_.api_format.input_stream().num_channels(), in InitializeLocked()
418 const size_t num_in_channels = config.input_stream().num_channels(); in InitializeLocked()
437 std::min(formats_.api_format.input_stream().sample_rate_hz(), in InitializeLocked()
514 return formats_.api_format.input_stream().sample_rate_hz(); in input_sample_rate_hz()
534 return formats_.api_format.input_stream().num_channels(); in num_input_channels()
565 StreamConfig input_stream; in ProcessStream() local
572 input_stream = formats_.api_format.input_stream(); in ProcessStream()
576 input_stream.set_sample_rate_hz(input_sample_rate_hz); in ProcessStream()
[all …]
/external/tensorflow/tensorflow/lite/schema/builtin_ops_header/
Dconsistency_test.cc30 std::ifstream input_stream(kHeaderFileName, std::ios::binary); in TEST() local
31 ASSERT_TRUE(input_stream); in TEST()
32 std::string file_content((std::istreambuf_iterator<char>(input_stream)), in TEST()
/external/image_io/src/gcontainer/
Dgcontainer.cc95 std::unique_ptr<std::istream> input_stream = in WriteImageAndFiles() local
98 if (!ExtractFirstImageInJpeg(*input_stream, &message_handler, &image_range)) { in WriteImageAndFiles()
133 std::ifstream input_stream(input_file_name); in ParseFileAfterImage() local
134 if (!input_stream.is_open()) { in ParseFileAfterImage()
138 input_stream, out_file_contents); in ParseFileAfterImage()
/external/google-breakpad/src/tools/python/
Dfilter_syms.py60 def __init__(self, input_stream, output_stream, ignored_prefixes=None, argument
85 self.input_stream = input_stream
92 for line in self.input_stream:
/external/autotest/client/site_tests/audio_CrasStress/
Daudio_CrasStress.py81 def run_once(self, input_stream=True, output_stream=True): argument
90 if not input_stream and not output_stream:
109 if not input_stream:
125 if input_stream:
/external/protobuf/src/google/protobuf/util/
Djson_util.cc99 io::ArrayInputStream input_stream(binary_input.data(), binary_input.size()); in BinaryToJsonString() local
101 return BinaryToJsonStream(resolver, type_url, &input_stream, &output_stream, in BinaryToJsonString()
169 io::ArrayInputStream input_stream(json_input.data(), json_input.size()); in JsonToBinaryString() local
171 return JsonToBinaryStream(resolver, type_url, &input_stream, &output_stream); in JsonToBinaryString()
/external/grpc-grpc/test/core/security/
Dalts_credentials_fuzzer.cc36 using grpc_core::testing::input_stream;
46 input_stream* inp, grpc_alts_credentials_options* options) { in read_target_service_accounts()
73 input_stream inp = {data, data + size}; in LLVMFuzzerTestOneInput()
/external/grpc-grpc/test/core/end2end/fuzzers/
Dapi_fuzzer.cc47 using grpc_core::testing::input_stream;
74 static void end(input_stream* inp) { inp->cur = inp->end; } in end()
76 static void read_buffer(input_stream* inp, char** buffer, size_t* length, in read_buffer()
97 static grpc_slice read_string_like_slice(input_stream* inp) { in read_string_like_slice()
105 static grpc_slice read_buffer_like_slice(input_stream* inp) { in read_buffer_like_slice()
116 static uint32_t read_uint22(input_stream* inp) { in read_uint22()
131 static grpc_byte_buffer* read_message(input_stream* inp) { in read_message()
139 static int read_int(input_stream* inp) { in read_int()
143 static grpc_channel_args* read_args(input_stream* inp) { in read_args()
193 static const char* read_cred_artifact(cred_artifact_ctx* ctx, input_stream* inp, in read_cred_artifact()
[all …]
/external/skqp/tools/
Dmisc_utils.py17 def search_within_stream(input_stream, pattern, default=None): argument
39 for line in input_stream:
/external/skia/tools/
Dmisc_utils.py17 def search_within_stream(input_stream, pattern, default=None): argument
39 for line in input_stream:
/external/protobuf/src/google/protobuf/
Dtext_format_unittest.cc537 io::ArrayInputStream input_stream(proto_debug_string_.data(), in TEST_F() local
539 TextFormat::Parse(&input_stream, &proto_); in TEST_F()
544 io::ArrayInputStream input_stream(proto_debug_string_.data(), in TEST_F() local
546 TextFormat::Parse(&input_stream, &proto_); in TEST_F()
575 io::ArrayInputStream input_stream(parse_string.data(), in TEST_F() local
577 TextFormat::Parse(&input_stream, &proto_); in TEST_F()
613 io::ArrayInputStream input_stream(parse_string.data(), in TEST_F() local
616 TextFormat::Parse(&input_stream, &proto_); in TEST_F()
669 io::ArrayInputStream input_stream(parse_string.data(), in TEST_F() local
672 TextFormat::Parse(&input_stream, &proto_); in TEST_F()
[all …]
/external/apache-commons-bcel/src/examples/Mini/
DMiniParserTokenManager.java586 static private ASCII_CharStream input_stream; field in MiniParserTokenManager
595 if (input_stream != null) { in MiniParserTokenManager()
600 input_stream = stream; in MiniParserTokenManager()
611 input_stream = stream; in ReInit()

12