Searched refs:strdup (Results 1 – 24 of 24) sorted by relevance
/bionic/libc/upstream-openbsd/lib/libc/string/ |
D | strdup.c | 39 strdup(const char *str) in strdup() function
|
/bionic/libc/bionic/ |
D | getcwd.cpp | 72 buf = strdup(allocated_buf); in getcwd()
|
D | system_properties.cpp | 698 : next(next), context_(strdup(context)), pa_(pa), no_access_(false) { in context_node() 730 : prefix(strdup(prefix)), prefix_len(strlen(prefix)), context(context), next(next) { in prefix_node()
|
/bionic/tests/ |
D | libgen_basename_test.cpp | 52 char* writable_in = (in != NULL) ? strdup(in) : NULL; in __TestPosixBasename()
|
D | libgen_test.cpp | 23 char* writable_in = (in != NULL) ? strdup(in) : NULL; in TestDirname()
|
D | fortify_test.cpp | 177 char* src = strdup(""); in TEST_F() 193 char* src = strdup(""); in TEST_F() 209 char* src = strdup("1"); in TEST_F() 225 char* src = strdup("12"); in TEST_F() 364 char *orig = strdup("0123456789"); in TEST_F() 376 char *orig = strdup(""); in TEST_F() 388 char *orig = strdup("1"); in TEST_F() 400 char *orig = strdup("12"); in TEST_F()
|
D | search_test.cpp | 52 explicit node(const char* s) : s(strdup(s)) {} in node()
|
D | string_test.cpp | 278 char* orig = strdup(""); in TEST() 287 char* orig = strdup("12345"); in TEST() 301 char* orig = strdup("123456789"); in TEST() 311 char* orig = strdup(""); in TEST() 320 char* orig = strdup("12345"); in TEST() 334 char* orig = strdup("123456789"); in TEST()
|
D | gtest_main.cpp | 1000 args[0] = strdup(g_executable_path.c_str()); in AddPathSeparatorInTestProgramPath() 1076 args.push_back(strdup(gtest_filter_str.c_str())); in PickOptions() 1184 args.insert(args.begin() + 1, strdup("--no-isolate")); in PickOptions()
|
D | unistd_test.cpp | 330 char* s1 = strdup("a=b"); in TEST() 337 char* s2 = strdup("a=b"); in TEST() 357 old_environ.push_back(strdup(environ[i])); in TEST()
|
/bionic/tools/versioner/src/ |
D | Utils.h | 33 std::unique_ptr<char, decltype(&free)> path_copy(strdup(path.c_str()), free); in dirname()
|
/bionic/libc/dns/resolv/ |
D | res_debug.c | 1105 sizestr = strdup(precsize_ntoa((u_int32_t)sizeval)); in loc_ntoa() 1106 hpstr = strdup(precsize_ntoa((u_int32_t)hpval)); in loc_ntoa() 1107 vpstr = strdup(precsize_ntoa((u_int32_t)vpval)); in loc_ntoa()
|
D | res_cache.c | 2006 cache_info->nameservers[i] = strdup(servers[i]); in _resolv_set_nameservers_for_net()
|
/bionic/libc/include/ |
D | string.h | 92 char* strdup(const char* _Nonnull);
|
/bionic/libc/tools/ |
D | posix-2013.txt | 999 strdup
|
/bionic/libc/dns/net/ |
D | getaddrinfo.c | 1047 hostname2 = strdup(hostname); in explore_numeric_scope() 1086 ai->ai_canonname = strdup(str); in get_canonname()
|
/bionic/libc/ |
D | libc.mips64.map | 922 strdup;
|
D | libc.x86_64.map | 922 strdup;
|
D | libc.arm64.map | 922 strdup;
|
D | libc.x86.map | 977 strdup;
|
D | libc.mips.map | 979 strdup;
|
D | libc.arm.map | 981 strdup;
|
D | libc.map.txt | 1006 strdup;
|
D | Android.bp | 486 "upstream-openbsd/lib/libc/string/strdup.c",
|