/dragonfly/contrib/tcpdump/ |
H A D | print-lldp.c | 751 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 …]
|
/dragonfly/bin/pax/ |
H A D | gen_subs.c | 210 u_long tval = 0; in asc_ul() local 227 tval = (tval << 4) + (*str++ - '0'); in asc_ul() 229 tval = (tval << 4) + 10 + (*str++ - 'A'); in asc_ul() 231 tval = (tval << 4) + 10 + (*str++ - 'a'); in asc_ul() 237 tval = (tval << 3) + (*str++ - '0'); in asc_ul() 239 return(tval); in asc_ul() 323 tval = (tval << 4) + (*str++ - '0'); in asc_uqd() 325 tval = (tval << 4) + 10 + (*str++ - 'A'); in asc_uqd() 327 tval = (tval << 4) + 10 + (*str++ - 'a'); in asc_uqd() 333 tval = (tval << 3) + (*str++ - '0'); in asc_uqd() [all …]
|
H A D | sel_subs.c | 524 str_sec(char *str, time_t *tval) in str_sec() argument 529 lt = localtime(tval); in str_sec() 591 if ((*tval = mktime(lt)) == -1) in str_sec()
|
/dragonfly/contrib/awk/ |
H A D | tran.c | 238 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 D | awk.h | 103 int tval; /* type info: STR|NUM|ARR|FCN|FLD|CON|DONTFREE|CONVC|CONVO */ member 218 #define isrec(n) ((n)->tval & REC) 219 #define isfld(n) ((n)->tval & FLD) 220 #define isstr(n) ((n)->tval & STR) 221 #define isnum(n) ((n)->tval & NUM) 222 #define isarr(n) ((n)->tval & ARR) 223 #define isfcn(n) ((n)->tval & FCN) 228 #define freeable(p) ( ((p)->tval & (STR|DONTFREE)) == STR )
|
H A D | run.c | 301 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 …]
|
H A D | lib.c | 189 fldtab[0]->tval = REC | STR | DONTFREE; in getrec() 192 fldtab[0]->tval |= NUM; in getrec() 369 q->tval |= NUM; in setclvar() 416 fldtab[i]->tval = FLD | STR | DONTFREE; in fldbld() 432 fldtab[i]->tval = FLD | STR | DONTFREE; in fldbld() 470 fldtab[i]->tval = FLD | STR; in fldbld() 488 fldtab[i]->tval = FLD | STR | DONTFREE; in fldbld() 508 p->tval |= NUM; in fldbld() 531 p->tval = FLD | STR | DONTFREE; in cleanfld() 613 fldtab[i]->tval = FLD | STR | DONTFREE; in refldbld() [all …]
|
H A D | parse.c | 196 cp->tval = ARR; in makearr() 247 v->tval = FCN; in defn()
|
/dragonfly/sys/dev/disk/isp/ |
H A D | isp_pci.c | 449 int tval; in isp_get_generic_options() local 454 tval = 0; in isp_get_generic_options() 461 tval = 0; in isp_get_generic_options() 465 tval = 0; in isp_get_generic_options() 469 tval = 0; in isp_get_generic_options() 480 if (tval > 0 && tval < 127) { in isp_get_generic_options() 485 tval = 1; in isp_get_generic_options() 488 tval = 7; in isp_get_generic_options() 617 if (tval >= 0 && tval < 256) { in isp_get_specific_options() 625 if (tval >= 0 && tval < 0xffff) { in isp_get_specific_options() [all …]
|
/dragonfly/usr.bin/chpass/ |
H A D | util.c | 58 ttoa(time_t tval) in ttoa() argument 63 if (tval) { in ttoa() 64 tp = localtime(&tval); in ttoa() 79 time_t tval; in atot() local 88 time(&tval); in atot() 89 lt = localtime(&tval); in atot() 127 if ((tval = mktime(lt)) < 0) in atot() 129 *store = tval; in atot()
|
/dragonfly/sbin/dhclient/ |
H A D | parse.c | 243 int negative = 0, tval, max; in convert_num() local 268 tval = *ptr++; in convert_num() 270 if (tval >= 'a') in convert_num() 271 tval = tval - 'a' + 10; in convert_num() 272 else if (tval >= 'A') in convert_num() 273 tval = tval - 'A' + 10; in convert_num() 274 else if (tval >= '0') in convert_num() 275 tval -= '0'; in convert_num() 280 if (tval >= base) { in convert_num() 282 str, tval, base); in convert_num() [all …]
|
H A D | conflex.c | 63 static char *tval; variable 89 tval = NULL; in new_parse() 168 tval = tb; in get_token() 193 *rval = tval; in next_token() 217 *rval = tval; in peek_token() 267 tval = tokbuf; in read_string() 294 tval = tokbuf; in read_number() 322 tval = tokbuf; in read_num_or_name() 324 return (intern(tval, rv)); in read_num_or_name()
|
/dragonfly/bin/date/ |
H A D | date.c | 53 static time_t tval; variable 125 tval = strtoll(optarg, &tmp, 0); in main() 163 if (!rflag && time(&tval) == -1) in main() 193 badv = vary_apply(v, tval, <); in main() 234 lt = localtime(&tval); in setthetime() 255 lt = localtime(&tval); in setthetime() 315 if ((tval = mktime(lt)) == -1) in setthetime() 320 tv.tv_sec = tval; in setthetime()
|
H A D | vary.h | 36 extern const struct vary *vary_apply(const struct vary *v, time_t tval, struct tm *t);
|
/dragonfly/contrib/tcsh-6/ |
H A D | ed.screen.c | 50 #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 …]
|
/dragonfly/games/atc/ |
H A D | input.c | 196 int tval; variable 232 sprintf(T_STR, st[T_STATE].rule[ruleno].str, tval); in push() 270 st[T_STATE].rule[i].token == tval) { in getcommand() 271 push(i, (c >= ALPHATOKEN) ? tval : c); in getcommand() 318 while ((tval = getAChar()) == REDRAWTOKEN || tval == SHELLTOKEN) in gettoken() 320 if (tval == SHELLTOKEN) in gettoken() 361 if (isdigit(tval)) in gettoken() 363 else if (isalpha(tval)) in gettoken() 366 return (tval); in gettoken()
|
/dragonfly/contrib/gdb-7/gdb/ |
H A D | ada-exp.c | 346 struct type *tval; member 1928 if ((yyvsp[(1) - (4)].tval) != NULL) 1957 if ((yyvsp[(1) - (7)].tval) == NULL) 1970 { (yyval.tval) = type_qualifier; } 2086 if ((yyvsp[(2) - (4)].tval) == NULL) 2200 if ((yyvsp[(3) - (3)].tval) == NULL) 2233 if ((yyvsp[(4) - (4)].tval) == NULL) 2544 if ((yyval.tval) == NULL) 2547 (yyval.tval) = lookup_pointer_type ((yyval.tval)); 2557 if ((yyval.tval) == NULL) [all …]
|
H A D | go-exp.c | 290 struct type *tval; member 1692 write_exp_elt_type((yyvsp[(1) - (1)].tval)); 1847 write_exp_elt_type ((yyvsp[(2) - (4)].tval)); 1856 write_exp_elt_type ((yyvsp[(1) - (4)].tval)); 2088 CHECK_TYPEDEF ((yyvsp[(3) - (4)].tval)); 2089 write_exp_elt_longcst ((LONGEST) TYPE_LENGTH ((yyvsp[(3) - (4)].tval))); 2251 { (yyval.tval) = lookup_pointer_type ((yyvsp[(2) - (2)].tval)); } 2258 { (yyval.tval) = (yyvsp[(1) - (1)].tsym).type; } 2265 { (yyval.tval) = builtin_go_type (parse_gdbarch)
|
/dragonfly/bin/mv/ |
H A D | mv.c | 281 struct timeval tval[2]; in fastcopy() local 347 tval[0].tv_sec = sbp->st_atime; in fastcopy() 348 tval[1].tv_sec = sbp->st_mtime; in fastcopy() 349 tval[0].tv_usec = tval[1].tv_usec = 0; in fastcopy() 350 if (utimes(to, tval)) in fastcopy()
|
/dragonfly/contrib/libedit/src/ |
H A D | terminal.c | 181 } tval[] = { variable 1343 for (tv = tval; tv->name != NULL; tv++) in terminal_settc() 1353 if (tv == &tval[T_pt] || tv == &tval[T_km] || in terminal_settc() 1354 tv == &tval[T_am] || tv == &tval[T_xn]) { in terminal_settc() 1359 el->el_terminal.t_val[tv - tval] = 1; in terminal_settc() 1361 el->el_terminal.t_val[tv - tval] = 0; in terminal_settc() 1382 if (tv == &tval[T_co]) { in terminal_settc() 1385 } else if (tv == &tval[T_li]) { in terminal_settc() 1434 if (tv == &tval[T_pt] || tv == &tval[T_km] || in terminal_gettc() 1435 tv == &tval[T_am] || tv == &tval[T_xn]) { in terminal_gettc() [all …]
|
/dragonfly/crypto/libressl/crypto/x509/ |
H A D | x509_ncons.c | 192 CONF_VALUE tval, *val; in v2i_NAME_CONSTRAINTS() local 204 tval.name = val->name + 10; in v2i_NAME_CONSTRAINTS() 207 tval.name = val->name + 9; in v2i_NAME_CONSTRAINTS() 212 tval.value = val->value; in v2i_NAME_CONSTRAINTS() 214 if (!v2i_GENERAL_NAME_ex(sub->base, method, ctx, &tval, 1)) in v2i_NAME_CONSTRAINTS()
|
/dragonfly/contrib/lvm2/dist/daemons/dmeventd/ |
H A D | libdevmapper-event.c | 219 struct timeval tval = { 0, 0 }; in _daemon_read() local 229 tval.tv_sec = 1; in _daemon_read() 231 &tval); in _daemon_read() 283 struct timeval tval = { 0, 0 }; in _daemon_write() local 293 tval.tv_usec = 100; in _daemon_write() 294 ret = select(fifos->server + 1, &fds, NULL, NULL, &tval); in _daemon_write()
|
/dragonfly/usr.bin/ruptime/ |
H A D | ruptime.c | 181 interval(time_t tval, const char *updown) in interval() argument 186 if (tval < 0) { in interval() 191 minutes = howmany(tval, 60); in interval()
|
/dragonfly/sys/dev/disk/mpt/ |
H A D | mpt_pci.c | 256 int tval; in mpt_set_options() local 311 tval = 0; in mpt_set_options() 315 if (kgetenv_int("hw.mpt.msi.enable", &tval)) in mpt_set_options() 316 mpt->msi_enable = tval; in mpt_set_options()
|
/dragonfly/contrib/tnftp/src/ |
H A D | ruserpass.c | 77 int tval; member 323 return (t->tval); in token()
|