Searched defs:stream (Results 1 - 25 of 753) sorted by relevance

1234567891011>>

/external/chromium-trace/trace-viewer/third_party/Paste/tests/urlparser_data/python/
H A Dstream.py1 def stream(): function
/external/antlr/antlr-3.4/runtime/C/src/
H A Dantlr3intstream.c2 /// 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) argument
62 ANTLR3_FREE(stream);
/external/bison/lib/
H A Dgetline.c24 getline (char **lineptr, size_t *n, FILE *stream) argument
26 return getdelim (lineptr, n, '\n', stream);
H A Dclose-stream.c1 /* Close a stream, with nicer error checking than fclose's.
20 #include "close-stream.h"
43 printf can succeed in writing to the internal stream buffer, and yet
52 that writes to STREAM -- just let the internal stream state record
56 close_stream (FILE *stream) argument
58 const bool some_pending = (__fpending (stream) != 0);
59 const bool prev_fail = (ferror (stream) != 0);
60 const bool fclose_fail = (fclose (stream) != 0);
/external/compiler-rt/test/msan/
H A Dgetc_unlocked.c16 FILE *stream = fopen("/dev/zero", "r"); local
17 flockfile (stream);
20 int res = dup2(fileno(stream), 0);
24 c = getc_unlocked (stream);
26 funlockfile (stream);
30 fclose(stream);
/external/ltrace/
H A Dmemstream.h28 FILE *stream; member in struct:memstream
/external/nanopb-c/examples/using_double_on_avr/
H A Dencode_double.c18 pb_ostream_t stream = pb_ostream_from_buffer(buffer, sizeof(buffer)); local
20 pb_encode(&stream, AVRDoubleMessage_fields, &message);
21 fwrite(buffer, 1, stream.bytes_written, stdout);
H A Ddecode_double.c14 pb_istream_t stream = pb_istream_from_buffer(buffer, count); local
17 pb_decode(&stream, AVRDoubleMessage_fields, &message);
/external/nanopb-c/tests/basic_buffer/
H A Dencode_buffer.c14 pb_ostream_t stream; local
23 stream = pb_ostream_from_buffer(buffer, sizeof(buffer));
26 if (pb_encode(&stream, Person_fields, &person))
30 fwrite(buffer, 1, stream.bytes_written, stdout);
35 fprintf(stderr, "Encoding failed: %s\n", PB_GET_ERROR(&stream));
/external/zlib/src/
H A Duncompr.c30 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...]
H A Dcompress.c29 z_stream stream; local
32 stream.next_in = (z_const Bytef *)source;
33 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;
44 stream
[all...]
/external/lzma/CPP/Common/
H A DStdInStream.h17 CStdInStream(FILE *stream): _streamIsOpen(false), _stream(stream) {}; argument
H A DStdOutStream.h16 CStdOutStream (FILE *stream): _streamIsOpen(false), _stream(stream) {}; argument
/external/nanopb-c/tests/missing_fields/
H A Dmissing_fields.c16 pb_ostream_t stream = pb_ostream_from_buffer(buffer, sizeof(buffer)); local
18 if (!pb_encode(&stream, MissingField_fields, &msg))
24 size = stream.bytes_written;
30 pb_istream_t stream = pb_istream_from_buffer(buffer, size); local
32 if (!pb_decode(&stream, MissingField_fields, &msg))
34 printf("Decode failed: %s\n", PB_GET_ERROR(&stream));
42 pb_istream_t stream = pb_istream_from_buffer(buffer, size); local
44 if (pb_decode(&stream, AllFields_fields, &msg))
/external/antlr/antlr-3.4/runtime/ObjC/Framework/test/runtime/TestRewriteRuleTokenStream/
H A DTestRewriteRuleTokenStream.h34 ANTLRRewriteRuleTokenStream *stream; variable
/external/freetype/src/base/
H A Dftsnames.c64 FT_Stream stream = face->stream; local
/external/glide/library/src/main/java/com/bumptech/glide/load/model/stream/
H A DStreamModelLoader.java1 package com.bumptech.glide.load.model.stream;
/external/nanopb-c/examples/simple/
H A Dsimple.c21 /* Create a stream that will write to our buffer. */
22 pb_ostream_t stream = pb_ostream_from_buffer(buffer, sizeof(buffer)); local
28 status = pb_encode(&stream, SimpleMessage_fields, &message);
29 message_length = stream.bytes_written;
34 printf("Encoding failed: %s\n", PB_GET_ERROR(&stream));
49 /* Create a stream that reads from the buffer. */
50 pb_istream_t stream = pb_istream_from_buffer(buffer, message_length); local
53 status = pb_decode(&stream, SimpleMessage_fields, &message);
58 printf("Decoding failed: %s\n", PB_GET_ERROR(&stream));
/external/nanopb-c/tests/alltypes/
H A Dencode_alltypes.c130 pb_ostream_t stream = pb_ostream_from_buffer(buffer, sizeof(buffer)); local
133 if (pb_encode(&stream, AllTypes_fields, &alltypes))
136 fwrite(buffer, 1, stream.bytes_written, stdout);
141 fprintf(stderr, "Encoding failed: %s\n", PB_GET_ERROR(&stream));
/external/nanopb-c/tests/backwards_compatibility/
H A Dencode_legacy.c120 pb_ostream_t stream = pb_ostream_from_buffer(buffer, sizeof(buffer)); local
123 if (pb_encode(&stream, AllTypes_fields, &alltypes))
126 fwrite(buffer, 1, stream.bytes_written, stdout);
/external/nanopb-c/tests/basic_stream/
H A Dencode_stream.c9 /* This binds the pb_ostream_t into the stdout stream */
10 bool streamcallback(pb_ostream_t *stream, const uint8_t *buf, size_t count) argument
12 FILE *file = (FILE*) stream->state;
25 /* Prepare the stream, output goes directly to stdout */
26 pb_ostream_t stream = {&streamcallback, NULL, SIZE_MAX, 0}; local
27 stream.state = stdout;
31 if (pb_encode(&stream, Person_fields, &person))
37 fprintf(stderr, "Encoding failed: %s\n", PB_GET_ERROR(&stream));
/external/pdfium/third_party/freetype/src/base/
H A Dftsnames.c64 FT_Stream stream = face->stream; local
/external/skia/src/core/
H A DSkFontStream.h19 * if the stream is a normal sfnt (ttf). If there is an error or
22 * Note: the stream is rewound initially, but is returned at an arbitrary
30 * Note: the stream is rewound initially, but is returned at an arbitrary
38 * Note: the stream is rewound initially, but is returned at an arbitrary
44 static size_t GetTableSize(SkStream* stream, int ttcIndex, SkFontTableTag tag) { argument
45 return GetTableData(stream, ttcIndex, tag, 0, ~0U, NULL);
/external/skia/src/images/
H A DSkImageDecoder_FactoryDefault.cpp15 SkImageDecoder* SkImageDecoder::Factory(SkStreamRewindable* stream) { argument
16 return image_decoder_from_stream(stream);
23 SkMovie* SkMovie::DecodeStream(SkStreamRewindable* stream) { argument
26 SkMovie* movie = curr->factory()(stream);
30 // we must rewind only if we got NULL, since we gave the stream to the
32 stream->rewind();
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
H A DTestBufferedTreeNodeStream.java44 public String toTokenTypeString(TreeNodeStream stream) { argument
45 return ((BufferedTreeNodeStream)stream).toTokenTypeString();
50 // stream has 7 real + 6 nav nodes
62 TreeNodeStream stream = newStream(r0);
63 stream.consume(); // consume 101
64 stream.consume(); // consume DN
65 stream.consume(); // consume 102
66 stream.seek(7); // seek to 107
67 assertEquals(107, ((Tree)stream.LT(1)).getType());
68 stream
[all...]

Completed in 5903 milliseconds

1234567891011>>