/illumos-gate/usr/src/boot/common/ |
H A D | tem.c | 424 if (tems.ts_pdepth != tp->depth) in tems_check_videomode() 427 if (tp->mode == VIS_TEXT) { in tems_check_videomode() 491 tems.ts_pdepth = tp->depth; in tems_setup_terminal() 492 tems.ts_linebytes = tp->linebytes; in tems_setup_terminal() 493 tems.ts_display_mode = tp->mode; in tems_setup_terminal() 494 tems.ts_color_map = tp->color_map; in tems_setup_terminal() 496 switch (tp->mode) { in tems_setup_terminal() 501 tems.ts_c_dimension.width = tp->width; in tems_setup_terminal() 506 8 * tp->width + BORDER_PIXELS); in tems_setup_terminal() 528 tems_setup_font(tp->height, tp->width); in tems_setup_terminal() [all …]
|
/illumos-gate/usr/src/boot/efi/libefi/ |
H A D | time.c | 223 EFI_GetTimeOfDay(OUT struct timeval *tp, OUT struct timezone *tzp) in EFI_GetTimeOfDay() argument 241 tp->tv_sec = from_efi_time(&EfiTime); in EFI_GetTimeOfDay() 242 tp->tv_usec = 0; /* EfiTime.Nanosecond * 1000; */ in EFI_GetTimeOfDay()
|
/illumos-gate/usr/src/boot/libsa/ |
H A D | bootp.c | 637 char tags[512], *tp; /* the list of tags */ in setenv_() local 641 tp = tags; in setenv_() 751 if (tp - tags < sizeof (tags) - 5) { in setenv_() 753 if (tp != tags) in setenv_() 754 *tp++ = FLD_SEP; in setenv_() 755 sprintf(tp, "%d", tag); in setenv_() 756 tp += strlen(tp); in setenv_() 773 if (tp != tags) { in setenv_()
|
/illumos-gate/usr/src/boot/libsa/string/ |
H A D | memccpy.c | 43 unsigned char *tp = t; in memccpy() local 47 if ((*tp++ = *fp++) == uc) in memccpy() 48 return (tp); in memccpy()
|
H A D | swab.c | 46 char *fp, *tp; in swab() local 52 tp = (char *)to; in swab() 53 #define STEP temp = *fp++,*tp++ = *fp++,*tp++ = temp in swab()
|
/illumos-gate/usr/src/cmd/abi/appcert/scripts/ |
H A D | symcheck.pl | 1281 my (@t, $tg, $tg2, $tp); 1284 ($tg2, $tp) = split(/\|/, $tg, 2);
|
/illumos-gate/usr/src/cmd/abi/spectrans/spec2trace/ |
H A D | parseproto.y | 1357 tp = tp->t_next; in type_PrintType() 1468 while (tp && tp->t_dt == DD_PTR) in type_IsVarargs() 1469 tp = tp->t_next; in type_IsVarargs() 1499 tp = tp->t_next; in type_IsPtrFun() 1501 while (tp && (tp->t_dt == DD_PTR)) in type_IsPtrFun() 1502 tp = tp->t_next; in type_IsPtrFun() 1945 tp = tp->t_next; in decl_ToString() 2109 tp = tp->t_next; in decl_PrintTraceInfo() 2156 tp = tp->t_next; in decl_GetTraceInfo() 2164 tp = tp->t_next; in decl_GetTraceInfo() [all …]
|
H A D | trace.c | 729 type_t *tp; in collect_prototype() local 758 tp = decl_GetType(pp); in collect_prototype() 760 if (type_IsPtrFun(tp)) { in collect_prototype() 763 } else if (!type_IsFunction(tp)) { in collect_prototype() 768 if (type_IsVarargs(tp)) { in collect_prototype() 803 tp = funargs->d_type; in collect_prototype() 805 for (a_levels = 0; tp; ) { in collect_prototype() 806 if (tp->t_dt == DD_PTR || tp->t_dt == DD_ARY) { in collect_prototype() 810 tp = tp->t_next; in collect_prototype()
|
/illumos-gate/usr/src/cmd/acct/ |
H A D | acctcon.c | 217 struct tbuf *tp; in loop() local 229 for (tp = tbuf; tp <= &tbuf[tsize]; tp++) in loop() 314 struct tbuf *tp; in upall() local 317 for (tp = tbuf; tp <= &tbuf[tsize]; tp++) in upall() 318 update(tp); in upall() 345 tp->tlsess++; in update() 363 tp->tlon++; in update() 367 tp->tloff++; in update() 425 for (tp = tbuf; tp <= &tbuf[tsize]; tp++) { in printlin() 434 tp->tline, in printlin() [all …]
|
H A D | acctcon1.c | 243 struct tbuf *tp; in loop() local 255 for (tp = tbuf; tp <= &tbuf[tsize]; tp++) in loop() 338 struct tbuf *tp; in upall() local 341 for (tp = tbuf; tp <= &tbuf[tsize]; tp++) in upall() 342 update(tp); in upall() 373 tp->tlsess++; in update() 390 tp->tlon++; in update() 396 tp->tloff++; in update() 450 for (tp = tbuf; tp <= &tbuf[tsize]; tp++) { in printlin() 459 tp->tline, in printlin() [all …]
|
H A D | acctmerg.c | 149 for (tp = tb; tp <= &tb[nfile]; tp++) { in getleast() 157 least = tp; in getleast() 210 fwrite(tp, sizeof(*tp), 1, stdout); in output() 221 tp = &tb[i]; in getnext() 230 &tp->ta_cpu[0], &tp->ta_cpu[1], in getnext() 231 &tp->ta_kcore[0], &tp->ta_kcore[1], in getnext() 232 &tp->ta_con[0], &tp->ta_con[1], in getnext() 240 if (fread(tp, sizeof(*tp), 1, fl[i]) == 1) in getnext() 258 tp->ta_cpu[0], tp->ta_cpu[1], in prtacct() 259 tp->ta_kcore[0], tp->ta_kcore[1], in prtacct() [all …]
|
/illumos-gate/usr/src/cmd/acct/lib/ |
H A D | devtolin.c | 68 struct tlist *tp; in devtolin() local 73 for (tp = tl; tp < &tl[tsize1]; tp++) in devtolin() 74 if (device == tp->tdev) in devtolin() 75 return (tp->tname); in devtolin() 106 tp->tdev = device; in devtolin() 107 CPYN(tp->tname, file_name+5); in devtolin() 118 tp->tdev = device; in devtolin() 119 CPYN(tp->tname, "?"); in devtolin()
|
H A D | pnpsplit.c | 146 struct tm *tp; in checkhol() local 156 tp = localtime(&t); in checkhol() 157 tp->tm_year += 1900; in checkhol() 158 if ((tp->tm_year == thisyear && tp->tm_yday > 359) in checkhol() 159 || tp->tm_year > thisyear) in checkhol()
|
/illumos-gate/usr/src/cmd/allocate/ |
H A D | dminfo.c | 121 int tp = 0; in main() local 147 if ((name) || (device) || (update) || (tp)) { in main() 163 if ((name) || (device) || (update) || (tp)) { in main() 170 if ((name) || (device) || (update) || (tp)) { in main() 174 tp++; in main() 177 if ((name) || (device) || (update) || (tp)) { in main() 200 if ((device) || (name) || (update) || (tp)) { in main() 442 if (tp) { in main()
|
/illumos-gate/usr/src/cmd/ast/libast/amd64/FEATURE/ |
H A D | tty | 51 # define cfgetospeed(tp) ((tp)->c_cflag & CBAUD) 55 # define cfgetospeed(tp) ((tp)->c_cflag & CBAUD) 56 # define cfgetispeed(tp) ((tp)->c_cflag & CBAUD) 57 # define cfsetispeed(tp,val) ((tp)->c_cflag &=~ CBAUD,(tp)->c_cflag|=(val)) 58 # define cfsetospeed(tp,val) ((tp)->c_cflag &=~ CBAUD,(tp)->c_cflag|=(val))
|
/illumos-gate/usr/src/cmd/ast/libast/i386/FEATURE/ |
H A D | tty | 51 # define cfgetospeed(tp) ((tp)->c_cflag & CBAUD) 55 # define cfgetospeed(tp) ((tp)->c_cflag & CBAUD) 56 # define cfgetispeed(tp) ((tp)->c_cflag & CBAUD) 57 # define cfsetispeed(tp,val) ((tp)->c_cflag &=~ CBAUD,(tp)->c_cflag|=(val)) 58 # define cfsetospeed(tp,val) ((tp)->c_cflag &=~ CBAUD,(tp)->c_cflag|=(val))
|
/illumos-gate/usr/src/cmd/ast/libast/sparc/FEATURE/ |
H A D | tty | 51 # define cfgetospeed(tp) ((tp)->c_cflag & CBAUD) 55 # define cfgetospeed(tp) ((tp)->c_cflag & CBAUD) 56 # define cfgetispeed(tp) ((tp)->c_cflag & CBAUD) 57 # define cfsetispeed(tp,val) ((tp)->c_cflag &=~ CBAUD,(tp)->c_cflag|=(val)) 58 # define cfsetospeed(tp,val) ((tp)->c_cflag &=~ CBAUD,(tp)->c_cflag|=(val))
|
/illumos-gate/usr/src/cmd/ast/libast/sparcv9/FEATURE/ |
H A D | tty | 51 # define cfgetospeed(tp) ((tp)->c_cflag & CBAUD) 55 # define cfgetospeed(tp) ((tp)->c_cflag & CBAUD) 56 # define cfgetispeed(tp) ((tp)->c_cflag & CBAUD) 57 # define cfsetispeed(tp,val) ((tp)->c_cflag &=~ CBAUD,(tp)->c_cflag|=(val)) 58 # define cfsetospeed(tp,val) ((tp)->c_cflag &=~ CBAUD,(tp)->c_cflag|=(val))
|
/illumos-gate/usr/src/cmd/audio/audioplay/ |
H A D | audioplay.c | 1090 int tp; /* Pointer into current data */ in demux() local 1096 tp = s * unitsz; in demux() 1099 in_ch_data[c][tp + b] = inbuf[dp + b]; in demux()
|
/illumos-gate/usr/src/cmd/auditconfig/ |
H A D | auditconfig.c | 2349 tp->at_port = 0; in str2tid() 2350 tp->at_type = 0; in str2tid() 2351 bzero(tp->at_addr, 16); in str2tid() 2373 tp->at_port = dev; in str2tid() 2378 tp->at_addr[0] = ibuf; in str2tid() 2379 tp->at_type = AU_IPv4; in str2tid() 2381 tp->at_addr[0] = ibuf6[0]; in str2tid() 2382 tp->at_addr[1] = ibuf6[1]; in str2tid() 2385 tp->at_type = AU_IPv6; in str2tid() 2400 tp->at_type = AU_IPv6; in str2tid() [all …]
|
/illumos-gate/usr/src/cmd/auditreduce/ |
H A D | main.c | 890 struct timeval tp; in init_options() local 896 if (gettimeofday(&tp, &tpz) == -1) in init_options() 899 time_now = tp.tv_sec; /* save for general use */ in init_options()
|
/illumos-gate/usr/src/cmd/awk/ |
H A D | run.c | 1674 Array *tp; in instat() local 1688 tp = (Array *)arrayp->sval; in instat() 1690 for (i = 0; i < tp->size; i++) { /* this routine knows too much */ in instat() 1691 for (cp = tp->tab[i]; cp != NULL; cp = ncp) { in instat()
|
H A D | tran.c | 214 Cell **tp; in makesymtab() local 222 ap->tab = tp; in makesymtab() 230 Array *tp; in freesymtab() local 246 tp->nelem--; in freesymtab() 254 free(tp->tab); in freesymtab() 255 free(tp); in freesymtab() 261 Array *tp; in freeelem() local 303 tp->nelem++; in setsymtab() 304 if (tp->nelem > FULLTAB * tp->size) in setsymtab() 305 rehash(tp); in setsymtab() [all …]
|
/illumos-gate/usr/src/cmd/backup/dump/ |
H A D | dumpfstab.c | 98 FILE *tp; local 109 tp = fopen(tablename, "r"); 110 if (tp == (FILE *)0) { 115 while ((status = getvfsent(tp, &vfs)) == 0) { 159 (void) fclose(tp); 200 FILE *tp; local 202 tp = setmntent(tablename, "r"); 203 if (tp == (FILE *)0) { 208 while (mnt = mygetmntent(tp, tablename)) { 228 (void) endmntent(tp);
|
H A D | dumptape.c | 1941 char *tp, *rbuf = NULL; in dowrite() local 1986 tp = begin->b_data; in dowrite() 1990 siz = rmtwrite(tp, writesize); in dowrite() 1992 writesize && bcmp(rbuf, tp, writesize)) in dowrite() 1996 siz = write(to, tp, writesize); in dowrite() 1998 writesize && bcmp(rbuf, tp, writesize)) in dowrite()
|