Home
last modified time | relevance | path

Searched refs:tp (Results 1 – 9 of 9) sorted by relevance

/bionic/libc/upstream-openbsd/lib/libc/net/
Dinet_pton.c77 u_char tmp[INADDRSZ], *tp; in inet_pton4() local
81 *(tp = tmp) = 0; in inet_pton4()
86 u_int new = *tp * 10 + (pch - digits); in inet_pton4()
95 *tp = new; in inet_pton4()
99 *++tp = 0; in inet_pton4()
128 u_char tmp[IN6ADDRSZ], *tp, *endp, *colonp; in inet_pton6() local
133 memset((tp = tmp), '\0', IN6ADDRSZ); in inet_pton6()
134 endp = tp + IN6ADDRSZ; in inet_pton6()
164 colonp = tp; in inet_pton6()
169 if (tp + INT16SZ > endp) in inet_pton6()
[all …]
Dinet_ntop.c104 char *tp, *ep; in inet_ntop6() local
144 tp = tmp; in inet_ntop6()
146 for (i = 0; i < (IN6ADDRSZ / INT16SZ) && tp < ep; i++) { in inet_ntop6()
151 if (tp + 1 >= ep) { in inet_ntop6()
155 *tp++ = ':'; in inet_ntop6()
161 if (tp + 1 >= ep) { in inet_ntop6()
165 *tp++ = ':'; in inet_ntop6()
170 if (!inet_ntop4(src+12, tp, ep - tp)) in inet_ntop6()
172 tp += strlen(tp); in inet_ntop6()
175 advance = snprintf(tp, ep - tp, "%x", words[i]); in inet_ntop6()
[all …]
/bionic/libc/kernel/uapi/linux/
Datmsvc.h55 #define SELECT_TOP_PCR(tp) ((tp).pcr ? (tp).pcr : (tp).max_pcr && (tp).max_pcr != ATM_MAX_PCR ? (tp argument
Dcan.h76 } tp; member
Dtcp.h44 #define tcp_flag_word(tp) (((union tcp_word_hdr *) (tp))->words[3]) argument
/bionic/libc/upstream-openbsd/lib/libc/string/
Dmemccpy.c39 unsigned char *tp = t; in memccpy() local
43 if ((*tp++ = *fp++) == uc) in memccpy()
44 return (tp); in memccpy()
/bionic/libc/bionic/
Dvdso.cpp36 int clock_gettime(int clock_id, timespec* tp) { in clock_gettime() argument
40 return vdso_return(vdso_clock_gettime(clock_id, tp)); in clock_gettime()
42 return __clock_gettime(clock_id, tp); in clock_gettime()
45 int clock_getres(int clock_id, timespec* tp) { in clock_getres() argument
49 return vdso_return(vdso_clock_getres(clock_id, tp)); in clock_getres()
51 return __clock_getres(clock_id, tp); in clock_getres()
/bionic/libc/dns/nameser/
Dns_name.c1049 unsigned char *tp; in encode_bitsring() local
1067 for (tp = *dst + 1; cp < end && tp < eom; cp++) { in encode_bitsring()
1078 *tp++ = ((value << 4) & 0xff); in encode_bitsring()
1106 *tp++ = value; in encode_bitsring()
1114 if (cp >= end || tp >= eom) in encode_bitsring()
1144 *dst = tp; in encode_bitsring()
/bionic/libc/tzcode/
Dlocaltime.c1777 increment_overflow_time(time_t *tp, int_fast32_t j) in increment_overflow_time() argument
1785 ? (TYPE_SIGNED(time_t) ? time_t_min - j <= *tp : -1 - j < *tp) in increment_overflow_time()
1786 : *tp <= time_t_max - j)) in increment_overflow_time()
1788 *tp += j; in increment_overflow_time()