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

1 2 3 4 5 6 7 8 91011>>

  /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/libdrm/tests/etnaviv/
etnaviv_cmd_stream_test.c 36 struct etna_cmd_stream *stream; local
41 stream = etna_cmd_stream_new(NULL, 0, NULL, NULL);
42 assert(stream == NULL);
44 stream = etna_cmd_stream_new(NULL, 4, NULL, NULL);
45 assert(stream);
46 assert(etna_cmd_stream_avail(stream) == 2);
47 etna_cmd_stream_del(stream);
49 stream = etna_cmd_stream_new(NULL, 20, NULL, NULL);
50 assert(stream);
51 assert(etna_cmd_stream_avail(stream) == 18)
70 struct etna_cmd_stream *stream; local
94 struct etna_cmd_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...]
  /system/core/debuggerd/common/include/
dump_type.h 30 inline std::ostream& operator<<(std::ostream& stream, const DebuggerdDumpType& rhs) {
33 stream << "kDebuggerdNativeBacktrace";
36 stream << "kDebuggerdTombstone";
39 stream << "kDebuggerdJavaBacktrace";
42 stream << "kDebuggerdAnyIntercept";
45 stream << "[unknown]";
48 return stream;
  /external/mesa3d/src/gallium/auxiliary/util/
u_dump_state.c 43 util_stream_writef(FILE *stream, const char *format, ...)
51 fwrite(buf, len, 1, stream);
55 util_dump_bool(FILE *stream, int value)
57 util_stream_writef(stream, "%c", value ? '1' : '0');
61 util_dump_int(FILE *stream, long long int value)
63 util_stream_writef(stream, "%lli", value);
67 util_dump_uint(FILE *stream, long long unsigned value)
69 util_stream_writef(stream, "%llu", value);
73 util_dump_float(FILE *stream, double value)
75 util_stream_writef(stream, "%g", value)
    [all...]
  /system/core/libcutils/
open_memstream.c 63 * Definition of a seekable, write-only memory stream.
84 static int ensureCapacity(MemStream* stream, int writeSize)
86 DBUG(("+++ ensureCap off=%d size=%d\n", stream->offset, writeSize));
88 size_t neededSize = stream->offset + writeSize + 1;
89 if (neededSize <= stream->allocSize)
94 if (stream->allocSize == 0) {
97 newSize = stream->allocSize;
104 stream->bufp, *stream->bufp, newSize));
105 char* newBuf = (char*) realloc(*stream->bufp, newSize)
123 MemStream* stream = (MemStream*) cookie; local
164 MemStream* stream = (MemStream*) cookie; local
226 MemStream* stream; local
    [all...]
  /external/curl/src/
tool_binmode.c 38 void set_binmode(FILE *stream)
42 _setmode(stream, O_BINARY);
44 (void)setmode(fileno(stream), O_BINARY);
47 (void)stream;
  /external/sonic/
sonic.h 22 the input stream is pointed to by "samples", and the current output stream
72 /* Create a sonic stream. Return NULL only if we are out of memory and cannot
73 allocate the stream. Set numChannels to 1 for mono, and 2 for stereo. */
75 /* Destroy the sonic stream. */
76 void sonicDestroyStream(sonicStream stream);
77 /* Use this to write floating point data to be speed up or down into the stream.
79 int sonicWriteFloatToStream(sonicStream stream, float *samples, int numSamples);
80 /* Use this to write 16-bit data to be speed up or down into the stream.
82 int sonicWriteShortToStream(sonicStream stream, short *samples, int numSamples)
    [all...]
sonic.c 87 /* Get the speed of the stream. */
89 sonicStream stream)
91 return stream->speed;
94 /* Set the speed of the stream. */
96 sonicStream stream,
99 stream->speed = speed;
102 /* Get the pitch of the stream. */
104 sonicStream stream)
106 return stream->pitch;
109 /* Set the pitch of the stream. *
256 sonicStream stream = (sonicStream)calloc(1, sizeof(struct sonicStreamStruct)); local
1135 sonicStream stream = sonicCreateStream(sampleRate, numChannels); local
1162 sonicStream stream = sonicCreateStream(sampleRate, numChannels); local
    [all...]
  /packages/services/Car/tests/obd2_test/src/com/android/car/obd2/test/
IntegerArrayStreamTest.java 30 IntegerArrayStream stream = new IntegerArrayStream(DATA_SET); local
31 assertEquals(1, stream.peek());
32 assertEquals(1, stream.consume());
33 assertEquals(2, stream.peek());
34 assertEquals(2, stream.consume());
39 IntegerArrayStream stream = new IntegerArrayStream(DATA_SET); local
40 assertEquals(DATA_SET.length, stream.residualLength());
41 stream.consume();
42 assertEquals(DATA_SET.length - 1, stream.residualLength());
47 IntegerArrayStream stream = new IntegerArrayStream(DATA_SET) local
57 IntegerArrayStream stream = new IntegerArrayStream(DATA_SET); local
65 IntegerArrayStream stream = new IntegerArrayStream(DATA_SET); local
    [all...]
  /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...]
  /external/swiftshader/third_party/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...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/zlib/
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...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/
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/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/python/cpython2/Modules/zlib/
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/swiftshader/third_party/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/syslinux/com32/lib/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...]
  /toolchain/binutils/binutils-2.27/zlib/
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/mesa3d/src/gallium/drivers/etnaviv/
etnaviv_emit.h 38 etna_emit_load_state(struct etna_cmd_stream *stream, const uint16_t offset,
49 etna_cmd_stream_emit(stream, v);
53 etna_set_state(struct etna_cmd_stream *stream, uint32_t address, uint32_t value)
55 etna_cmd_stream_reserve(stream, 2);
56 etna_emit_load_state(stream, address >> 2, 1, 0);
57 etna_cmd_stream_emit(stream, value);
61 etna_set_state_reloc(struct etna_cmd_stream *stream, uint32_t address,
64 etna_cmd_stream_reserve(stream, 2);
65 etna_emit_load_state(stream, address >> 2, 1, 0);
66 etna_cmd_stream_reloc(stream, reloc)
    [all...]
  /external/oj-libjdwp/src/share/back/
inStream.h 42 void inStream_init(PacketInputStream *stream, jdwpPacket packet);
44 jint inStream_id(PacketInputStream *stream);
45 jbyte inStream_command(PacketInputStream *stream);
47 jboolean inStream_readBoolean(PacketInputStream *stream);
48 jbyte inStream_readByte(PacketInputStream *stream);
49 jbyte* inStream_readBytes(PacketInputStream *stream,
51 jchar inStream_readChar(PacketInputStream *stream);
52 jshort inStream_readShort(PacketInputStream *stream);
53 jint inStream_readInt(PacketInputStream *stream);
54 jlong inStream_readLong(PacketInputStream *stream);
    [all...]

Completed in 760 milliseconds

1 2 3 4 5 6 7 8 91011>>