Home
last modified time | relevance | path

Searched refs:aptr (Results 1 – 14 of 14) sorted by relevance

/plan9/sys/src/ape/cmd/sed/
H A Dsed1.c128 if(aptr > abuf) { in execute()
410 *aptr++ = ipc; in command()
411 if(aptr >= &abuf[ABUFSIZE]) { in command()
415 *aptr = 0; in command()
517 if(aptr > abuf) in command()
528 if(aptr > abuf) in command()
557 if(aptr > abuf) arout(); in command()
563 *aptr++ = ipc; in command()
564 if(aptr >= &abuf[ABUFSIZE]) in command()
568 *aptr = 0; in command()
[all …]
H A Dsed.h37 union reptr **aptr; variable
H A Dsed0.c31 aptr = abuf; in main()
/plan9/sys/src/ape/lib/bsd/
H A Dgethostbyname.c38 static char *aptr[Nname+1]; in gethostbyname() local
104 aptr[na] = addr[na]; in gethostbyname()
120 aptr[na] = 0; in gethostbyname()
122 h.h_addr_list = aptr; in gethostbyname()
128 h.h_name = aptr[0]; in gethostbyname()
/plan9/sys/src/cmd/gs/src/
H A Diccfont.c244 ref *aptr = parray->value.refs; in cfont_name_array_create() local
251 for (i = 0; i < size; i++, aptr++) { in cfont_name_array_create()
261 ref_assign_new(aptr, &nref); in cfont_name_array_create()
273 ref *aptr = parray->value.refs; in cfont_string_array_create() local
280 for (i = 0; i < size; i++, aptr++) { in cfont_string_array_create()
292 *aptr = senum.next; in cfont_string_array_create()
304 ref *aptr = parray->value.refs; in cfont_scalar_array_create() local
310 memcpy(aptr, va, size * sizeof(ref)); in cfont_scalar_array_create()
311 for (i = 0; i < size; i++, aptr++) in cfont_scalar_array_create()
312 r_set_attrs(aptr, elt_attrs); in cfont_scalar_array_create()
H A Dgdevwddb.c335 BYTE *aptr = aBit; in win_ddb_copy_mono() local
397 ptr_line += raster, aptr += bmWidthBytes in win_ddb_copy_mono()
401 memcpy(aptr, ptr_line, width_bytes); in win_ddb_copy_mono()
404 aptr[3] = ptr_line[3]; in win_ddb_copy_mono()
406 aptr[2] = ptr_line[2]; in win_ddb_copy_mono()
408 aptr[1] = ptr_line[1]; in win_ddb_copy_mono()
410 aptr[0] = ptr_line[0]; in win_ddb_copy_mono()
H A Dgdevwprn.c465 BYTE *aptr = aBit; in win_prn_copy_mono() local
527 ptr_line += raster, aptr += bmWidthBytes in win_prn_copy_mono()
531 memcpy(aptr, ptr_line, width_bytes); in win_prn_copy_mono()
534 aptr[3] = ptr_line[3]; in win_prn_copy_mono()
536 aptr[2] = ptr_line[2]; in win_prn_copy_mono()
538 aptr[1] = ptr_line[1]; in win_prn_copy_mono()
540 aptr[0] = ptr_line[0]; in win_prn_copy_mono()
H A Diutil.c885 ref *aptr; in write_matrix_in() local
892 aptr = op->value.refs; in write_matrix_in()
894 for (i = 5; i >= 0; i--, aptr++, pel++) { in write_matrix_in()
896 ref_save(op, aptr, "write_matrix"); in write_matrix_in()
897 make_real_new(aptr, *pel); in write_matrix_in()
899 make_tav(aptr, t_real, imemory_new_mask(imem), realval, *pel); in write_matrix_in()
H A Discanbin.c610 ref *aptr = pbs->bin_array.value.refs; in scan_bos_resize() local
617 for (i = index; i != 0; i--, aptr++) in scan_bos_resize()
618 if (r_has_type(aptr, t_string) && r_size(aptr) != 0) in scan_bos_resize()
619 aptr->value.bytes = in scan_bos_resize()
620 aptr->value.bytes - old_base + relocated_base; in scan_bos_resize()
/plan9/sys/src/cmd/
H A Dsed.c106 SedCom **aptr = abuf; variable
931 if(aptr > abuf) in execute()
1125 *aptr++ = ipc; in command()
1126 if(aptr >= abuf+MAXADDS) in command()
1129 *aptr = 0; in command()
1227 if(aptr > abuf) in command()
1236 if(aptr > abuf) in command()
1257 if(aptr > abuf) in command()
1261 *aptr++ = ipc; in command()
1262 if(aptr >= &abuf[MAXADDS]) in command()
[all …]
/plan9/sys/src/ape/cmd/diff/
H A Dutil.c573 translate_range (file, a, b, aptr, bptr) in translate_range() argument
576 int *aptr, *bptr;
578 *aptr = translate_line_number (file, a - 1) + 1;
/plan9/sys/src/cmd/lex/
H A Dsub2.c630 atable[s] = aptr; in acompute()
642 aptr++; in acompute()
646 aptr++; in acompute()
655 aptr++; in acompute()
H A Dldefs.h117 extern int *atable, aptr;
H A Dlmain.c22 int aptr = 1; variable