/frameworks/base/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/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/libvpx/ |
tools_common.c | 17 FILE* set_binary_mode(FILE *stream) 19 (void)stream; 21 _setmode(_fileno(stream), _O_BINARY); 23 return stream;
|
/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/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/base/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/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/ |
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/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/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...] |
ftapi.c | 47 FT_Stream stream ) 51 FT_Stream_OpenMemory( stream, base, size ); 56 FT_Seek_Stream( FT_Stream stream, 59 return FT_Stream_Seek( stream, pos ); 64 FT_Skip_Stream( FT_Stream stream, 67 return FT_Stream_Skip( stream, distance ); 72 FT_Read_Stream( FT_Stream stream, 76 return FT_Stream_Read( stream, buffer, count ); 81 FT_Read_Stream_At( FT_Stream stream, 86 return FT_Stream_ReadAt( stream, pos, buffer, count ) [all...] |
/external/harfbuzz/src/ |
harfbuzz-stream.c | 30 #include "harfbuzz-stream-private.h" 52 _hb_close_stream( HB_Stream stream ) 54 if (!stream) 56 free(stream->base); 57 free(stream); 62 _hb_stream_pos( HB_Stream stream ) 64 LOG(( "_hb_stream_pos() -> %ld\n", stream->pos )); 65 return stream->pos; 70 _hb_stream_seek( HB_Stream stream, 75 stream->pos = pos [all...] |
harfbuzz-stream-private.h | 30 #include "harfbuzz-stream.h" 35 _hb_close_stream( HB_Stream stream ); 38 _hb_stream_pos( HB_Stream stream ); 41 _hb_stream_seek( HB_Stream stream, 45 _hb_stream_frame_enter( HB_Stream stream, 49 _hb_stream_frame_exit( HB_Stream stream ); 56 #define FILE_Pos() _hb_stream_pos( stream ) 57 #define FILE_Seek(pos) SET_ERR( _hb_stream_seek( stream, pos ) ) 58 #define ACCESS_Frame(size) SET_ERR( _hb_stream_frame_enter( stream, size ) ) 59 #define FORGET_Frame() _hb_stream_frame_exit( stream ) [all...] |
/frameworks/base/media/libstagefright/codecs/avc/enc/src/ |
bitstream_io.cpp | 45 AVCEnc_Status BitstreamEncInit(AVCEncBitstream *stream, uint8 *buffer, int buf_size, 48 if (stream == NULL || buffer == NULL || buf_size <= 0) 53 stream->bitstreamBuffer = buffer; 55 stream->buf_size = buf_size; 57 stream->write_pos = 0; 59 stream->count_zeros = 0; 61 stream->current_word = 0; 63 stream->bit_left = WORD_SIZE; 65 stream->overrunBuffer = overrunBuffer; 67 stream->oBSize = oBSize [all...] |
/external/v8/src/ |
lithium.cc | 35 void LOperand::PrintTo(StringStream* stream) { 42 stream->Add("v%d", unalloc->virtual_register()); 49 stream->Add("(=%s)", register_name); 55 stream->Add("(=%s)", double_register_name); 59 stream->Add("(=%dS)", unalloc->fixed_index()); 62 stream->Add("(R)"); 65 stream->Add("(WR)"); 68 stream->Add("(1)"); 71 stream->Add("(-)"); 74 stream->Add("(0)") [all...] |
/external/chromium/chrome/common/ |
bzip2_unittest.cc | 27 bz_stream stream; local 28 stream.bzalloc = NULL; 29 stream.bzfree = NULL; 30 stream.opaque = NULL; 31 int result = BZ2_bzCompressInit(&stream, 37 stream.next_in = input; 38 stream.avail_in = arraysize(input) - 1; 39 stream.next_out = output; 40 stream.avail_out = arraysize(output); 42 result = BZ2_bzCompress(&stream, BZ_FINISH) [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/ |
DEROctetStringParser.java | 9 private DefiniteLengthInputStream stream; field in class:DEROctetStringParser 12 DefiniteLengthInputStream stream) 14 this.stream = stream; 19 return stream; 25 return new DEROctetString(stream.toByteArray()); 36 throw new ASN1ParsingException("IOException converting stream to byte array: " + e.getMessage(), e);
|
/libcore/luni/src/test/java/tests/api/org/xml/sax/support/ |
BrokenInputStream.java | 29 private InputStream stream; field in class:BrokenInputStream 33 public BrokenInputStream(InputStream stream, int offset) { 36 this.stream = stream; 47 return stream.read(); 52 stream.close();
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter2/ |
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/llvm/examples/OCaml-Kaleidoscope/Chapter3/ |
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/llvm/examples/OCaml-Kaleidoscope/Chapter4/ |
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/skia/src/pdf/ |
SkPDFStream.cpp | 22 SkPDFStream::SkPDFStream(SkStream* stream) { 24 SkAssertResult(SkFlate::Deflate(stream, &fCompressedData)); 27 fCompressedData.getOffset() < stream->getLength()) { 32 fPlainData = stream; 41 void SkPDFStream::emitObject(SkWStream* stream, SkPDFCatalog* catalog, 44 return emitIndirectObject(stream, catalog); 46 this->INHERITED::emitObject(stream, catalog, false); 47 stream->writeText(" stream\n"); 49 stream->write(fPlainData->getMemoryBase(), fLength) [all...] |