Home
last modified time | relevance | path

Searched refs:setname (Results 1 – 9 of 9) sorted by relevance

/third_party/iptables/extensions/
Dlibxt_set.h40 get_set_byid(char *setname, ip_set_id_t idx) in get_set_byid() argument
65 strncpy(setname, req.set.name, IPSET_MAXNAMELEN); in get_set_byid()
69 get_set_byname_only(const char *setname, struct xt_set_info *info, in get_set_byname_only() argument
77 strncpy(req.set.name, setname, IPSET_MAXNAMELEN); in get_set_byname_only()
93 "Set %s doesn't exist.\n", setname); in get_set_byname_only()
99 get_set_byname(const char *setname, struct xt_set_info *info) in get_set_byname() argument
108 strncpy(req.set.name, setname, IPSET_MAXNAMELEN); in get_set_byname()
114 return get_set_byname_only(setname, info, sockfd, version); in get_set_byname()
129 "Set %s doesn't exist.\n", setname); in get_set_byname()
135 setname, in get_set_byname()
Dlibxt_SET.c111 char setname[IPSET_MAXNAMELEN]; in print_target_v0() local
115 get_set_byid(setname, info->index); in print_target_v0()
116 printf(" %s %s", prefix, setname); in print_target_v0()
212 char setname[IPSET_MAXNAMELEN]; in print_target() local
216 get_set_byid(setname, info->index); in print_target()
217 printf(" %s %s", prefix, setname); in print_target()
Dlibxt_set.c98 char setname[IPSET_MAXNAMELEN]; in print_match_v0() local
100 get_set_byid(setname, info->index); in print_match_v0()
104 setname); in print_match_v0()
179 char setname[IPSET_MAXNAMELEN]; in print_match() local
181 get_set_byid(setname, info->index); in print_match()
185 setname); in print_match()
/third_party/ltp/testcases/kernel/syscalls/prctl/
Dprctl05.c24 char setname[20]; member
38 TEST(prctl(PR_SET_NAME, tc->setname)); in verify_prctl()
43 tst_res(TPASS, "prctl(PR_SET_NAME, '%s') succeeded", tc->setname); in verify_prctl()
/third_party/libwebsockets/lib/drivers/netdev/
Dnetdev.c180 char setname[16]; in lws_netdev_smd_cb() local
214 lws_snprintf(setname, sizeof(setname), in lws_netdev_smd_cb()
218 setname, "{\"ssid\":\"%s\",\"bssid\":" in lws_netdev_smd_cb()
Dwifi.c192 char setname[16], ssid_copy[33]; in lws_netdev_wifi_redo_last() local
201 lws_snprintf(setname, sizeof(setname), "netdev.last.%s", wnd->inst.name); in lws_netdev_wifi_redo_last()
202 if (lws_settings_plat_get(netdevs->si, setname, buf, &l)) in lws_netdev_wifi_redo_last()
/third_party/tzdata/
Dlocaltime.c1458 localsub(struct state const *sp, time_t const *timep, int_fast32_t setname, in localsub() argument
1488 result = localsub(sp, &newt, setname, tmp); in localsub()
1530 if (setname) in localsub()
1547 localtime_tzset(time_t const *timep, struct tm *tmp, bool setname) in localtime_tzset() argument
1554 if (setname || !lcl_is_set) in localtime_tzset()
1556 tmp = localsub(lclptr, timep, setname, tmp); in localtime_tzset()
2167 mktime_tzname(struct state *sp, struct tm *tmp, bool setname) in mktime_tzname() argument
2170 return time1(tmp, localsub, sp, setname); in mktime_tzname()
/third_party/curl/lib/
Dformdata.c775 static CURLcode setname(curl_mimepart *part, const char *name, size_t len) in setname() function
833 result = setname(part, post->name, post->namelength); in Curl_getformdata()
860 result = setname(part, post->name, post->namelength); in Curl_getformdata()
/third_party/mindspore/mindspore/lite/test/ut/src/runtime/kernel/arm/fp32_grad/
Dnetwork_test.cc165 TEST_F(NetworkTest, setname) { in TEST_F() argument