/external/chromium_org/components/metrics/ |
H A D | compression_utils.cc | 35 z_stream stream; local 37 stream.next_in = bit_cast<Bytef*>(source); 38 stream.avail_in = static_cast<uInt>(source_length); 39 stream.next_out = dest; 40 stream.avail_out = static_cast<uInt>(*dest_length); 41 if (static_cast<uLong>(stream.avail_out) != *dest_length) 44 stream.zalloc = static_cast<alloc_func>(0); 45 stream.zfree = static_cast<free_func>(0); 46 stream.opaque = static_cast<voidpf>(0); 50 int err = deflateInit2(&stream, 81 z_stream stream; local [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/ |
H A D | FingerPrint.java | 42 PrintStream stream; field in class:FingerPrint 47 this.stream = ps; 52 * Create and save fingerprints as image and print their reference in the current stream. 75 this.stream.print("The following fingerprints show results for the most representative tests of the "); 77 this.stream.print("current build.<br>\n"); 79 this.stream.print(this.component); 80 this.stream.print(" component.<br>\n"); 82 this.stream.print("<table border=\"0\">\n"); 83 this.stream.print("<tr><td valign=\"top\">Select which kind of scale you want to use:</td>\n"); 84 this.stream [all...] |
H A D | RawDataTable.java | 32 private PrintStream stream; field in class:RawDataTable 38 this.stream = ps; 52 * Print all build data to the current stream. 55 this.stream.print("<table border=\"1\">"); 58 this.stream.print("</table>\n"); 72 this.stream.print(buffer.toString()); 79 this.stream.print("<tr><td><b>Build ID</b></td>"); 81 this.stream.print("</tr>\n"); 88 this.stream.print("<tr><td>"); 89 this.stream [all...] |
/external/chromium_org/third_party/WebKit/Source/core/streams/ |
H A D | ReadableStreamTest.cpp | 107 StringStream* stream = new StringStream(scriptState()->executionContext(), m_underlyingSource); local 108 stream->didSourceStart(); 109 return stream; 120 StringStream* stream = new StringStream(scriptState()->executionContext(), m_underlyingSource); local 122 EXPECT_FALSE(stream->isStarted()); 123 EXPECT_FALSE(stream->isDraining()); 124 EXPECT_FALSE(stream->isPulling()); 125 EXPECT_EQ(stream->state(), ReadableStream::Waiting); 127 stream->didSourceStart(); 129 EXPECT_TRUE(stream 137 StringStream* stream = new StringStream(scriptState()->executionContext(), m_underlyingSource); local 154 StringStream* stream = construct(); local 180 StringStream* stream = new StringStream(scriptState()->executionContext(), m_underlyingSource); local 208 StringStream* stream = construct(); local 234 StringStream* stream = construct(); local 246 StringStream* stream = construct(); local 258 StringStream* stream = construct(); local 281 StringStream* stream = construct(); local 312 StringStream* stream = construct(); local 352 StringStream* stream = construct(); local 381 StringStream* stream = construct(); local 397 StringStream* stream = construct(); local 410 StringStream* stream = construct(); local 428 StringStream* stream = construct(); local 443 StringStream* stream = construct(); local 479 StringStream* stream = construct(); local 510 StringStream* stream = construct(); local 561 StringStream* stream = construct(); local 580 StringStream* stream = construct(); local 599 StringStream* stream = construct(); local 627 StringStream* stream = construct(); local [all...] |
/external/chromium_org/content/shell/tools/plugin/Tests/ |
H A D | GetURLWithJavaScriptURL.cpp | 40 // Test that evaluating a javascript: URL will send a stream with the result of the evaluation. 41 // Test that evaluating JavaScript using NPN_GetURL will a stream with result of the evaluation. 61 virtual NPError NPP_NewStream(NPMIMEType type, NPStream* stream, NPBool seekable, uint16_t* stype) OVERRIDE 63 stream->pdata = this; 65 if (strcmp(stream->url, javaScriptURL)) 68 if (stream->end != strlen(javaScriptResult)) 75 virtual NPError NPP_DestroyStream(NPStream* stream, NPReason reason) OVERRIDE 77 if (stream->pdata != this) 83 if (m_data.size() != stream->end) 99 virtual int32_t NPP_WriteReady(NPStream* stream) OVERRID [all...] |
/external/chromium_org/third_party/freetype/src/sfnt/ |
H A D | ttload.h | 39 FT_Stream stream, 45 FT_Stream stream ); 58 FT_Stream stream ); 63 FT_Stream stream ); 68 FT_Stream stream ); 73 FT_Stream stream ); 78 FT_Stream stream ); 83 FT_Stream stream ); 88 FT_Stream stream ); 96 FT_Stream stream ); [all...] |
/external/freetype/src/sfnt/ |
H A D | ttload.h | 39 FT_Stream stream, 45 FT_Stream stream ); 58 FT_Stream stream ); 63 FT_Stream stream ); 68 FT_Stream stream ); 73 FT_Stream stream ); 78 FT_Stream stream ); 83 FT_Stream stream ); 88 FT_Stream stream ); 96 FT_Stream stream ); [all...] |
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/sfnt/ |
H A D | ttload.h | 39 FT_Stream stream, 45 FT_Stream stream ); 58 FT_Stream stream ); 63 FT_Stream stream ); 68 FT_Stream stream ); 73 FT_Stream stream ); 78 FT_Stream stream ); 83 FT_Stream stream ); 88 FT_Stream stream ); 96 FT_Stream stream ); [all...] |
/external/chromium_org/chrome/test/ext_auto/auto_provider/ |
H A D | connection_handler.js | 6 // stream, finding and executing appropriate extension API method. 14 onStreamError: function(stream) { 15 this.unregisterListeners_(stream); 19 onStreamTerminated: function(stream) { 20 this.unregisterListeners_(stream); 23 // Pairs event |listenerMethod| with a given |stream|. 24 registerListener_: function(stream, eventName, eventObject, 26 if (!this.eventListener_[stream.socketId_]) 27 this.eventListener_[stream.socketId_] = {}; 29 if (!this.eventListener_[stream [all...] |
/external/chromium_org/net/websockets/ |
H A D | websocket_handshake_stream_create_helper.cc | 38 WebSocketBasicHandshakeStream* stream = local 45 OnStreamCreated(stream); 46 stream_ = stream; 47 return stream; 61 WebSocketHandshakeStreamBase* stream = stream_; local 63 return stream->Upgrade(); 67 WebSocketBasicHandshakeStream* stream) { 66 OnStreamCreated( WebSocketBasicHandshakeStream* stream) argument
|
/external/nanopb-c/ |
H A D | pb_decode.c | 34 typedef bool (*pb_decoder_t)(pb_istream_t *stream, const pb_field_t *field, void *dest) checkreturn; 36 static bool checkreturn buf_read(pb_istream_t *stream, uint8_t *buf, size_t count); 37 static bool checkreturn pb_decode_varint32(pb_istream_t *stream, uint32_t *dest); 38 static bool checkreturn read_raw_value(pb_istream_t *stream, pb_wire_type_t wire_type, uint8_t *buf, size_t *size); 42 static bool checkreturn decode_static_field(pb_istream_t *stream, pb_wire_type_t wire_type, pb_field_iterator_t *iter); 43 static bool checkreturn decode_callback_field(pb_istream_t *stream, pb_wire_type_t wire_type, pb_field_iterator_t *iter); 44 static bool checkreturn decode_field(pb_istream_t *stream, pb_wire_type_t wire_type, pb_field_iterator_t *iter); 45 static bool checkreturn default_extension_decoder(pb_istream_t *stream, pb_extension_t *extension, uint32_t tag, pb_wire_type_t wire_type); 46 static bool checkreturn decode_extension(pb_istream_t *stream, uint32_t tag, pb_wire_type_t wire_type, pb_field_iterator_t *iter); 49 static bool checkreturn pb_dec_varint(pb_istream_t *stream, cons 80 buf_read(pb_istream_t *stream, uint8_t *buf, size_t count) argument 94 pb_read(pb_istream_t *stream, uint8_t *buf, size_t count) argument 130 pb_readbyte(pb_istream_t *stream, uint8_t *buf) argument 150 pb_istream_t stream; local 168 pb_decode_varint32(pb_istream_t *stream, uint32_t *dest) argument 204 pb_decode_varint(pb_istream_t *stream, uint64_t *dest) argument 226 pb_skip_varint(pb_istream_t *stream) argument 237 pb_skip_string(pb_istream_t *stream) argument 246 pb_decode_tag(pb_istream_t *stream, pb_wire_type_t *wire_type, uint32_t *tag, bool *eof) argument 272 pb_skip_field(pb_istream_t *stream, pb_wire_type_t wire_type) argument 287 read_raw_value(pb_istream_t *stream, pb_wire_type_t wire_type, uint8_t *buf, size_t *size) argument 317 pb_make_string_substream(pb_istream_t *stream, pb_istream_t *substream) argument 332 pb_close_string_substream(pb_istream_t *stream, pb_istream_t *substream) argument 409 decode_static_field(pb_istream_t *stream, pb_wire_type_t wire_type, pb_field_iterator_t *iter) argument 474 allocate_field(pb_istream_t *stream, void *pData, size_t data_size, size_t array_size) argument 505 decode_pointer_field(pb_istream_t *stream, pb_wire_type_t wire_type, pb_field_iterator_t *iter) argument 601 decode_callback_field(pb_istream_t *stream, pb_wire_type_t wire_type, pb_field_iterator_t *iter) argument 648 decode_field(pb_istream_t *stream, pb_wire_type_t wire_type, pb_field_iterator_t *iter) argument 668 default_extension_decoder(pb_istream_t *stream, pb_extension_t *extension, uint32_t tag, pb_wire_type_t wire_type) argument 690 decode_extension(pb_istream_t *stream, uint32_t tag, pb_wire_type_t wire_type, pb_field_iterator_t *iter) argument 797 pb_decode_noinit(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct) argument 893 pb_decode(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct) argument 907 pb_decode_delimited(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct) argument 978 pb_decode_svarint(pb_istream_t *stream, int64_t *dest) argument 992 pb_decode_fixed32(pb_istream_t *stream, void *dest) argument 1011 pb_decode_fixed64(pb_istream_t *stream, void *dest) argument 1034 pb_dec_varint(pb_istream_t *stream, const pb_field_t *field, void *dest) argument 1052 pb_dec_uvarint(pb_istream_t *stream, const pb_field_t *field, void *dest) argument 1068 pb_dec_svarint(pb_istream_t *stream, const pb_field_t *field, void *dest) argument 1084 pb_dec_fixed32(pb_istream_t *stream, const pb_field_t *field, void *dest) argument 1090 pb_dec_fixed64(pb_istream_t *stream, const pb_field_t *field, void *dest) argument 1096 pb_dec_bytes(pb_istream_t *stream, const pb_field_t *field, void *dest) argument 1125 pb_dec_string(pb_istream_t *stream, const pb_field_t *field, void *dest) argument 1157 pb_dec_submessage(pb_istream_t *stream, const pb_field_t *field, void *dest) argument [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime.Tests/ |
H A D | ITreeNodeStreamFixture.cs | 61 ITreeNodeStream stream = CreateCommonTreeNodeStream(t); 63 string actual = GetStringOfEntireStreamContentsWithNodeTypesOnly(stream); 67 actual = stream.ToString(); 82 ITreeNodeStream stream = CreateBufferedTreeNodeStream(t); 84 string actual = GetStringOfEntireStreamContentsWithNodeTypesOnly(stream); 88 actual = stream.ToString(); 107 BufferedTreeNodeStream stream = new BufferedTreeNodeStream(root); 109 string actual = GetStringOfEntireStreamContentsWithNodeTypesOnly(stream); 113 actual = stream.ToString(); 126 BufferedTreeNodeStream stream [all...] |
H A D | ANTLRxxxxStreamFixture.cs | 240 ANTLRInputStream stream = new ANTLRInputStream(grammarStream, encoding); 242 Assert.AreEqual("Two", stream.Substring(5, 7)); 243 Assert.AreEqual("One", stream.Substring(0, 2)); 244 Assert.AreEqual("Three", stream.Substring(10, 14)); 246 stream.Consume(); 248 Assert.AreEqual("Two", stream.Substring(5, 7)); 249 Assert.AreEqual("One", stream.Substring(0, 2)); 250 Assert.AreEqual("Three", stream.Substring(10, 14)); 260 ANTLRInputStream stream = new ANTLRInputStream(grammarStream, encoding); 261 Assert.AreEqual('O', stream [all...] |
/external/chromium_org/third_party/skia/src/core/ |
H A D | SkFontStream.cpp | 39 static bool read(SkStream* stream, void* buffer, size_t amount) { argument 40 return stream->read(buffer, amount) == amount; 43 static bool skip(SkStream* stream, size_t amount) { argument 44 return stream->skip(amount) == amount; 50 table headers (SkSFNTDirEntry), relative to the start of the stream. 54 static int count_tables(SkStream* stream, int ttcIndex, size_t* offsetToDir) { argument 60 if (!read(stream, header, sizeof(SkSharedTTHeader))) { 64 // by default, SkSFNTHeader is at the start of the stream 76 stream->rewind(); 79 if (!read(stream, heade 113 init(SkStream* stream, int ttcIndex) argument 138 CountTTCEntries(SkStream* stream) argument 155 GetTableTags(SkStream* stream, int ttcIndex, SkFontTableTag tags[]) argument 170 GetTableData(SkStream* stream, int ttcIndex, SkFontTableTag tag, size_t offset, size_t length, void* data) argument [all...] |
/external/skia/src/core/ |
H A D | SkFontStream.cpp | 39 static bool read(SkStream* stream, void* buffer, size_t amount) { argument 40 return stream->read(buffer, amount) == amount; 43 static bool skip(SkStream* stream, size_t amount) { argument 44 return stream->skip(amount) == amount; 50 table headers (SkSFNTDirEntry), relative to the start of the stream. 54 static int count_tables(SkStream* stream, int ttcIndex, size_t* offsetToDir) { argument 60 if (!read(stream, header, sizeof(SkSharedTTHeader))) { 64 // by default, SkSFNTHeader is at the start of the stream 76 stream->rewind(); 79 if (!read(stream, heade 113 init(SkStream* stream, int ttcIndex) argument 138 CountTTCEntries(SkStream* stream) argument 155 GetTableTags(SkStream* stream, int ttcIndex, SkFontTableTag tags[]) argument 170 GetTableData(SkStream* stream, int ttcIndex, SkFontTableTag tag, size_t offset, size_t length, void* data) argument [all...] |
/external/chromium_org/third_party/webrtc/base/ |
H A D | stream_unittest.cc | 12 #include "webrtc/base/stream.h" 76 void SeekTest(StreamInterface* stream, const unsigned char value) { argument 81 EXPECT_EQ(stream->Read(buffer, kBufSize, &bytes, NULL), SR_SUCCESS); 84 EXPECT_TRUE(stream->GetPosition(&bytes)); 87 EXPECT_TRUE(stream->SetPosition(7)); 89 EXPECT_EQ(stream->Read(buffer, kBufSize, &bytes, NULL), SR_SUCCESS); 92 EXPECT_TRUE(stream->GetPosition(&bytes)); 98 // Verify behavior of original stream 101 // Verify behavior of adapted stream (all values offset by 20) 114 StreamInterface* stream local 135 StreamInterface* stream = segment; local 169 StreamInterface* stream = &buf; local [all...] |
/external/chromium_org/third_party/npapi/npspy/ |
H A D | analyze_streams.py | 67 for stream in streams:
68 if stream.address == address:
69 if stream.size != start:
70 print 'error: starting at wrong place for write ' + stream.url + ' ' + str(stream.size) + ' ' + str(start)
71 stream.size += size
76 print "couldn't find stream to match NPP_Write " + line
83 for stream in streams:
84 if stream.address == address:
85 stream [all...] |
/external/javassist/src/main/javassist/bytecode/analysis/ |
H A D | FramePrinter.java | 38 private final PrintStream stream; field in class:FramePrinter 43 public FramePrinter(PrintStream stream) { argument 44 this.stream = stream; 50 public static void print(CtClass clazz, PrintStream stream) { argument 51 (new FramePrinter(stream)).print(clazz); 78 stream.println("\n" + getMethodString(method)); 103 stream.println(pos + ": " + InstructionPrinter.instructionString(iterator, pos, pool)); 108 stream.println("--DEAD CODE--"); 120 stream [all...] |
/external/llvm/examples/OCaml-Kaleidoscope/Chapter2/ |
H A D | toplevel.ml | 6 let rec main_loop stream = 7 match Stream.peek stream with 12 Stream.junk stream; 13 main_loop stream 19 ignore(Parser.parse_definition stream); 22 ignore(Parser.parse_extern stream); 26 ignore(Parser.parse_toplevel stream); 30 Stream.junk stream; 34 main_loop stream
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter3/ |
H A D | toplevel.ml | 8 let rec main_loop stream = 9 match Stream.peek stream with 14 Stream.junk stream; 15 main_loop stream 21 let e = Parser.parse_definition stream in 25 let e = Parser.parse_extern stream in 30 let e = Parser.parse_toplevel stream in 35 Stream.junk stream; 39 main_loop stream
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/cm/ |
H A D | shell.js | 38 function tokenBase(stream, state) { 39 if (stream.eatSpace()) return null; 41 var sol = stream.sol(); 42 var ch = stream.next(); 45 stream.next(); 50 return tokenize(stream, state); 53 if (sol && stream.eat('!')) { 54 stream.skipToEnd(); 57 stream.skipToEnd(); 62 return tokenize(stream, stat [all...] |
/external/chromium_org/content/test/plugin/ |
H A D | plugin_get_javascript_url2_test.cc | 11 // The identifier for the self url stream. 14 // The maximum chunk size of stream data. 40 NPError ExecuteGetJavascriptUrl2Test::NewStream(NPMIMEType type, NPStream* stream, argument 42 if (stream == NULL) { 43 SetError("NewStream got null stream"); 47 COMPILE_ASSERT(sizeof(unsigned long) <= sizeof(stream->notifyData), 49 unsigned long stream_id = reinterpret_cast<unsigned long>(stream->notifyData); 60 int32 ExecuteGetJavascriptUrl2Test::WriteReady(NPStream *stream) { argument 64 int32 ExecuteGetJavascriptUrl2Test::Write(NPStream *stream, int32 offset, int32 len, argument 66 if (stream 91 DestroyStream(NPStream *stream, NPError reason) argument [all...] |
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
H A D | rtpdump_unittest.cc | 78 rtc::MemoryStream stream; local 79 RtpDumpWriter writer(&stream); 82 // Write a RTP packet to the stream, which is a valid RTP dump. Next, we will 85 stream.Rewind(); 86 reader.reset(new RtpDumpReader(&stream)); 90 stream.Rewind(); 93 stream.WriteAll(new_line, strlen(new_line), NULL, NULL)); 94 stream.Rewind(); 95 reader.reset(new RtpDumpReader(&stream)); 99 stream 119 rtc::MemoryStream stream; local 157 rtc::MemoryStream stream; local 179 rtc::MemoryStream stream; local 208 rtc::MemoryStream stream; local 234 rtc::MemoryStream stream; local 245 rtc::MemoryStream stream; local 256 rtc::MemoryStream stream; local 278 rtc::MemoryStream stream; local [all...] |
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/ |
H A D | fxft_ftsystem.c | 194 /* system-specific stream handle from a given FreeType stream object */ 195 #define STREAM_FILE( stream ) ( (FT_FILE*)stream->descriptor.pointer ) 204 /* The function to close a stream. */ 207 /* stream :: A pointer to the stream object. */ 210 ft_ansi_stream_close( FT_Stream stream ) 213 ft_fclose( STREAM_FILE( stream ) ); 215 stream 245 ft_ansi_stream_io( FT_Stream stream, unsigned long offset, unsigned char* buffer, unsigned long count ) argument [all...] |
/external/nanopb-c/tests/alltypes_callback/ |
H A D | encode_alltypes_callback.c | 13 static bool write_varint(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) argument 15 return pb_encode_tag_for_field(stream, field) && 16 pb_encode_varint(stream, (long)*arg); 19 static bool write_svarint(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) argument 21 return pb_encode_tag_for_field(stream, field) && 22 pb_encode_svarint(stream, (long)*arg); 25 static bool write_fixed32(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) argument 27 return pb_encode_tag_for_field(stream, field) && 28 pb_encode_fixed32(stream, *arg); 31 static bool write_fixed64(pb_ostream_t *stream, cons argument 37 write_string(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) argument 43 write_submsg(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) argument 50 write_emptymsg(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) argument 57 write_repeated_varint(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) argument 71 write_repeated_svarint(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) argument 85 write_repeated_fixed32(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) argument 99 write_repeated_fixed64(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) argument 113 write_repeated_string(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) argument 127 write_repeated_submsg(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) argument 143 write_limits(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) argument 161 write_repeated_emptymsg(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) argument 382 pb_ostream_t stream = pb_ostream_from_buffer(buffer, sizeof(buffer)); local [all...] |