/illumos-gate/usr/src/cmd/oawk/ |
H A D | tran.c | 118 if (!(ap->tval & ARR)) in freesymtab() 144 dprintf(" %ws %g %o\n", p->sval, p->fval, p->tval); in setsymtab() 153 p->tval = t; in setsymtab() 158 dprintf(" %ws %g %o\n", p->sval, p->fval, p->tval); in setsymtab() 184 (flag == 0 || flag == p->tval)) in lookup() 195 if (vp->tval & ARR) in setfval() 197 if ((vp->tval & (NUM | STR)) == 0) in setfval() 199 vp->sval, vp->fval, vp->tval); in setfval() 203 vp->tval &= ~STR; /* mark string invalid */ in setfval() 204 vp->tval |= NUM; /* mark number ok */ in setfval() [all …]
|
H A D | lib.c | 140 recloc->tval &= ~NUM; in getrec() 141 recloc->tval |= STR; in getrec() 143 nrloc->tval &= ~STR; in getrec() 144 nrloc->tval |= NUM; in getrec() 235 if (!(fldtab[i].tval&FLD)) in fldbld() 238 fldtab[i].tval = FLD | STR; in fldbld() 254 if (!(fldtab[i].tval&FLD)) in fldbld() 257 fldtab[i].tval = FLD | STR; in fldbld() 268 if (!(p->tval&FLD)) in fldbld() 270 p->tval = STR | FLD; in fldbld() [all …]
|
H A D | run.c | 30 #define tempfree(a) {if (istemp(a)) {xfree(a->sval); a->tval = 0; }} 195 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() 675 if ((y->tval & (STR|NUM)) == (STR|NUM)) { in assign() 678 x->tval |= NUM; in assign() 680 } else if (y->tval & STR) in assign() [all …]
|
H A D | awk.def | 66 unsigned tval; /* type info */ 78 /* CELL.tval values: */ 147 #define isstr(n) (n->tval & STR) 148 #define isnum(n) (n->tval & NUM)
|
/illumos-gate/usr/src/cmd/awk/ |
H A D | tran.c | 112 vp->tval |= DONTFREE; in setfree() 114 vp->tval &= ~DONTFREE; in setfree() 124 recloc->tval = REC|STR|DONTFREE; in syminit() 291 (void *)p, NN(p->nval), NN(p->sval), p->fval, p->tval)); in setsymtab() 300 p->tval = t; in setsymtab() 310 (void *)p, p->nval, p->sval, p->fval, p->tval)); in setsymtab() 367 if ((vp->tval & (NUM | STR)) == 0) in setfval() 389 vp->tval &= ~(STR|CONVC|CONVO); /* mark string invalid */ in setfval() 391 vp->tval |= NUM; /* mark number ok */ in setfval() 395 NN(vp->nval), f, vp->tval)); in setfval() [all …]
|
H A D | awk.h | 125 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 D | run.c | 290 isarr(y) ? "(array)" : NN(y->sval), y->tval)); in call() 333 oargs[i]->tval = t->tval; in call() 334 oargs[i]->tval &= ~(STR|NUM|DONTFREE); in call() 356 s, getfval(z), getsval(z), z->tval)); in call() 369 y->tval = x->tval & ~(CON|FLD|REC); in copycell() 374 y->tval &= ~DONTFREE; in copycell() 376 y->tval |= DONTFREE; in copycell() 413 if ((y->tval & (STR|NUM)) == (STR|NUM)) { in jump() 416 fp->retval->tval |= NUM; in jump() 417 } else if (y->tval & STR) in jump() [all …]
|
H A D | lib.c | 223 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 D | parse.c | 240 cp->tval = ARR; in makearr() 294 v->tval = FCN; in defn()
|
/illumos-gate/usr/src/lib/libsocket/inet/ |
H A D | ruserpass.c | 77 int tval; member 96 t->tokstr = "default"; t++->tval = DEFAULT; in _ruserdata() 97 t->tokstr = "login"; t++->tval = LOGIN; in _ruserdata() 98 t->tokstr = "password"; t++->tval = PASSWD; in _ruserdata() 99 t->tokstr = "notify"; t++->tval = NOTIFY; 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() [all …]
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/os/ |
H A D | timeofday.c | 50 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 D | repval.c | 535 int64_t tval; /* temp val holder */ in store_retrieve_rep_vals() local 569 while ((fscanf_ret = fscanf(tfp, "%lld", &tval)) == 1) { in store_retrieve_rep_vals() 571 if ((tval > MAXPID) || (tval <= 0)) { in store_retrieve_rep_vals() 575 if (add_rep_val(vals, tval) == -1) { in store_retrieve_rep_vals() 723 uint64_t tval; /* temp val holder */ in iterate_repository_contracts() local 775 while ((fscanf_ret = fscanf(fp, "%llu", &tval)) == 1) { in iterate_repository_contracts() 777 if (tval == 0) { in iterate_repository_contracts() 782 if ((add_rep_val(uup, tval) == -1) || in iterate_repository_contracts() 783 (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 D | defs.h | 113 #define TIME_TO_MSECS(tval) ((tval).tv_sec * 1000 + (tval).tv_usec / 1000) argument
|
/illumos-gate/usr/src/lib/libsip/common/ |
H A D | sip_gids.c | 282 time_t tval; in sip_get_cseq() local 284 tval = time(NULL); in sip_get_cseq() 286 return ((uint32_t)tval); in sip_get_cseq() 292 time_t tval; in sip_get_rseq() local 294 tval = time(NULL); in sip_get_rseq() 296 return ((uint32_t)tval); in sip_get_rseq()
|
/illumos-gate/usr/src/lib/storage/libg_fc/common/ |
H A D | cmd.c | 74 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 D | os-ip.c | 254 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 D | javelin.c | 555 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 D | grep.c | 224 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/lib/libprtdiag_psr/sparc/tazmo/common/ |
H A D | tazmo.c | 560 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/cmd/cmd-inet/usr.bin/ftp/ |
H A D | ruserpass.c | 69 int tval; member 304 return (t->tval); in token()
|
/illumos-gate/usr/src/uts/common/io/chxge/ |
H A D | ch.c | 1903 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 D | rctlsys.c | 401 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 D | envctrltwo.c | 1703 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 D | oplkmdrv.c | 1069 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 D | dm2s.c | 1228 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()
|