Home
last modified time | relevance | path

Searched refs:tp (Results 1 – 10 of 10) 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, (size_t)(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.h64 #define SELECT_TOP_PCR(tp) ((tp).pcr ? (tp).pcr : (tp).max_pcr && (tp).max_pcr != ATM_MAX_PCR ? (tp argument
Dcan.h80 } tp; member
Dtcp.h50 #define tcp_flag_word(tp) (((union tcp_word_hdr *) (tp))->words[3]) argument
/bionic/libc/upstream-netbsd/lib/libc/string/
Dmemccpy.c52 unsigned char *tp = t; in memccpy() local
56 if ((*tp++ = *fp++) == uc) in memccpy()
57 return (tp); in memccpy()
/bionic/libc/bionic/
Dvdso.cpp54 int clock_gettime(int clock_id, timespec* tp) { in clock_gettime() argument
57 return vdso_clock_gettime(clock_id, tp); in clock_gettime()
/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.c1657 increment_overflow_time(time_t *tp, int_fast32_t j) in increment_overflow_time() argument
1665 ? (TYPE_SIGNED(time_t) ? time_t_min - j <= *tp : -1 - j < *tp) in increment_overflow_time()
1666 : *tp <= time_t_max - j)) in increment_overflow_time()
1668 *tp += j; in increment_overflow_time()
/bionic/libc/upstream-dlmalloc/
Dmalloc.c4287 tchunkptr tp = (tchunkptr)p; in release_unused_segments() local
4294 unlink_large_chunk(m, tp); in release_unused_segments()
4304 insert_large_chunk(m, tp, psize); in release_unused_segments()
4795 tchunkptr tp = (tchunkptr)p; in dlfree() local
4796 insert_large_chunk(fm, tp, psize); in dlfree()
5731 tchunkptr tp = (tchunkptr)p; in mspace_free() local
5732 insert_large_chunk(fm, tp, psize); in mspace_free()