/external/curl/src/ |
H A D | tool_binmode.c | 38 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 D | 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) argument 62 ANTLR3_FREE(stream);
|
/external/bison/lib/ |
H A D | getline.c | 24 getline (char **lineptr, size_t *n, FILE *stream) argument 26 return getdelim (lineptr, n, '\n', stream);
|
H A D | close-stream.c | 1 /* 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 D | getc_unlocked.c | 16 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 D | stream_errors.h | 12 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 D | encode_double.c | 18 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 D | decode_double.c | 14 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 D | encode_buffer.c | 14 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 D | 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/skia/src/android/ |
H A D | SkBitmapRegionDecoder.cpp | 21 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 D | ftell.c | 10 long ftell(FILE * stream) argument 12 int fd = fileno(stream);
|
/external/syslinux/com32/lib/zlib/ |
H A D | 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/zlib/src/ |
H A D | 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/nanopb-c/tests/missing_fields/ |
H A D | missing_fields.c | 16 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 D | fx_dib_engine_unittest.cpp | 24 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 D | TestRewriteRuleTokenStream.h | 34 ANTLRRewriteRuleTokenStream *stream; variable
|
/external/freetype/src/base/ |
H A D | ftsnames.c | 64 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 D | StreamModelLoader.java | 1 package com.bumptech.glide.load.model.stream;
|
/external/libmojo/base/android/ |
H A D | fifo_utils.cc | 20 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 D | name.cc | 11 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 D | StdInStream.h | 17 CStdInStream(FILE *stream): _stream(stream), _streamIsOpen(false) {};
argument
|
/external/nanopb-c/examples/simple/ |
H A D | simple.c | 21 /* 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 D | encode_alltypes.c | 130 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 D | encode_legacy.c | 120 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);
|