Home
last modified time | relevance | path

Searched refs:src (Results 1 – 25 of 50) sorted by relevance

12

/bionic/libm/
DAndroid.mk10 src/e_acos.c \
11 src/e_acosf.c \
12 src/e_acosh.c \
13 src/e_acoshf.c \
14 src/e_asin.c \
15 src/e_asinf.c \
16 src/e_atan2.c \
17 src/e_atan2f.c \
18 src/e_atanh.c \
19 src/e_atanhf.c \
[all …]
/bionic/libc/netbsd/nameser/
Dns_netint.c36 ns_get16(const u_char *src) { in ns_get16() argument
39 NS_GET16(dst, src); in ns_get16()
44 ns_get32(const u_char *src) { in ns_get32() argument
47 NS_GET32(dst, src); in ns_get32()
52 ns_put16(u_int16_t src, u_char *dst) { in ns_put16() argument
53 NS_PUT16(src, dst); in ns_put16()
57 ns_put32(u_int32_t src, u_char *dst) { in ns_put32() argument
58 NS_PUT32(src, dst); in ns_put32()
Dns_ttl.c55 ns_format_ttl(u_long src, char *dst, size_t dstlen) { in ns_format_ttl() argument
60 secs = src % 60; src /= 60; in ns_format_ttl()
61 mins = src % 60; src /= 60; in ns_format_ttl()
62 hours = src % 24; src /= 24; in ns_format_ttl()
63 days = src % 7; src /= 7; in ns_format_ttl()
64 weeks = src; src = 0; in ns_format_ttl()
101 ns_parse_ttl(const char *src, u_long *dst) { in ns_parse_ttl() argument
109 while ((ch = *src++) != '\0') { in ns_parse_ttl()
/bionic/libc/string/
Dbcopy.c64 const char *src = src0; in memcpy() local
67 if (length == 0 || dst == src) /* nothing to do */ in memcpy()
76 if ((unsigned long)dst < (unsigned long)src) { in memcpy()
80 t = (long)src; /* only need low bits */ in memcpy()
91 TLOOP1(*dst++ = *src++); in memcpy()
97 TLOOP(*(word *)dst = *(word *)src; src += wsize; dst += wsize); in memcpy()
99 TLOOP(*dst++ = *src++); in memcpy()
106 src += length; in memcpy()
108 t = (long)src; in memcpy()
115 TLOOP1(*--dst = *--src); in memcpy()
[all …]
Dstrlcpy.c28 strlcpy(char *dst, const char *src, size_t siz) in strlcpy() argument
31 const char *s = src; in strlcpy()
50 return(s - src - 1); /* count does not include NUL */ in strlcpy()
Dstrlcat.c30 strlcat(char *dst, const char *src, size_t siz) in strlcat() argument
33 const char *s = src; in strlcat()
54 return(dlen + (s - src)); /* count does not include NUL */ in strlcat()
Dstrncat.c41 strncat(char *dst, const char *src, size_t n) in strncat() argument
45 const char *s = src; in strncat()
Dstrncpy.c46 strncpy(char *dst, const char *src, size_t n) in strncpy() argument
50 const char *s = src; in strncpy()
Dmemmove.c30 void *memmove(void *dst, const void *src, size_t n) in memmove() argument
32 const char *p = src; in memmove()
38 return memcpy(dst, src, n); in memmove()
Dmemccpy.c31 void *memccpy(void *dst, const void *src, int c, size_t n) in memccpy() argument
34 const char* p = src; in memccpy()
/bionic/libc/arch-arm/bionic/
Deabi.c66 void __aeabi_memcpy8(void *dest, const void *src, size_t n) { in __aeabi_memcpy8() argument
67 memcpy(dest, src, n); in __aeabi_memcpy8()
70 void __aeabi_memcpy4(void *dest, const void *src, size_t n) { in __aeabi_memcpy4() argument
71 memcpy(dest, src, n); in __aeabi_memcpy4()
74 void __aeabi_memcpy(void *dest, const void *src, size_t n) { in __aeabi_memcpy() argument
75 memcpy(dest, src, n); in __aeabi_memcpy()
79 void __aeabi_memmove8(void *dest, const void *src, size_t n) { in __aeabi_memmove8() argument
80 memmove(dest, src, n); in __aeabi_memmove8()
83 void __aeabi_memmove4(void *dest, const void *src, size_t n) { in __aeabi_memmove4() argument
84 memmove(dest, src, n); in __aeabi_memmove4()
[all …]
/bionic/libstdc++/
DAndroid.mk16 src/one_time_construction.cpp \
17 src/new.cpp \
18 src/pure_virtual.cpp \
19 src/typeinfo.cpp
32 src/one_time_construction.cpp \
33 src/new.cpp \
34 src/pure_virtual.cpp \
35 src/typeinfo.cpp
/bionic/libc/wchar/
Dwcsxfrm.c35 wcsxfrm(wchar_t * __restrict dest, const wchar_t * __restrict src, size_t len) in wcsxfrm() argument
41 if (*src == L'\0') { in wcsxfrm()
47 slen = wcslen(src); in wcsxfrm()
50 wcscpy(dest, src); in wcsxfrm()
52 wcsncpy(dest, src, len - 1); in wcsxfrm()
Dwcpncpy.c33 wcpncpy(wchar_t * __restrict dst, const wchar_t * __restrict src, size_t n) in wcpncpy() argument
36 for (; n--; dst++, src++) { in wcpncpy()
37 if (!(*dst = *src)) { in wcpncpy()
Dwcslcpy.c47 wcslcpy(wchar_t *dst, const wchar_t *src, size_t siz) in wcslcpy() argument
50 const wchar_t *s = src; in wcslcpy()
69 return(s - src - 1); /* count does not include NUL */ in wcslcpy()
Dwcslcat.c49 wcslcat(wchar_t *dst, const wchar_t *src, size_t siz) in wcslcat() argument
52 const wchar_t *s = src; in wcslcat()
73 return(dlen + (s - src)); /* count does not include NUL */ in wcslcat()
Dwcsncpy.c48 wcsncpy(wchar_t * __restrict dst, const wchar_t * __restrict src, size_t n) in wcsncpy() argument
52 const wchar_t *s = src; in wcsncpy()
/bionic/libc/inet/
Dinet_pton.c33 static int inet_pton4(const char *src, u_char *dst);
34 static int inet_pton6(const char *src, u_char *dst);
48 inet_pton(int af, const char *src, void *dst) in inet_pton() argument
52 return (inet_pton4(src, dst)); in inet_pton()
54 return (inet_pton6(src, dst)); in inet_pton()
73 inet_pton4(const char *src, u_char *dst) in inet_pton4() argument
82 while ((ch = *src++) != '\0') { in inet_pton4()
125 inet_pton6(const char *src, u_char *dst) in inet_pton6() argument
138 if (*src == ':') in inet_pton6()
139 if (*++src != ':') in inet_pton6()
[all …]
Dinet_ntop.c34 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);
46 inet_ntop(int af, const void *src, char *dst, size_t size) in inet_ntop() argument
50 return (inet_ntop4(src, dst, size)); in inet_ntop()
52 return (inet_ntop6(src, dst, size)); in inet_ntop()
72 inet_ntop4(const u_char *src, char *dst, size_t size) in inet_ntop4() argument
78 l = snprintf(tmp, size, fmt, src[0], src[1], src[2], src[3]); in inet_ntop4()
94 inet_ntop6(const u_char *src, char *dst, size_t size) in inet_ntop6() argument
117 words[i / 2] |= (src[i] << ((1 - (i % 2)) << 3)); in inet_ntop6()
168 if (!inet_ntop4(src+12, tp, (size_t)(ep - tp))) in inet_ntop6()
/bionic/libc/kernel/common/linux/
Dnodemask.h32 #define nodes_complement(dst, src) __nodes_complement(&(dst), &(src), MAX_NUMNODES) argument
36 #define nodes_empty(src) __nodes_empty(&(src), MAX_NUMNODES) argument
39 #define nodes_shift_right(dst, src, n) __nodes_shift_right(&(dst), &(src), (n), MAX_NUMNODES) argument
40 #define nodes_shift_left(dst, src, n) __nodes_shift_left(&(dst), &(src), (n), MAX_NUMNODES) argument
41 #define first_node(src) __first_node(&(src)) argument
42 #define next_node(n, src) __next_node((n), &(src)) argument
52 #define nodes_addr(src) ((src).bits) argument
53 #define nodemask_scnprintf(buf, len, src) __nodemask_scnprintf((buf), (len), &(src), MAX_NUMNODES) argument
55 #define nodelist_scnprintf(buf, len, src) __nodelist_scnprintf((buf), (len), &(src), MAX_NUMNODES) argument
58 #define nodes_remap(dst, src, old, new) __nodes_remap(&(dst), &(src), &(old), &(new), MAX_NUMNODE… argument
Dcpumask.h31 #define cpus_complement(dst, src) __cpus_complement(&(dst), &(src), NR_CPUS) argument
35 #define cpus_empty(src) __cpus_empty(&(src), NR_CPUS) argument
38 #define cpus_shift_right(dst, src, n) __cpus_shift_right(&(dst), &(src), (n), NR_CPUS) argument
39 #define cpus_shift_left(dst, src, n) __cpus_shift_left(&(dst), &(src), (n), NR_CPUS) argument
40 #define first_cpu(src) 0 argument
41 #define next_cpu(n, src) 1 argument
51 #define cpus_addr(src) ((src).bits) argument
52 #define cpumask_scnprintf(buf, len, src) __cpumask_scnprintf((buf), (len), &(src), NR_CPUS) argument
54 #define cpulist_scnprintf(buf, len, src) __cpulist_scnprintf((buf), (len), &(src), NR_CPUS) argument
57 #define cpus_remap(dst, src, old, new) __cpus_remap(&(dst), &(src), &(old), &(new), NR_CPUS) argument
/bionic/libc/netbsd/net/
Dbase64.c137 b64_ntop(src, srclength, target, targsize) in b64_ntop() argument
138 u_char const *src; in b64_ntop()
148 assert(src != NULL);
152 input[0] = *src++;
153 input[1] = *src++;
154 input[2] = *src++;
181 input[i] = *src++;
215 b64_pton(src, target, targsize) in b64_pton() argument
216 char const *src; in b64_pton()
224 assert(src != NULL);
[all …]
/bionic/libc/netbsd/resolv/
Dres_comp.c104 dn_expand(const u_char *msg, const u_char *eom, const u_char *src, in dn_expand() argument
107 int n = ns_name_uncompress(msg, eom, src, dst, (size_t)dstsiz); in dn_expand()
120 dn_comp(const char *src, u_char *dst, int dstsiz, in dn_comp() argument
123 return (ns_name_compress(src, dst, (size_t)dstsiz, in dn_comp()
260 void __putlong(u_int32_t src, u_char *dst) { ns_put32(src, dst); } in __putlong() argument
261 void __putshort(u_int16_t src, u_char *dst) { ns_put16(src, dst); } in __putshort() argument
263 u_int32_t _getlong(const u_char *src) { return (ns_get32(src)); } in _getlong() argument
264 u_int16_t _getshort(const u_char *src) { return (ns_get16(src)); } in _getshort() argument
/bionic/libc/kernel/arch-x86/asm/
Dcacheflush.h31 #define copy_to_user_page(vma, page, vaddr, dst, src, len) memcpy(dst, src, len) argument
32 #define copy_from_user_page(vma, page, vaddr, dst, src, len) memcpy(dst, src, len) argument
/bionic/libc/bionic/
Dtime64.c367 void copy_tm_to_TM(const struct tm *src, struct TM *dest) { in copy_tm_to_TM() argument
368 if( src == NULL ) { in copy_tm_to_TM()
373 dest->tm_sec = src->tm_sec; in copy_tm_to_TM()
374 dest->tm_min = src->tm_min; in copy_tm_to_TM()
375 dest->tm_hour = src->tm_hour; in copy_tm_to_TM()
376 dest->tm_mday = src->tm_mday; in copy_tm_to_TM()
377 dest->tm_mon = src->tm_mon; in copy_tm_to_TM()
378 dest->tm_year = (Year)src->tm_year; in copy_tm_to_TM()
379 dest->tm_wday = src->tm_wday; in copy_tm_to_TM()
380 dest->tm_yday = src->tm_yday; in copy_tm_to_TM()
[all …]

12