Home
last modified time | relevance | path

Searched refs:strdup (Results 101 - 125 of 656) sorted by relevance

12345678910>>...27

/third_party/curl/src/
H A Dtool_ipfs.c178 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 Dtool_formparse.c69 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 Dtool_strdup.c27 char *strdup(const char *str) in strdup() function
/third_party/cups-filters/cupsfilters/
H A Dcolormanager.c262 *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 Dsndfile-metadata-set.c145 info.origination_date = strdup (date) ; in main()
152 info.date = strdup (date) ; in main()
/third_party/ltp/lib/
H A Dtst_tmpdir.c118 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 Dsymbol_table.c197 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 Dns-udpclient.c171 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 De_os.h315 # ifndef strdup
316 # define strdup _strdup macro
/third_party/selinux/libsepol/src/
H A Diface_record.c39 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 Dputenv-doublefree.c11 char *c = strdup("A=3"); in main()
/third_party/musl/libc-test/src/functionalext/supplement/string/
H A Dstrdup.c23 * @tc.desc : Verify strdup process success
28 char *ret = strdup("strduptest"); in strdup_0100()
/third_party/python/Modules/
H A Dreadline.c570 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 Dlibevdev-uinput.c39 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 Dreserve.c393 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 Dlsof.c147 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 Dstrdup.c4 char *strdup(const char *s) in strdup() function
/third_party/musl/porting/uniproton/kernel/src/string/
H A Dstrdup.c4 char *strdup(const char *s) in strdup() function
/third_party/musl/porting/liteos_a/kernel/src/string/
H A Dstrdup.c4 char *strdup(const char *s) in strdup() function
/third_party/musl/porting/liteos_m/kernel/src/string/
H A Dstrdup.c4 char *strdup(const char *s) in strdup() function
/third_party/backends/lib/
H A Dstrdup.c26 strdup (const char * s) in strdup() function
/third_party/musl/libc-test/src/functionalext/supplement/string/string_gtest/
H A Dstring_strdup_test.cpp19 EXPECT_STREQ("strduptest", strdup("strduptest")); in HWTEST_F()
/third_party/curl/lib/
H A Durl.c117 #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 Drealpath.c23 return resolved ? strcpy(resolved, tmp) : strdup(tmp); in realpath()
/third_party/musl/src/misc/
H A Dget_current_dir_name.c13 return strdup(res); in get_current_dir_name()

Completed in 15 milliseconds

12345678910>>...27