Home
last modified time | relevance | path

Searched refs:tval (Results 1 – 25 of 39) sorted by relevance

12

/illumos-gate/usr/src/cmd/oawk/
H A Dtran.c155 p->tval = t; in setsymtab()
197 if (vp->tval & ARR) in setfval()
232 if (vp->tval & ARR) in setsval()
239 vp->tval &= ~NUM; in setsval()
240 vp->tval |= STR; in setsval()
251 vp->tval &= ~FLD; in setsval()
264 if (vp->tval & ARR) in getfval()
278 vp->tval |= NUM; in getfval()
298 if (vp->tval & ARR) in getsval()
312 vp->tval &= ~FLD; in getsval()
[all …]
H A Dlib.c141 recloc->tval &= ~NUM; in getrec()
142 recloc->tval |= STR; in getrec()
144 nrloc->tval &= ~STR; in getrec()
145 nrloc->tval |= NUM; in getrec()
236 if (!(fldtab[i].tval&FLD)) in fldbld()
239 fldtab[i].tval = FLD | STR; in fldbld()
255 if (!(fldtab[i].tval&FLD)) in fldbld()
269 if (!(p->tval&FLD)) in fldbld()
271 p->tval = STR | FLD; in fldbld()
280 fldtab[i].tval |= NUM; in fldbld()
[all …]
H A Drun.c195 if (!(x->tval&ARR)) { in arrayel()
197 x->tval &= ~STR; in arrayel()
198 x->tval |= ARR; in arrayel()
279 if (x->tval&NUM && y->tval&NUM) { in relop()
328 if (tmps[i].tval == 0) in gettemp()
587 x->tval = STR; in a_sprintf()
678 x->tval |= NUM; in assign()
744 z->tval = STR; in cat()
851 ap->tval &= ~STR; in split()
852 ap->tval |= ARR; in split()
[all …]
H A Dawk.def67 unsigned tval; /* type info */
79 /* CELL.tval values: */
149 #define isstr(n) (n->tval & STR)
150 #define isnum(n) (n->tval & NUM)
/illumos-gate/usr/src/cmd/awk/
H A Dtran.c112 vp->tval |= DONTFREE; in setfree()
114 vp->tval &= ~DONTFREE; in setfree()
300 p->tval = t; in setsymtab()
439 vp->tval |= STR; in setsval()
522 vp->tval |= STR; \ in get_str_val()
529 vp->tval &= ~CONVC; in get_str_val()
530 vp->tval |= CONVO; in get_str_val()
533 vp->tval &= ~CONVO; in get_str_val()
534 vp->tval |= CONVC; in get_str_val()
546 vp->tval |= CONVO; in get_str_val()
[all …]
H A Dawk.h125 int tval; member
271 #define isrec(n) ((n)->tval & REC)
272 #define isfld(n) ((n)->tval & FLD)
273 #define isstr(n) ((n)->tval & STR)
274 #define isnum(n) ((n)->tval & NUM)
275 #define isarr(n) ((n)->tval & ARR)
276 #define isfcn(n) ((n)->tval & FCN)
279 #define freeable(p) (((p)->tval & (STR|DONTFREE)) == STR)
H A Drun.c333 oargs[i]->tval = t->tval; in call()
369 y->tval = x->tval & ~(CON|FLD|REC); in copycell()
543 x->tval |= ARR; in array()
574 x->tval |= ARR; in awkdelete()
580 x->tval |= ARR; in awkdelete()
695 x->tval = NUM; in matchop()
747 if (x->tval&NUM && y->tval&NUM) { in relop()
1113 x->tval = STR; in awksprintf()
1335 z->tval = STR; in cat()
1561 x->tval = NUM; in split()
[all …]
H A Dlib.c223 recloc->tval = REC | STR | DONTFREE; in getrec()
227 recloc->tval |= NUM; in getrec()
376 q->tval |= NUM; in setclvar()
422 fldtab[i]->tval = FLD | STR | DONTFREE; in fldbld()
443 fldtab[i]->tval = FLD | STR; in fldbld()
462 fldtab[i]->tval = FLD | STR | DONTFREE; in fldbld()
482 p->tval |= NUM; in fldbld()
508 p->tval = FLD | STR | DONTFREE; in cleanfld()
596 fldtab[i]->tval = FLD | STR | DONTFREE; in refldbld()
643 recloc->tval = REC | STR | DONTFREE; in recbld()
H A Dparse.c240 cp->tval = ARR; in makearr()
294 v->tval = FCN; in defn()
/illumos-gate/usr/src/lib/libsocket/inet/
H A Druserpass.c77 int tval; member
97 t->tokstr = "login"; t++->tval = LOGIN; in _ruserdata()
98 t->tokstr = "password"; t++->tval = PASSWD; in _ruserdata()
100 t->tokstr = "write"; t++->tval = WRITE; in _ruserdata()
101 t->tokstr = "yes"; t++->tval = YES; in _ruserdata()
102 t->tokstr = "y"; t++->tval = YES; in _ruserdata()
103 t->tokstr = "no"; t++->tval = NO; in _ruserdata()
104 t->tokstr = "n"; t++->tval = NO; in _ruserdata()
106 t->tokstr = "force"; t++->tval = FORCE; in _ruserdata()
108 t->tokstr = 0; t->tval = 0; in _ruserdata()
[all …]
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/os/
H A Dtimeofday.c50 krb5_int32 tval; in krb5_timeofday() local
60 if (kret = krb5_crypto_us_timeofday(&tval, in krb5_timeofday()
65 if (tval == (krb5_int32) -1) in krb5_timeofday()
72 tval += os_ctx->time_offset; in krb5_timeofday()
73 *timeret = tval; in krb5_timeofday()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Drepval.c537 int64_t tval; /* temp val holder */ in store_retrieve_rep_vals() local
571 while ((fscanf_ret = fscanf(tfp, "%lld", &tval)) == 1) { in store_retrieve_rep_vals()
573 if ((tval > MAXPID) || (tval <= 0)) { in store_retrieve_rep_vals()
577 if (add_rep_val(vals, tval) == -1) { in store_retrieve_rep_vals()
725 uint64_t tval; /* temp val holder */ in iterate_repository_contracts() local
777 while ((fscanf_ret = fscanf(fp, "%llu", &tval)) == 1) { in iterate_repository_contracts()
779 if (tval == 0) { in iterate_repository_contracts()
784 if ((add_rep_val(uup, tval) == -1) || in iterate_repository_contracts()
785 (add_rep_val(inst->start_ctids, tval) == -1)) { in iterate_repository_contracts()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/
H A Ddefs.h115 #define TIME_TO_MSECS(tval) ((tval).tv_sec * 1000 + (tval).tv_usec / 1000) argument
/illumos-gate/usr/src/lib/libsip/common/
H A Dsip_gids.c284 time_t tval; in sip_get_cseq() local
286 tval = time(NULL); in sip_get_cseq()
288 return ((uint32_t)tval); in sip_get_cseq()
294 time_t tval; in sip_get_rseq() local
296 tval = time(NULL); in sip_get_rseq()
298 return ((uint32_t)tval); in sip_get_rseq()
/illumos-gate/usr/src/lib/storage/libg_fc/common/
H A Dcmd.c74 struct timeval tval; in wait_random_time() local
105 tval.tv_sec = random / MICROSEC; in wait_random_time()
106 tval.tv_usec = random % MICROSEC; in wait_random_time()
108 if (select(0, NULL, NULL, NULL, &tval) == -1) { in wait_random_time()
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dos-ip.c254 struct timeval tval; local
313 tval.tv_sec = msec / MILLISEC;
314 tval.tv_usec = (MICROSEC / MILLISEC) *
323 tval.tv_sec = 0;
324 tval.tv_usec = 0;
338 (msec != LDAP_X_IO_TIMEOUT_NO_TIMEOUT) ? &tval : NULL)) == 0) {
370 &tval : NULL)) == 0) {
391 if ((tval.tv_sec -=
399 tval.tv_sec = tv_time / NANOSEC;
400 tval.tv_usec = (tv_time % NANOSEC) /
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/javelin/common/
H A Djavelin.c555 char *tval; in display_pci() local
559 tval = (char *)value; in display_pci()
563 if ((strlen(tval) + 1) == in display_pci()
566 index += strlen(tval) + 1; in display_pci()
567 tval += strlen(tval) + 1; in display_pci()
569 value = (void *)tval; in display_pci()
/illumos-gate/usr/src/cmd/grep/
H A Dgrep.c224 unsigned long tval; in main() local
367 tval = strtoul(optarg, &test, 10); in main()
369 if (errno != 0 || *test != '\0' || tval >= ULONG_MAX) { in main()
375 if (tval) { in main()
377 conblen = tval; in main()
379 conalen = tval; in main()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Druserpass.c71 int tval; member
306 return (t->tval); in token()
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/tazmo/common/
H A Dtazmo.c560 char *tval; in display_pci() local
564 tval = (char *)value; in display_pci()
568 if ((strlen(tval) + 1) == in display_pci()
571 index += strlen(tval) + 1; in display_pci()
572 tval += strlen(tval) + 1; in display_pci()
574 value = (void *)tval; in display_pci()
/illumos-gate/usr/src/uts/common/io/chxge/
H A Dch.c1903 int tval = 0; in ch_get_prop() local
2283 tval += sge_cmdq0_cnt; in ch_get_prop()
2325 tval += sge_flq0_cnt; in ch_get_prop()
2347 tval += sge_flq1_cnt; in ch_get_prop()
2369 if (tval > sge_respq_cnt) { in ch_get_prop()
2370 if (tval <= 65535) { in ch_get_prop()
2373 chp->ch_name, tval, tval); in ch_get_prop()
2375 sge_respq_cnt = tval; in ch_get_prop()
/illumos-gate/usr/src/uts/common/syscall/
H A Drctlsys.c401 rctl_val_t *tval; in rctlsys_set() local
597 tval = rval1; in rctlsys_set()
599 rval2 = tval; in rctlsys_set()
714 tval = rval1; in rctlsys_set()
716 rval2 = tval; in rctlsys_set()
/illumos-gate/usr/src/uts/sun4u/javelin/io/
H A Denvctrltwo.c1703 int tval; in envctrl_check_tempr_levels() local
1708 tval = ((int)data[i] * JAV_FAN_SPEED_SF_NUM) / in envctrl_check_tempr_levels()
1710 if (tval > 255) in envctrl_check_tempr_levels()
1713 unitp->fan_kstats.fanspeed = tval; in envctrl_check_tempr_levels()
1769 tval = ((int)buf[1] * JAV_FAN_SPEED_SF_NUM) / in envctrl_check_tempr_levels()
1771 if (tval > 255) in envctrl_check_tempr_levels()
1774 unitp->fan_kstats.fanspeed = tval; in envctrl_check_tempr_levels()
1815 int tval; in envctrl_update_fanspeed() local
1825 tval = ((int)buf[ENVCTRL_PORT1] * JAV_FAN_SPEED_SF_NUM) / in envctrl_update_fanspeed()
1827 if (tval > 255) in envctrl_update_fanspeed()
[all …]
/illumos-gate/usr/src/uts/sun4u/opl/io/
H A Doplkmdrv.c1069 clock_t tval; in okm_timeout_val() local
1074 tval = OKM_SM_TOUT; in okm_timeout_val()
1076 tval = OKM_LG_TOUT; in okm_timeout_val()
1078 return (drv_usectohz(tval)); in okm_timeout_val()
H A Ddm2s.c1228 clock_t tval; in dm2s_timeout_val() local
1233 tval = DM2S_SM_TOUT; in dm2s_timeout_val()
1235 tval = DM2S_LG_TOUT; in dm2s_timeout_val()
1237 return (drv_usectohz(tval)); in dm2s_timeout_val()

12