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

1234567891011>>

/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/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/python/cpython2/Modules/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...]
/external/skia/src/android/
H A DSkBitmapRegionDecoder.cpp21 SkStreamRewindable* stream, Strategy strategy) {
22 std::unique_ptr<SkStreamRewindable> streamDeleter(stream);
20 Create( SkStreamRewindable* stream, Strategy strategy) argument
/external/syslinux/com32/lib/sys/
H A Dftell.c10 long ftell(FILE * stream) argument
12 int fd = fileno(stream);
/external/syslinux/com32/lib/zlib/
H A Duncompr.c30 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/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/pdfium/core/fxge/dib/
H A Dfx_dib_engine_unittest.cpp24 std::unique_ptr<CPDF_Stream> stream = local
27 dib_source.Load(nullptr, stream.get());
/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
120 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/libmojo/base/android/
H A Dfifo_utils.cc20 bool RedirectStream(FILE* stream, const FilePath& path, const char* mode) { argument
21 return freopen(path.value().c_str(), mode, stream) != NULL;
/external/libmojo/mojo/edk/system/ports/
H A Dname.cc11 std::ostream& operator<<(std::ostream& stream, const Name& name) { argument
12 std::ios::fmtflags flags(stream.flags());
13 stream << std::hex << std::uppercase << name.v1;
15 stream << '.' << name.v2;
16 stream.flags(flags);
17 return stream;
/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);

Completed in 803 milliseconds

1234567891011>>