/freebsd/bin/ps/ |
H A D | print.c | 386 struct tm *tp; in started() local 398 tp = localtime(&then); in started() 400 (void)strftime(buf, buflen, "%H:%M ", tp); in started() 402 (void)strftime(buf, buflen, "%a%H ", tp); in started() 404 (void)strftime(buf, buflen, "%e%b%y", tp); in started()
|
/freebsd/bin/sh/ |
H A D | trap.c | 216 char *volatile *tp; in clear_traps() local 218 for (tp = trap ; tp <= &trap[NSIG - 1] ; tp++) { in clear_traps() 219 if (*tp && **tp) { /* trap not NULL or SIG_IGN */ in clear_traps() 221 ckfree(*tp); in clear_traps() 222 *tp = NULL; in clear_traps() 223 if (tp != &trap[0]) in clear_traps() 224 setsignal(tp - trap); in clear_traps() 237 char *volatile *tp; in have_traps() local 239 for (tp = trap ; tp <= &trap[NSIG - 1] ; tp++) { in have_traps() 240 if (*tp && **tp) /* trap not NULL or SIG_IGN */ in have_traps()
|
/freebsd/bin/stty/ |
H A D | gfmt.c | 57 (u_long)tp->c_cflag, (u_long)tp->c_iflag, (u_long)tp->c_lflag, in gprint() 58 (u_long)tp->c_oflag); in gprint() 62 (u_long)cfgetispeed(tp), (u_long)cfgetospeed(tp)); in gprint() 66 gread(struct termios *tp, char *s) in gread() argument 85 tp->c_cflag = tmp; in gread() 89 tp->c_iflag = tmp; in gread() 94 tp->c_ispeed = tmp; in gread() 98 tp->c_lflag = tmp; in gread() 102 tp->c_oflag = tmp; in gread() 107 tp->c_ospeed = tmp; in gread() [all …]
|
H A D | print.c | 44 print(struct termios *tp, struct winsize *wp, int ldisc, enum FMT fmt) in print() argument 70 ispeed = cfgetispeed(tp); in print() 71 ospeed = cfgetospeed(tp); in print() 88 tmp = tp->c_lflag; in print() 109 tmp = tp->c_iflag; in print() 127 tmp = tp->c_oflag; in print() 144 tmp = tp->c_cflag; in print() 188 cc = tp->c_cc; in print()
|
/freebsd/cddl/contrib/opensolaris/common/ctf/ |
H A D | ctf_create.c | 390 void *tp; in ctf_update() local 417 tp = &ctt; in ctf_update() 423 tp = &dtd->dtd_data; in ctf_update() 426 bcopy(tp, t, len); in ctf_update() 1405 const void *tp; in ctf_add_type() local 1426 if ((tp = ctf_lookup_by_id(&src_fp, src_type)) == NULL) in ctf_add_type() 1429 name = ctf_type_rname(src_fp, tp); in ctf_add_type() 1431 ctf_get_ctt_info(src_fp, tp, &kind, &vlen, &flag); in ctf_add_type() 1596 ctf_get_ctt_index(src_fp, tp, NULL, &type, NULL); in ctf_add_type()
|
H A D | ctf_decl.c | 94 const void *tp; in ctf_decl_push() local 97 if ((tp = ctf_lookup_by_id(&fp, type)) == NULL) { in ctf_decl_push() 102 ctf_get_ctt_info(fp, tp, &kind, NULL, NULL); in ctf_decl_push() 103 ctf_get_ctt_index(fp, tp, NULL, &ctype, NULL); in ctf_decl_push() 114 if (ctf_type_rname(fp, tp)[0] == '\0') { in ctf_decl_push()
|
H A D | ctf_open.c | 346 const void *tp; in init_types() local 365 for (tp = tbuf; tp < tend; fp->ctf_typemax++) { in init_types() 372 ctf_get_ctt_info(fp, tp, &kind, &vlen, NULL); in init_types() 373 ctf_get_ctt_index(fp, tp, NULL, &type, NULL); in init_types() 434 tp = (const void *)((uintptr_t)tp + increment + vbytes); in init_types() 483 for (id = 1, tp = tbuf; tp < tend; xp++, id++) { in init_types() 484 const struct ctf_type_v3 *ctt = tp; in init_types() 494 ctf_get_ctt_info(fp, tp, &kind, &vlen, NULL); in init_types() 496 name = ctf_type_rname(fp, tp); in init_types() 674 tp = (const void *)((uintptr_t)tp + increment + vbytes); in init_types() [all …]
|
H A D | ctf_types.c | 187 const void *tp; in ctf_member_iter() local 228 const void *tp; in ctf_enum_iter() local 291 const void *tp; in ctf_type_resolve() local 484 const void *tp; in ctf_type_size() local 536 const void *tp; in ctf_type_align() local 597 const void *tp; in ctf_type_kind() local 616 const void *tp; in ctf_type_reference() local 675 const void *tp; in ctf_type_encoding() local 796 const void *tp; in _ctf_member_info() local 892 const void *tp; in ctf_enum_name() local [all …]
|
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_parser.c | 1047 ctf_file_t **fpp, ctf_id_t *tp) in dt_node_is_ptrcompat() argument 1145 if (tp != NULL) in dt_node_is_ptrcompat() 1146 *tp = rp_is_void ? lbase : rbase; in dt_node_is_ptrcompat() 4609 dt_node_diftype(dtrace_hdl_t *dtp, const dt_node_t *dnp, dtrace_diftype_t *tp) in dt_node_diftype() argument 4613 tp->dtdt_kind = DIF_TYPE_STRING; in dt_node_diftype() 4614 tp->dtdt_ckind = CTF_K_UNKNOWN; in dt_node_diftype() 4616 tp->dtdt_kind = DIF_TYPE_CTF; in dt_node_diftype() 4617 tp->dtdt_ckind = ctf_type_kind(dnp->dn_ctfp, in dt_node_diftype() 4621 tp->dtdt_flags = (dnp->dn_flags & DT_NF_REF) ? in dt_node_diftype() 4624 tp->dtdt_pad = 0; in dt_node_diftype() [all …]
|
/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | ctf.c | 282 tdesc_t *tp = arg1; in write_type() local 323 switch (tp->t_type) { in write_type() 325 ip = tp->t_intr; in write_type() 356 ctt.ctt_type = tp->t_tdesc->t_id; in write_type() 385 if (tp->t_type == STRUCT) in write_type() 467 ctt.ctt_type = tp->t_tdesc->t_id; in write_type() 473 ctt.ctt_type = tp->t_tdesc->t_id; in write_type() 479 ctt.ctt_type = tp->t_tdesc->t_id; in write_type() 484 i = tp->t_fndef->fn_nargs + tp->t_fndef->fn_vargs; in write_type() 505 if (tp->t_fndef->fn_vargs) { in write_type() [all …]
|
/freebsd/contrib/atf/ |
H A D | NEWS | 195 tp-time XML tags leaking into the generated HTML file. Also improved
|
/freebsd/contrib/atf/atf-c++/ |
H A D | pkg_config_test.sh | 82 cat >tp.cpp <<EOF 113 atf_check -s eq:0 -o empty -e empty ${cxx} ${cxxflags} -o tp.o -c tp.cpp 114 atf_check -s eq:0 -o empty -e empty ${cxx} ${ldflags} -o tp tp.o ${libs} 132 atf_check -s eq:0 -o empty -e empty test -x tp
|
/freebsd/contrib/atf/atf-c/ |
H A D | atf_c_test.c | 40 ATF_TP_ADD_TCS(tp) in ATF_TP_ADD_TCS() argument 43 ATF_TP_ADD_TC(tp, include); in ATF_TP_ADD_TCS()
|
H A D | build_test.c | 238 ATF_TP_ADD_TCS(tp) in ATF_TP_ADD_TCS() argument 241 ATF_TP_ADD_TC(tp, equal_arrays); in ATF_TP_ADD_TCS() 244 ATF_TP_ADD_TC(tp, c_o); in ATF_TP_ADD_TCS() 245 ATF_TP_ADD_TC(tp, cpp); in ATF_TP_ADD_TCS() 246 ATF_TP_ADD_TC(tp, cxx_o); in ATF_TP_ADD_TCS()
|
H A D | check_test.c | 507 ATF_TP_ADD_TCS(tp) in ATF_TP_ADD_TCS() argument 510 ATF_TP_ADD_TC(tp, build_c_o); in ATF_TP_ADD_TCS() 511 ATF_TP_ADD_TC(tp, build_cpp); in ATF_TP_ADD_TCS() 512 ATF_TP_ADD_TC(tp, build_cxx_o); in ATF_TP_ADD_TCS() 513 ATF_TP_ADD_TC(tp, exec_array); in ATF_TP_ADD_TCS() 514 ATF_TP_ADD_TC(tp, exec_cleanup); in ATF_TP_ADD_TCS() 515 ATF_TP_ADD_TC(tp, exec_exitstatus); in ATF_TP_ADD_TCS() 516 ATF_TP_ADD_TC(tp, exec_stdout_stderr); in ATF_TP_ADD_TCS() 517 ATF_TP_ADD_TC(tp, exec_umask); in ATF_TP_ADD_TCS() 518 ATF_TP_ADD_TC(tp, exec_unknown); in ATF_TP_ADD_TCS()
|
/freebsd/contrib/atf/atf-c/detail/ |
H A D | dynstr_test.c | 605 ATF_TP_ADD_TCS(tp) in ATF_TP_ADD_TCS() argument 608 ATF_TP_ADD_TC(tp, init); in ATF_TP_ADD_TCS() 609 ATF_TP_ADD_TC(tp, init_ap); in ATF_TP_ADD_TCS() 610 ATF_TP_ADD_TC(tp, init_fmt); in ATF_TP_ADD_TCS() 611 ATF_TP_ADD_TC(tp, init_raw); in ATF_TP_ADD_TCS() 612 ATF_TP_ADD_TC(tp, init_rep); in ATF_TP_ADD_TCS() 614 ATF_TP_ADD_TC(tp, copy); in ATF_TP_ADD_TCS() 618 ATF_TP_ADD_TC(tp, cstring); in ATF_TP_ADD_TCS() 619 ATF_TP_ADD_TC(tp, length); in ATF_TP_ADD_TCS() 620 ATF_TP_ADD_TC(tp, rfind_ch); in ATF_TP_ADD_TCS() [all …]
|
H A D | env_test.c | 124 ATF_TP_ADD_TCS(tp) in ATF_TP_ADD_TCS() argument 126 ATF_TP_ADD_TC(tp, has); in ATF_TP_ADD_TCS() 127 ATF_TP_ADD_TC(tp, get); in ATF_TP_ADD_TCS() 128 ATF_TP_ADD_TC(tp, get_with_default); in ATF_TP_ADD_TCS() 129 ATF_TP_ADD_TC(tp, set); in ATF_TP_ADD_TCS() 130 ATF_TP_ADD_TC(tp, unset); in ATF_TP_ADD_TCS()
|
H A D | fs_test.c | 1053 ATF_TP_ADD_TCS(tp) in ATF_TP_ADD_TCS() argument 1057 ATF_TP_ADD_TC(tp, path_copy); in ATF_TP_ADD_TCS() 1064 ATF_TP_ADD_TC(tp, path_equal); in ATF_TP_ADD_TCS() 1067 ATF_TP_ADD_TC(tp, stat_mode); in ATF_TP_ADD_TCS() 1068 ATF_TP_ADD_TC(tp, stat_type); in ATF_TP_ADD_TCS() 1069 ATF_TP_ADD_TC(tp, stat_perms); in ATF_TP_ADD_TCS() 1072 ATF_TP_ADD_TC(tp, eaccess); in ATF_TP_ADD_TCS() 1073 ATF_TP_ADD_TC(tp, exists); in ATF_TP_ADD_TCS() 1074 ATF_TP_ADD_TC(tp, getcwd); in ATF_TP_ADD_TCS() 1078 ATF_TP_ADD_TC(tp, mkdtemp_ok); in ATF_TP_ADD_TCS() [all …]
|
H A D | list_test.c | 345 ATF_TP_ADD_TCS(tp) in ATF_TP_ADD_TCS() argument 348 ATF_TP_ADD_TC(tp, list_init); in ATF_TP_ADD_TCS() 351 ATF_TP_ADD_TC(tp, list_index); in ATF_TP_ADD_TCS() 352 ATF_TP_ADD_TC(tp, list_index_c); in ATF_TP_ADD_TCS() 353 ATF_TP_ADD_TC(tp, list_to_charpp_empty); in ATF_TP_ADD_TCS() 354 ATF_TP_ADD_TC(tp, list_to_charpp_some); in ATF_TP_ADD_TCS() 357 ATF_TP_ADD_TC(tp, list_append); in ATF_TP_ADD_TCS() 358 ATF_TP_ADD_TC(tp, list_append_list); in ATF_TP_ADD_TCS() 361 ATF_TP_ADD_TC(tp, list_for_each); in ATF_TP_ADD_TCS() 362 ATF_TP_ADD_TC(tp, list_for_each_c); in ATF_TP_ADD_TCS()
|
H A D | map_test.c | 395 ATF_TP_ADD_TCS(tp) in ATF_TP_ADD_TCS() argument 398 ATF_TP_ADD_TC(tp, map_init); in ATF_TP_ADD_TCS() 399 ATF_TP_ADD_TC(tp, map_init_charpp_null); in ATF_TP_ADD_TCS() 405 ATF_TP_ADD_TC(tp, find); in ATF_TP_ADD_TCS() 406 ATF_TP_ADD_TC(tp, find_c); in ATF_TP_ADD_TCS() 407 ATF_TP_ADD_TC(tp, to_charpp_empty); in ATF_TP_ADD_TCS() 408 ATF_TP_ADD_TC(tp, to_charpp_some); in ATF_TP_ADD_TCS() 411 ATF_TP_ADD_TC(tp, map_insert); in ATF_TP_ADD_TCS() 414 ATF_TP_ADD_TC(tp, map_for_each); in ATF_TP_ADD_TCS() 415 ATF_TP_ADD_TC(tp, map_for_each_c); in ATF_TP_ADD_TCS() [all …]
|
H A D | process_test.c | 1108 ATF_TP_ADD_TCS(tp) in ATF_TP_ADD_TCS() argument 1118 ATF_TP_ADD_TC(tp, status_exited); in ATF_TP_ADD_TCS() 1119 ATF_TP_ADD_TC(tp, status_signaled); in ATF_TP_ADD_TCS() 1120 ATF_TP_ADD_TC(tp, status_coredump); in ATF_TP_ADD_TCS() 1123 ATF_TP_ADD_TC(tp, child_pid); in ATF_TP_ADD_TCS() 1124 ATF_TP_ADD_TC(tp, child_wait_eintr); in ATF_TP_ADD_TCS() 1127 ATF_TP_ADD_TC(tp, exec_failure); in ATF_TP_ADD_TCS() 1128 ATF_TP_ADD_TC(tp, exec_list); in ATF_TP_ADD_TCS() 1129 ATF_TP_ADD_TC(tp, exec_prehook); in ATF_TP_ADD_TCS() 1130 ATF_TP_ADD_TC(tp, exec_success); in ATF_TP_ADD_TCS() [all …]
|
H A D | sanity_test.c | 222 ATF_TP_ADD_TCS(tp) in ATF_TP_ADD_TCS() argument 224 ATF_TP_ADD_TC(tp, inv); in ATF_TP_ADD_TCS() 225 ATF_TP_ADD_TC(tp, pre); in ATF_TP_ADD_TCS() 226 ATF_TP_ADD_TC(tp, post); in ATF_TP_ADD_TCS() 227 ATF_TP_ADD_TC(tp, unreachable); in ATF_TP_ADD_TCS()
|
H A D | text_test.c | 410 ATF_TP_ADD_TCS(tp) in ATF_TP_ADD_TCS() argument 412 ATF_TP_ADD_TC(tp, for_each_word); in ATF_TP_ADD_TCS() 413 ATF_TP_ADD_TC(tp, format); in ATF_TP_ADD_TCS() 414 ATF_TP_ADD_TC(tp, format_ap); in ATF_TP_ADD_TCS() 415 ATF_TP_ADD_TC(tp, split); in ATF_TP_ADD_TCS() 416 ATF_TP_ADD_TC(tp, split_delims); in ATF_TP_ADD_TCS() 417 ATF_TP_ADD_TC(tp, to_bool); in ATF_TP_ADD_TCS() 418 ATF_TP_ADD_TC(tp, to_long); in ATF_TP_ADD_TCS()
|
H A D | tp_main.c | 249 list_tcs(const atf_tp_t *tp) in list_tcs() argument 256 tcs = atf_tp_get_tcs(tp); in list_tcs() 483 run_tc(const atf_tp_t *tp, struct params *p, int *exitcode) in run_tc() argument 489 if (!atf_tp_has_tc(tp, p->m_tcname)) { in run_tc() 516 err = atf_tp_cleanup(tp, p->m_tcname); in run_tc() 544 atf_tp_t tp; in controlled_main() local 560 err = atf_tp_init(&tp, (const char* const*)raw_config); in controlled_main() 565 err = add_tcs_hook(&tp); in controlled_main() 570 list_tcs(&tp); in controlled_main() 574 err = run_tc(&tp, &p, exitcode); in controlled_main() [all …]
|
H A D | user_test.c | 138 ATF_TP_ADD_TCS(tp) in ATF_TP_ADD_TCS() argument 140 ATF_TP_ADD_TC(tp, euid); in ATF_TP_ADD_TCS() 141 ATF_TP_ADD_TC(tp, is_member_of_group); in ATF_TP_ADD_TCS() 142 ATF_TP_ADD_TC(tp, is_root); in ATF_TP_ADD_TCS() 143 ATF_TP_ADD_TC(tp, is_unprivileged); in ATF_TP_ADD_TCS()
|