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

1234567891011>>

/external/chromium-trace/catapult/third_party/Paste/tests/urlparser_data/python/
H A Dstream.py1 def stream(): function
/external/curl/src/
H A Dtool_binmode.c38 void set_binmode(FILE *stream) argument
42 _setmode(stream, O_BINARY);
44 (void)setmode(fileno(stream), O_BINARY);
47 (void)stream;
/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/libbrillo/brillo/streams/
H A Dstream_errors.h12 namespace stream { namespace in namespace:brillo::errors
14 // Error domain for generic stream-based errors.
23 } // namespace 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/opencv3/3rdparty/zlib/
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/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...]
/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/libchrome/base/strings/
H A Dstring16_unittest.cc19 // Basic stream test.
21 std::ostringstream stream; local
22 stream << "Empty '" << string16() << "' standard '"
25 stream.str().c_str());
47 std::ostringstream stream; local
48 stream << initial_surrogate << "," << final_surrogate << ","
52 stream.str().c_str());
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/base/
H A Dftsnames.c64 FT_Stream stream = face->stream; local
/external/lzma/CPP/Common/
H A DStdInStream.h17 CStdInStream(FILE *stream): _stream(stream), _streamIsOpen(false) {}; argument
/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));

Completed in 1182 milliseconds

1234567891011>>