/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | ftime.c | 51 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 D | settimeofday.c | 46 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))
|
/osnet-11/usr/src/lib/libresolv2/common/inet/ |
H A D | inet_neta.c | 59 char *tp; local 68 tp = dst; 74 size -= (size_t)(dst - tp);
|
H A D | inet_cidr_ntop.c | 162 char *tp; local 208 tp = tmp; 214 *tp++ = ':'; 219 *tp++ = ':'; 232 n = decoct(src+12, n, tp, sizeof tmp - (tp - tmp)); 237 tp += strlen(tp); 240 tp += SPRINTF((tp, " [all...] |
/osnet-11/usr/src/lib/libc/port/sys/ |
H A D | time.c | 49 stime(const time_t *tp) argument 53 return (__stime(*tp));
|
/osnet-11/usr/src/lib/libresolv2/common/bsd/ |
H A D | gettimeofday.c | 19 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...] |
/osnet-11/usr/src/lib/libast/common/vmalloc/ |
H A D | vmclear.c | 43 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...] |
H A D | vmlast.c | 43 reg Block_t *tp, *next; local 64 { if(!(tp = seg->free) || (SIZE(tp)+sizeof(Head_t)) < size) 75 if((tp = (*_Vmextend)(vm,size,NIL(Vmsearch_f))) ) 76 { seg = SEG(tp); 85 if((s = SIZE(tp)) >= size) 86 { next = (Block_t*)((Vmuchar_t*)tp+size); 93 vd->free = seg->last = tp; 96 (*_Vmtrace)(vm, NIL(Vmuchar_t*), (Vmuchar_t*)tp, orgsize, 0); 100 ANNOUNCE(local, vm, VM_ALLOC, (Void_t*)tp, v 171 reg Block_t* tp; local [all...] |
/osnet-11/usr/src/lib/libsec/common/ |
H A D | aclmode.c | 40 aclent_t *tp; local 52 for (tp = aclbufp; nentries--; tp++) { 53 if (tp->a_type == USER_OBJ) { 54 mode = tp->a_perm; 60 if (tp->a_type == GROUP_OBJ) { 61 grpmode = tp->a_perm; 66 if (tp->a_type == CLASS_OBJ) { 68 mask = tp->a_perm; 74 if (tp 91 aclent_t *tp; local [all...] |
H A D | aclsort.c | 82 aclent_t *tp; local 100 for (tp = aclbufp, i = 0; i < nentries; tp++, i++) { 102 if (tp->a_type == map_to_sort[k].entry_type) { 103 tp->a_type = map_to_sort[k].sort_order; 113 for (tp = aclbufp, i = 0; i < nentries; tp++, i++) { 115 if (tp->a_type == map_to_sort[k].sort_order) { 116 tp->a_type = map_to_sort[k].entry_type; 142 for (tp 161 aclent_t *tp; local [all...] |
/osnet-11/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_builtin.c | 105 ttree_t *tp; local 127 if ((tp = topo_tree_create(thp, mod, bp->bltin_name)) 135 topo_list_append(&thp->th_trees, tp); 142 rnode = tp->tt_root;
|
H A D | topo_tree.c | 70 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 222 ttree_t *tp; local [all...] |
/osnet-11/usr/src/lib/fm/topo/modules/sun4u/pcibus/common/ |
H A D | pci_sun4u.c | 67 tnode_t *tp; local 72 tp = did_gettnode(dp); 75 topo_mod_dprintf(mod, "%s: dp=0x%p, tp=0x%p\n", 76 __func__, dp, tp); 111 if (((tp = topo_node_parent(tp)) == NULL) || 112 (dp = did_find(mod, topo_node_getspecific(tp))) == NULL) {
|
/osnet-11/usr/src/lib/libast/common/hash/ |
H A D | hashfree.c | 47 Hash_table_t* tp; local 109 if ((tp = tab->root->references) != tab) 111 for (; tp; tp = tp->next) 112 if (tp->next == tab) 114 tp->next = tab->next; 118 else if (!(tab->root->references = tp->next)) 140 if (tp = tab->scope) tp [all...] |
/osnet-11/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
H A D | kernelSlottable.c | 77 cipher_mechs_threshold_t *tp = (cipher_mechs_threshold_t *)thresholdp; local 90 tp[i].mech_type = 92 tp[i].mech_threshold =
|
/osnet-11/usr/src/lib/libmail/common/ |
H A D | maillock.c | 164 struct utimbuf tp; local 181 tp.actime = sbuf.st_atime; 182 tp.modtime = sbuf.st_mtime; 183 (void) utime(curlock, &tp);
|
/osnet-11/usr/src/lib/libnsl/nss/ |
H A D | inet_ntop.c | 112 char tmp[sizeof ("ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255")], *tp; local 151 tp = tmp; 157 *tp++ = ':'; 162 *tp++ = ':'; 166 if (!inet_ntop4(src+12, tp, sizeof (tmp) - (tp - tmp))) 168 tp += strlen(tp); 171 tp += SPRINTF((tp, " [all...] |
H A D | inet_pton.c | 86 uchar_t tmp[INADDRSZ], *tp; local 90 *(tp = tmp) = 0; 95 uint_t new = *tp * 10 + (pch - digits); 99 *tp = new; 108 *++tp = 0; 141 uchar_t tmp[IN6ADDRSZ], *tp, *endp, *colonp; local 146 (void) memset((tp = tmp), '\0', IN6ADDRSZ); 147 endp = tp + IN6ADDRSZ; 174 colonp = tp; 179 if (tp [all...] |
/osnet-11/usr/src/lib/libast/common/tm/ |
H A D | tmxmake.c | 42 register struct tm* tp; local 120 if ((tp = tmlocaltime(&now)) && ((tm->tm_isdst = tp->tm_isdst) || o))
|
/osnet-11/usr/src/lib/libuuid/common/ |
H A D | uuid_misc.c | 172 struct timeval tp; local 174 (void) gettimeofday(&tp, (struct timezone *)0); 181 *uuid_time = (uint64_t)tp.tv_sec * 10000000; 182 *uuid_time += tp.tv_usec * 10;
|
/osnet-11/usr/src/lib/libpp/common/ |
H A D | ppcall.c | 59 struct pptuple* tp; local 101 if (tp = mac->tuple) 129 if (streq(pp.token, tp->token)) 131 if (!(tp = tp->match)) 133 if (!tp->nomatch) 138 PUSH_TUPLE(sym, tp->token); 143 else if (!(tp = tp->nomatch)) 146 if (!tp) [all...] |
/osnet-11/usr/src/lib/libshell/common/bltins/ |
H A D | ulimit.c | 53 register const Limit_t* tp; local 55 for (tp = shtab_limits; tp->option; tp++) 57 sfprintf(sp, "[%c=%d:%s?The %s", tp->option, tp - shtab_limits + 1, tp->name, tp->description); 58 if(tp->type != LIM_COUNT) 59 sfprintf(sp, " in %ss", e_units[tp 77 const Limit_t* tp; local [all...] |
/osnet-11/usr/src/lib/libcmd/common/ |
H A D | tee.c | 94 tee_cleanup(register Tee_t* tp) argument 99 if (tp) 102 if (tp->line >= 0) 103 sfset(sfstdout, SF_LINE, tp->line); 104 for (hp = tp->fd; (n = *hp) >= 0; hp++) 112 register Tee_t* tp = 0; local 120 if (context && (tp = (Tee_t*)sh_context(context)->data)) 123 tee_cleanup(tp); 170 if (tp = (Tee_t*)stakalloc(sizeof(Tee_t) + argc * sizeof(int))) 172 memset(&tp [all...] |
/osnet-11/usr/src/lib/libipmi/common/ |
H A D | ipmi_sel.c | 123 ipmi_sel_get_time(ipmi_handle_t *ihp, uint32_t *tp) argument 139 *tp = LE_IN32(rsp->ic_data);
|
/osnet-11/usr/src/lib/libc/port/rt/ |
H A D | clock_timer.c | 70 clock_gettime(clockid_t clock_id, timespec_t *tp) argument 72 return (__clock_gettime(clock_id, tp)); 76 clock_settime(clockid_t clock_id, const timespec_t *tp) argument 78 return (__clock_settime(clock_id, tp));
|