Home
last modified time | relevance | path

Searched refs:copy (Results 1 – 25 of 28) sorted by relevance

12

/bionic/libc/upstream-openbsd/lib/libc/string/
Dstrndup.c28 char *copy; in strndup() local
32 copy = malloc(len + 1); in strndup()
33 if (copy != NULL) { in strndup()
34 (void)memcpy(copy, str, len); in strndup()
35 copy[len] = '\0'; in strndup()
38 return copy; in strndup()
Dstrdup.c42 char *copy; in strdup() local
45 if ((copy = malloc(siz)) == NULL) in strdup()
47 (void)memcpy(copy, str, siz); in strdup()
48 return(copy); in strdup()
/bionic/libc/upstream-freebsd/lib/libc/string/
Dwcsdup.c36 wchar_t *copy; in wcsdup() local
40 if ((copy = malloc(len * sizeof(wchar_t))) == NULL) in wcsdup()
42 return (wmemcpy(copy, s, len)); in wcsdup()
/bionic/libc/bionic/
Dscandir.cpp64 dirent* copy = CopyDirent(entry); in Add() local
65 if (copy == nullptr) { in Add()
68 names_[size_++] = copy; in Add()
88 dirent* copy = reinterpret_cast<dirent*>(malloc(size)); in CopyDirent() local
89 memcpy(copy, original, original->d_reclen); in CopyDirent()
90 return copy; in CopyDirent()
/bionic/libc/kernel/tools/
Dkernel.py135 macros = kernel_known_macros.copy()
156 return self.headers.copy()
160 return self.files.copy()
334 return self.items.copy()
Dclean_header.py108 macros = kernel_known_macros.copy()
/bionic/tests/
Ddlfcn_symlink_support.cpp66 std::copy(source_file_path.begin(), source_file_path.end(), std::back_inserter(buf)); in create_dlfcn_test_symlink()
Difaddrs_test.cpp117 if_name.copy(ifr.ifr_name, IFNAMSIZ - 1); in CheckAddressIsInSet()
DAndroid.bp6 // You may obtain a copy of the License at
/bionic/libdl/
Dlibdl_android.map.txt6 # You may obtain a copy of the License at
Dlibdl.map.txt6 # You may obtain a copy of the License at
DAndroid.bp43 // we use this property to make sure libc.so has its own copy of the code from
124 // we use this property to make sure libc.so has its own copy of the code from
/bionic/libc/upstream-freebsd/lib/libc/gen/
Dglob.c855 char *copy; in globextend() local
879 copy = strdup(origpat); in globextend()
884 if ((copy = malloc(len)) != NULL) { in globextend()
885 if (g_Ctoc(path, copy, len)) { in globextend()
886 free(copy); in globextend()
892 if (copy != NULL) { in globextend()
893 limit->l_string_cnt += strlen(copy) + 1; in globextend()
896 free(copy); in globextend()
900 pathv[pglob->gl_offs + pglob->gl_pathc++] = copy; in globextend()
903 return (copy == NULL ? GLOB_NOSPACE : 0); in globextend()
/bionic/tests/headers/posix/
DAndroid.bp6 // You may obtain a copy of the License at
/bionic/libc/arch-mips64/bionic/
D__bionic_clone.S58 PTR_L $t0,FRAME_GP($sp) # copy gp to child stack
/bionic/libc/kernel/android/
DREADME.TXT11 maintainers manually copy-and-pasted these definitions into their own
/bionic/libc/bionic/scudo/
DAndroid.bp6 // You may obtain a copy of the License at
/bionic/libc/kernel/uapi/linux/
Duserfaultfd.h110 __s64 copy; member
Dcdrom.h576 __u8 copy : 1; member
588 __u8 copy : 1; member
/bionic/libc/upstream-netbsd/lib/libc/regex/
Dregcomp.c1147 sopno copy; in repeat() local
1187 copy = dupl(p, start+1, finish+1); in repeat()
1188 assert(copy == finish+4); in repeat()
1189 repeat(p, copy, 1, to-1, reclimit); in repeat()
1196 copy = dupl(p, start, finish); in repeat()
1197 repeat(p, copy, from-1, to-1, reclimit); in repeat()
1200 copy = dupl(p, start, finish); in repeat()
1201 repeat(p, copy, from-1, to, reclimit); in repeat()
/bionic/benchmarks/
DAndroid.bp6 // You may obtain a copy of the License at
/bionic/libc/kernel/
DREADME.TXT78 Next, run this command to copy the parsed files to bionic/libc/kernel/uapi:
/bionic/libc/
DNOTICE117 Permission to use, copy, modify, and distribute this
127 Permission to use, copy, modify, and distribute this
140 Permission to use, copy, modify, and distribute this
153 Permission to use, copy, modify, and distribute this
167 Permission to use, copy, modify, and distribute this
177 Permission to use, copy, modify, and distribute this
190 Permission to use, copy, modify, and distribute this
204 Permission to use, copy, modify, and distribute this
215 Permission to use, copy, modify, and distribute this
229 Permission to use, copy, modify, and distribute this
[all …]
/bionic/linker/
DAndroid.bp315 // we use this property to make sure libc.so has its own copy of the code from
/bionic/docs/
Dfdsan.md276 unique_fd(const unique_fd& copy) = delete;
285 unique_fd& operator=(const unique_fd& copy) = delete;

12