Searched refs:stream (Results 1 - 25 of 595) sorted by relevance

1234567891011>>

/haiku-fatelf/headers/cpp/
H A Distream.h25 #include <stream.h>
H A Dostream.h25 #include <stream.h>
/haiku-fatelf/src/system/libroot/posix/stdio/
H A Dfpurge.cpp12 fpurge(FILE* stream) argument
15 stream->_IO_read_end = stream->_IO_read_ptr;
16 stream->_IO_write_ptr = stream->_IO_write_base;
19 if (stream->_IO_save_base != NULL) {
20 free(stream->_IO_save_base);
21 stream->_IO_save_base = NULL;
29 __fpurge(FILE* stream) argument
31 fpurge(stream);
[all...]
H A D__freading.cpp11 __freading(FILE* stream) argument
14 return (stream->_flags & _IO_NO_WRITES) != 0
15 || ((stream->_flags & (_IO_NO_READS | _IO_CURRENTLY_PUTTING)) == 0
16 && stream->_IO_read_base != NULL);
H A D_fseek.c9 _fseek(FILE *stream, fpos_t offset, int seekType) argument
11 return fseeko(stream, offset, seekType);
/haiku-fatelf/src/system/libroot/posix/glibc/libio/
H A Dsetlinebuf.c34 setlinebuf (stream)
35 _IO_FILE *stream;
37 INTUSE(_IO_setvbuf) (stream, NULL, 1, 0);
H A Dflockfile.c15 _IO_flockfile(_IO_FILE *stream) argument
17 __libc_lock_lock_recursive(*stream->_lock);
22 _IO_funlockfile(_IO_FILE *stream) argument
24 __libc_lock_unlock_recursive(*stream->_lock);
29 _IO_ftrylockfile(_IO_FILE *stream) argument
32 //return __libc_lock_trylock_recursive(*stream->_lock);
/haiku-fatelf/src/add-ons/translators/hpgs/lib/
H A Dhpgszostream.c30 * The implementation of a deflate output stream. *
67 static int z_init(hpgs_z_ostream_stream *stream) argument
69 if (deflateInit(&stream->zstream,stream->compression)==Z_OK)
71 stream->zstream.next_out = (Bytef *)stream->xfer;
72 stream->zstream.avail_out = sizeof(stream->xfer);
73 stream->zstream.total_out = 0;
74 stream
82 z_consume(hpgs_z_ostream_stream *stream, int flags) argument
129 z_putc(int c, hpgs_z_ostream_stream *stream) argument
143 z_write(void *ptr, size_t size, size_t nmemb, hpgs_z_ostream_stream *stream) argument
170 z_vprintf(hpgs_z_ostream_stream *stream, const char *fmt, va_list ap) argument
207 z_flush(hpgs_z_ostream_stream *stream) argument
218 z_close(hpgs_z_ostream_stream *stream) argument
233 z_iserror(hpgs_z_ostream_stream *stream) argument
238 z_getbuf(hpgs_z_ostream_stream *stream) argument
244 z_tell(hpgs_z_ostream_stream *stream, int layer, size_t *pos) argument
257 z_seek(hpgs_z_ostream_stream *stream, size_t pos) argument
293 hpgs_z_ostream_stream *stream; local
[all...]
H A Dhpgsistream.c101 ret->stream = in;
107 /* memory stream implementation functions. */
118 static int mem_getc (hpgs_mem_istream_stream *stream) argument
122 if (stream->errflg)
126 if (stream->gptr >= stream->eptr)
130 ret = *stream->gptr;
131 ++stream->gptr;
138 static int mem_ungetc (int c, hpgs_mem_istream_stream *stream) argument
140 if (stream
146 mem_close(hpgs_mem_istream_stream *stream) argument
151 mem_iseof(hpgs_mem_istream_stream *stream) argument
156 mem_iserror(hpgs_mem_istream_stream *stream) argument
161 mem_tell(hpgs_mem_istream_stream *stream, size_t *pos) argument
168 mem_seek(hpgs_mem_istream_stream *stream, size_t pos) argument
181 mem_seekend(hpgs_mem_istream_stream *stream, size_t pos) argument
194 mem_read(void *ptr, size_t size, size_t nmemb, hpgs_mem_istream_stream *stream) argument
239 hpgs_mem_istream_stream *stream; local
[all...]
H A Dhpgsostream.c44 ret=_this->vtable->vprintf_func(_this->stream,msg,ap);
55 ret = _this->vtable->vprintf_func(_this->stream,msg,aq);
127 ret->stream = out;
147 static int mem_grow (hpgs_mem_ostream_stream *stream, size_t hint) argument
149 if (stream->errflg)
152 size_t pos = stream->pptr-stream->data;
153 size_t sz = stream->eptr-stream->data;
159 stream
179 mem_putc(int c, hpgs_mem_ostream_stream *stream) argument
193 mem_write(void *ptr, size_t size, size_t nmemb, hpgs_mem_ostream_stream *stream) argument
207 mem_vprintf(hpgs_mem_ostream_stream *stream, const char *fmt, va_list ap) argument
241 mem_close(hpgs_mem_ostream_stream *stream) argument
248 mem_iserror(hpgs_mem_ostream_stream *stream) argument
253 mem_getbuf(hpgs_mem_ostream_stream *stream) argument
261 mem_tell(hpgs_mem_ostream_stream *stream, int layer, size_t *pos) argument
269 mem_seek(hpgs_mem_ostream_stream *stream, size_t pos) argument
307 hpgs_mem_ostream_stream *stream; local
[all...]
/haiku-fatelf/src/tools/cppunit/cppunit/
H A DTextTestResult.cpp46 TextTestResult::printFailures( ostream &stream )
52 stream << endl;
53 printFailure( *itFailure++, failureNumber++, stream );
61 ostream &stream )
63 printFailureListMark( failureNumber, stream );
64 stream << ' ';
65 printFailureTestName( failure, stream );
66 stream << ' ';
67 printFailureType( failure, stream );
68 stream << ' ';
181 operator <<( ostream &stream, TextTestResult &result ) argument
[all...]
/haiku-fatelf/src/bin/coreutils/lib/
H A Dclose-stream.h2 int close_stream (FILE *stream);
H A Dfreading.h1 /* Retrieve information about a FILE stream.
20 /* Return true if the stream STREAM is opened read-only, or if the
21 last operation on the stream was a read operation. Return false if
22 the stream is opened write-only or append-only, or if it supports
27 - both freading and fwriting might be false when the stream is first
39 # define freading(stream) (__freading (stream) != 0)
47 extern bool freading (FILE *stream);
/haiku-fatelf/src/bin/findutils/gnulib/lib/
H A Dclose-stream.h2 int close_stream (FILE *stream);
H A Dfflush.c35 rpl_fflush (FILE *stream) argument
40 /* When stream is NULL, POSIX and C99 only require flushing of "output
44 When stream is "an output stream or an update stream in which the most
48 When stream is, however, an input stream or an update stream in
50 and POSIX only specifies behavior if the stream is seekable.
53 (stream) i
[all...]
H A Dfreading.h1 /* Retrieve information about a FILE stream.
20 /* Return true if the stream STREAM is opened read-only, or if the
21 last operation on the stream was a read operation. Return false if
22 the stream is opened write-only or append-only, or if it supports
27 - both freading and fwriting might be false when the stream is first
39 # define freading(stream) (__freading (stream) != 0)
47 extern bool freading (FILE *stream);
/haiku-fatelf/headers/posix/
H A Dstdio_post.h32 #define getc(stream) \
33 (_single_threaded ? getc_unlocked(stream) : getc(stream))
34 #define putc(c, stream) \
35 (_single_threaded ? putc_unlocked(c, stream) : putc(c, stream))
H A Dstdio_ext.h20 /* extern size_t __fufsize(FILE* stream); */
21 extern int __freading(FILE* stream);
22 /* extern int __fwriting(FILE* stream); */
23 /* extern int __freadable(FILE* stream); */
24 /* extern int __fwritable(FILE* stream); */
25 /* extern int __flbf(FILE* stream); */
26 extern void __fpurge(FILE* stream);
27 /* extern size_t __fpending(FILE* stream); */
30 extern int __fsetlocking(FILE* stream, int type);
/haiku-fatelf/src/libs/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...]
/haiku-fatelf/src/libs/pdflib/libs/flate/
H A Duncompr.c32 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...]
/haiku-fatelf/src/bin/gdb/gdb/
H A Dcli-out.h27 extern struct ui_out *cli_out_new (struct ui_file *stream);
30 struct ui_file *stream);
H A Dp-typeprint.c51 pascal_print_type (struct type *type, char *varstring, struct ui_file *stream,
65 pascal_type_print_varspec_prefix (type, stream, show, 0);
68 fputs_filtered (varstring, stream);
74 fputs_filtered (" : ", stream);
80 pascal_type_print_varspec_prefix (type, stream, show, 0);
83 pascal_type_print_base (type, stream, show, level);
88 pascal_type_print_varspec_suffix (type, stream, show, 0, demangled_args);
117 pascal_type_print_derivation_info (struct ui_file *stream, struct type *type)
124 fputs_filtered (i == 0 ? ": " : ", ", stream);
125 fprintf_filtered (stream, "
50 pascal_print_type(struct type *type, char *varstring, struct ui_file *stream, int show, int level) argument
116 pascal_type_print_derivation_info(struct ui_file *stream, struct type *type) argument
139 pascal_type_print_method_args(char *physname, char *methodname, struct ui_file *stream) argument
191 pascal_type_print_varspec_prefix(struct type *type, struct ui_file *stream, int show, int passed_a_ptr) argument
207 pascal_type_print_varspec_prefix (TYPE_TARGET_TYPE (type), stream, 0, 1); local
213 pascal_type_print_varspec_prefix (TYPE_TARGET_TYPE (type), stream, 0, 0); local
219 pascal_type_print_base (TYPE_DOMAIN_TYPE (type), stream, 0, passed_a_ptr); local
238 pascal_type_print_base (TYPE_DOMAIN_TYPE (type), stream, 0, passed_a_ptr); local
244 pascal_type_print_varspec_prefix (TYPE_TARGET_TYPE (type), stream, 0, 1); local
303 pascal_print_func_args(struct type *type, struct ui_file *stream) argument
323 ,stream, -1, 0); local
336 pascal_type_print_varspec_suffix(struct type *type, struct ui_file *stream, int show, int passed_a_ptr, int demangled_args) argument
358 pascal_type_print_varspec_suffix (TYPE_TARGET_TYPE (type), stream, 0, 0, 0); local
370 pascal_type_print_varspec_prefix (TYPE_TARGET_TYPE (type), stream, 0, 0); local
371 pascal_type_print_base (TYPE_TARGET_TYPE (type), stream, show, 0); local
372 pascal_type_print_varspec_suffix (TYPE_TARGET_TYPE (type), stream, 0, local
379 pascal_type_print_varspec_suffix (TYPE_TARGET_TYPE (type), stream, 0, 1, 0); local
390 pascal_type_print_varspec_prefix (TYPE_TARGET_TYPE (type), stream, 0, 0); local
391 pascal_type_print_base (TYPE_TARGET_TYPE (type), stream, show, 0); local
392 pascal_type_print_varspec_suffix (TYPE_TARGET_TYPE (type), stream, 0, local
440 pascal_type_print_base(struct type *type, struct ui_file *stream, int show, int level) argument
473 fputs_filtered (TYPE_NAME (type), stream); local
487 pascal_type_print_base (TYPE_TARGET_TYPE (type), stream, show, level); local
494 pascal_print_type (TYPE_TARGET_TYPE (type), NULL, stream, 0, 0); local
506 fputs_filtered (TYPE_TAG_NAME (type), stream); local
522 fputs_filtered (TYPE_TAG_NAME (type), stream); local
605 stream, show - 1, level + 4); local
724 fputs_filtered (TYPE_TAG_NAME (type), stream); local
749 fputs_filtered (TYPE_FIELD_NAME (type, i), stream); local
787 pascal_print_type (TYPE_INDEX_TYPE (type), "", stream, local
806 fputs_filtered (TYPE_NAME (type), stream); local
[all...]
/haiku-fatelf/src/servers/app/
H A DInputManager.cpp9 // TODO: introduce means to define event stream features (like local vs. net)
10 // TODO: introduce the possibility to identify a stream by a unique name
37 InputManager::AddStream(EventStream* stream) argument
40 return fFreeStreams.AddItem(stream);
45 InputManager::RemoveStream(EventStream* stream) argument
48 fFreeStreams.RemoveItem(stream);
57 EventStream* stream = NULL; local
59 delete stream;
60 // this deletes the previous invalid stream
62 stream
74 PutStream(EventStream* stream) argument
[all...]
/haiku-fatelf/src/system/libroot/posix/glibc/stdio-common/
H A Dgetw.c25 getw(FILE *stream) argument
29 if (fread((void *)&w, sizeof(w), 1, stream) != 1)
/haiku-fatelf/src/add-ons/translators/jpeg2000/libjasper/jasper/
H A Djas_stream.h151 /* The stream was opened for reading. */
153 /* The stream was opened for writing. */
155 /* The stream was opened for appending. */
157 /* The stream was opened in binary mode. */
159 /* The stream should be created/truncated. */
168 /* The stream is unbuffered. */
170 /* The stream is line buffered. */
172 /* The stream is fully buffered. */
178 stream is destroyed. */
191 /* An I/O error has been encountered on the stream
[all...]

Completed in 120 milliseconds

1234567891011>>