Searched refs:tp (Results 1 - 25 of 58) sorted by relevance

123

/haiku/src/system/libroot/posix/time/
H A Dstime.c14 stime(const time_t *tp) argument
18 if (tp == NULL) {
23 status = _kern_set_real_time_clock((bigtime_t)*tp * 1000000);
/haiku/src/system/libroot/posix/libstdthreads/
H A Dthrd.c47 struct thrd_param tp; local
49 tp = *(struct thrd_param *)arg;
51 return ((void *)(intptr_t)tp.func(tp.arg));
57 struct thrd_param *tp; local
63 tp = malloc(sizeof(*tp));
64 if (tp == NULL)
66 tp->func = func;
67 tp
[all...]
/haiku/src/add-ons/kernel/network/protocols/ipv6/
H A Dipv6_utils.cpp60 char tmp[INET6_ADDRSTRLEN], *tp; local
102 tp = tmp;
108 *tp++ = ':';
113 *tp++ = ':';
119 if (!inet_ntop4(src+12, tp, sizeof tmp - (tp - tmp)))
121 tp += strlen(tp);
125 tp += SPRINTF((tp, "
[all...]
/haiku/src/system/kernel/util/
H A Dinet_ntop.c122 char tmp[sizeof "ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255"], *tp; local
163 tp = tmp;
169 *tp++ = ':';
174 *tp++ = ':';
179 if (!inet_ntop4(src+12, tp, sizeof tmp - (tp - tmp)))
181 tp += strlen(tp);
184 tp += SPRINTF((tp, "
[all...]
/haiku/src/system/libnetwork/netresolv/inet/
H A Dinet_cidr_pton.c167 u_char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; local
173 memset((tp = tmp), '\0', NS_IN6ADDRSZ);
174 endp = tp + NS_IN6ADDRSZ;
202 colonp = tp;
207 if (tp + NS_INT16SZ > endp)
209 *tp++ = (u_char) (val >> 8) & 0xff;
210 *tp++ = (u_char) val & 0xff;
215 if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) &&
216 inet_cidr_pton_ipv4(curtok, tp, &bits, 1) == 0) {
217 tp
[all...]
H A Dinet_cidr_ntop.c175 char *tp; local
221 tp = tmp;
227 *tp++ = ':';
232 *tp++ = ':';
245 n = decoct(src+12, n, tp, sizeof tmp - (tp - tmp));
250 tp += strlen(tp);
253 tp += SPRINTF((tp, "
[all...]
H A Dinet_net_pton.c279 u_char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; local
289 memset((tp = tmp), '\0', NS_IN6ADDRSZ);
290 endp = tp + NS_IN6ADDRSZ;
320 colonp = tp;
324 if (tp + NS_INT16SZ > endp)
326 *tp++ = (u_char) (val >> 8) & 0xff;
327 *tp++ = (u_char) val & 0xff;
333 if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) &&
334 getv4(curtok, tp, &bits) > 0) {
335 tp
[all...]
/haiku/src/tests/system/libroot/posix/
H A Dtest_time.c28 register struct tm *tp; local
65 tp = localtime(&t);
66 if (tp == NULL)
71 else if (strftime(buf, sizeof(buf), "%a %b %d %X %Z %Y", tp) == 0)
/haiku/src/bin/network/telnetd/
H A Dsys_term.c107 # define cfsetospeed(tp, val) (tp)->sg.sg_ospeed = (val)
108 # define cfsetispeed(tp, val) (tp)->sg.sg_ispeed = (val)
109 # define cfgetospeed(tp) (tp)->sg.sg_ospeed
110 # define cfgetispeed(tp) (tp)->sg.sg_ispeed
129 # define cfsetospeed(tp, val) (tp)
836 struct termspeeds *tp; local
852 struct termspeeds *tp; local
[all...]
/haiku/src/system/libroot/posix/glibc/arch/generic/
H A Dmul.c126 mp_ptr tp = (mp_ptr) TMP_ALLOC (2 * vsize * BYTES_PER_MP_LIMB); local
129 MPN_MUL_N_RECURSE (tp, up, vp, vsize, tspace);
130 cy = mpn_add_n (prodp, prodp, tp, vsize);
131 mpn_add_1 (prodp + vsize, tp + vsize, vsize, cy);
/haiku/src/system/libroot/posix/glibc/arch/ppc/
H A Dmul.c126 mp_ptr tp = (mp_ptr) TMP_ALLOC (2 * vsize * BYTES_PER_MP_LIMB); local
129 MPN_MUL_N_RECURSE (tp, up, vp, vsize, tspace);
130 cy = mpn_add_n (prodp, prodp, tp, vsize);
131 mpn_add_1 (prodp + vsize, tp + vsize, vsize, cy);
/haiku/src/system/boot/platform/efi/arch/riscv64/
H A Darch_traps.h13 uint64 tp; member in struct:iframe
/haiku/src/kits/storage/mime/
H A DTextSnifferAddon.cpp239 my_unichar *tp = ubuf + 1; local
241 while (ISSPC(*tp))
242 ++tp; /* skip leading whitespace */
243 if ((tp[0] == '\\' && tp[1] == '\"') ||
244 (isascii((unsigned char)tp[0]) &&
245 isalnum((unsigned char)tp[0]) &&
246 isascii((unsigned char)tp[1]) &&
247 isalnum((unsigned char)tp[1]) &&
248 ISSPC(tp[
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/
H A Dif_rtwn_tx.c114 const struct ieee80211_txparam *tp = ni->ni_txparms; local
135 rate = tp->mgmtrate;
137 rate = tp->mcastrate;
138 else if (tp->ucastrate != IEEE80211_FIXED_RATE_NONE)
139 rate = tp->ucastrate;
177 rtwn_fill_tx_desc(sc, ni, m, txd, ridx, tp->maxretry);
/haiku/src/bin/network/telnet/
H A Dsys_bsd.c754 struct termspeeds *tp; local
764 tp = termspeeds;
765 while ((tp->speed != -1) && (tp->value < in))
766 tp++;
767 *ispeed = tp->speed;
769 tp = termspeeds;
770 while ((tp->speed != -1) && (tp->value < out))
771 tp
[all...]
/haiku/src/system/kernel/arch/riscv64/
H A Dasm_offsets.cpp50 DEFINE_OFFSET_MACRO(IFRAME, iframe, tp);
H A Darch_traps.S58 ld tp, ARCH_STACK_thread(fp)
75 ld tp, IFRAME_tp(sp)
/haiku/headers/private/kernel/arch/riscv64/
H A Darch_thread_types.h25 uint64 tp; member in struct:iframe
/haiku/src/system/libroot/posix/glibc/stdlib/
H A Dstrtod.c459 const STRING_TYPE *cp, *tp; variable
707 tp = correctly_grouped_prefix (start_of_digits, cp, thousands, grouping);
710 RETURN (0.0, tp == start_of_digits ? (base == 16 ? cp - 1 : nptr) : tp);
747 tp = correctly_grouped_prefix (start_of_digits, cp, thousands, grouping);
748 if (cp != tp)
752 if (tp == start_of_digits)
756 if (tp < startp)
759 RETURN (0.0, tp);
763 cp = tp;
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_rate/amrr/
H A Damrr.c314 const struct ieee80211_txparam *tp = ni->ni_txparms; local
318 if (tp == NULL || tp->ucastrate == IEEE80211_FIXED_RATE_NONE) {
344 for (; srate >= 0 && RATE(srate) != tp->ucastrate; srate--)
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_rate/onoe/
H A Donoe.c289 const struct ieee80211_txparam *tp = ni->ni_txparms; local
293 if (tp == NULL || tp->ucastrate == IEEE80211_FIXED_RATE_NONE) {
319 for (; srate >= 0 && RATE(srate) != tp->ucastrate; srate--)
/haiku/src/system/libroot/posix/glibc/locale/
H A Dlocaleinfo.h207 extern struct era_entry *_nl_get_era_entry (const struct tm *tp);
/haiku/src/system/boot/platform/riscv/
H A Dtraps.cpp23 uint64 tp; member in struct:iframe
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5212/
H A Dar5413.c295 const uint16_t *tp; local
310 for (tp = lp; tp < ep; tp++) {
315 if (*tp == target) {
316 *vlo = *vhi = tp - (const uint16_t *) lp;
323 if (target < tp[1]) {
324 *vlo = tp - (const uint16_t *) lp;
H A Dar5112.c572 uint16_t *tp; local
587 for (tp = lp; tp < ep; tp++) {
592 if (*tp == target) {
593 *vlo = *vhi = tp - lp;
600 if (target < tp[1]) {
601 *vlo = tp - lp;

Completed in 152 milliseconds

123