HomeSort by relevance Sort by last modified time
    Searched refs:input_stream (Results 1 - 25 of 37) sorted by null

1 2

  /external/chromium_org/net/spdy/
hpack_decoder.cc 49 HpackInputStream input_stream(max_string_literal_size_,
51 while (input_stream.HasMoreData()) {
52 if (!DecodeNextOpcode(&input_stream)) {
105 bool HpackDecoder::DecodeNextOpcode(HpackInputStream* input_stream) {
107 if (input_stream->MatchPrefixAndConsume(kIndexedOpcode)) {
108 return DecodeNextIndexedHeader(input_stream);
111 if (input_stream->MatchPrefixAndConsume(kLiteralNoIndexOpcode)) {
112 return DecodeNextLiteralHeader(input_stream, false);
115 if (input_stream->MatchPrefixAndConsume(kLiteralIncrementalIndexOpcode)) {
116 return DecodeNextLiteralHeader(input_stream, true)
    [all...]
hpack_decoder.h 105 bool DecodeNextOpcode(HpackInputStream* input_stream);
106 bool DecodeNextContextUpdate(HpackInputStream* input_stream);
107 bool DecodeNextIndexedHeader(HpackInputStream* input_stream);
108 bool DecodeNextLiteralHeader(HpackInputStream* input_stream,
110 bool DecodeNextName(HpackInputStream* input_stream,
112 bool DecodeNextStringLiteral(HpackInputStream* input_stream,
hpack_input_stream_test.cc 52 HpackInputStream input_stream(kLiteralBound, str);
53 input_stream.SetBitOffsetForTest(8 - N);
55 EXPECT_TRUE(input_stream.DecodeNextUint32(&I));
64 HpackInputStream input_stream(kLiteralBound, str);
65 input_stream.SetBitOffsetForTest(8 - N);
67 EXPECT_FALSE(input_stream.DecodeNextUint32(&I));
489 HpackInputStream input_stream(kLiteralBound, "\x0estring literal");
491 EXPECT_TRUE(input_stream.HasMoreData());
493 EXPECT_TRUE(input_stream.DecodeNextIdentityString(&string_piece));
495 EXPECT_FALSE(input_stream.HasMoreData())
    [all...]
hpack_huffman_table_test.cc 285 HpackInputStream input_stream(kuint32max, buffer_in);
286 EXPECT_TRUE(table_.DecodeString(&input_stream, input.size(), &buffer_out));
350 HpackInputStream input_stream(kuint32max, input);
351 EXPECT_TRUE(table_.DecodeString(&input_stream, capacity, &buffer));
360 HpackInputStream input_stream(kuint32max, input);
361 EXPECT_FALSE(table_.DecodeString(&input_stream, capacity, &buffer));
369 HpackInputStream input_stream(kuint32max, input);
370 EXPECT_FALSE(table_.DecodeString(&input_stream, capacity, &buffer));
382 HpackInputStream input_stream(kuint32max, input);
383 EXPECT_FALSE(table_.DecodeString(&input_stream, capacity, &buffer))
    [all...]
hpack_decoder_test.cc 184 HpackInputStream input_stream(kLiteralBound, StringPiece("\x00\x04name", 6));
187 EXPECT_TRUE(decoder_peer_.DecodeNextName(&input_stream, &string_piece));
189 EXPECT_FALSE(input_stream.HasMoreData());
194 HpackInputStream input_stream(kLiteralBound, input);
197 EXPECT_TRUE(decoder_peer_.DecodeNextName(&input_stream, &string_piece));
199 EXPECT_FALSE(input_stream.HasMoreData());
204 HpackInputStream input_stream(kLiteralBound, "\x01");
207 EXPECT_TRUE(decoder_peer_.DecodeNextName(&input_stream, &string_piece));
209 EXPECT_FALSE(input_stream.HasMoreData());
215 HpackInputStream input_stream(kLiteralBound, "\x3e")
    [all...]
  /external/chromium_org/third_party/sfntly/cpp/src/sample/subtly/
utils.cc 46 FileInputStream input_stream; local
47 input_stream.Open(font_path);
48 factory->LoadFonts(&input_stream, fonts);
49 input_stream.Close();
55 FileInputStream input_stream; local
56 input_stream.Open(font_path);
57 factory->LoadFontsForBuilding(&input_stream, builders);
58 input_stream.Close();
  /external/sfntly/cpp/src/sample/subtly/
utils.cc 46 FileInputStream input_stream; local
47 input_stream.Open(font_path);
48 factory->LoadFonts(&input_stream, fonts);
49 input_stream.Close();
55 FileInputStream input_stream; local
56 input_stream.Open(font_path);
57 factory->LoadFontsForBuilding(&input_stream, builders);
58 input_stream.Close();
  /packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/
AddressListParserTokenManager.java 52 try { curChar = input_stream.readChar(); }
208 try { curChar = input_stream.readChar(); }
228 try { curChar = input_stream.readChar(); }
332 try { curChar = input_stream.readChar(); }
352 try { curChar = input_stream.readChar(); }
466 try { curChar = input_stream.readChar(); }
486 try { curChar = input_stream.readChar(); }
587 try { curChar = input_stream.readChar(); }
607 try { curChar = input_stream.readChar(); }
709 try { curChar = input_stream.readChar();
742 protected SimpleCharStream input_stream; field in class:AddressListParserTokenManager
    [all...]
  /external/chromium_org/android_webview/native/
input_stream_unittest.cc 52 scoped_ptr<InputStream> input_stream(
56 EXPECT_TRUE(input_stream->Read(buffer.get(), bytes_requested, bytes_read));
68 scoped_ptr<InputStream> input_stream(new InputStreamImpl(empty_jstream));
73 EXPECT_TRUE(input_stream->Read(buffer.get(), bytes_requested, &bytes_read));
128 scoped_ptr<InputStream> input_stream(new InputStreamImpl(throw_jstream));
131 EXPECT_FALSE(input_stream->Skip(10, &bytes_skipped));
134 EXPECT_FALSE(input_stream->BytesAvailable(&bytes_available));
140 EXPECT_FALSE(input_stream->Read(buffer.get(), bytes_requested, &bytes_read));
144 input_stream.reset(NULL);
input_stream_impl.h 8 #include "android_webview/browser/input_stream.h"
24 const InputStream* input_stream);
input_stream_impl.cc 39 const InputStream* input_stream) {
40 return static_cast<const InputStreamImpl*>(input_stream);
  /external/chromium_org/media/audio/
virtual_audio_output_stream_unittest.cc 79 MockVirtualAudioInputStream* const input_stream = local
84 base::Unretained(input_stream)));
88 input_stream,
91 EXPECT_CALL(*input_stream, AddOutputStream(output_stream, _))
93 EXPECT_CALL(*input_stream, RemoveOutputStream(output_stream, _))
115 base::Unretained(input_stream)));
  /packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/contenttype/parser/
ContentTypeParserTokenManager.java 53 try { curChar = input_stream.readChar(); }
222 try { curChar = input_stream.readChar(); }
242 try { curChar = input_stream.readChar(); }
343 try { curChar = input_stream.readChar(); }
363 try { curChar = input_stream.readChar(); }
477 try { curChar = input_stream.readChar(); }
497 try { curChar = input_stream.readChar(); }
598 try { curChar = input_stream.readChar(); }
628 protected SimpleCharStream input_stream; field in class:ContentTypeParserTokenManager
638 input_stream = stream
    [all...]
  /packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/parser/
DateTimeParserTokenManager.java 72 try { curChar = input_stream.readChar(); }
126 try { curChar = input_stream.readChar(); }
168 try { curChar = input_stream.readChar(); }
386 try { curChar = input_stream.readChar(); }
406 try { curChar = input_stream.readChar(); }
510 try { curChar = input_stream.readChar(); }
530 try { curChar = input_stream.readChar(); }
631 try { curChar = input_stream.readChar(); }
667 protected SimpleCharStream input_stream; field in class:DateTimeParserTokenManager
677 input_stream = stream
    [all...]
  /development/scripts/
compare-installed-size.py 44 input_stream = open(install_file, 'r')
45 for line in input_stream:
77 input_stream.close()
  /external/chromium_org/android_webview/browser/net/
android_stream_reader_url_request_job.cc 9 #include "android_webview/browser/input_stream.h"
59 scoped_ptr<InputStream> input_stream,
61 : input_stream_(input_stream.Pass()),
67 android_webview::InputStream* input_stream() { function in class:InputStreamReaderWrapper
118 scoped_ptr<InputStream> input_stream = delegate->OpenInputStream(env, url); local
122 base::Passed(input_stream.Pass())));
164 scoped_ptr<android_webview::InputStream> input_stream) {
169 if (!input_stream) {
183 CreateStreamReader(input_stream.get()));
188 input_stream.Pass(), input_stream_reader.Pass())
    [all...]
android_stream_reader_url_request_job.h 111 scoped_ptr<android_webview::InputStream> input_stream);
  /external/chromium_org/google_apis/gcm/base/
socket_stream_unittest.cc 50 SocketInputStream* input_stream() { return socket_input_stream_.get(); } function in class:gcm::__anon12474::GCMSocketStreamTest
163 while (input_stream()->UnreadByteCount() < msg_size) {
165 if (input_stream()->Refresh(run_loop.QuitClosure(),
166 msg_size - input_stream()->UnreadByteCount()) ==
170 if (input_stream()->GetState() == SocketInputStream::CLOSED)
282 input_stream()->RebuildBuffer();
295 ASSERT_EQ(SocketInputStream::CLOSED, input_stream()->GetState());
296 ASSERT_EQ(result, input_stream()->last_error());
304 ASSERT_EQ(SocketInputStream::CLOSED, input_stream()->GetState());
305 ASSERT_EQ(net::ERR_CONNECTION_CLOSED, input_stream()->last_error())
    [all...]
  /external/chromium_org/media/midi/
midi_manager_usb.h 57 const UsbMidiInputStream* input_stream() const { return input_stream_.get(); } function in class:media::MidiManagerUsb
  /external/chromium_org/third_party/skia/tools/
misc_utils.py 160 def search_within_stream(input_stream, pattern, default=None):
174 input_stream: file-like object to be read
182 for line in input_stream:
  /external/skia/tools/
misc_utils.py 160 def search_within_stream(input_stream, pattern, default=None):
174 input_stream: file-like object to be read
182 for line in input_stream:
  /external/chromium_org/third_party/protobuf/src/google/protobuf/
text_format_unittest.cc 358 io::ArrayInputStream input_stream(proto_debug_string_.data(),
360 TextFormat::Parse(&input_stream, &proto_);
365 io::ArrayInputStream input_stream(proto_debug_string_.data(),
367 TextFormat::Parse(&input_stream, &proto_);
396 io::ArrayInputStream input_stream(parse_string.data(),
398 TextFormat::Parse(&input_stream, &proto_);
434 io::ArrayInputStream input_stream(parse_string.data(),
437 TextFormat::Parse(&input_stream, &proto_);
477 io::ArrayInputStream input_stream(parse_string.data(),
480 TextFormat::Parse(&input_stream, &proto_)
    [all...]
  /external/protobuf/src/google/protobuf/
text_format_unittest.cc 343 io::ArrayInputStream input_stream(proto_debug_string_.data(),
345 TextFormat::Parse(&input_stream, &proto_);
350 io::ArrayInputStream input_stream(proto_debug_string_.data(),
352 TextFormat::Parse(&input_stream, &proto_);
362 io::ArrayInputStream input_stream(parse_string.data(),
364 TextFormat::Parse(&input_stream, &proto_);
400 io::ArrayInputStream input_stream(parse_string.data(),
403 TextFormat::Parse(&input_stream, &proto_);
415 io::ArrayInputStream input_stream(parse_string.data(),
418 TextFormat::Parse(&input_stream, &proto_)
    [all...]
text_format.cc 119 io::ZeroCopyInputStream* input_stream,
124 tokenizer_(input_stream, &tokenizer_error_collector_),
784 io::ArrayInputStream input_stream(input.data(), input.size());
785 return Parse(&input_stream, output);
797 io::ArrayInputStream input_stream(input.data(), input.size());
798 return Merge(&input_stream, output);
819 io::ArrayInputStream input_stream(input.data(), input.size());
820 ParserImpl parser(output->GetDescriptor(), &input_stream, error_collector_,
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/tests/
test_main.py 55 input_stream = StringIO.StringIO(u"print 'nothing'\nprint u'über'\n")
59 ret = self.run_2to3_capture(["-"], input_stream, out_enc, err)

Completed in 6468 milliseconds

1 2