/bionic/libc/wchar/ |
H A D | wcpncpy.c | 33 wcpncpy(wchar_t * __restrict dst, const wchar_t * __restrict src, size_t n) argument 36 for (; n--; dst++, src++) { 37 if (!(*dst = *src)) { 38 wchar_t *ret = dst; 40 *++dst = L'\0'; 44 return (dst);
|
H A D | wcslcpy.c | 42 * Copy src to string dst of size siz. At most siz-1 characters 47 wcslcpy(wchar_t *dst, const wchar_t *src, size_t siz) argument 49 wchar_t *d = dst; 61 /* Not enough room in dst, add NUL and traverse rest of src */ 64 *d = '\0'; /* NUL-terminate dst */
|
H A D | wcsncpy.c | 44 * Copy src to dst, truncating or null-padding to always copy n bytes. 45 * Return dst. 48 wcsncpy(wchar_t * __restrict dst, const wchar_t * __restrict src, size_t n) argument 51 wchar_t *d = dst; 63 return (dst);
|
H A D | wcslcat.c | 42 * Appends src to string dst of size siz (unlike wcsncat, siz is the 43 * full size of dst, not space left). At most siz-1 characters 45 * Returns wcslen(initial dst) + wcslen(src); if retval >= siz, 49 wcslcat(wchar_t *dst, const wchar_t *src, size_t siz) argument 51 wchar_t *d = dst; 56 /* Find the end of dst and adjust bytes left but don't go past end */ 59 dlen = d - dst;
|
/bionic/libc/arch-mips/bionic/ |
H A D | memmove.c | 31 void *memmove(void *dst, const void *src, size_t n) argument 34 char *q = dst; 39 return memcpy(dst, src, n); 41 bcopy(src, dst, n); 42 return dst;
|
/bionic/libc/netbsd/nameser/ |
H A D | ns_netint.c | 37 u_int dst; local 39 NS_GET16(dst, src); 40 return (dst); 45 u_long dst; local 47 NS_GET32(dst, src); 48 return (dst); 52 ns_put16(u_int16_t src, u_char *dst) { argument 53 NS_PUT16(src, dst); 57 ns_put32(u_int32_t src, u_char *dst) { argument 58 NS_PUT32(src, dst); [all...] |
H A D | ns_samedomain.c | 160 * ns_makecanon(src, dst, dstsize) 171 ns_makecanon(const char *src, char *dst, size_t dstsize) { argument 178 strcpy(dst, src); 179 while (n >= 1U && dst[n - 1] == '.') /* Ends in "." */ 180 if (n >= 2U && dst[n - 2] == '\\' && /* Ends in "\." */ 181 (n < 3U || dst[n - 3] != '\\')) /* But not "\\." */ 184 dst[--n] = '\0'; 185 dst[n++] = '.'; 186 dst[n] = '\0';
|
H A D | ns_ttl.c | 55 ns_format_ttl(u_long src, char *dst, size_t dstlen) { argument 56 char *odst = dst; 68 T(fmt1(weeks, 'W', &dst, &dstlen)); 72 T(fmt1(days, 'D', &dst, &dstlen)); 76 T(fmt1(hours, 'H', &dst, &dstlen)); 80 T(fmt1(mins, 'M', &dst, &dstlen)); 84 T(fmt1(secs, 'S', &dst, &dstlen)); 96 return (dst - odst); 101 ns_parse_ttl(const char *src, u_long *dst) { argument 141 *dst [all...] |
/bionic/libc/string/ |
H A D | memmove.c | 32 void *memmove(void *dst, const void *src, size_t n) argument 35 char *q = dst; 41 return memcpy(dst, src, n); 43 bcopy(src, dst, n); 44 return dst;
|
H A D | memset.c | 31 void* memset(void* dst, int c, size_t n) argument 33 char* q = dst; 43 return dst;
|
H A D | strlcpy.c | 23 * Copy src to string dst of size siz. At most siz-1 characters 28 strlcpy(char *dst, const char *src, size_t siz) argument 30 char *d = dst; 42 /* Not enough room in dst, add NUL and traverse rest of src */ 45 *d = '\0'; /* NUL-terminate dst */
|
H A D | strncat.c | 37 * Concatenate src on the end of dst. At most strlen(dst)+n+1 bytes 38 * are written at dst (at most n+1 bytes being appended). Return dst. 41 strncat(char *dst, const char *src, size_t n) argument 44 char *d = dst; 56 return (dst);
|
H A D | strncpy.c | 42 * Copy src to dst, truncating or null-padding to always copy n bytes. 43 * Return dst. 46 strncpy(char *dst, const char *src, size_t n) argument 49 char *d = dst; 61 return (dst);
|
H A D | memccpy.c | 31 void *memccpy(void *dst, const void *src, int c, size_t n) argument 33 char* q = dst;
|
H A D | strlcat.c | 23 * Appends src to string dst of size siz (unlike strncat, siz is the 24 * full size of dst, not space left). At most siz-1 characters 25 * will be copied. Always NUL terminates (unless siz <= strlen(dst)). 26 * Returns strlen(src) + MIN(siz, strlen(initial dst)). 30 strlcat(char *dst, const char *src, size_t siz) argument 32 char *d = dst; 37 /* Find the end of dst and adjust bytes left but don't go past end */ 40 dlen = d - dst;
|
H A D | bcopy.c | 63 char *dst = dst0; local 67 if (length == 0 || dst == src) /* nothing to do */ 76 if ((unsigned long)dst < (unsigned long)src) { 81 if ((t | (long)dst) & wmask) { 86 if ((t ^ (long)dst) & wmask || length < wsize) 91 TLOOP1(*dst++ = *src++); 97 TLOOP(*(word *)dst = *(word *)src; src += wsize; dst += wsize); 99 TLOOP(*dst++ = *src++); 107 dst [all...] |
/bionic/libc/upstream-netbsd/libc/string/ |
H A D | strxfrm.c | 48 * Transform src, storing the result in dst, such that 53 strxfrm(char *dst, const char *src, size_t n) argument 64 _DIAGASSERT(dst != NULL); 66 (void)memcpy(dst, src, copysize); 67 dst[copysize] = 0;
|
/bionic/libc/kernel/common/linux/netfilter_ipv4/ |
H A D | ipt_iprange.h | 34 struct ipt_iprange dst; member in struct:ipt_iprange_info
|
H A D | ip_conntrack_tuple.h | 85 } dst; member in struct:ip_conntrack_tuple 87 #define IP_CT_TUPLE_U_BLANK(tuple) do { (tuple)->src.u.all = 0; (tuple)->dst.u.all = 0; } while (0)
|
/bionic/libc/inet/ |
H A D | inet_ntop.c | 34 static const char *inet_ntop4(const u_char *src, char *dst, size_t size); 35 static const char *inet_ntop6(const u_char *src, char *dst, size_t size); 38 * inet_ntop(af, src, dst, size) 41 * pointer to presentation format address (`dst'), or NULL (see errno). 46 inet_ntop(int af, const void *src, char *dst, size_t size) argument 50 return (inet_ntop4(src, dst, size)); 52 return (inet_ntop6(src, dst, size)); 61 * inet_ntop4(src, dst, size) 64 * `dst' (as a const) 72 inet_ntop4(const u_char *src, char *dst, size_ argument 99 inet_ntop6(const u_char *src, char *dst, size_t size) argument [all...] |
H A D | inet_pton.c | 61 static int inet_pton4(const char *src, u_char *dst, int pton); 62 static int inet_pton6(const char *src, u_char *dst); 65 * inet_pton(af, src, dst) 70 * 0 if the address wasn't valid (`dst' is untouched in this case) 71 * -1 if some other error occurred (`dst' is untouched in this case, too) 76 inet_pton(int af, const char *src, void *dst) argument 80 _DIAGASSERT(dst != NULL); 84 return (inet_pton4(src, dst, 1)); 86 return (inet_pton6(src, dst)); 95 * inet_pton4(src, dst, pto 106 inet_pton4(const char *src, u_char *dst, int pton) argument 229 inet_pton6(const char *src, u_char *dst) argument [all...] |
/bionic/libc/kernel/common/linux/ |
H A D | msm_rotator.h | 40 struct msmfb_img dst; member in struct:msm_rotator_img_info 55 struct msmfb_data dst; member in struct:msm_rotator_data_info
|
/bionic/libc/kernel/common/linux/netfilter/ |
H A D | xt_conntrack.h | 57 } dst; member in struct:ip_conntrack_old_tuple
|
/bionic/libc/netbsd/resolv/ |
H A D | res_comp.c | 100 * 'dst' is a pointer to a buffer of size 'dstsiz' for the result. 105 char *dst, int dstsiz) 107 int n = ns_name_uncompress(msg, eom, src, dst, (size_t)dstsiz); 109 if (n > 0 && dst[0] == '.') 110 dst[0] = '\0'; 120 dn_comp(const char *src, u_char *dst, int dstsiz, argument 123 return (ns_name_compress(src, dst, (size_t)dstsiz, 260 void __putlong(u_int32_t src, u_char *dst) { ns_put32(src, dst); } argument 261 void __putshort(u_int16_t src, u_char *dst) { ns_put1 argument 104 dn_expand(const u_char *msg, const u_char *eom, const u_char *src, char *dst, int dstsiz) argument [all...] |
H A D | res_query.c | 413 res_hostalias(const res_state statp, const char *name, char *dst, size_t siz) { argument
|