/titanic_50/usr/src/lib/libresolv2/common/isc/ |
H A D | ctl_p.h | 13 #define allocated_p(Buf) ((Buf).text != NULL) argument 14 #define buffer_init(Buf) ((Buf).text = 0, (Buf.used) = 0) argument
|
/titanic_50/usr/src/lib/libeti/form/common/ |
H A D | chg_char.c | 38 #define SizePrev(f, v) ((v) - Buf(f)) /* from beginning to v */ 124 if (t - (Buf(c) + B(f)) > c->cols) { in _next_word() 127 B(f) = (int) (v - Buf(c)); in _next_word() 129 B(f) = (int) (t - (Buf(c) + c->cols)); in _next_word() 132 X(f) = (int) (v - Buf(c)); in _next_word() 151 t = _data_end(Buf(c), (int) SizePrev(c, v)); in _prev_word() 152 v = _whsp_end(Buf(c), (int) SizePrev(c, t)); in _prev_word() 168 _adjust_cursor(f, _data_beg(Buf(c), BufSize(c))); in _beg_field() 180 end = _data_end(Buf(c), BufSize(c)); in _end_field() 182 if (end == Buf(c) + BufSize(c)) in _end_field()
|
H A D | field.c | 171 if (arrayAlloc(Buf(f), size, char)) { in new_field() 172 (void) memset(Buf(f), ' ', size); in new_field() 223 if (arrayAlloc(Buf(f), size, char)) { in dup_field() 224 (void) memcpy(Buf(f), Buf(field), size); in dup_field() 298 Free(Buf(f)); /* free buffer space */ in free_field()
|
H A D | chg_data.c | 125 save = old_buf = Buf(c); in _grow_field() 126 new_buf = Buf(c) = malloc(TotalBuf(c)); in _grow_field() 162 Buf(p) = Buf(c); in _grow_field() 182 int pad = extra_padding(Buf(c) + off, nstr); in insert_str() 188 (void) winsnstr(w, Buf(c) + off, nstr); in insert_str() 206 insert_str(f, y+1, (int)(v - Buf(c)), n)) == E_OK) { in insert_str() 210 (void) winsnstr(w, Buf(c) + off, nstr); in insert_str() 251 if (x && (ret = insert_str(f, Y(f)+1, (int)(v - Buf(c)), n)) == in wrap_ok()
|
H A D | utility.c | 95 int pos = (int) (v - Buf(C(f))); in _adjust_cursor() 111 char * v = Buf(f); in _buf_to_win() 132 char * v = Buf(f); in _win_to_buf() 247 char * v = _data_beg(Buf(f), BufSize(f)); in justify() 248 char * vend = _data_end(Buf(f), BufSize(f)); in justify() 272 char * v = _data_beg(Buf(f), BufSize(f)); in unjustify() 273 char * vend = _data_end(Buf(f), BufSize(f)); in unjustify()
|
H A D | fieldtype.c | 242 char *v = Buf(f); in _checkfield()
|
/titanic_50/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | spoolss_svc.c | 737 if ((param->Buf = NDR_NEW(mxa, uint32_t)) == NULL) { in spoolss_s_GetPrinterData() 748 bcopy(&value, param->Buf, sizeof (uint32_t)); in spoolss_s_GetPrinterData() 769 param->Buf = (uint8_t *)osversion; in spoolss_s_GetPrinterData() 812 param->Buf = reserved_buf; in spoolss_s_GetPrinterData() 829 param->Buf = (uint8_t *)wcs; in spoolss_s_GetPrinterData() 836 param->Buf = reserved_buf; in spoolss_s_GetPrinterData() 899 param->Buf = NULL; in spoolss_s_GetPrinter() 904 if ((param->Buf = NDR_MALLOC(mxa, param->BufCount)) == NULL) { in spoolss_s_GetPrinter() 909 bzero(param->Buf, param->BufCount); in spoolss_s_GetPrinter() 910 wname = (char *)param->Buf; in spoolss_s_GetPrinter() [all …]
|
/titanic_50/usr/src/cmd/fs.d/ufs/volcopy/ |
H A D | volcopy.c | 87 *Buf[BUFCNT]; /* buffer pointers (possibly to shared memory) */ variable 805 if ((Buf[cnt] = shmat(Shm_id[cnt], 0, 0)) == (void *)-1) in mem_setup() 811 Cnts[cnt] = (int *)(Buf[cnt] + Bufsz); in mem_setup() 815 if ((Buf[0] = align(size)) == (char *)NULL) in mem_setup() 817 Cnts[0] = (int *)(Buf[0] + Bufsz); in mem_setup() 921 c_p = Buf[cur_buf]; in child_copy() 982 c_p = Buf[cur_buf]; in parent_copy() 1055 c_p = (char *)(Buf[0] + *Cnts[0]); in copy() 1086 c_p = Buf[0]; in copy() 1115 (void) memcpy(Buf[0], c_p, left); in copy()
|
/titanic_50/usr/src/lib/libeti/form/inc/ |
H A D | utility.h | 143 #define Buf(f) ((f) -> buf) macro 147 #define Buffer(f, n) (Buf(f) + (n) * (BufSize(f) + 1)) 148 #define LineBuf(f, n) (Buf(f) + (n) * (f) -> dcols)
|
/titanic_50/usr/src/uts/common/smbsrv/ndl/ |
H A D | spoolss.ndl | 454 OUT BYTE *Buf; 465 OUT REFERENCE LPBYTE Buf;
|