Home
last modified time | relevance | path

Searched refs:copy (Results 1 – 25 of 29) 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/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/upstream-freebsd/lib/libc/string/
Dwcsdup.c38 wchar_t *copy; in wcsdup() local
42 if ((copy = malloc(len * sizeof(wchar_t))) == NULL) in wcsdup()
44 return (wmemcpy(copy, s, len)); in wcsdup()
/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/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/
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()
/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.bp49 // we use this property to make sure libc.so has its own copy of the code from
141 // we use this property to make sure libc.so has its own copy of the code from
DNOTICE96 Derivative Works a copy of this License; and
109 include a readable copy of the attribution notices contained
194 You may obtain a copy of the License at
/bionic/tests/headers/posix/
DAndroid.bp6 // You may obtain a copy of the License at
/bionic/libc/kernel/android/
DREADME.md11 maintainers manually copy-and-pasted these definitions into their own
/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/libc/kernel/uapi/linux/
Duserfaultfd.h113 __s64 copy; member
Dcdrom.h576 __u8 copy : 1; member
588 __u8 copy : 1; member
/bionic/benchmarks/
DAndroid.bp6 // You may obtain a copy of the License at
/bionic/benchmarks/linker_relocation/
DAndroid.bp33 // TODO: This benchmark doesn't work with TradeFed/atest because it doesn't copy its test libraries
/bionic/libc/
DNOTICE60 Permission to use, copy, modify, and distribute this
70 Permission to use, copy, modify, and distribute this
83 Permission to use, copy, modify, and distribute this
96 Permission to use, copy, modify, and distribute this
110 Permission to use, copy, modify, and distribute this
120 Permission to use, copy, modify, and distribute this
133 Permission to use, copy, modify, and distribute this
147 Permission to use, copy, modify, and distribute this
158 Permission to use, copy, modify, and distribute this
172 Permission to use, copy, modify, and distribute this
[all …]
/bionic/libc/kernel/
DREADME.md87 Next, run this command to copy the parsed files to bionic/libc/kernel/uapi:
/bionic/docs/
Dfdsan.md276 unique_fd(const unique_fd& copy) = delete;
285 unique_fd& operator=(const unique_fd& copy) = delete;
/bionic/linker/
DAndroid.bp372 // we use this property to make sure libc.so has its own copy of the code from
Dlinker.cpp2434 std::copy(parent_namespace->get_ld_library_paths().begin(), in create_namespace()
2438 std::copy(parent_namespace->get_default_library_paths().begin(), in create_namespace()
2442 std::copy(parent_namespace->get_permitted_paths().begin(), in create_namespace()

12