Home
last modified time | relevance | path

Searched refs:dst (Results 1 – 25 of 39) sorted by relevance

12

/bionic/libc/netbsd/nameser/
Dns_netint.c37 u_int dst; in ns_get16() local
39 NS_GET16(dst, src); in ns_get16()
40 return (dst); in ns_get16()
45 u_long dst; in ns_get32() local
47 NS_GET32(dst, src); in ns_get32()
48 return (dst); 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
56 char *odst = dst; in ns_format_ttl()
68 T(fmt1(weeks, 'W', &dst, &dstlen)); in ns_format_ttl()
72 T(fmt1(days, 'D', &dst, &dstlen)); in ns_format_ttl()
76 T(fmt1(hours, 'H', &dst, &dstlen)); in ns_format_ttl()
80 T(fmt1(mins, 'M', &dst, &dstlen)); in ns_format_ttl()
84 T(fmt1(secs, 'S', &dst, &dstlen)); in ns_format_ttl()
96 return (dst - odst); in ns_format_ttl()
101 ns_parse_ttl(const char *src, u_long *dst) { in ns_parse_ttl() argument
141 *dst = ttl; in ns_parse_ttl()
Dns_samedomain.c171 ns_makecanon(const char *src, char *dst, size_t dstsize) { in ns_makecanon() argument
178 strcpy(dst, src); in ns_makecanon()
179 while (n >= 1U && dst[n - 1] == '.') /* Ends in "." */ in ns_makecanon()
180 if (n >= 2U && dst[n - 2] == '\\' && /* Ends in "\." */ in ns_makecanon()
181 (n < 3U || dst[n - 3] != '\\')) /* But not "\\." */ in ns_makecanon()
184 dst[--n] = '\0'; in ns_makecanon()
185 dst[n++] = '.'; in ns_makecanon()
186 dst[n] = '\0'; in ns_makecanon()
Dns_name.c103 ns_name_ntop(const u_char *src, char *dst, size_t dstsiz) in ns_name_ntop() argument
112 dn = dst; in ns_name_ntop()
113 eom = dst + dstsiz; in ns_name_ntop()
121 if (dn != dst) { in ns_name_ntop()
179 if (dn == dst) { in ns_name_ntop()
191 return (dn - dst); in ns_name_ntop()
206 ns_name_pton(const char *src, u_char *dst, size_t dstsiz) in ns_name_pton() argument
213 bp = dst; in ns_name_pton()
214 eom = dst + dstsiz; in ns_name_pton()
284 if ((bp - dst) > MAXCDNAME) { in ns_name_pton()
[all …]
/bionic/libc/string/
Dbcopy.c63 char *dst = dst0; in memcpy() local
67 if (length == 0 || dst == src) /* nothing to do */ in memcpy()
76 if ((unsigned long)dst < (unsigned long)src) { in memcpy()
81 if ((t | (long)dst) & wmask) { in memcpy()
86 if ((t ^ (long)dst) & wmask || length < wsize) 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()
107 dst += length; in memcpy()
109 if ((t | (long)dst) & wmask) { in memcpy()
[all …]
Dmemmove.c31 void *memmove(void *dst, const void *src, size_t n) in memmove() argument
34 char *q = dst; in memmove()
39 return memcpy(dst, src, n); in memmove()
41 bcopy(src, dst, n); in memmove()
42 return dst; in memmove()
Dstrncpy.c46 strncpy(char *dst, const char *src, size_t n) in strncpy() argument
49 char *d = dst; in strncpy()
61 return (dst); in strncpy()
Dstrncat.c41 strncat(char *dst, const char *src, size_t n) in strncat() argument
44 char *d = dst; in strncat()
56 return (dst); in strncat()
Dmemset.c31 void* memset(void* dst, int c, size_t n) in memset() argument
33 char* q = dst; in memset()
43 return dst; in memset()
Dstrlcat.c30 strlcat(char *dst, const char *src, size_t siz) in strlcat() argument
32 char *d = dst; in strlcat()
40 dlen = d - dst; in strlcat()
Dstrlcpy.c28 strlcpy(char *dst, const char *src, size_t siz) in strlcpy() argument
30 char *d = dst; in strlcpy()
Dmemccpy.c31 void *memccpy(void *dst, const void *src, int c, size_t n) in memccpy() argument
33 char* q = dst; in memccpy()
/bionic/libc/wchar/
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()
38 wchar_t *ret = dst; in wcpncpy()
40 *++dst = L'\0'; in wcpncpy()
44 return (dst); in wcpncpy()
Dwcsncpy.c48 wcsncpy(wchar_t * __restrict dst, const wchar_t * __restrict src, size_t n) in wcsncpy() argument
51 wchar_t *d = dst; in wcsncpy()
63 return (dst); in wcsncpy()
Dwcslcat.c49 wcslcat(wchar_t *dst, const wchar_t *src, size_t siz) in wcslcat() argument
51 wchar_t *d = dst; in wcslcat()
59 dlen = d - dst; in wcslcat()
Dwcslcpy.c47 wcslcpy(wchar_t *dst, const wchar_t *src, size_t siz) in wcslcpy() argument
49 wchar_t *d = dst; in wcslcpy()
/bionic/libc/kernel/common/linux/
Dcpumask.h21 #define cpu_set(cpu, dst) __cpu_set((cpu), &(dst)) argument
22 #define cpu_clear(cpu, dst) __cpu_clear((cpu), &(dst)) argument
23 #define cpus_setall(dst) __cpus_setall(&(dst), NR_CPUS) argument
24 #define cpus_clear(dst) __cpus_clear(&(dst), NR_CPUS) argument
27 #define cpus_and(dst, src1, src2) __cpus_and(&(dst), &(src1), &(src2), NR_CPUS) argument
28 #define cpus_or(dst, src1, src2) __cpus_or(&(dst), &(src1), &(src2), NR_CPUS) argument
29 #define cpus_xor(dst, src1, src2) __cpus_xor(&(dst), &(src1), &(src2), NR_CPUS) argument
30 #define cpus_andnot(dst, src1, src2) __cpus_andnot(&(dst), &(src1), &(src2), NR_CPUS) argument
31 #define cpus_complement(dst, src) __cpus_complement(&(dst), &(src), NR_CPUS) argument
38 #define cpus_shift_right(dst, src, n) __cpus_shift_right(&(dst), &(src), (n), NR_CPUS) argument
[all …]
Dnodemask.h22 #define node_set(node, dst) __node_set((node), &(dst)) argument
23 #define node_clear(node, dst) __node_clear((node), &(dst)) argument
24 #define nodes_setall(dst) __nodes_setall(&(dst), MAX_NUMNODES) argument
25 #define nodes_clear(dst) __nodes_clear(&(dst), MAX_NUMNODES) argument
28 #define nodes_and(dst, src1, src2) __nodes_and(&(dst), &(src1), &(src2), MAX_NUMNODES) argument
29 #define nodes_or(dst, src1, src2) __nodes_or(&(dst), &(src1), &(src2), MAX_NUMNODES) argument
30 #define nodes_xor(dst, src1, src2) __nodes_xor(&(dst), &(src1), &(src2), MAX_NUMNODES) argument
31 #define nodes_andnot(dst, src1, src2) __nodes_andnot(&(dst), &(src1), &(src2), MAX_NUMNODES) argument
32 #define nodes_complement(dst, src) __nodes_complement(&(dst), &(src), MAX_NUMNODES) argument
39 #define nodes_shift_right(dst, src, n) __nodes_shift_right(&(dst), &(src), (n), MAX_NUMNODES) argument
[all …]
/bionic/libc/kernel/tools/
Dutils.py318 dst = "%s/%s" % (root,f)
319 self.old_files.add(dst)
321 def editFile(self,dst,data): argument
327 if os.path.exists(dst):
328 f = open(dst, "r")
332 self.old_files.remove(dst)
337 self.new_data[dst] = data
338 self.new_files.add(dst)
347 for dst in self.new_files:
348 if not (dst in self.old_files):
[all …]
/bionic/libc/netbsd/resolv/
Dres_comp.c105 char *dst, int dstsiz) in dn_expand() argument
107 int n = ns_name_uncompress(msg, eom, src, dst, (size_t)dstsiz); in dn_expand()
109 if (n > 0 && dst[0] == '.') in dn_expand()
110 dst[0] = '\0'; 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
/bionic/libc/inet/
Dinet_pton.c61 static int inet_pton4(const char *src, u_char *dst, int pton);
62 static int inet_pton6(const char *src, u_char *dst);
76 inet_pton(int af, const char *src, void *dst) in inet_pton() argument
80 _DIAGASSERT(dst != NULL); in inet_pton()
84 return (inet_pton4(src, dst, 1)); in inet_pton()
86 return (inet_pton6(src, dst)); in inet_pton()
106 inet_pton4(const char *src, u_char *dst, int pton) in inet_pton4() argument
116 _DIAGASSERT(dst != NULL); in inet_pton4()
208 if (dst) { in inet_pton4()
210 memcpy(dst, &val, NS_INADDRSZ); in inet_pton4()
[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
83 strlcpy(dst, tmp, size); in inet_ntop4()
84 return (dst); in inet_ntop4()
94 inet_ntop6(const u_char *src, char *dst, size_t size) in inet_ntop6() argument
195 strlcpy(dst, tmp, size); in inet_ntop6()
[all …]
/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
Dmpspec_32.h33 #define physids_and(dst, src1, src2) bitmap_and((dst).mask, (src1).mask, (src2).mask, MAX_APICS) argument
34 #define physids_or(dst, src1, src2) bitmap_or((dst).mask, (src1).mask, (src2).mask, MAX_APICS) argument
36 #define physids_complement(dst, src) bitmap_complement((dst).mask,(src).mask, MAX_APICS) argument
/bionic/libc/regex/
Dregexec.c74 #define FWD(dst, src, n) ((dst) |= ((unsigned long)(src)&(here)) << (n)) argument
75 #define BACK(dst, src, n) ((dst) |= ((unsigned long)(src)&(here)) >> (n)) argument
123 #define FWD(dst, src, n) ((dst)[here+(n)] |= (src)[here]) argument
124 #define BACK(dst, src, n) ((dst)[here-(n)] |= (src)[here]) argument

12