/third_party/curl/src/ |
H A D | tool_ipfs.c | 178 gateway = strdup(config->ipfs_gateway); in ipfs_url_rewrite() 258 /* we need to strdup the URL so that we can call free() on it later */ in ipfs_url_rewrite() 259 *url = strdup(cloneurl); in ipfs_url_rewrite()
|
H A D | tool_formparse.c | 69 mime_data_copy = strdup(mime_data); in tool_mime_new_data() 91 char *filedup = strdup(filename); in tool_mime_new_filedata() 136 data = strdup(""); in tool_mime_new_filedata() 711 (m)->field = strdup(field); \ 746 contents = strdup(input); in formparse()
|
H A D | tool_strdup.c | 27 char *strdup(const char *str) in strdup() function
|
/third_party/cups-filters/cupsfilters/ |
H A D | colormanager.c | 262 *profile = strdup(icc_profile); in _get_colord_profile() 346 icc_profile = strdup(full_path); in _get_ppd_icc_fallback()
|
/third_party/libsnd/programs/ |
H A D | sndfile-metadata-set.c | 145 info.origination_date = strdup (date) ; in main() 152 info.date = strdup (date) ; in main()
|
/third_party/ltp/lib/ |
H A D | tst_tmpdir.c | 118 ret = strdup(TESTDIR); in tst_get_tmpdir() 120 tst_brkm(TBROK, NULL, "strdup() failed"); in tst_get_tmpdir() 281 if ((TESTDIR = strdup(template)) == NULL) { in tst_tmpdir() 283 "%s: strdup(%s) failed", __func__, template); in tst_tmpdir()
|
/third_party/mesa3d/src/mesa/program/ |
H A D | symbol_table.c | 197 new_sym->name = strdup(name); in _mesa_symbol_table_add_symbol() 269 sym->name = strdup(name); in _mesa_symbol_table_add_global_symbol()
|
/third_party/ltp/testcases/network/stress/ns-tools/ |
H A D | ns-udpclient.c | 171 server_name = strdup(optarg); in main() 173 fprintf(stderr, "strdup() failed."); in main() 200 portnum = strdup(optarg); in main()
|
/third_party/openssl/ohos_lite/ |
H A D | e_os.h | 315 # ifndef strdup 316 # define strdup _strdup macro
|
/third_party/selinux/libsepol/src/ |
H A D | iface_record.c | 39 tmp_key->name = strdup(name); in sepol_iface_key_create() 128 char *tmp_name = strdup(name); in sepol_iface_set_name()
|
/third_party/musl/libc-test/src/regression/ |
H A D | putenv-doublefree.c | 11 char *c = strdup("A=3"); in main()
|
/third_party/musl/libc-test/src/functionalext/supplement/string/ |
H A D | strdup.c | 23 * @tc.desc : Verify strdup process success 28 char *ret = strdup("strduptest"); in strdup_0100()
|
/third_party/python/Modules/ |
H A D | readline.c | 570 break_chars = strdup(PyBytes_AS_STRING(encoded)); in readline_set_completer_delims() 1129 result = strdup(PyBytes_AS_STRING(encoded)); in on_completion() 1199 char *saved_locale = strdup(setlocale(LC_CTYPE, NULL)); in setup_readline() 1261 strdup(" \t\n`~!@#$%^&*()-=+[{]}\\|;:'\",<>/?"); in setup_readline() 1384 char *saved_locale = strdup(setlocale(LC_CTYPE, NULL)); in call_readline()
|
/third_party/libevdev/libevdev/ |
H A D | libevdev-uinput.c | 39 uinput_dev->name = strdup(name); in alloc_uinput_device() 187 uinput_dev->devnode = strdup(buf); in fetch_syspath_and_devnode() 240 uinput_dev->syspath = strdup(buf); in fetch_syspath_and_devnode() 295 uinput_dev->syspath = strdup(buf); in fetch_syspath_and_devnode()
|
/third_party/pulseaudio/src/modules/ |
H A D | reserve.c | 393 if (!(d->device_name = strdup(device_name))) { in rd_acquire() 398 if (!(d->application_name = strdup(application_name))) { in rd_acquire() 606 if (!(t = strdup(n))) in rd_set_application_device_name() 665 *name_owner = strdup(*name_owner); in rd_dbus_get_name_owner()
|
/third_party/toybox/toys/pending/ |
H A D | lsof.c | 147 fi->name = strdup(*name ? name : "socket"); in scan_unix() 167 strdup(state < ARRAY_LEN(netlink_states) ? netlink_states[state] : "?"); in scan_netlink() 237 fi->name = s->name ? strdup(s->name) : NULL; in find_socket() 353 fi->name = strdup(chomp(line + name_pos)); in visit_maps()
|
/third_party/musl/src/string/ |
H A D | strdup.c | 4 char *strdup(const char *s) in strdup() function
|
/third_party/musl/porting/uniproton/kernel/src/string/ |
H A D | strdup.c | 4 char *strdup(const char *s) in strdup() function
|
/third_party/musl/porting/liteos_a/kernel/src/string/ |
H A D | strdup.c | 4 char *strdup(const char *s) in strdup() function
|
/third_party/musl/porting/liteos_m/kernel/src/string/ |
H A D | strdup.c | 4 char *strdup(const char *s) in strdup() function
|
/third_party/backends/lib/ |
H A D | strdup.c | 26 strdup (const char * s) in strdup() function
|
/third_party/musl/libc-test/src/functionalext/supplement/string/string_gtest/ |
H A D | string_strdup_test.cpp | 19 EXPECT_STREQ("strduptest", strdup("strduptest")); in HWTEST_F()
|
/third_party/curl/lib/ |
H A D | url.c | 117 #include "strdup.h" 1424 conn->localdev = strdup(data->set.str[STRING_DEVICE]); in allocate_conn() 1859 conn->host.rawalloc = strdup(hostname ? hostname : ""); 1954 conn->options = strdup(data->state.up.options); 2006 s->range = strdup(data->set.str[STRING_SET_RANGE]); 2283 proxypasswd = strdup(""); 2427 proxy = strdup(data->set.str[STRING_PROXY]); 2437 socksproxy = strdup(data->set.str[STRING_PRE_PROXY]); 2738 *optionsp = strdup(data->set.str[STRING_OPTIONS]); 2780 conn->user = strdup(*user [all...] |
/third_party/musl/porting/liteos_a/user/src/misc/ |
H A D | realpath.c | 23 return resolved ? strcpy(resolved, tmp) : strdup(tmp); in realpath()
|
/third_party/musl/src/misc/ |
H A D | get_current_dir_name.c | 13 return strdup(res); in get_current_dir_name()
|