/freebsd-11-stable/bin/ps/ |
H A D | print.c | 393 struct tm *tp; local 405 tp = localtime(&then); 407 (void)strftime(buf, buflen, "%H:%M ", tp); 409 (void)strftime(buf, buflen, "%a%H ", tp); 411 (void)strftime(buf, buflen, "%e%b%y", tp);
|
/freebsd-11-stable/bin/sh/ |
H A D | trap.c | 220 char *volatile *tp; local 222 for (tp = trap ; tp <= &trap[NSIG - 1] ; tp++) { 223 if (*tp && **tp) { /* trap not NULL or SIG_IGN */ 225 ckfree(*tp); 226 *tp = NULL; 227 if (tp != &trap[0]) 228 setsignal(tp 241 char *volatile *tp; local [all...] |
/freebsd-11-stable/bin/stty/ |
H A D | gfmt.c | 59 gprint(struct termios *tp, struct winsize *wp __unused, int ldisc __unused) argument 64 (u_long)tp->c_cflag, (u_long)tp->c_iflag, (u_long)tp->c_lflag, 65 (u_long)tp->c_oflag); 67 (void)printf("%s=%x:", cp->name, tp->c_cc[cp->sub]); 69 (u_long)cfgetispeed(tp), (u_long)cfgetospeed(tp)); 73 gread(struct termios *tp, char *s) argument 92 tp [all...] |
H A D | print.c | 52 print(struct termios *tp, struct winsize *wp, int ldisc, enum FMT fmt) argument 78 ispeed = cfgetispeed(tp); 79 ospeed = cfgetospeed(tp); 96 tmp = tp->c_lflag; 117 tmp = tp->c_iflag; 134 tmp = tp->c_oflag; 151 tmp = tp->c_cflag; 189 cc = tp->c_cc;
|
/freebsd-11-stable/cddl/contrib/opensolaris/common/ctf/ |
H A D | ctf_create.c | 1256 const ctf_type_t *tp; local 1277 if ((tp = ctf_lookup_by_id(&src_fp, src_type)) == NULL) 1280 name = ctf_strptr(src_fp, tp->ctt_name); 1281 kind = LCTF_INFO_KIND(src_fp, tp->ctt_info); 1282 flag = LCTF_INFO_ROOT(src_fp, tp->ctt_info); 1283 vlen = LCTF_INFO_VLEN(src_fp, tp->ctt_info); 1427 ctc.ctc_return = ctf_add_type(dst_fp, src_fp, tp->ctt_type);
|
H A D | ctf_decl.c | 94 const ctf_type_t *tp; local 97 if ((tp = ctf_lookup_by_id(&fp, type)) == NULL) { 102 switch (kind = LCTF_INFO_KIND(fp, tp->ctt_info)) { 111 if (ctf_strptr(fp, tp->ctt_name)[0] == '\0') { 112 ctf_decl_push(cd, fp, tp->ctt_type); 119 ctf_decl_push(cd, fp, tp->ctt_type); 124 ctf_decl_push(cd, fp, tp->ctt_type); 131 ctf_decl_push(cd, fp, tp->ctt_type);
|
H A D | ctf_open.c | 208 const ctf_type_t *tp; local 227 for (tp = tbuf; tp < tend; fp->ctf_typemax++) { 228 ushort_t kind = LCTF_INFO_KIND(fp, tp->ctt_info); 229 ulong_t vlen = LCTF_INFO_VLEN(fp, tp->ctt_info); 235 (void) ctf_get_ctt_size(fp, tp, &size, &increment); 253 ((uintptr_t)tp + increment); 260 ((uintptr_t)tp + increment); 277 if (tp->ctt_type == CTF_K_UNKNOWN || 278 tp [all...] |
H A D | ctf_types.c | 31 ctf_get_ctt_size(const ctf_file_t *fp, const ctf_type_t *tp, ssize_t *sizep, argument 37 tp->ctt_size == CTF_LSIZE_SENT) { 38 size = CTF_TYPE_LSIZE(tp); 41 size = tp->ctt_size; 61 const ctf_type_t *tp; local 69 if ((tp = ctf_lookup_by_id(&fp, type)) == NULL) 72 (void) ctf_get_ctt_size(fp, tp, &size, &increment); 73 kind = LCTF_INFO_KIND(fp, tp->ctt_info); 80 ((uintptr_t)tp + increment); 82 for (n = LCTF_INFO_VLEN(fp, tp 112 const ctf_type_t *tp; local 151 const ctf_type_t *tp = LCTF_INDEX_TO_TYPEPTR(fp, id); local 172 const ctf_type_t *tp; local 241 const ctf_type_t *tp = local 347 const ctf_type_t *tp; local 396 const ctf_type_t *tp; local 460 const ctf_type_t *tp; local 476 const ctf_type_t *tp; local 531 const ctf_type_t *tp; local 652 const ctf_type_t *tp; local 722 const ctf_type_t *tp; local 750 const ctf_type_t *tp; local 787 const ctf_type_t *tp; local 831 const ctf_type_t *tp; local [all...] |
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_parser.c | 1047 ctf_file_t **fpp, ctf_id_t *tp) 1136 * tp to point to the more specific pointer type and return it. 1145 if (tp != NULL) 1146 *tp = rp_is_void ? lbase : rbase; 4603 dt_node_diftype(dtrace_hdl_t *dtp, const dt_node_t *dnp, dtrace_diftype_t *tp) argument 4607 tp->dtdt_kind = DIF_TYPE_STRING; 4608 tp->dtdt_ckind = CTF_K_UNKNOWN; 4610 tp->dtdt_kind = DIF_TYPE_CTF; 4611 tp->dtdt_ckind = ctf_type_kind(dnp->dn_ctfp, 4615 tp 1046 dt_node_is_ptrcompat(const dt_node_t *lp, const dt_node_t *rp, ctf_file_t **fpp, ctf_id_t *tp) argument [all...] |
/freebsd-11-stable/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | ctf.c | 285 tdesc_t *tp = arg1; local 294 int isroot = tp->t_flags & TDESC_F_ISROOT; 313 if (++b->nptent < CTF_TYPE_TO_INDEX(tp->t_id)) { 315 b->nptent - 1, CTF_TYPE_TO_INDEX(tp->t_id)); 319 while (b->nptent < CTF_TYPE_TO_INDEX(tp->t_id)) { 325 offset = strtab_insert(&b->ctb_strtab, tp->t_name); 328 switch (tp->t_type) { 330 ip = tp->t_intr; 336 write_sized_type_rec(b, &ctt, tp->t_size); 361 ctt.ctt_type = tp [all...] |
/freebsd-11-stable/cddl/contrib/opensolaris/tools/ctf/dump/ |
H A D | dump.c | 391 const ctf_type_t *tp = v; local 414 for (/* */; tp < end; id++) { 415 ulong_t i, n = CTF_INFO_VLEN(tp->ctt_info); 417 int kind = CTF_INFO_KIND(tp->ctt_info); 430 "[<"[CTF_INFO_ISROOT(tp->ctt_info)], id, 431 "]>"[CTF_INFO_ISROOT(tp->ctt_info)]); 434 if (tp->ctt_size == CTF_LSIZE_SENT) { 436 size = (size_t)CTF_TYPE_LSIZE(tp); 439 size = tp->ctt_size; 441 u.ptr = (const char *)tp [all...] |
/freebsd-11-stable/contrib/amd/amd/ |
H A D | info_exec.c | 55 int exec_init(mnt_map *m, char *map, time_t *tp); 56 int exec_search(mnt_map *m, char *map, char *key, char **pval, time_t *tp); 164 exec_parse_qanswer(mnt_map *m, int fd, char *map, char *key, char **pval, time_t *tp) argument 387 exec_init(mnt_map *m, char *map, time_t *tp) argument 398 exec_search(mnt_map *m, char *map, char *key, char **pval, time_t *tp) argument 415 if (tp) 416 *tp = clocktime(NULL); 418 return exec_parse_qanswer(m, mapfd, map, key, pval, tp);
|
H A D | info_file.c | 53 int file_init_or_mtime(mnt_map *m, char *map, time_t *tp); 55 int file_search(mnt_map *m, char *map, char *key, char **pval, time_t *tp); 194 file_open(char *map, time_t *tp) argument 198 if (mapf && tp) { 201 *tp = clocktime(NULL); 203 *tp = stb.st_mtime; 210 file_init_or_mtime(mnt_map *m, char *map, time_t *tp) argument 212 FILE *mapf = file_open(map, tp); 237 file_search(mnt_map *m, char *map, char *key, char **pval, time_t *tp) argument 244 if (*tp < [all...] |
H A D | info_hesiod.c | 62 int amu_hesiod_init(mnt_map *m, char *map, time_t *tp); 63 int hesiod_search(mnt_map *m, char *map, char *key, char **pval, time_t *tp); 72 amu_hesiod_init(mnt_map *m, char *map, time_t *tp) argument 75 *tp = 0; 91 hesiod_search(mnt_map *m, char *map, char *key, char **pval, time_t *tp) argument 99 dlog("hesiod_search(m=%lx, map=%s, key=%s, pval=%lx tp=%lx)", 100 (unsigned long) m, map, key, (unsigned long) pval, (unsigned long) tp);
|
H A D | info_ndbm.c | 52 int ndbm_init(mnt_map *m, char *map, time_t *tp); 53 int ndbm_mtime(mnt_map *m, char *map, time_t *tp); 54 int ndbm_search(mnt_map *m, char *map, char *key, char **pval, time_t *tp); 77 ndbm_search(mnt_map *m, char *map, char *key, char **pval, time_t *tp) argument 94 if (!error && *tp < stb.st_mtime) { 95 *tp = stb.st_mtime; 108 ndbm_init(mnt_map *m, char *map, time_t *tp) argument 126 *tp = clocktime(NULL); 128 *tp = stb.st_mtime; 137 ndbm_mtime(mnt_map *m, char *map, time_t *tp) argument [all...] |
H A D | info_nis.c | 63 int nis_search(mnt_map *m, char *map, char *key, char **val, time_t *tp); 64 int nis_init(mnt_map *m, char *map, time_t *tp); 66 int nis_mtime(mnt_map *m, char *map, time_t *tp); 248 nis_search(mnt_map *m, char *map, char *key, char **pval, time_t *tp) argument 272 if ((time_t) order > *tp) { 273 *tp = (time_t) order; 284 if ((time_t)order - *tp > gopt.am_timeo) { 285 *tp = (time_t)order; 330 nis_init(mnt_map *m, char *map, time_t *tp) argument 351 *tp 376 nis_mtime(mnt_map *m, char *map, time_t *tp) argument [all...] |
H A D | info_nisplus.c | 154 nisplus_search(mnt_map *m, char *map, char *key, char **val, time_t *tp) argument 236 *tp = 0; 256 nisplus_init(mnt_map *m, char *map, time_t *tp) argument 299 *tp = 0; /* no time */ 306 nisplus_mtime(mnt_map *m, char *map, time_t *tp) argument 308 return nisplus_init(m,map, tp);
|
H A D | info_passwd.c | 55 int passwd_init(mnt_map *m, char *map, time_t *tp); 56 int passwd_search(mnt_map *m, char *map, char *key, char **pval, time_t *tp); 63 passwd_init(mnt_map *m, char *map, time_t *tp) argument 65 *tp = 0; 91 passwd_search(mnt_map *m, char *map, char *key, char **pval, time_t *tp) argument
|
H A D | info_union.c | 57 int union_init(mnt_map *m, char *map, time_t *tp); 58 int union_search(mnt_map *m, char *map, char *key, char **pval, time_t *tp); 66 union_init(mnt_map *m, char *map, time_t *tp) argument 68 *tp = 0; 74 union_search(mnt_map *m, char *map, char *key, char **pval, time_t *tp) argument
|
H A D | mapc.c | 155 extern int amu_hesiod_init(mnt_map *, char *map, time_t *tp); 162 extern int amu_ldap_init(mnt_map *, char *map, time_t *tp); 1076 root_init(mnt_map *m, char *map, time_t *tp) argument 1078 *tp = clocktime(NULL); 1183 error_init(mnt_map *m, char *map, time_t *tp) argument 1186 *tp = 0; 1193 error_search(mnt_map *m, char *map, char *key, char **pval, time_t *tp) argument 1207 error_mtime(mnt_map *m, char *map, time_t *tp) argument 1209 *tp = 0;
|
/freebsd-11-stable/contrib/amd/amq/ |
H A D | amq.c | 83 struct tm *tp = localtime(&t); local 85 tp->tm_mon + 1, tp->tm_mday, 86 tp->tm_year < 1900 ? tp->tm_year + 1900 : tp->tm_year, 87 tp->tm_hour, tp->tm_min, tp->tm_sec);
|
/freebsd-11-stable/contrib/amd/doc/ |
H A D | texinfo.tex | 1069 \newcodeindex{tp}% 6977 \doind{tp}{\code{#2}}%
|
/freebsd-11-stable/contrib/amd/fsinfo/ |
H A D | fsi_analyze.c | 659 auto_tree *tp; local 666 ITER(tp, auto_tree, q) 667 analyze_automount_tree(tp->t_mount, "", 0);
|
H A D | fsi_util.c | 326 auto_tree *tp = CALLOC(struct auto_tree); local 328 tp->t_ioloc = current_location(); 329 tp->t_defaults = def; 330 tp->t_mount = ap; 332 return tp;
|
H A D | wr_atab.c | 323 auto_tree *tp; local 325 ITER(tp, auto_tree, q) 326 errors += write_amount(tp->t_mount, tp->t_defaults);
|