Searched defs:tp (Results 1 - 25 of 526) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dftime.c51 ftime(struct timeb *tp) argument
59 tp->time = t.tv_sec;
60 tp->millitm = t.tv_usec / 1000;
61 tp->timezone = timezone / 60;
62 tp->dstflag = daylight;
H A Dsettimeofday.c46 settimeofday(struct timeval *tp, void *tzp) argument
50 if (tp == NULL)
53 if (tp->tv_sec < 0 || tp->tv_usec < 0 || tp->tv_usec >= MICROSEC) {
58 t = (time_t)tp->tv_sec;
59 if (tp->tv_usec >= (MICROSEC/2))
/illumos-gate/usr/src/ucblib/libucb/port/gen/
H A Dftime.c52 ftime(struct timeb *tp) argument
59 tp->time = t.tv_sec;
60 tp->millitm = t.tv_usec / 1000;
61 tp->timezone = (short)tz.tz_minuteswest;
62 tp->dstflag = (short)tz.tz_dsttime;
/illumos-gate/usr/src/ucblib/libucb/port/sys/
H A Dgettimeofday.c57 gettimeofday(struct timeval *tp, void *tzp) argument
59 if (tp == NULL)
62 return (_gettimeofday(tp));
72 settimeofday(struct timeval *tp, void *tzp) argument
76 if (tp == NULL)
79 t = (time_t) tp->tv_sec;
80 if (tp->tv_usec >= 500000)
/illumos-gate/usr/src/uts/common/os/
H A Dlockstat_subr.c49 kthread_t *tp; local
53 tp = curthread;
55 if (tp->t_lockstat)
57 } while ((tp = tp->t_next) != curthread);
H A Dcopyops.c41 install_copyops(kthread_id_t tp, copyops_t *cp) argument
43 ASSERT(tp->t_copyops == NULL);
44 tp->t_copyops = cp;
48 remove_copyops(kthread_id_t tp) argument
50 ASSERT(tp->t_copyops != NULL);
51 tp->t_copyops = NULL;
55 copyops_installed(kthread_id_t tp) argument
57 return (tp->t_copyops != NULL);
/illumos-gate/usr/src/lib/libresolv2/common/inet/
H A Dinet_neta.c59 char *tp; local
68 tp = dst;
74 size -= (size_t)(dst - tp);
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dttyslot.c52 char *tp, *p; local
58 if ((tp = ttyname(0)) == NULL &&
59 (tp = ttyname(1)) == NULL &&
60 (tp = ttyname(2)) == NULL)
62 if ((p = rindex(tp, '/')) == NULL)
63 p = tp;
H A Dasctime.c27 int *tp; local
37 tp = &t->tm_mon;
38 ncp = &"JanFebMarAprMayJunJulAugSepOctNovDec"[(*tp)*3];
42 cp = ct_numb(cp, *--tp);
43 cp = ct_numb(cp, *--tp+100);
44 cp = ct_numb(cp, *--tp+100);
45 cp = ct_numb(cp, *--tp+100);
/illumos-gate/usr/src/lib/libc/port/sys/
H A Dtime.c49 stime(const time_t *tp) argument
53 return (__stime(*tp));
/illumos-gate/usr/src/cmd/zic/
H A Dscheck.c16 register char *tp; local
28 tp = fbuf;
29 while ((*tp++ = c = *fp++) != '\0') {
33 *tp++ = *fp++;
36 *tp++ = '*';
40 *tp++ = *fp++;
42 *tp++ = *fp++;
44 do *tp++ = *fp++;
46 if ((*tp++ = *fp++) == '\0')
49 *(tp
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dctxop.c36 kthread_t thread, *tp = &thread; local
42 if (mdb_vread(tp, sizeof (*tp), wsp->walk_addr) == -1) {
48 wsp->walk_addr = (uintptr_t)tp->t_ctx;
/illumos-gate/usr/src/uts/common/disp/
H A Dthread_intr.c52 kthread_t *tp; local
54 tp = thread_create(NULL, 0,
66 THREAD_FREEINTR(tp, cp);
72 tp->t_cred = NULL;
73 tp->t_flag |= T_INTR_THREAD;
74 tp->t_cpu = cp;
75 tp->t_bound_cpu = cp;
76 tp->t_disp_queue = cp->cpu_disp;
77 tp->t_affinitycnt = 1;
78 tp
[all...]
/illumos-gate/usr/src/tools/cscope-fast/
H A Dhelp.c47 char **ep, *s, **tp, *text[MAXHELP]; local
50 tp = text;
53 *tp++ = "Point with the mouse and click button 1 to "
55 *tp++ = "type the pattern to search for, and then "
57 *tp++ = "and last 2 input fields, the pattern can be "
59 *tp++ = "If the search is successful, you can edit "
61 *tp++ = "by pointing with the mouse and clicking "
63 *tp++ = "\nYou can either use the button 2 menu or "
66 *tp++ = "Press the TAB key repeatedly to move to the "
68 *tp
[all...]
/illumos-gate/usr/src/uts/common/syscall/
H A Dtimes.c47 times(struct tms *tp) argument
62 if (copyout(&p_time, tp, sizeof (p_time)))
77 times32(struct tms32 *tp) argument
92 if (copyout(&p_time, tp, sizeof (p_time)))
H A Dntptime.c72 ntp_gettime(struct ntptimeval *tp) argument
87 if (copyout(&ntv, tp, sizeof (ntv)))
100 if (copyout(&ntv32, tp, sizeof (ntv32)))
142 ntp_adjtime(struct timex *tp) argument
147 if (copyin(tp, &ntv, sizeof (ntv)))
199 if (copyout(&ntv, tp, sizeof (ntv)))
/illumos-gate/usr/src/lib/libresolv2/common/bsd/
H A Dgettimeofday.c19 isc__gettimeofday(struct timeval *tp, struct timezone *tzp) { argument
22 res = gettimeofday(tp, tzp);
25 if (tp == NULL)
27 if (tp->tv_usec < 0) {
29 tp->tv_usec += MILLION;
30 tp->tv_sec--;
31 } while (tp->tv_usec < 0);
33 } else if (tp->tv_usec > MILLION) {
35 tp->tv_usec -= MILLION;
36 tp
[all...]
/illumos-gate/usr/src/lib/libbc/libc/compat/4.1/
H A Dftime.c49 ftime(struct timeb *tp) argument
58 tp->time = t.tv_sec;
59 tp->millitm = t.tv_usec / 1000;
60 tp->timezone = _timezone / 60;
61 tp->dstflag = _daylight;
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dtmem.c64 tumem_t *tp = &curthread->ul_tmem; local
67 if (tp->tm_size == 0)
78 buf = tp->tm_roots[ii];
/illumos-gate/usr/src/lib/libast/common/vmalloc/
H A Dvmclear.c43 reg Block_t* tp; local
71 tp = SEGBLOCK(seg);
72 size = seg->baddr - ((Vmuchar_t*)tp) - 2*sizeof(Head_t);
74 SEG(tp) = seg;
75 SIZE(tp) = size;
77 seg->free = tp;
79 { SIZE(tp) |= BUSY|JUNK;
80 LINK(tp) = CACHE(vd)[C_INDEX(SIZE(tp))];
81 CACHE(vd)[C_INDEX(SIZE(tp))]
[all...]
/illumos-gate/usr/src/boot/lib/libc/string/
H A Dmemccpy.c43 unsigned char *tp = t; local
47 if ((*tp++ = *fp++) == uc)
48 return (tp);
H A Dswab.c46 char *fp, *tp; local
52 tp = (char *)to;
53 #define STEP temp = *fp++,*tp++ = *fp++,*tp++ = temp
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelSlottable.c77 cipher_mechs_threshold_t *tp = (cipher_mechs_threshold_t *)thresholdp; local
90 tp[i].mech_type =
92 tp[i].mech_threshold =
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_builtin.c106 ttree_t *tp; local
125 if ((tp = topo_tree_create(thp, mod, bp->bltin_name))
133 topo_list_append(&thp->th_trees, tp);
140 rnode = tp->tt_root;
H A Dtopo_tree.c70 set_create_error(topo_hdl_t *thp, ttree_t *tp, int err) argument
72 if (tp != NULL)
73 topo_tree_destroy(tp);
84 ttree_t *tp; local
87 if ((tp = topo_mod_zalloc(mod, sizeof (ttree_t))) == NULL)
90 tp->tt_mod = mod;
92 if ((tp->tt_scheme = topo_mod_strdup(mod, scheme)) == NULL)
93 return (set_create_error(thp, tp, ETOPO_NOMEM));
98 if ((tp->tt_walk = topo_mod_zalloc(mod, sizeof (topo_walk_t))) == NULL)
99 return (set_create_error(thp, tp, ETOPO_NOME
126 topo_tree_destroy(ttree_t *tp) argument
153 topo_tree_enum(topo_hdl_t *thp, ttree_t *tp) argument
206 ttree_t *tp; local
[all...]

Completed in 160 milliseconds

1234567891011>>