Home
last modified time | relevance | path

Searched refs:copy (Results 1 – 25 of 37) 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.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/bionic/
Dscandir.cpp63 dirent* copy = CopyDirent(entry); in Add() local
64 if (copy == nullptr) { in Add()
67 names_[size_++] = copy; in Add()
87 dirent* copy = reinterpret_cast<dirent*>(malloc(size)); in CopyDirent() local
88 memcpy(copy, original, original->d_reclen); in CopyDirent()
89 return copy; in CopyDirent()
/bionic/libdl/
DNOTICE5 You may obtain a copy of the License at
21 You may obtain a copy of the License at
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.bp66 // we use this property to make sure libc.so has its own copy of the code from
166 // we use this property to make sure libc.so has its own copy of the code from
/bionic/tools/
DNOTICE5 You may obtain a copy of the License at
21 You may obtain a copy of the License at
/bionic/libc/kernel/tools/
Dkernel.py135 macros = kernel_known_macros.copy()
156 return self.headers.copy()
160 return self.files.copy()
333 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/libstdc++/
DNOTICE5 You may obtain a copy of the License at
/bionic/benchmarks/
DNOTICE5 You may obtain a copy of the License at
21 You may obtain a copy of the License at
37 You may obtain a copy of the License at
53 You may obtain a copy of the License at
69 You may obtain a copy of the License at
113 You may obtain a copy of the License at
DAndroid.bp6 // You may obtain a copy of the License at
/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()
DNOTICE5 You may obtain a copy of the License at
21 You may obtain a copy of the License at
65 You may obtain a copy of the License at
81 You may obtain a copy of the License at
125 You may obtain a copy of the License at
169 You may obtain a copy of the License at
213 You may obtain a copy of the License at
257 You may obtain a copy of the License at
301 You may obtain a copy of the License at
345 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/kernel/uapi/linux/
Duserfaultfd.h113 __s64 copy; member
Dcdrom.h579 __u8 copy : 1; member
591 __u8 copy : 1; member
/bionic/libstdc++/include/
Dnew6 * You may obtain a copy of the License at
/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/linker_relocation/
DAndroid.bp37 // TODO: This benchmark doesn't work with TradeFed/atest because it doesn't copy its test libraries
/bionic/libm/
DNOTICE5 Permission to use, copy, modify, and distribute this
15 Permission to use, copy, modify, and distribute this
28 Permission to use, copy, modify, and distribute this
41 Permission to use, copy, modify, and distribute this
55 Permission to use, copy, modify, and distribute this
65 Permission to use, copy, modify, and distribute this
78 Permission to use, copy, modify, and distribute this
92 Permission to use, copy, modify, and distribute this
103 Permission to use, copy, modify, and distribute this
117 Permission to use, copy, modify, and distribute this
[all …]

12