Home
last modified time | relevance | path

Searched refs:strdup (Results 151 - 175 of 986) sorted by relevance

12345678910>>...40

/third_party/selinux/libsepol/src/
H A Dcontext.c155 char *user = strdup(sepol_context_get_user(record)); in context_from_record()
156 char *role = strdup(sepol_context_get_role(record)); in context_from_record()
157 char *type = strdup(sepol_context_get_type(record)); in context_from_record()
/third_party/selinux/libselinux/src/
H A Dbooleans.c68 n[i] = strdup(namelist[i]->d_name); in security_get_boolean_names()
135 sub = strdup(dst); in selinux_boolean_sub()
143 sub = strdup(name); in selinux_boolean_sub()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
H A Dos.h183 * buffer, e.g., return strdup(rel_path). This function is only used to find
498 #define os_strdup(s) strdup(s)
648 #undef strdup macro
649 #define strdup OS_DO_NOT_USE_strdup macro
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
H A Dos.h183 * buffer, e.g., return strdup(rel_path). This function is only used to find
498 #define os_strdup(s) strdup(s)
648 #undef strdup macro
649 #define strdup OS_DO_NOT_USE_strdup macro
/third_party/curl/src/
H A Dtool_strdup.c27 char *strdup(const char *str) in strdup() function
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()
/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/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/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()
/third_party/musl/src/misc/liteos_a/
H A Drealpath.c38 return resolved ? strcpy(resolved, tmp) : strdup(tmp); in realpath()
/third_party/musl/src/unistd/
H A Dgetcwd.c24 return buf == tmp ? strdup(buf) : buf; in getcwd()
/third_party/skia/third_party/externals/swiftshader/include/vulkan/
H A Dvk_sdk_platform.h42 #define strdup _strdup macro
/third_party/skia/third_party/externals/dawn/third_party/khronos/vulkan/
H A Dvk_sdk_platform.h42 #define strdup _strdup macro
/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()
/kernel/linux/linux-5.10/tools/perf/util/
H A Dprobe-finder.c290 tvar->value = strdup(regs); in convert_variable_location()
322 tvar->type = strdup(cast); in convert_variable_type()
380 tvar->type = strdup(cast); in convert_variable_type()
417 tvar->type = strdup(buf); in convert_variable_type()
602 pf->tvar->name = strdup(pf->pvar->name); in find_variable()
667 tp->symbol = strdup(symbol); in convert_to_trace_point()
1374 tev->point.realname = strdup(dwarf_diename(sc_die)); in add_probe_trace_event()
1452 tevs[j].args[i].type = strdup(type); in fill_empty_trace_arg()
1790 ppt->function = strdup(func); in debuginfo__find_probe_point()
1797 ppt->file = strdup(fnam in debuginfo__find_probe_point()
[all...]
/kernel/linux/linux-6.6/tools/perf/util/
H A Dprobe-finder.c295 tvar->value = strdup(regs); in convert_variable_location()
327 tvar->type = strdup(cast); in convert_variable_type()
385 tvar->type = strdup(cast); in convert_variable_type()
422 tvar->type = strdup(buf); in convert_variable_type()
607 pf->tvar->name = strdup(pf->pvar->name); in find_variable()
672 tp->symbol = strdup(symbol); in convert_to_trace_point()
1390 tev->point.realname = strdup(dwarf_diename(sc_die)); in add_probe_trace_event()
1468 tevs[j].args[i].type = strdup(type); in fill_empty_trace_arg()
1806 ppt->function = strdup(func); in debuginfo__find_probe_point()
1813 ppt->file = strdup(fnam in debuginfo__find_probe_point()
[all...]
/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...]
H A Dgetenv.c73 return (env && env[0])?strdup(env):NULL; in GetEnv()
/kernel/liteos_m/testsuites/unittest/fuzz/src/string/
H A Dstrdup_fuzz.c51 printf("Fuzz test in line [%d] strdup start.\n", __LINE__); in StrdupFuzzTest()
60 dest = strdup(source); in StrdupFuzzTest()
72 printf("Fuzz test in line [%d] strdup ok\n", __LINE__); in StrdupFuzzTest()
/third_party/curl/tests/
H A Dtest1132.pl48 if($_ =~ /\W(free|alloc|strdup)\(/) {
/third_party/cups-filters/fontembed/
H A Dfontfile.c35 ret->stdname=strdup(name); in fontfile_open_std()

Completed in 19 milliseconds

12345678910>>...40