/external/chromium_org/net/spdy/ |
D | hpack_decoder.cc | 46 HpackInputStream input_stream(max_string_literal_size_, in HandleControlFrameHeadersComplete() local 49 while (input_stream.HasMoreData()) { in HandleControlFrameHeadersComplete() 50 if (!DecodeNextOpcode(&input_stream)) { in HandleControlFrameHeadersComplete() 98 bool HpackDecoder::DecodeNextOpcode(HpackInputStream* input_stream) { in DecodeNextOpcode() argument 100 if (input_stream->MatchPrefixAndConsume(kIndexedOpcode)) { in DecodeNextOpcode() 101 return DecodeNextIndexedHeader(input_stream); in DecodeNextOpcode() 104 if (input_stream->MatchPrefixAndConsume(kLiteralIncrementalIndexOpcode)) { in DecodeNextOpcode() 105 return DecodeNextLiteralHeader(input_stream, true); in DecodeNextOpcode() 108 if (input_stream->MatchPrefixAndConsume(kLiteralNoIndexOpcode)) { in DecodeNextOpcode() 109 return DecodeNextLiteralHeader(input_stream, false); in DecodeNextOpcode() [all …]
|
D | hpack_input_stream_test.cc | 52 HpackInputStream input_stream(kLiteralBound, str); in DecodeValidUint32() local 53 input_stream.SetBitOffsetForTest(8 - N); in DecodeValidUint32() 55 EXPECT_TRUE(input_stream.DecodeNextUint32(&I)); in DecodeValidUint32() 64 HpackInputStream input_stream(kLiteralBound, str); in ExpectDecodeUint32Invalid() local 65 input_stream.SetBitOffsetForTest(8 - N); in ExpectDecodeUint32Invalid() 67 EXPECT_FALSE(input_stream.DecodeNextUint32(&I)); in ExpectDecodeUint32Invalid() 489 HpackInputStream input_stream(kLiteralBound, "\x0estring literal"); in TEST_F() local 491 EXPECT_TRUE(input_stream.HasMoreData()); in TEST_F() 493 EXPECT_TRUE(input_stream.DecodeNextIdentityString(&string_piece)); in TEST_F() 495 EXPECT_FALSE(input_stream.HasMoreData()); in TEST_F() [all …]
|
D | hpack_decoder.h | 112 bool DecodeNextOpcode(HpackInputStream* input_stream); 113 bool DecodeNextHeaderTableSizeUpdate(HpackInputStream* input_stream); 114 bool DecodeNextIndexedHeader(HpackInputStream* input_stream); 115 bool DecodeNextLiteralHeader(HpackInputStream* input_stream, 117 bool DecodeNextName(HpackInputStream* input_stream, 119 bool DecodeNextStringLiteral(HpackInputStream* input_stream,
|
D | hpack_huffman_table_test.cc | 285 HpackInputStream input_stream(kuint32max, buffer_in); in TEST_F() local 286 EXPECT_TRUE(table_.DecodeString(&input_stream, input.size(), &buffer_out)); in TEST_F() 350 HpackInputStream input_stream(kuint32max, input); in TEST_F() local 351 EXPECT_TRUE(table_.DecodeString(&input_stream, capacity, &buffer)); in TEST_F() 360 HpackInputStream input_stream(kuint32max, input); in TEST_F() local 361 EXPECT_FALSE(table_.DecodeString(&input_stream, capacity, &buffer)); in TEST_F() 369 HpackInputStream input_stream(kuint32max, input); in TEST_F() local 370 EXPECT_FALSE(table_.DecodeString(&input_stream, capacity, &buffer)); in TEST_F() 382 HpackInputStream input_stream(kuint32max, input); in TEST_F() local 383 EXPECT_FALSE(table_.DecodeString(&input_stream, capacity, &buffer)); in TEST_F() [all …]
|
D | hpack_decoder_test.cc | 175 HpackInputStream input_stream(kLiteralBound, StringPiece("\x00\x04name", 6)); in TEST_F() local 178 EXPECT_TRUE(decoder_peer_.DecodeNextName(&input_stream, &string_piece)); in TEST_F() 180 EXPECT_FALSE(input_stream.HasMoreData()); in TEST_F() 185 HpackInputStream input_stream(kLiteralBound, input); in TEST_F() local 188 EXPECT_TRUE(decoder_peer_.DecodeNextName(&input_stream, &string_piece)); in TEST_F() 190 EXPECT_FALSE(input_stream.HasMoreData()); in TEST_F() 195 HpackInputStream input_stream(kLiteralBound, "\x01"); in TEST_F() local 198 EXPECT_TRUE(decoder_peer_.DecodeNextName(&input_stream, &string_piece)); in TEST_F() 200 EXPECT_FALSE(input_stream.HasMoreData()); in TEST_F() 206 HpackInputStream input_stream(kLiteralBound, "\x3e"); in TEST_F() local [all …]
|
/external/chromium_org/third_party/sfntly/cpp/src/sample/subtly/ |
D | utils.cc | 46 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/sfntly/cpp/src/sample/subtly/ |
D | utils.cc | 46 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/chromium_org/android_webview/native/ |
D | input_stream_unittest.cc | 52 scoped_ptr<InputStream> input_stream( in DoReadCountedStreamTest() local 56 EXPECT_TRUE(input_stream->Read(buffer.get(), bytes_requested, bytes_read)); in DoReadCountedStreamTest() 68 scoped_ptr<InputStream> input_stream(new InputStreamImpl(empty_jstream)); in TEST_F() local 73 EXPECT_TRUE(input_stream->Read(buffer.get(), bytes_requested, &bytes_read)); in TEST_F() 128 scoped_ptr<InputStream> input_stream(new InputStreamImpl(throw_jstream)); in TEST_F() local 131 EXPECT_FALSE(input_stream->Skip(10, &bytes_skipped)); in TEST_F() 134 EXPECT_FALSE(input_stream->BytesAvailable(&bytes_available)); in TEST_F() 140 EXPECT_FALSE(input_stream->Read(buffer.get(), bytes_requested, &bytes_read)); in TEST_F() 144 input_stream.reset(NULL); in TEST_F()
|
D | input_stream_impl.cc | 39 const InputStream* input_stream) { in FromInputStream() argument 40 return static_cast<const InputStreamImpl*>(input_stream); in FromInputStream()
|
D | input_stream_impl.h | 24 const InputStream* input_stream);
|
/external/chromium_org/media/audio/ |
D | virtual_audio_output_stream_unittest.cc | 79 MockVirtualAudioInputStream* const input_stream = in TEST_F() local 84 base::Unretained(input_stream))); in TEST_F() 88 input_stream, in TEST_F() 91 EXPECT_CALL(*input_stream, AddOutputStream(output_stream, _)) in TEST_F() 93 EXPECT_CALL(*input_stream, RemoveOutputStream(output_stream, _)) in TEST_F() 115 base::Unretained(input_stream))); in TEST_F()
|
/external/chromium_org/android_webview/browser/net/ |
D | android_stream_reader_url_request_job.cc | 59 scoped_ptr<InputStream> input_stream, in InputStreamReaderWrapper() argument 61 : input_stream_(input_stream.Pass()), in InputStreamReaderWrapper() 67 android_webview::InputStream* input_stream() { in input_stream() function in InputStreamReaderWrapper 118 scoped_ptr<InputStream> input_stream = delegate->OpenInputStream(env, url); in OpenInputStreamOnWorkerThread() local 122 base::Passed(input_stream.Pass()))); in OpenInputStreamOnWorkerThread() 164 scoped_ptr<android_webview::InputStream> input_stream) { in OnInputStreamOpened() argument 169 if (!input_stream) { in OnInputStreamOpened() 183 CreateStreamReader(input_stream.get())); in OnInputStreamOpened() 188 input_stream.Pass(), input_stream_reader.Pass()); in OnInputStreamOpened() 278 env, request(), input_stream_reader_wrapper_->input_stream(), mime_type); in GetMimeType() [all …]
|
D | android_stream_reader_url_request_job.h | 111 scoped_ptr<android_webview::InputStream> input_stream);
|
/external/chromium_org/google_apis/gcm/base/ |
D | socket_stream_unittest.cc | 50 SocketInputStream* input_stream() { return socket_input_stream_.get(); } in input_stream() function in gcm::__anon9a87d6310111::GCMSocketStreamTest 163 while (input_stream()->UnreadByteCount() < msg_size) { in WaitForData() 165 if (input_stream()->Refresh(run_loop.QuitClosure(), in WaitForData() 166 msg_size - input_stream()->UnreadByteCount()) == in WaitForData() 170 if (input_stream()->GetState() == SocketInputStream::CLOSED) in WaitForData() 282 input_stream()->RebuildBuffer(); in TEST_F() 295 ASSERT_EQ(SocketInputStream::CLOSED, input_stream()->GetState()); in TEST_F() 296 ASSERT_EQ(result, input_stream()->last_error()); in TEST_F() 304 ASSERT_EQ(SocketInputStream::CLOSED, input_stream()->GetState()); in TEST_F() 305 ASSERT_EQ(net::ERR_CONNECTION_CLOSED, input_stream()->last_error()); in TEST_F()
|
/external/protobuf/src/google/protobuf/ |
D | text_format_unittest.cc | 343 io::ArrayInputStream input_stream(proto_debug_string_.data(), in TEST_F() local 345 TextFormat::Parse(&input_stream, &proto_); in TEST_F() 350 io::ArrayInputStream input_stream(proto_debug_string_.data(), in TEST_F() local 352 TextFormat::Parse(&input_stream, &proto_); in TEST_F() 362 io::ArrayInputStream input_stream(parse_string.data(), in TEST_F() local 364 TextFormat::Parse(&input_stream, &proto_); in TEST_F() 400 io::ArrayInputStream input_stream(parse_string.data(), in TEST_F() local 403 TextFormat::Parse(&input_stream, &proto_); in TEST_F() 415 io::ArrayInputStream input_stream(parse_string.data(), in TEST_F() local 418 TextFormat::Parse(&input_stream, &proto_); in TEST_F() [all …]
|
D | text_format.cc | 119 io::ZeroCopyInputStream* input_stream, in ParserImpl() argument 124 tokenizer_(input_stream, &tokenizer_error_collector_), in ParserImpl() 784 io::ArrayInputStream input_stream(input.data(), input.size()); in ParseFromString() local 785 return Parse(&input_stream, output); in ParseFromString() 797 io::ArrayInputStream input_stream(input.data(), input.size()); in MergeFromString() local 798 return Merge(&input_stream, output); in MergeFromString() 819 io::ArrayInputStream input_stream(input.data(), input.size()); in ParseFieldValueFromString() local 820 ParserImpl parser(output->GetDescriptor(), &input_stream, error_collector_, in ParseFieldValueFromString()
|
/external/chromium_org/third_party/skia/tools/ |
D | misc_utils.py | 17 def search_within_stream(input_stream, pattern, default=None): argument 39 for line in input_stream:
|
D | roll_deps.py | 165 with open(depspath, 'r') as input_stream: 166 for line in input_stream:
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/ |
D | text_format_unittest.cc | 358 io::ArrayInputStream input_stream(proto_debug_string_.data(), in TEST_F() local 360 TextFormat::Parse(&input_stream, &proto_); in TEST_F() 365 io::ArrayInputStream input_stream(proto_debug_string_.data(), in TEST_F() local 367 TextFormat::Parse(&input_stream, &proto_); in TEST_F() 396 io::ArrayInputStream input_stream(parse_string.data(), in TEST_F() local 398 TextFormat::Parse(&input_stream, &proto_); in TEST_F() 434 io::ArrayInputStream input_stream(parse_string.data(), in TEST_F() local 437 TextFormat::Parse(&input_stream, &proto_); in TEST_F() 477 io::ArrayInputStream input_stream(parse_string.data(), in TEST_F() local 480 TextFormat::Parse(&input_stream, &proto_); in TEST_F() [all …]
|
D | text_format.cc | 189 io::ZeroCopyInputStream* input_stream, in ParserImpl() argument 199 tokenizer_(input_stream, &tokenizer_error_collector_), in ParserImpl() 1059 io::ArrayInputStream input_stream(input.data(), input.size()); in ParseFromString() local 1060 return Parse(&input_stream, output); in ParseFromString() 1074 io::ArrayInputStream input_stream(input.data(), input.size()); in MergeFromString() local 1075 return Merge(&input_stream, output); in MergeFromString() 1096 io::ArrayInputStream input_stream(input.data(), input.size()); in ParseFieldValueFromString() local 1097 ParserImpl parser(output->GetDescriptor(), &input_stream, error_collector_, in ParseFieldValueFromString()
|
/external/skia/tools/ |
D | misc_utils.py | 160 def search_within_stream(input_stream, pattern, default=None): argument 182 for line in input_stream:
|
D | roll_deps.py | 329 with open(depspath, 'r') as input_stream: 330 for line in input_stream:
|
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
D | filemediaengine_unittest.cc | 425 rtc::scoped_ptr<rtc::StreamInterface> input_stream( in TEST_F() local 428 ASSERT_TRUE(NULL != input_stream.get()); in TEST_F() 431 EXPECT_TRUE(GetSsrcAndPacketCounts(input_stream.get(), &ssrc_count, in TEST_F() 435 input_stream.reset(); in TEST_F()
|
/external/chromium_org/media/midi/ |
D | midi_manager_usb.h | 57 const UsbMidiInputStream* input_stream() const { return input_stream_.get(); } in input_stream() function
|
D | midi_manager_usb_unittest.cc | 229 ASSERT_TRUE(manager_->input_stream()); in TEST_F() 231 manager_->input_stream()->RegisteredJackKeysForTesting(); in TEST_F()
|