| /plan9/sys/src/cmd/venti/srv/ |
| H A D | fmtisect.c | 19 int blocksize, setsize, zero; in threadmain() local 26 zero = -1; in threadmain() 42 zero = 0; in threadmain() 49 if(zero == -1){ in threadmain() 51 zero = 1; in threadmain() 53 zero = 0; in threadmain() 69 if(zero) in threadmain()
|
| H A D | fmtarenas.c | 21 int i, n, blocksize, tabsize, zero; in threadmain() local 29 zero = -1; in threadmain() 53 zero = 0; in threadmain() 60 if(zero == -1){ in threadmain() 62 zero = 1; in threadmain() 64 zero = 0; in threadmain() 80 if(zero) in threadmain()
|
| /plan9/sys/src/cmd/gs/src/ |
| H A D | gdevm4.c | 71 int x, int y, int w, int h, gx_color_index zero, gx_color_index one) in mem_mapped4_copy_mono() argument 83 if (zero == gx_no_color_index) in mem_mapped4_copy_mono() 86 bb = ((byte) zero << 4) | (byte) zero; in mem_mapped4_copy_mono() 87 } else if (zero == gx_no_color_index) { in mem_mapped4_copy_mono() 95 oz[0] = (byte)((zero << 4) | zero); in mem_mapped4_copy_mono() 96 oz[1] = (byte)((zero << 4) | one); in mem_mapped4_copy_mono() 97 oz[2] = (byte)((one << 4) | zero); in mem_mapped4_copy_mono() 112 ((sbyte >> sbit) & 1 ? one : zero); in mem_mapped4_copy_mono() 184 (((sbyte >> sbit) & 2 ? one : zero) << 4); in mem_mapped4_copy_mono() 271 int x, int y, int w, int h, gx_color_index zero, gx_color_index one) in mem4_word_copy_mono() argument [all …]
|
| H A D | gdevm8.c | 70 int x, int y, int w, int h, gx_color_index zero, gx_color_index one) in mem_mapped8_copy_mono() argument 83 if (is_color(zero)) in mem_mapped8_copy_mono() 85 w, h, (byte) zero, (byte) one); in mem_mapped8_copy_mono() 89 } else if (is_color(zero)) in mem_mapped8_copy_mono() 91 w, h, (byte) zero); in mem_mapped8_copy_mono() 199 int x, int y, int w, int h, gx_color_index zero, gx_color_index one) in mem8_word_copy_mono() argument 209 store = (zero != gx_no_color_index && one != gx_no_color_index); in mem8_word_copy_mono() 212 x, y, w, h, zero, one); in mem8_word_copy_mono()
|
| H A D | gdevm2.c | 68 gx_color_index zero, gx_color_index one) in mem_mapped2_copy_mono() argument 89 b0 = btab[zero & 3]; in mem_mapped2_copy_mono() 102 if (zero != gx_no_color_index) { /* Copying an opaque bitmap. */ in mem_mapped2_copy_mono() 133 if (zero != gx_no_color_index) in mem_mapped2_copy_mono() 213 gx_color_index zero, gx_color_index one) in mem2_word_copy_mono() argument 223 store = (zero != gx_no_color_index && one != gx_no_color_index); in mem2_word_copy_mono() 226 x, y, w, h, zero, one); in mem2_word_copy_mono()
|
| H A D | gdevm16.c | 120 gx_color_index zero, gx_color_index one) in mem_true16_copy_mono() argument 124 const ushort zero16 = (ushort)zero; in mem_true16_copy_mono() 127 ushort zero16 = ((uint) (byte) zero << 8) + ((ushort) zero >> 8); in mem_true16_copy_mono() 150 if (zero != gx_no_color_index) in mem_true16_copy_mono()
|
| H A D | gdevm32.c | 132 int x, int y, int w, int h, gx_color_index zero, gx_color_index one) in mem_true32_copy_mono() argument 135 bits32 a_zero = arrange_bytes(zero); in mem_true32_copy_mono() 143 if (zero == gx_no_color_index) { in mem_true32_copy_mono() 268 int x, int y, int w, int h, gx_color_index zero, gx_color_index one) in mem32_word_copy_mono() argument 271 x, y, w, h, color_swap_bytes(zero), in mem32_word_copy_mono()
|
| H A D | gdevmrun.c | 101 gx_color_index zero; /* device white if line not initialized, */ member 195 line->zero = white; in gdev_run_from_mem() 236 if (line->zero != gx_no_color_index) { in run_expand() 238 0, y, rdev->md.width, 1, line->zero); in run_expand() 288 gx_color_index zero, gx_color_index one) in run_copy_mono() argument 295 x, y, w, h, zero, one); in run_copy_mono() 372 line->zero = gx_no_color_index; in run_line_initialize() 582 color == RDEV_LINE(rdev, y)->zero in run_fill_rectangle() 608 if (color != line->zero) { in run_fill_rectangle() 609 if (line->zero != gx_no_color_index) in run_fill_rectangle()
|
| H A D | gdevm64.c | 211 int x, int y, int w, int h, gx_color_index zero, gx_color_index one) in mem_true64_copy_mono() argument 225 if (zero != gx_no_color_index) { /* Loop for halftones or inverted masks */ in mem_true64_copy_mono() 227 declare_unpack_color(abcd0, efgh0, zero); in mem_true64_copy_mono() 377 int x, int y, int w, int h, gx_color_index zero, gx_color_index one) in mem64_word_copy_mono() argument 387 store = (zero != gx_no_color_index && one != gx_no_color_index); in mem64_word_copy_mono() 390 x, y, w, h, zero, one); in mem64_word_copy_mono()
|
| H A D | gdevpdfb.c | 124 int x, int y, int w, int h, gx_color_index zero, in pdf_copy_mono() argument 149 if (zero == gx_no_color_index) { in pdf_copy_mono() 198 set_image_color(pdev, zero); in pdf_copy_mono() 199 } else if (zero == pdev->black && one == pdev->white) { in pdf_copy_mono() 202 } else if (zero == pdev->white && one == pdev->black) { in pdf_copy_mono() 222 c[0] = psdf_adjust_color_index((gx_device_vector *)pdev, zero); in pdf_copy_mono() 336 int x, int y, int w, int h, gx_color_index zero, in gdev_pdf_copy_mono() argument 344 zero, one, NULL); in gdev_pdf_copy_mono()
|
| H A D | gdevvglb.c | 207 int height, gx_color_index zero, gx_color_index one) in vgalib_copy_mono() argument 219 if (zero == gx_no_color_index) { in vgalib_copy_mono() 225 color = (int)zero; in vgalib_copy_mono() 228 vgalib_fill_rectangle(dev, x, y, width, height, zero); in vgalib_copy_mono()
|
| H A D | gdevm48.c | 253 int x, int y, int w, int h, gx_color_index zero, gx_color_index one) in mem_true48_copy_mono() argument 267 if (zero != gx_no_color_index) { /* Loop for halftones or inverted masks */ in mem_true48_copy_mono() 269 declare_unpack_color(a0, b0, c0, d0, e0, f0, zero); in mem_true48_copy_mono() 419 int x, int y, int w, int h, gx_color_index zero, gx_color_index one) in mem48_word_copy_mono() argument 429 store = (zero != gx_no_color_index && one != gx_no_color_index); in mem48_word_copy_mono() 432 x, y, w, h, zero, one); in mem48_word_copy_mono()
|
| H A D | gdevm40.c | 284 int x, int y, int w, int h, gx_color_index zero, gx_color_index one) in mem_true40_copy_mono() argument 298 if (zero != gx_no_color_index) { /* Loop for halftones or inverted masks */ in mem_true40_copy_mono() 300 declare_unpack_color(a0, b0, c0, d0, e0, zero); in mem_true40_copy_mono() 450 int x, int y, int w, int h, gx_color_index zero, gx_color_index one) in mem40_word_copy_mono() argument 460 store = (zero != gx_no_color_index && one != gx_no_color_index); in mem40_word_copy_mono() 463 x, y, w, h, zero, one); in mem40_word_copy_mono()
|
| /plan9/sys/src/cmd/ |
| H A D | ed.c | 67 int* zero; variable 158 zero = malloc((nlall+5)*sizeof(int*)); in main() 189 a1 = zero+1; in commands() 241 addr2 = zero; in commands() 327 c = zero != dol; in commands() 360 squeeze(dol>zero); in commands() 374 if(dol > zero) in commands() 377 if(addr1<=zero+1 && addr2==dol) in commands() 389 count = addr2 - zero; in commands() 415 count = a1-zero; in printcom() [all …]
|
| /plan9/sys/src/cmd/unix/drawterm/posix-mips/ |
| H A D | tas.s | 10 ori t1, zero, 12345 /* t1 = 12345 */ 13 beq t1, zero, 1b /* repeat if *a0 did change */ 17 or v0, t0, zero /* set return value on way out */
|
| /plan9/sys/src/libbin/ |
| H A D | bin.c | 48 binalloc(Bin **bin, ulong size, int zero) in binalloc() argument 73 if(zero) in binalloc() 79 bingrow(Bin **bin, void *op, ulong osize, ulong size, int zero) in bingrow() argument 89 if(zero) in bingrow() 93 np = binalloc(bin, size, zero); in bingrow()
|
| /plan9/sys/src/libmemdraw/ |
| H A D | alloc.c | 46 i->zero = sizeof(ulong)*l*r.min.y; in allocmemimaged() 49 i->zero += (r.min.x*d)/8; in allocmemimaged() 51 i->zero -= (-r.min.x*d+7)/8; in allocmemimaged() 52 i->zero = -i->zero; in allocmemimaged() 141 a = i->data->bdata+i->zero+sizeof(ulong)*p.y*i->width; in byteaddr()
|
| /plan9/sys/src/cmd/unix/drawterm/libmemdraw/ |
| H A D | alloc.c | 49 i->zero = sizeof(ulong)*l*r.min.y; in allocmemimaged() 52 i->zero += (r.min.x*d)/8; in allocmemimaged() 54 i->zero -= (-r.min.x*d+7)/8; in allocmemimaged() 55 i->zero = -i->zero; in allocmemimaged() 144 a = i->data->bdata+i->zero+sizeof(ulong)*p.y*i->width; in byteaddr()
|
| /plan9/sys/include/ |
| H A D | bin.h | 8 void *binalloc(Bin **, ulong size, int zero); 9 void *bingrow(Bin **, void *op, ulong osize, ulong size, int zero);
|
| /plan9/rc/bin/ |
| H A D | mkusbboot | 57 </dev/zero >image 90 cp /dev/zero nvram >[2]/dev/null 91 cp /dev/zero fscfg >[2]/dev/null
|
| /plan9/sys/src/cmd/rc/ |
| H A D | simple.c | 344 char *zero, *file; in execdot() local 376 zero = strdup(p->argv->words->word); in execdot() 379 for(path = searchpath(zero); path; path = path->next){ in execdot() 381 file = appfile(path->word, zero); in execdot() 383 file = strdup(zero); in execdot() 396 pfmt(err, "%s: ", zero); in execdot() 404 runq->cmdfile = zero; in execdot() 417 pushword(zero); in execdot()
|
| /plan9/sys/src/libmemlayer/ |
| H A D | lalloc.c | 51 n->zero = s->image->zero; in memlalloc()
|
| /plan9/sys/src/cmd/unix/drawterm/libmemlayer/ |
| H A D | lalloc.c | 51 n->zero = s->image->zero; in memlalloc()
|
| /plan9/sys/src/libc/sparc/ |
| H A D | memcmp.s | 101 BE zero 118 zero: label
|
| /plan9/sys/src/ape/lib/ap/sparc/ |
| H A D | memcmp.s | 103 BE zero 120 zero: label
|