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

1234

/asus-wl-520gu-7.0.1.45/src/cfe/cfe/zlib/
H A Duncompr.c31 z_stream stream; local
34 stream.next_in = (Bytef*)source;
35 stream.avail_in = (uInt)sourceLen;
37 if ((uLong)stream.avail_in != sourceLen) return Z_BUF_ERROR;
39 stream.next_out = dest;
40 stream.avail_out = (uInt)*destLen;
41 if ((uLong)stream.avail_out != *destLen) return Z_BUF_ERROR;
43 stream.zalloc = (alloc_func)0;
44 stream.zfree = (free_func)0;
46 err = inflateInit(&stream);
[all...]
H A Dcompress.c28 z_stream stream; local
31 stream.next_in = (Bytef*)source;
32 stream.avail_in = (uInt)sourceLen;
35 if ((uLong)stream.avail_in != sourceLen) return Z_BUF_ERROR;
37 stream.next_out = dest;
38 stream.avail_out = (uInt)*destLen;
39 if ((uLong)stream.avail_out != *destLen) return Z_BUF_ERROR;
41 stream.zalloc = (alloc_func)0;
42 stream.zfree = (free_func)0;
43 stream
[all...]
H A Dgzio.c41 z_stream stream; member in struct:gz_stream
42 int z_err; /* error code for last stream operation */
91 s->stream.zalloc = (alloc_func)0;
92 s->stream.zfree = (free_func)0;
93 s->stream.opaque = (voidpf)0;
94 s->stream.next_in = s->inbuf = Z_NULL;
95 s->stream.next_out = s->outbuf = Z_NULL;
96 s->stream.avail_in = s->stream.avail_out = 0;
130 err = deflateInit2(&(s->stream), leve
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/cramfs/
H A Duncompress.c14 * only have one stream, and we'll initialize it only once even if it
23 static z_stream stream; variable
31 stream.next_in = src;
32 stream.avail_in = srclen;
34 stream.next_out = dst;
35 stream.avail_out = dstlen;
37 err = zlib_inflateReset(&stream);
40 zlib_inflateEnd(&stream);
41 zlib_inflateInit(&stream);
44 err = zlib_inflate(&stream, Z_FINIS
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/net/
H A Diw_handler.h373 /* We may need a function to send a stream of events to user space.
383 * Wrapper to add an Wireless Event to a stream of events.
386 iwe_stream_add_event(char * stream, /* Stream of events */ argument
387 char * ends, /* End of stream */
392 if((stream + event_len) < ends) {
394 memcpy(stream, (char *) iwe, event_len);
395 stream += event_len;
397 return stream;
403 * stream of events.
406 iwe_stream_add_point(char * stream, /* Strea argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/net/
H A Diw_handler.h373 /* We may need a function to send a stream of events to user space.
383 * Wrapper to add an Wireless Event to a stream of events.
386 iwe_stream_add_event(char * stream, /* Stream of events */ argument
387 char * ends, /* End of stream */
392 if((stream + event_len) < ends) {
394 memcpy(stream, (char *) iwe, event_len);
395 stream += event_len;
397 return stream;
403 * stream of events.
406 iwe_stream_add_point(char * stream, /* Strea argument
[all...]
/asus-wl-520gu-7.0.1.45/src/router/shared/
H A Dezc.h32 void do_apply_ezconfig_post(char *url, FILE *stream, int len, char *boundary);
33 void do_ezconfig_asp(char *url, FILE *stream);
/asus-wl-520gu-7.0.1.45/src/router/shared.asus/
H A Dezc.h32 void do_apply_ezconfig_post(char *url, FILE *stream, int len, char *boundary);
33 void do_ezconfig_asp(char *url, FILE *stream);
H A Dshutils.c235 * @param stream file stream
239 safe_fread(void *ptr, size_t size, size_t nmemb, FILE *stream) argument
244 clearerr(stream);
245 ret += fread((char *)ptr + (ret * size), size, nmemb - ret, stream);
246 } while (ret < nmemb && ferror(stream) && errno == EINTR);
256 * @param stream file stream
260 safe_fwrite(const void *ptr, size_t size, size_t nmemb, FILE *stream) argument
265 clearerr(stream);
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/usb/host/
H A Dehci-sched.c498 struct ehci_iso_stream *stream; local
500 stream = kmalloc(sizeof *stream, mem_flags);
501 if (likely (stream != 0)) {
502 memset (stream, 0, sizeof(*stream));
503 INIT_LIST_HEAD(&stream->itd_list);
504 INIT_LIST_HEAD(&stream->free_itd_list);
505 stream->next_uframe = -1;
506 stream
512 iso_stream_init( struct ehci_iso_stream *stream, struct usb_device *dev, int pipe, unsigned interval ) argument
563 iso_stream_put(struct ehci_hcd *ehci, struct ehci_iso_stream *stream) argument
602 iso_stream_get(struct ehci_iso_stream *stream) argument
614 struct ehci_iso_stream *stream; local
668 itd_sched_init( struct ehci_itd_sched *itd_sched, struct ehci_iso_stream *stream, struct urb *urb ) argument
710 itd_sched_free( struct ehci_iso_stream *stream, struct ehci_itd_sched *itd_sched ) argument
720 itd_urb_transaction( struct ehci_iso_stream *stream, struct ehci_hcd *ehci, struct urb *urb, int mem_flags ) argument
925 itd_init(struct ehci_iso_stream *stream, struct ehci_itd *itd) argument
1071 struct ehci_iso_stream *stream = itd->stream; local
1152 struct ehci_iso_stream *stream; local
[all...]
/asus-wl-520gu-7.0.1.45/src/router/e2fsprogs-1.40.8/intl/
H A Dlog.c31 print_escaped (FILE *stream, const char *str) argument
33 putc ('"', stream);
37 fputs ("\\n\"", stream);
40 fputs ("\n\"", stream);
45 putc ('\\', stream);
46 putc (*str, stream);
48 putc ('"', stream);
H A Dprintf.c80 libintl_vfprintf (FILE *stream, const char *format, va_list args) argument
83 return vfprintf (stream, format, args);
91 if (fwrite (result, 1, length, stream) == length)
101 libintl_fprintf (FILE *stream, const char *format, ...) argument
107 retval = libintl_vfprintf (stream, format, args);
273 libintl_vfwprintf (FILE *stream, const wchar_t *format, va_list args) argument
276 return vfwprintf (stream, format, args);
286 if (fputwc (result[i], stream) == WEOF)
298 libintl_fwprintf (FILE *stream, const wchar_t *format, ...) argument
304 retval = libintl_vfwprintf (stream, forma
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/isofs/
H A Dcompress.c176 z_stream stream; local
205 stream.next_in = bh->b_data + (cstart & bufmask);
206 stream.avail_in = min(bufsize-(cstart & bufmask), csize);
207 csize -= stream.avail_in;
209 stream.workspace = zisofs_zlib_workspace;
212 zerr = zlib_inflateInit(&stream);
224 stream.next_out = page_address(page);
226 stream.next_out = (void *)&zisofs_sink_page;
227 stream.avail_out = PAGE_CACHE_SIZE;
229 while ( stream
[all...]
/asus-wl-520gu-7.0.1.45/src/router/library/libiconv-1.8/tests/
H A Duniq-u.c87 readline (struct linebuffer *linebuffer, FILE *stream) argument
94 if (feof (stream) || ferror (stream))
99 c = getc (stream);
153 /* Output the line in linebuffer LINE to stream STREAM
159 writeline (const struct linebuffer *line, FILE *stream, int linecount) argument
162 fwrite (line->buffer, 1, line->length, stream);
166 If either is "-", use the standard I/O stream for it instead. */
/asus-wl-520gu-7.0.1.45/src/router/httpd/
H A Dej.c26 static void call(char *func, FILE *stream);
65 call(char *func, FILE *stream) argument
88 handler->output(0, stream, argc, argv);
160 do_ej(char *path, FILE *stream) argument
216 fwrite (start_pat, 1, (size_t) (end_pat - start_pat), stream);
302 ret = fwrite (s, 1, (size_t) (e - s), stream);
317 p = translate_lang (key + strlen (kw_mark1), key_end, stream, &kw);
324 p = process_asp (asp + strlen (asp_mark1), asp_end, stream);
342 fflush (stream);
H A Dhttpd.h24 void (*input)(char *path, FILE *stream, int len, char *boundary);
25 void (*output)(char *path, FILE *stream);
109 extern void do_file(char *path, FILE *stream);
131 extern void do_ej(char *path, FILE *stream);
/asus-wl-520gu-7.0.1.45/src/linux/linux/scripts/cramfs/
H A Dcramfsck.c85 z_stream stream; variable
92 FILE *stream = status ? stderr : stdout; local
94 fprintf(stream, "usage: %s [-hv] [-x dir] file\n"
174 stream.next_in = src;
175 stream.avail_in = len;
177 stream.next_out = (unsigned char *) outbuffer;
178 stream.avail_out = PAGE_CACHE_SIZE*2;
180 inflateReset(&stream);
182 err = inflate(&stream, Z_FINISH);
188 return stream
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/ieee1394/
H A Damdtp.c203 struct stream { struct
327 static struct packet_list *stream_get_free_packet_list(struct stream *s)
343 static void stream_start_dma(struct stream *s, struct packet_list *pl)
364 static void stream_put_dma_packet_list(struct stream *s,
391 struct stream *s = (struct stream *) l;
456 static struct packet *stream_current_packet(struct stream *s)
465 static void stream_queue_packet(struct stream *s)
554 struct packet_list *packet_list_alloc(struct stream *s)
583 void packet_list_free(struct packet_list *pl, struct stream *
[all...]
/asus-wl-520gu-7.0.1.45/src/router/samba/packaging/SGI/
H A Dstartswat.sh12 echo swat stream tcp nowait root /usr/samba/bin/swat swat >> /etc/inetd.conf
H A Dinetd.sh18 echo netbios-ssn stream tcp nowait root /usr/samba/bin/smbd smbd >> /etc/inetd.conf
/asus-wl-520gu-7.0.1.45/src/router/busybox/
H A Dwget.c83 static size_t safe_fread(void *ptr, size_t size, size_t nmemb, FILE *stream) argument
88 clearerr(stream);
89 ret += fread((char *)ptr + (ret * size), size, nmemb - ret, stream);
90 } while (ret < nmemb && ferror(stream) && errno == EINTR);
98 static size_t safe_fwrite(void *ptr, size_t size, size_t nmemb, FILE *stream) argument
103 clearerr(stream);
104 ret += fwrite((char *)ptr + (ret * size), size, nmemb - ret, stream);
105 } while (ret < nmemb && ferror(stream) && errno == EINTR);
112 static char *safe_fgets(char *s, int size, FILE *stream) argument
117 clearerr(stream);
[all...]
/asus-wl-520gu-7.0.1.45/src/cfe/cfe/arch/mips/cpu/sb1250/src/
H A Ddiag_l1cache.h133 #define DTAG_HI_PAT(state,coh,check,enc,stream,lu,lru) \
140 _SB_MAKEVALUE(stream,DTAGHI_STREAM_SHIFT) | \
/asus-wl-520gu-7.0.1.45/src/include/
H A Dbcmstdlib.h37 extern int fputc(int c, FILE *stream);
39 /* extern int putc(int c, FILE *stream); */
41 extern int fputs(const char *s, FILE *stream);
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/sunrpc/
H A Dxprt.h137 stream : 1; /* TCP */ member in struct:rpc_xprt
187 #define xprt_connected(xp) (!(xp)->stream || test_bit(XPRT_CONNECT, &(xp)->sockstate))
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/sunrpc/
H A Dxprt.h137 stream : 1; /* TCP */ member in struct:rpc_xprt
187 #define xprt_connected(xp) (!(xp)->stream || test_bit(XPRT_CONNECT, &(xp)->sockstate))

Completed in 131 milliseconds

1234