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

/darwin-on-arm/xnu/libkern/zlib/
H A Dcompress.c60 z_stream stream; local
63 stream.next_in = (Bytef*)source;
64 stream.avail_in = (uInt)sourceLen;
67 if ((uLong)stream.avail_in != sourceLen) return Z_BUF_ERROR;
69 stream.next_out = dest;
70 stream.avail_out = (uInt)*destLen;
71 if ((uLong)stream.avail_out != *destLen) return Z_BUF_ERROR;
73 stream.zalloc = (alloc_func)0;
74 stream.zfree = (free_func)0;
75 stream
[all...]
H A Duncompr.c63 z_stream stream; local
66 stream.next_in = (Bytef*)source;
67 stream.avail_in = (uInt)sourceLen;
69 if ((uLong)stream.avail_in != sourceLen) return Z_BUF_ERROR;
71 stream.next_out = dest;
72 stream.avail_out = (uInt)*destLen;
73 if ((uLong)stream.avail_out != *destLen) return Z_BUF_ERROR;
75 stream.zalloc = (alloc_func)0;
76 stream.zfree = (free_func)0;
78 err = inflateInit(&stream);
[all...]
H A Dgzio.c84 z_stream stream; member in struct:gz_stream
85 int z_err; /* error code for last stream operation */
138 s->stream.zalloc = (alloc_func)0;
139 s->stream.zfree = (free_func)0;
140 s->stream.opaque = (voidpf)0;
141 s->stream.next_in = s->inbuf = Z_NULL;
142 s->stream.next_out = s->outbuf = Z_NULL;
143 s->stream.avail_in = s->stream.avail_out = 0;
182 err = deflateInit2(&(s->stream), leve
[all...]
/darwin-on-arm/xnu/osfmk/console/panic_ui/
H A Dsetupdialog.c13 void create_numbers_file( FILE *stream, char *outfile );
34 FILE * stream, *out_stream; local
78 stream = fopen(numsfile, "r");
79 if (!stream) {
83 create_numbers_file( stream, numsout );
84 fclose(stream);
92 stream = fopen(file, "r");
93 if (!stream) {
100 fread((void *) &width, sizeof(short), 1, stream);
102 fread((void *) &height, sizeof(short), 1, stream);
208 create_numbers_file( FILE *stream, char *outfile ) argument
[all...]
H A Dqtif2kraw.c109 FILE * stream; local
172 stream = fopen(file, "r");
173 if (!stream) {
183 if ( ! fread((void *) &hdr_off, sizeof(long), 1, stream) ) goto errQTimage;
184 if ( ! fread((void *) &hdr_type, sizeof(long), 1, stream) ) goto errQTimage;
188 if ( fseek(stream, hdr_off, SEEK_SET) ) goto errQTimage;
189 if ( ! fread((void *) &hdr_off, sizeof(long), 1, stream) ) goto errQTimage;
190 if ( ! fread((void *) &hdr_type, sizeof(long), 1, stream) ) goto errQTimage;
194 rc = fread((void *) &image_header, sizeof(image_header), 1, stream);
195 if ( !rc && !feof(stream) ) got
875 FILE * stream; local
[all...]
H A Dgenimage.c204 FILE * stream, *out_stream; local
311 stream = fopen(file, "r");
312 if (!stream) {
321 fread((void *) &hdr_off, sizeof(long), 1, stream);
322 fread((void *) &hdr_type, sizeof(long), 1, stream);
326 fseek(stream, hdr_off, SEEK_SET);
327 fread((void *) &hdr_off, sizeof(long), 1, stream);
328 fread((void *) &hdr_type, sizeof(long), 1, stream);
332 fread((void *) &image_header, sizeof(image_header), 1, stream);
354 fseek(stream,
1421 FILE * stream; local
[all...]
/darwin-on-arm/xnu/
H A Dlldbmacros.py108 stream = Output()
109 stream.setOptions(args.split())
110 memstats(stream)
111 stream.done()
130 stream = Output()
131 stream.setOptions(args.split())
132 _zprint(stream)
133 stream.done()
166 stream = Output()
167 stream
[all...]
/darwin-on-arm/xnu/osfmk/profiling/i386/
H A Dprofile-md.c120 * If stream is NULL, _profile_print_stats will use stdout.
171 * Use _profile_printf to write diagnostics; add diag_stream to hold stream to write to.
676 pv->stream) != 1) {
728 pv->stream) != 1) {
759 pv->stream) != 1) {
923 void _profile_print_stats(FILE *stream,
942 if (!stream) {
943 stream = stdout;
947 fprintf(stream, "%12s profiling version number\n", buf);
948 fprintf(stream, "
913 _profile_print_stats(FILE *stream, const struct profile_stats *stats, const struct profile_profil *pinfo) argument
[all...]
H A Dprofile-asm.s165 * Use _profile_printf to write diagnostics; add diag_stream to hold stream to write to.
474 LCL(stream) = LCL(str_ptr)+4 /* stdio stream to write to */
475 LCL(diag_stream) = LCL(stream)+4 /* stdio stream to write diagnostics to */
/darwin-on-arm/xnu/bsd/kern/
H A Duipc_proto.c132 SYSCTL_NODE(_net_local, SOCK_STREAM, stream, CTLFLAG_RW|CTLFLAG_LOCKED, NULL, "SOCK_STREAM");
/darwin-on-arm/xnu/osfmk/profiling/
H A Dprofile-internal.h260 FILE *stream; /* stdio stream to write to */ member in struct:profile_vars
261 FILE *diag_stream; /* stdio stream to write diagnostics to */
265 void *stream; /* pointer passed to fwrite_func */ member in struct:profile_vars
266 void *diag_stream; /* stdio stream to write diagnostics to */

Completed in 40 milliseconds