Searched defs:copy (Results 1 - 7 of 7) sorted by relevance

/bionic/libc/upstream-freebsd/lib/libc/string/
H A Dwcsdup.c36 wchar_t *copy; local
40 if ((copy = malloc(len * sizeof(wchar_t))) == NULL)
42 return (wmemcpy(copy, s, len));
/bionic/libc/upstream-openbsd/lib/libc/string/
H A Dstrdup.c42 char *copy; local
45 if ((copy = malloc(siz)) == NULL)
47 (void)memcpy(copy, str, siz);
48 return(copy);
H A Dstrndup.c6 * Permission to use, copy, modify, and distribute this software for any
28 char *copy; local
32 copy = malloc(len + 1);
33 if (copy != NULL) {
34 (void)memcpy(copy, str, len);
35 copy[len] = '\0';
38 return copy;
/bionic/libc/bionic/
H A Dscandir.cpp6 * You may obtain a copy of the License at
60 dirent* copy = CopyDirent(entry); local
61 if (copy == NULL) {
64 names_[size_++] = copy;
83 dirent* copy = (dirent*) malloc(size); local
84 memcpy(copy, original, original->d_reclen);
85 return copy;
/bionic/libc/kernel/uapi/linux/
H A Dsom.h85 unsigned int copy :1; member in struct:aux_id
H A Dcdrom.h732 __u8 copy : 1; member in struct:__anon231
747 __u8 copy : 1; member in struct:__anon231
/bionic/libc/upstream-netbsd/lib/libc/regex/
H A Dregcomp.c1144 sopno copy; local
1184 copy = dupl(p, start+1, finish+1);
1185 assert(copy == finish+4);
1186 repeat(p, copy, 1, to-1, reclimit);
1193 copy = dupl(p, start, finish);
1194 repeat(p, copy, from-1, to-1, reclimit);
1197 copy = dupl(p, start, finish);
1198 repeat(p, copy, from-1, to, reclimit);

Completed in 102 milliseconds