Home
last modified time | relevance | path

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

1234

/freebsd/bin/pax/
H A Dgen_subs.c204 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()
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()
327 tval = (tval << 3) + (*str++ - '0'); in asc_uqd()
[all …]
/freebsd/contrib/tcpdump/
H A Dprint-lldp.c751 tval >> 7, (tval >> 6) & 0x02, (tval >> 3) & 0x07, tval & 0x07); in lldp_private_8021_print()
783 tval >> 7, (tval >> 6) & 0x01, (tval >> 4) & 0x03, (tval & 0x0f)); in lldp_private_8021_print()
810 tval >> 5, (tval >> 3) & 0x03, (tval & 0x07), in lldp_private_8021_print()
822 tval >> 3, (tval >> 2) & 0x01, (tval >> 1) & 0x01, tval & 0x01); in lldp_private_8021_print()
826 tval >> 4, (tval >> 3) & 0x01, (tval >> 2) & 0x01, tval & 0x03); in lldp_private_8021_print()
843 tval >> 7, (tval >> 4) & 0x07, (tval >> 3) & 0x01); in lldp_private_8021_print()
853 tval >> 12, tval & 0x000fff); in lldp_private_8021_print()
1249 (tval & 0x80) ? 1 : 0, (tval & 0x40) ? 1 : 0, in lldp_private_dcbx_print()
1281 (tval & 0x80) ? 1 : 0, (tval & 0x40) ? 1 : 0, in lldp_private_dcbx_print()
1302 (tval & 0x80) ? 1 : 0, (tval & 0x40) ? 1 : 0, in lldp_private_dcbx_print()
[all …]
/freebsd/contrib/one-true-awk/
H A Dtran.c238 p->tval = t; in setsymtab()
335 if (vp->tval & FCN) in funnyvar()
373 vp->tval |= STR; in setsval()
471 vp->tval |= STR; \ in get_str_val()
477 vp->tval &= ~CONVC; in get_str_val()
478 vp->tval |= CONVO; in get_str_val()
481 vp->tval &= ~CONVO; in get_str_val()
482 vp->tval |= CONVC; in get_str_val()
492 vp->tval &= ~CONVC; in get_str_val()
493 vp->tval |= CONVO; in get_str_val()
[all …]
H A Dawk.h103 int tval; /* type info: STR|NUM|ARR|FCN|FLD|CON|DONTFREE|CONVC|CONVO */ member
226 #define isrec(n) ((n)->tval & REC)
227 #define isfld(n) ((n)->tval & FLD)
228 #define isstr(n) ((n)->tval & STR)
229 #define isnum(n) ((n)->tval & NUM)
230 #define isarr(n) ((n)->tval & ARR)
231 #define isfcn(n) ((n)->tval & FCN)
236 #define freeable(p) ( ((p)->tval & (STR|DONTFREE)) == STR )
H A Drun.c301 oargs[i]->tval = t->tval; in call()
335 y->tval = x->tval & ~(CON|FLD|REC); in copycell()
523 x->tval |= ARR; in array()
546 x->tval &= ~STR; in awkdelete()
547 x->tval |= ARR; in awkdelete()
840 x->tval = NUM; in matchop()
895 if (x->tval&NUM && y->tval&NUM) { in relop()
1407 x->tval = STR; in awksprintf()
1624 z->tval = STR; in cat()
1848 x->tval = NUM; in split()
[all …]
/freebsd/usr.bin/chpass/
H A Dutil.c61 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 Disp_pci.c287 int tval; in isp_get_generic_options() local
289 tval = 0; in isp_get_generic_options()
293 tval = 0; in isp_get_generic_options()
297 tval = 0; in isp_get_generic_options()
309 if (tval > 0 && tval <= 254) { in isp_get_generic_options()
312 tval = 7; in isp_get_generic_options()
358 tval = 0; in isp_get_specific_options()
361 name, &tval) == 0 && tval != 0) { in isp_get_specific_options()
385 tval = 0; in isp_get_specific_options()
442 if (tval >= 0 && tval < 0xffff) { in isp_get_specific_options()
[all …]
/freebsd/contrib/byacc/test/
H A Dinherit1.y25 %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 Derr_inherit2.y23 %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 Derr_inherit3.y23 %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 Derr_inherit5.y23 %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 Dinherit2.y23 %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 Derr_inherit1.y23 %token <tval> REAL INTEGER
26 %type <nlist> declaration namelist(<cval>, <tval>) locnamelist(<tval>)
28 %type <tval> type
42 type tval; member
H A Derr_inherit4.y24 %token <tval> REAL INTEGER
27 %type <nlist> declaration namelist(<cval>, <tval>) locnamelist(<tval>)
30 %type <tval> type
44 type tval; member
H A Dbtyacc_destroy1.y30 %token <tval> REAL INTEGER
36 %type <tval> type
53 type tval;
76 { $$->s = mksymbol($<tval>0, $<cval>0, $2);
H A Dbtyacc_destroy2.y30 %token <tval> REAL INTEGER
36 %type <tval> type
53 type tval;
76 { $$->s = mksymbol($<tval>0, $<cval>0, $2);
H A Dbtyacc_destroy3.y33 %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 Dbthidd.c54 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 Dparse.c336 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 Dconflex.c67 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 Dmpt_pci.c255 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 Ded.screen.c50 #define Val(a) tval[a].val
182 } tval[T_val + 1]; variable
318 tval[T_am].name = "am"; in terminit()
321 tval[T_pt].name = "pt"; in terminit()
324 tval[T_li].name = "li"; in terminit()
327 tval[T_co].name = "co"; in terminit()
330 tval[T_km].name = "km"; in terminit()
480 if (tv == &tval[T_pt] || tv == &tval[T_km] || in SetTC()
481 tv == &tval[T_am] || tv == &tval[T_xn]) { in SetTC()
494 if (tv == &tval[T_am] || tv == &tval[T_xn]) in SetTC()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCInstrSPE.td839 (SELECT_SPE4 (CREQV $lhs, $rhs), $tval, $fval)>;
849 (SELECT_SPE4 (CRXOR $lhs, $rhs), $tval, $fval)>;
852 (SELECT_SPE (CRANDC $lhs, $rhs), $tval, $fval)>;
854 (SELECT_SPE (CRANDC $rhs, $lhs), $tval, $fval)>;
856 (SELECT_SPE (CRORC $lhs, $rhs), $tval, $fval)>;
858 (SELECT_SPE (CRORC $rhs, $lhs), $tval, $fval)>;
860 (SELECT_SPE (CREQV $lhs, $rhs), $tval, $fval)>;
862 (SELECT_SPE (CRORC $rhs, $lhs), $tval, $fval)>;
864 (SELECT_SPE (CRORC $lhs, $rhs), $tval, $fval)>;
866 (SELECT_SPE (CRANDC $rhs, $lhs), $tval, $fval)>;
[all …]
/freebsd/contrib/sendmail/libsm/
H A Dnotify.c174 struct timeval timeout, *tval; local
182 SM_MICROS2TVAL(tmo, tval, timeout);
185 r = select(NotifyRDpipe + 1, FDSET_CAST &readfds, NULL, NULL, tval);
H A Dnotify.h22 #define SM_MICROS2TVAL(tmo, tval, timeout) \ argument
26 tval = NULL; \
31 tval = &timeout; \

1234