/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
stream.c | 18 * File: stream.c * 24 #include "stream.h" 26 void voAWB_InitFrameBuffer(FrameStream *stream) 28 stream->set_ptr = NULL; 29 stream->frame_ptr_bk = stream->frame_ptr; 30 stream->set_len = 0; 31 stream->framebuffer_len = 0; 32 stream->frame_storelen = 0; 36 FrameStream *stream, [all...] |
/external/antlr/antlr-3.4/runtime/C/src/ |
antlr3intstream.c | 2 /// Implementation of superclass elements of an ANTLR3 int stream. 38 static void freeStream (pANTLR3_INT_STREAM stream); 43 pANTLR3_INT_STREAM stream; local 47 stream = (pANTLR3_INT_STREAM) ANTLR3_CALLOC(1, sizeof(ANTLR3_INT_STREAM)); 49 if (stream == NULL) 54 stream->free = freeStream; 56 return stream; 60 freeStream (pANTLR3_INT_STREAM stream) 62 ANTLR3_FREE(stream);
|
antlr3rewritestreams.c | 38 // Static support function forward declarations for the stream types. 40 static void reset (pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream); 41 static void add (pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream, void * el, void (ANTLR3_CDECL *freePtr)(void *)); 42 static void * next (pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream); 43 static pANTLR3_BASE_TREE nextTree (pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream); 44 static void * nextToken (pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream); 45 static void * _next (pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream); 46 static void * dupTok (pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream, void * el); 47 static void * dupTree (pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream, void * el); 48 static void * dupTreeNode (pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream, void * el) 189 pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream; local 259 pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream; local 282 pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream; local 311 pANTLR3_REWRITE_RULE_TOKEN_STREAM stream; local 335 pANTLR3_REWRITE_RULE_TOKEN_STREAM stream; local 354 pANTLR3_REWRITE_RULE_TOKEN_STREAM stream; local 375 pANTLR3_REWRITE_RULE_SUBTREE_STREAM stream; local 397 pANTLR3_REWRITE_RULE_SUBTREE_STREAM stream; local 420 pANTLR3_REWRITE_RULE_SUBTREE_STREAM stream; local 444 pANTLR3_REWRITE_RULE_NODE_STREAM stream; local 468 pANTLR3_REWRITE_RULE_NODE_STREAM stream; local 487 pANTLR3_REWRITE_RULE_NODE_STREAM stream; local [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/token-rewrite/ |
basic.rb | 27 rewrite( 'abc', '0abc' ) do |stream| 28 stream.insert_before( 0, '0' ) 33 rewrite( 'abc', 'abcx' ) do |stream| 34 stream.insert_after( 2, 'x' ) 39 rewrite( 'abc', 'axbxc' ) do |stream| 40 stream.insert_before 1, 'x' 41 stream.insert_after 1, 'x' 46 rewrite( 'abc', 'xbc' ) do |stream| 47 stream.replace( 0, 'x' ) 52 rewrite( 'abc', 'abx' ) do |stream| [all...] |
/external/oprofile/libutil++/ |
stream_util.cpp | 3 * C++ stream utility 18 stream(stream_), 19 format(stream.flags()), 20 precision(stream.precision()), 21 fill(stream.fill()) 28 stream.flags(format); 29 stream.precision(precision); 30 stream.fill(fill);
|
/system/core/libcutils/ |
open_memstream.c | 65 * Definition of a seekable, write-only memory stream. 86 static int ensureCapacity(MemStream* stream, int writeSize) 88 DBUG(("+++ ensureCap off=%d size=%d\n", stream->offset, writeSize)); 90 size_t neededSize = stream->offset + writeSize + 1; 91 if (neededSize <= stream->allocSize) 96 if (stream->allocSize == 0) { 99 newSize = stream->allocSize; 106 stream->bufp, *stream->bufp, newSize)); 107 char* newBuf = (char*) realloc(*stream->bufp, newSize) 125 MemStream* stream = (MemStream*) cookie; local 166 MemStream* stream = (MemStream*) cookie; local 228 MemStream* stream; local [all...] |
/external/chromium_org/net/quic/test_tools/ |
reliable_quic_stream_peer.cc | 14 ReliableQuicStream* stream) { 15 stream->write_side_closed_ = value; 21 ReliableQuicStream* stream) { 22 stream->stream_bytes_written_ = stream_bytes_written;
|
quic_data_stream_peer.cc | 13 void QuicDataStreamPeer::SetHeadersDecompressed(QuicDataStream* stream, 15 stream->headers_decompressed_ = headers_decompressed;
|
/libcore/luni/src/main/java/java/io/ |
PipedOutputStream.java | 22 * data back and forth, one creates a piped output stream and the other one 23 * creates a piped input stream. 36 * stream must be connected to a {@link PipedInputStream} before data can be 44 * {@link PipedInputStream} {@code target}. Any data written to this stream 45 * can be read from the target stream. 48 * the piped input stream to connect to. 50 * if this stream or {@code target} are already connected. 57 * Closes this stream. If this stream is connected to an input stream, th 66 PipedInputStream stream = target; local 107 PipedInputStream stream = target; local 172 PipedInputStream stream = target; local [all...] |
/external/bison/lib/ |
close-stream.h | 2 int close_stream (FILE *stream);
|
/external/chromium_org/third_party/WebKit/Source/modules/mediastream/ |
NavigatorUserMediaSuccessCallback.idl | 26 void handleEvent(MediaStream stream);
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter7/ |
lexer.ml | 7 | [< ' (' ' | '\n' | '\r' | '\t'); stream >] -> lex stream 10 | [< ' ('A' .. 'Z' | 'a' .. 'z' as c); stream >] -> 13 lex_ident buffer stream 16 | [< ' ('0' .. '9' as c); stream >] -> 19 lex_number buffer stream 22 | [< ' ('#'); stream >] -> 23 lex_comment stream 26 | [< 'c; stream >] -> 27 [< 'Token.Kwd c; lex stream >] [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
bitstream.cpp | 49 PV_STATUS BitstreamFillCache(BitstreamDecVideo *stream) 51 uint8 *bitstreamBuffer = stream->bitstreamBuffer; 55 stream->curr_word |= (stream->next_word >> stream->incnt); // stream->incnt cannot be 32 56 stream->next_word <<= (31 - stream->incnt); 57 stream->next_word <<= 1; 58 num_bits = stream->incnt_next + stream->incnt [all...] |
bitstream.h | 33 PV_STATUS BitstreamFillBuffer(BitstreamDecVideo *stream); 34 PV_STATUS BitstreamFillCache(BitstreamDecVideo *stream); 35 void BitstreamReset(BitstreamDecVideo *stream, uint8 *buffer, int32 buffer_size); 36 int BitstreamOpen(BitstreamDecVideo *stream, int layer); 37 void BitstreamClose(BitstreamDecVideo *stream); 39 PV_STATUS BitstreamShowBits32(BitstreamDecVideo *stream, int nbits, uint32 *code); 40 uint32 BitstreamReadBits32(BitstreamDecVideo *stream, int nbits); 42 uint BitstreamReadBits16(BitstreamDecVideo *stream, int nbits); 43 uint BitstreamRead1Bits(BitstreamDecVideo *stream); 45 PV_STATUS BitstreamShowBits16(BitstreamDecVideo *stream, int nbits, uint *code) [all...] |
/external/chromium_org/third_party/zlib/ |
uncompr.c | 30 z_stream stream; local 33 stream.next_in = (Bytef*)source; 34 stream.avail_in = (uInt)sourceLen; 36 if ((uLong)stream.avail_in != sourceLen) return Z_BUF_ERROR; 38 stream.next_out = dest; 39 stream.avail_out = (uInt)*destLen; 40 if ((uLong)stream.avail_out != *destLen) return Z_BUF_ERROR; 42 stream.zalloc = (alloc_func)0; 43 stream.zfree = (free_func)0; 45 err = inflateInit(&stream); [all...] |
/external/llvm/examples/OCaml-Kaleidoscope/Chapter6/ |
lexer.ml | 7 | [< ' (' ' | '\n' | '\r' | '\t'); stream >] -> lex stream 10 | [< ' ('A' .. 'Z' | 'a' .. 'z' as c); stream >] -> 13 lex_ident buffer stream 16 | [< ' ('0' .. '9' as c); stream >] -> 19 lex_number buffer stream 22 | [< ' ('#'); stream >] -> 23 lex_comment stream 26 | [< 'c; stream >] -> 27 [< 'Token.Kwd c; lex stream >] [all...] |
/external/qemu/distrib/zlib-1.2.3/ |
uncompr.c | 32 z_stream stream; local 35 stream.next_in = (Bytef*)source; 36 stream.avail_in = (uInt)sourceLen; 38 if ((uLong)stream.avail_in != sourceLen) return Z_BUF_ERROR; 40 stream.next_out = dest; 41 stream.avail_out = (uInt)*destLen; 42 if ((uLong)stream.avail_out != *destLen) return Z_BUF_ERROR; 44 stream.zalloc = (alloc_func)0; 45 stream.zfree = (free_func)0; 47 err = inflateInit(&stream); [all...] |
/external/zlib/src/ |
uncompr.c | 30 z_stream stream; local 33 stream.next_in = (z_const Bytef *)source; 34 stream.avail_in = (uInt)sourceLen; 36 if ((uLong)stream.avail_in != sourceLen) return Z_BUF_ERROR; 38 stream.next_out = dest; 39 stream.avail_out = (uInt)*destLen; 40 if ((uLong)stream.avail_out != *destLen) return Z_BUF_ERROR; 42 stream.zalloc = (alloc_func)0; 43 stream.zfree = (free_func)0; 45 err = inflateInit(&stream); [all...] |
/external/antlr/antlr-3.4/runtime/Python/unittests/ |
teststreams.py | 15 stream = antlr3.StringStream('foo') 17 self.failUnlessEqual(stream.size(), 3) 23 stream = antlr3.StringStream('foo') 25 self.failUnlessEqual(stream.index(), 0) 31 stream = antlr3.StringStream('foo\nbar') 33 stream.consume() # f 34 self.failUnlessEqual(stream.index(), 1) 35 self.failUnlessEqual(stream.charPositionInLine, 1) 36 self.failUnlessEqual(stream.line, 1) 38 stream.consume() # [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/ |
ScenarioStatusTable.java | 28 private PrintStream stream; field in class:ScenarioStatusTable 35 public ScenarioStatusTable(String name, PrintStream stream) { 37 this.stream = stream; 41 * Prints the HTML representation of scenario status table into the given stream. 51 this.stream.print("<table border=\"1\">\n"); 52 this.stream.print("<tr>\n"); 53 this.stream.print("<td><h4>All "); 54 this.stream.print(computeSize(scenarios)); 55 this.stream.print(" scenarios</h4></td>\n") [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/i915/ |
i915_debug.c | 71 struct debug_stream *stream, 83 static boolean debug( struct debug_stream *stream, const char *name, unsigned len ) 86 unsigned *ptr = (unsigned *)(stream->ptr + stream->offset); 89 PRINTF(stream, "Error - zero length packet (0x%08x)\n", stream->ptr[0]); 94 if (stream->print_addresses) 95 PRINTF(stream, "%08x: ", stream->offset); 98 PRINTF(stream, "%s (%d dwords):\n", name, len) 902 struct debug_stream stream; local [all...] |
/external/mesa3d/src/gallium/drivers/i915/ |
i915_debug.c | 71 struct debug_stream *stream, 83 static boolean debug( struct debug_stream *stream, const char *name, unsigned len ) 86 unsigned *ptr = (unsigned *)(stream->ptr + stream->offset); 89 PRINTF(stream, "Error - zero length packet (0x%08x)\n", stream->ptr[0]); 94 if (stream->print_addresses) 95 PRINTF(stream, "%08x: ", stream->offset); 98 PRINTF(stream, "%s (%d dwords):\n", name, len) 902 struct debug_stream stream; local [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/cm/ |
coffeescript.js | 40 function tokenBase(stream, state) { 42 if (stream.sol()) { 44 if (stream.eatSpace()) { 45 var lineOffset = stream.indentation(); 54 dedent(stream, state); 58 if (stream.eatSpace()) { 62 var ch = stream.peek(); 65 if (stream.match("####")) { 66 stream.skipToEnd(); 71 if (stream.match("###")) [all...] |
/external/llvm/examples/OCaml-Kaleidoscope/Chapter5/ |
lexer.ml | 7 | [< ' (' ' | '\n' | '\r' | '\t'); stream >] -> lex stream 10 | [< ' ('A' .. 'Z' | 'a' .. 'z' as c); stream >] -> 13 lex_ident buffer stream 16 | [< ' ('0' .. '9' as c); stream >] -> 19 lex_number buffer stream 22 | [< ' ('#'); stream >] -> 23 lex_comment stream 26 | [< 'c; stream >] -> 27 [< 'Token.Kwd c; lex stream >] [all...] |
/external/chromium_org/third_party/freetype/src/base/ |
ftstream.c | 5 /* I/O stream support (body). */ 35 FT_Stream_OpenMemory( FT_Stream stream, 39 stream->base = (FT_Byte*) base; 40 stream->size = size; 41 stream->pos = 0; 42 stream->cursor = 0; 43 stream->read = 0; 44 stream->close = 0; 49 FT_Stream_Close( FT_Stream stream ) 51 if ( stream && stream->close [all...] |