/freebsd/bin/pax/ |
H A D | gen_subs.c | 204 u_long tval = 0; in asc_ul() local 221 tval = (tval << 4) + (*str++ - '0'); in asc_ul() 223 tval = (tval << 4) + 10 + (*str++ - 'A'); in asc_ul() 225 tval = (tval << 4) + 10 + (*str++ - 'a'); in asc_ul() 231 tval = (tval << 3) + (*str++ - '0'); in asc_ul() 233 return(tval); in asc_ul() 300 u_quad_t tval = 0; in asc_uqd() local 317 tval = (tval << 4) + (*str++ - '0'); in asc_uqd() 319 tval = (tval << 4) + 10 + (*str++ - 'A'); in asc_uqd() 321 tval = (tval << 4) + 10 + (*str++ - 'a'); in asc_uqd() [all …]
|
/freebsd/contrib/tcpdump/ |
H A D | print-lldp.c | 660 u_int tval; in lldp_private_8021_print() local 729 tval=GET_U_1(tptr + 4); in lldp_private_8021_print() 734 ND_PRINT("%-2d ", (tval >> i) & 0x01); in lldp_private_8021_print() 735 tval=GET_U_1(tptr + 5); in lldp_private_8021_print() 740 ND_PRINT("%-2d ", (tval >> i) & 0x01); in lldp_private_8021_print() 747 tval=GET_U_1(tptr + 4); in lldp_private_8021_print() 749 tval >> 7, (tval >> 6) & 0x02, (tval >> 3) & 0x07, tval & 0x07); in lldp_private_8021_print() 779 tval=GET_U_1(tptr + 4); in lldp_private_8021_print() 781 tval >> 7, (tval >> 6) & 0x01, (tval >> 4) & 0x03, (tval & 0x0f)); in lldp_private_8021_print() 783 tval=GET_U_1(tptr + 5); in lldp_private_8021_print() [all …]
|
/freebsd/contrib/one-true-awk/ |
H A D | tran.c | 231 (void*)p, NN(p->nval), NN(p->sval), p->fval, p->tval); in setsymtab() 240 p->tval = t; in setsymtab() 250 (void*)p, p->nval, p->sval, p->fval, p->tval); in setsymtab() 302 if ((vp->tval & (NUM | STR)) == 0) in setfval() 324 vp->tval &= ~(STR|CONVC|CONVO); /* mark string invalid */ in setfval() 326 vp->tval |= NUM; /* mark number ok */ in setfval() 329 DPRINTF("setfval %p: %s = %g, t=%o\n", (void*)vp, NN(vp->nval), f, vp->tval); in setfval() 337 if (vp->tval & FCN) in funnyvar() 340 (void *)vp, vp->nval, vp->sval, vp->fval, vp->tval); in funnyvar() 350 (void*)vp, NN(vp->nval), s, vp->tval, donerec, donefld); in setsval() [all …]
|
H A D | awk.h | 103 int tval; /* type info: STR|NUM|ARR|FCN|FLD|CON|DONTFREE|CONVC|CONVO */ member 225 #define isrec(n) ((n)->tval & REC) 226 #define isfld(n) ((n)->tval & FLD) 227 #define isstr(n) ((n)->tval & STR) 228 #define isnum(n) ((n)->tval & NUM) 229 #define isarr(n) ((n)->tval & ARR) 230 #define isfcn(n) ((n)->tval & FCN) 235 #define freeable(p) ( ((p)->tval & (STR|DONTFREE)) == STR )
|
H A D | run.c | 262 i, NN(y->nval), y->fval, isarr(y) ? "(array)" : NN(y->sval), y->tval); in call() 301 oargs[i]->tval = t->tval; in call() 302 oargs[i]->tval &= ~(STR|NUM|DONTFREE); in call() 323 DPRINTF("%s returns %g |%s| %o\n", s, getfval(z), getsval(z), z->tval); in call() 335 y->tval = x->tval & ~(CON|FLD|REC); in copycell() 340 y->tval &= ~DONTFREE; in copycell() 342 y->tval |= DONTFREE; in copycell() 373 if ((y->tval & (STR|NUM)) == (STR|NUM)) { in jump() 376 frp->retval->tval |= NUM; in jump() 378 else if (y->tval & STR) in jump() [all …]
|
/freebsd/usr.bin/chpass/ |
H A D | util.c | 61 ttoa(time_t tval) in ttoa() argument 66 if (tval) { in ttoa() 67 tp = localtime(&tval); in ttoa() 82 time_t tval; in atot() local 91 (void)time(&tval); in atot() 92 lt = localtime(&tval); in atot() 130 if ((tval = mktime(lt)) < 0) in atot() 140 if (tval > UINT32_MAX) in atot() 143 *store = tval; in atot()
|
/freebsd/sys/dev/isp/ |
H A D | isp_pci.c | 287 int tval; in isp_get_generic_options() local 289 tval = 0; in isp_get_generic_options() 290 …int_value(device_get_name(dev), device_get_unit(dev), "fwload_disable", &tval) == 0 && tval != 0) { in isp_get_generic_options() 293 tval = 0; in isp_get_generic_options() 294 …e_int_value(device_get_name(dev), device_get_unit(dev), "fwload_force", &tval) == 0 && tval != 0) { in isp_get_generic_options() 302 tval = 0; in isp_get_generic_options() 303 …e_int_value(device_get_name(dev), device_get_unit(dev), "ignore_nvram", &tval) == 0 && tval != 0) { in isp_get_generic_options() 306 tval = 0; in isp_get_generic_options() 307 (void) resource_int_value(device_get_name(dev), device_get_unit(dev), "debug", &tval); in isp_get_generic_options() 308 if (tval) { in isp_get_generic_options() [all …]
|
/freebsd/contrib/byacc/test/ |
H A D | inherit1.y | 25 %token <tval> REAL INTEGER 30 %type <tval> type 35 type tval; member 58 { $$->s = mksymbol($<tval>0, $<cval>-1, $2); 62 { $$->s = mksymbol($<tval>0, $<cval>-1, $1); 69 { $<tval>$ = $<tval>-1; } /* copy <type> to where <namelist> expects it */
|
H A D | err_inherit2.y | 23 %token <tval> REAL INTEGER 26 %type <nlist> declaration namelist(<cval>, <tval>) locnamelist(<tval>) 28 %type <tval> type 42 type tval; member 64 namelist($<tval>c, $t, extra): namelist NAME in namelist() 65 { $$->s = mksymbol($<tval>t, $<cval>c, $2); in namelist()
|
H A D | err_inherit3.y | 23 %token <tval> REAL INTEGER 26 %type <nlist> declaration(<id>) namelist(<cval>, <tval>) locnamelist(<tval>) 28 %type <tval> type 42 type tval; member 65 { $$->s = mksymbol($<tval>t, $<cval>c, $2); in namelist()
|
H A D | err_inherit5.y | 23 %token <tval> REAL INTEGER 26 %type <nlist> declaration namelist(<cval>, <tval>) locnamelist(<tval>) 28 %type <tval> type 42 type tval; member 65 { $$->s = mksymbol($<tval>t, $<cval>c, $2); in namelist()
|
H A D | inherit2.y | 23 %token <tval> REAL INTEGER 26 %type <nlist> declaration namelist(<cval>, <tval>) locnamelist(<tval>) 28 %type <tval> type 42 type tval; member 65 { $$->s = mksymbol($<tval>t, $<cval>c, $2); in namelist()
|
H A D | err_inherit1.y | 23 %token <tval> REAL INTEGER 26 %type <nlist> declaration namelist(<cval>, <tval>) locnamelist(<tval>) 28 %type <tval> type 42 type tval; member
|
H A D | err_inherit4.y | 24 %token <tval> REAL INTEGER 27 %type <nlist> declaration namelist(<cval>, <tval>) locnamelist(<tval>) 30 %type <tval> type 44 type tval; member
|
H A D | btyacc_destroy1.y | 30 %token <tval> REAL INTEGER 36 %type <tval> type 53 type tval; 76 { $$->s = mksymbol($<tval>0, $<cval>0, $2);
|
H A D | btyacc_destroy2.y | 30 %token <tval> REAL INTEGER 36 %type <tval> type 53 type tval; 76 { $$->s = mksymbol($<tval>0, $<cval>0, $2);
|
H A D | btyacc_destroy3.y | 33 %token <tval> REAL INTEGER 39 %type <tval> type 56 type tval; 79 { $$->s = mksymbol($<tval>0, $<cval>0, $2);
|
/freebsd/usr.sbin/bluetooth/bthidd/ |
H A D | bthidd.c | 54 static int32_t elapsed (int32_t tval); 71 int32_t opt, detach, tval, uinput; in main() local 76 tval = 10; /* sec */ in main() 109 tval = strtol(optarg, (char **) &ep, 10); in main() 110 if (*ep != '\0' || tval <= 0) in main() 168 if (elapsed(tval)) in main() 229 elapsed(int32_t tval) in elapsed() argument 236 if (now.tv_sec - last.tv_sec >= tval) { in elapsed()
|
/freebsd/sbin/dhclient/ |
H A D | parse.c | 336 unsigned tval, max; in convert_num() local 361 tval = *ptr++; in convert_num() 363 if (tval >= 'a') in convert_num() 364 tval = tval - 'a' + 10; in convert_num() 365 else if (tval >= 'A') in convert_num() 366 tval = tval - 'A' + 10; in convert_num() 367 else if (tval >= '0') in convert_num() 368 tval -= '0'; in convert_num() 373 if (tval >= base) { in convert_num() 375 str, tval, base); in convert_num() [all …]
|
H A D | conflex.c | 67 static char *tval; variable 158 tval = tb; in get_token() 183 *rval = tval; in next_token() 207 *rval = tval; in peek_token() 258 tval = tokbuf; in read_string() 285 tval = tokbuf; in read_number() 313 tval = tokbuf; in read_num_or_name() 315 return (intern(tval, rv)); in read_num_or_name()
|
/freebsd/sys/dev/mpt/ |
H A D | mpt_pci.c | 255 int tval; in mpt_set_options() local 257 tval = 0; in mpt_set_options() 259 device_get_unit(mpt->dev), "debug", &tval) == 0 && tval != 0) { in mpt_set_options() 260 mpt->verbose = tval; in mpt_set_options() 262 tval = -1; in mpt_set_options() 264 device_get_unit(mpt->dev), "role", &tval) == 0 && tval >= 0 && in mpt_set_options() 265 tval <= 3) { in mpt_set_options() 266 mpt->cfg_role = tval; in mpt_set_options() 269 tval = 0; in mpt_set_options() 274 device_get_unit(mpt->dev), "msi_enable", &tval) == 0) { in mpt_set_options() [all …]
|
/freebsd/contrib/tcsh/ |
H A D | ed.screen.c | 50 #define Val(a) tval[a].val 182 } tval[T_val + 1]; variable 194 xfree((ptr_t)(intptr_t)tval[i].long_name); in terminit() 318 tval[T_am].name = "am"; in terminit() 319 tval[T_am].long_name = CSAVS(4, 37, "Has automatic margins"); in terminit() 321 tval[T_pt].name = "pt"; in terminit() 322 tval[T_pt].long_name = CSAVS(4, 38, "Can use physical tabs"); in terminit() 324 tval[T_li].name = "li"; in terminit() 325 tval[T_li].long_name = CSAVS(4, 39, "Number of lines"); in terminit() 327 tval[T_co].name = "co"; in terminit() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCInstrSPE.td | 830 def : Pat<(f32 (selectcc i1:$lhs, i1:$rhs, f32:$tval, f32:$fval, SETLT)), 831 (SELECT_SPE4 (CRANDC $lhs, $rhs), $tval, $fval)>; 832 def : Pat<(f32 (selectcc i1:$lhs, i1:$rhs, f32:$tval, f32:$fval, SETULT)), 833 (SELECT_SPE4 (CRANDC $rhs, $lhs), $tval, $fval)>; 834 def : Pat<(f32 (selectcc i1:$lhs, i1:$rhs, f32:$tval, f32:$fval, SETLE)), 835 (SELECT_SPE4 (CRORC $lhs, $rhs), $tval, $fval)>; 836 def : Pat<(f32 (selectcc i1:$lhs, i1:$rhs, f32:$tval, f32:$fval, SETULE)), 837 (SELECT_SPE4 (CRORC $rhs, $lhs), $tval, $fval)>; 838 def : Pat<(f32 (selectcc i1:$lhs, i1:$rhs, f32:$tval, f32:$fval, SETEQ)), 839 (SELECT_SPE4 (CREQV $lhs, $rhs), $tval, $fval)>; [all …]
|
/freebsd/contrib/sendmail/libsm/ |
H A D | notify.c | 174 struct timeval timeout, *tval; local 182 SM_MICROS2TVAL(tmo, tval, timeout); 185 r = select(NotifyRDpipe + 1, FDSET_CAST &readfds, NULL, NULL, tval);
|
H A D | notify.h | 22 #define SM_MICROS2TVAL(tmo, tval, timeout) \ argument 26 tval = NULL; \ 31 tval = &timeout; \
|