Home
last modified time | relevance | path

Searched refs:outbuf (Results 1 – 25 of 31) sorted by relevance

12

/plan9/sys/src/cmd/cc/
H A Dacid.c112 Bprint(&outbuf, " T%d\n", t->etype); in acidmember()
124 Bprint(&outbuf, " 'A' %s %ld %s;\n", in acidmember()
131 Bprint(&outbuf, in acidmember()
153 Bprint(&outbuf, " '%c' %ld %s;\n", in acidmember()
156 Bprint(&outbuf, "\tprint(\"\t%s\t\", addr.%s, \"\\n\");\n", in acidmember()
168 Bprint(&outbuf, " {\n"); in acidmember()
171 Bprint(&outbuf, " };\n"); in acidmember()
173 Bprint(&outbuf, " %s %ld %s;\n", in acidmember()
179 Bprint(&outbuf, "\tprint(\"%s %s {\\n\");\n", in acidmember()
181 Bprint(&outbuf, "\t%s(addr.%s);\n", in acidmember()
[all …]
H A Dpickle.c110 Bprint(&outbuf, " T%d\n", t->etype); in picklemember()
115 Bprint(&outbuf, in picklemember()
119 Bprint(&outbuf, in picklemember()
137 Bprint(&outbuf, "%s\"%c\", (char*)addr+%ld+_i*%ld);\n", in picklemember()
140 Bprint(&outbuf, "%s\"%c\", &addr->%s);\n", in picklemember()
144 Bprint(&outbuf, "\tfor(_i = 0; _i < %ld; _i++) {\n\t", in picklemember()
147 Bprint(&outbuf, "\t}\n\t_i = 0;\n\tUSED(_i);\n"); in picklemember()
156 Bprint(&outbuf, "\tpickle_%s(s, un, (%s*)((char*)addr+%ld+_i*%ld));\n", in picklemember()
159 Bprint(&outbuf, "\tpickle_%s(s, un, &addr->%s);\n", in picklemember()
189 Bprint(&outbuf, "T%d\n", t->etype); in pickletype()
[all …]
/plan9/sys/src/libmemdraw/
H A Dwrite.c21 uchar *outbuf, *outp, *eout; /* encoded data, pointer, end */ in writememimage() local
47 outbuf = malloc(ncblock); in writememimage()
50 if(data == 0 || outbuf == 0 || hash == 0 || chain == 0){ in writememimage()
53 free(outbuf); in writememimage()
72 eout = outbuf+ncblock; in writememimage()
80 outp = outbuf; in writememimage()
83 loutp = outbuf; in writememimage()
170 if(loutp == outbuf) in writememimage()
172 n = loutp-outbuf; in writememimage()
175 write(fd, outbuf, n); in writememimage()
[all …]
/plan9/sys/src/cmd/jpg/
H A Dwriterawimage.c25 uchar *outbuf, *outp, *eout; /* encoded data, pointer, end */ in writerawimage() local
75 outbuf = malloc(ncblock); in writerawimage()
78 if(outbuf == 0 || hash == 0 || chain == 0){ in writerawimage()
80 free(outbuf); in writerawimage()
94 eout = outbuf+ncblock; in writerawimage()
102 outp = outbuf; in writerawimage()
105 loutp = outbuf; in writerawimage()
192 if(loutp == outbuf){ in writerawimage()
196 n = loutp-outbuf; in writerawimage()
199 write(fd, outbuf, n); in writerawimage()
[all …]
/plan9/sys/src/cmd/unix/drawterm/libmemdraw/
H A Dwrite.c21 uchar *outbuf, *outp, *eout; /* encoded data, pointer, end */ in writememimage() local
47 outbuf = malloc(ncblock); in writememimage()
50 if(data == 0 || outbuf == 0 || hash == 0 || chain == 0){ in writememimage()
53 free(outbuf); in writememimage()
72 eout = outbuf+ncblock; in writememimage()
80 outp = outbuf; in writememimage()
83 loutp = outbuf; in writememimage()
170 if(loutp == outbuf) in writememimage()
172 n = loutp-outbuf; in writememimage()
175 write(fd, outbuf, n); in writememimage()
[all …]
/plan9/sys/src/libdraw/
H A Dwriteimage.c18 uchar *outbuf, *outp, *eout; /* encoded data, pointer, end */ in writeimage() local
45 outbuf = malloc(ncblock); in writeimage()
48 if(data == 0 || outbuf == 0 || hash == 0 || chain == 0){ in writeimage()
51 free(outbuf); in writeimage()
74 eout = outbuf+ncblock; in writeimage()
82 outp = outbuf; in writeimage()
85 loutp = outbuf; in writeimage()
172 if(loutp == outbuf) in writeimage()
174 n = loutp-outbuf; in writeimage()
177 write(fd, outbuf, n); in writeimage()
[all …]
/plan9/sys/src/cmd/gs/src/
H A Dgdevepsc.c262 register byte *outbuf, *realbuf; in epsc_print_page() local
271 outbuf = nextmono; in epsc_print_page()
282 outbuf = in; in epsc_print_page()
289 for (current_color = 0; i <= color_in_size && outbuf < in + in_size; outbuf++) in epsc_print_page()
303 for (*outbuf = 0, j = 8; --j >= lastbits && i <= color_in_size; in epsc_print_page()
312 *outbuf |= 1 << j; in epsc_print_page()
319 nextmono = outbuf; in epsc_print_page()
324 *outbuf |= 1 << j; in epsc_print_page()
331 *outbuf = 0; /* zero the end, for safe keeping */ in epsc_print_page()
H A Dgdevupd.c679 byte *outbuf; /* Output-Buffer */ member
4153 upd->outbuf = NULL; in upd_open_writer()
4465 upd->outbuf = gs_malloc(udev->memory, upd->noutbuf,sizeof(upd->outbuf[0]),"upd/outbuf"); in upd_open_writer()
4466 if(!upd->outbuf) success = false; in upd_open_writer()
4532 if((0 < upd->noutbuf) && upd->outbuf) in upd_close_writer()
4533 gs_free(udev->memory, upd->outbuf,upd->noutbuf,sizeof(upd->outbuf[0]),"upd/outbuf"); in upd_close_writer()
4535 upd->outbuf = NULL; in upd_close_writer()
4777 memset(upd->outbuf,0,upd->noutbuf); in upd_start_rascomp()
4794 memcpy(upd->outbuf,scan->bytes,nbytes); in upd_rascomp()
4795 if((bits &= 7)) upd->outbuf[nbytes-1] &= ((byte) 0xff) << (8-bits); in upd_rascomp()
[all …]
H A Dgdevplan9.c418 uchar outbuf[NCBLOCK], *outp, *eout, *loutp; member
460 if(w->loutp==w->outbuf){ /* can't really happen -- we checked line length above */ in addbuf()
464 n=w->loutp-w->outbuf; in addbuf()
466 fwrite(w->outbuf, 1, n, w->f); in addbuf()
468 w->outp=w->outbuf; in addbuf()
469 w->loutp=w->outbuf; in addbuf()
681 w->eout = w->outbuf+sizeof(w->outbuf); in initwriteimage()
682 w->outp = w->loutp = w->outbuf; in initwriteimage()
H A Dgdevifno.c441 uchar outbuf[NCBLOCK], *outp, *eout, *loutp; member
483 if(w->loutp==w->outbuf){ /* can't really happen -- we checked line length above */ in addbuf()
487 n=w->loutp-w->outbuf; in addbuf()
489 fwrite(w->outbuf, 1, n, w->f); in addbuf()
491 w->outp=w->outbuf; in addbuf()
492 w->loutp=w->outbuf; in addbuf()
704 w->eout = w->outbuf+sizeof(w->outbuf); in initwriteimage()
705 w->outp = w->loutp = w->outbuf; in initwriteimage()
/plan9/sys/src/cmd/
H A Dkprof.c50 Biobuf outbuf; in main() local
133 Binit(&outbuf, 1, OWRITE); in main()
134 Bprint(&outbuf, "ms %% sym\n"); in main()
136 Bprint(&outbuf, "%ld\t%3lld.%lld\t%s\n", in main()
H A Dtprof.c50 Biobuf outbuf; in main() local
138 Binit(&outbuf, 1, OWRITE); in main()
139 Bprint(&outbuf, " ms %% sym\n"); in main()
141 Bprint(&outbuf, "%6ld\t%3lld.%lld\t%s\n", in main()
/plan9/sys/src/cmd/gs/zlib/
H A Dgzio.c62 Byte *outbuf; /* output buffer */ member
115 s->stream.next_out = s->outbuf = Z_NULL;
159 s->stream.next_out = s->outbuf = (Byte*)ALLOC(Z_BUFSIZE);
161 if (err != Z_OK || s->outbuf == Z_NULL) {
246 s->stream.next_out = s->outbuf;
247 if (fwrite(s->outbuf, 1, Z_BUFSIZE, s->file) != Z_BUFSIZE) {
384 TRYFREE(s->outbuf);
575 s->stream.next_out = s->outbuf;
576 if (fwrite(s->outbuf, 1, Z_BUFSIZE, s->file) != Z_BUFSIZE) {
721 if ((uInt)fwrite(s->outbuf, 1, len, s->file) != len) {
[all …]
/plan9/sys/src/cmd/aquarela/
H A Dnbname.c30 _nameextract(uchar *base, uchar *p, uchar *ep, int k, uchar *outbuf, int outbufmaxlen, int *outbufl… in _nameextract() argument
34 op = outbuf; in _nameextract()
35 oep = outbuf + outbufmaxlen; in _nameextract()
81 *outbuflenp = op - outbuf; in _nameextract()
/plan9/sys/src/cmd/cpp/
H A Dcpp.c7 char outbuf[OUTS]; variable
8 char *outp = outbuf;
49 outp = outbuf; in process()
/plan9/sys/src/cmd/kc/
H A Dswt.c286 outhist(&outbuf); in outcode()
305 zname(&outbuf, s, t); in outcode()
325 zname(&outbuf, s, t); in outcode()
336 zwrite(&outbuf, p, sf, st); in outcode()
/plan9/sys/src/cmd/qc/
H A Dswt.c290 outhist(&outbuf); in outcode()
309 zname(&outbuf, s, t); in outcode()
329 zname(&outbuf, s, t); in outcode()
340 zwrite(&outbuf, p, sf, st); in outcode()
/plan9/sys/src/cmd/5c/
H A Dswt.c337 outhist(&outbuf); in outcode()
356 zname(&outbuf, s, t); in outcode()
376 zname(&outbuf, s, t); in outcode()
387 zwrite(&outbuf, p, sf, st); in outcode()
/plan9/sys/src/cmd/vc/
H A Dswt.c301 outhist(&outbuf); in outcode()
320 zname(&outbuf, s, t); in outcode()
340 zname(&outbuf, s, t); in outcode()
351 zwrite(&outbuf, p, sf, st); in outcode()
/plan9/sys/src/cmd/postscript/text2post/
H A Dtext2post.c13 Biobuf inbuf, outbuf; variable
467 bout = &outbuf; in main()
/plan9/sys/src/cmd/disk/kfs/
H A D9p1.c1366 uchar inbuf[MAXMSG+MAXDAT], outbuf[MAXMSG+MAXDAT]; in serve9p1() local
1383 error9p1(chan, outbuf); in serve9p1()
1390 error9p1(chan, outbuf); in serve9p1()
1402 fo.data = (char*)outbuf + 8; in serve9p1()
1434 n = convS2M9p1(&fo, outbuf); in serve9p1()
1437 error9p1(chan, outbuf); in serve9p1()
1442 send(chan, outbuf, n); in serve9p1()
H A D9p2.c1737 uchar inbuf[MSIZE+IOHDRSZ], outbuf[MSIZE+IOHDRSZ]; in serve9p2() local
1825 error = fswstat(chan, &f, &r, (char*)outbuf); in serve9p2()
1843 n = convS2M(&r, outbuf, sizeof outbuf); in serve9p2()
1850 n = convS2M(&r, outbuf, sizeof outbuf); in serve9p2()
1858 send(chan, outbuf, n); in serve9p2()
/plan9/sys/src/games/mp3enc/
H A Dutil.c466 sample_t *outbuf, in fill_buffer_resample() argument
555 outbuf[k]=xvalue; in fill_buffer_resample()
H A Dutil.h509 sample_t* outbuf,
/plan9/sys/src/cmd/ip/ppp/
H A Dppp.h273 Block* outbuf; /* output buffer */ member

12