Home
last modified time | relevance | path

Searched refs:sortlist (Results 1 – 11 of 11) sorted by relevance

/third_party/node/deps/cares/src/lib/
Dares_gethostbyname.c42 const struct apattern *sortlist, int nsort);
44 const struct apattern *sortlist, int nsort);
46 const struct apattern *sortlist, int nsort);
48 const struct apattern *sortlist, int nsort);
79 sort6_addresses(hostent, ghbn_arg->channel->sortlist, in ares_gethostbyname_callback()
82 sort_addresses(hostent, ghbn_arg->channel->sortlist, in ares_gethostbyname_callback()
119 const struct apattern *sortlist, int nsort) in sort_addresses() argument
132 ind1 = get_address_index(&a1, sortlist, nsort); in sort_addresses()
136 ind2 = get_address_index(&a2, sortlist, nsort); in sort_addresses()
149 const struct apattern *sortlist, in get_address_index() argument
[all …]
Dares_init.c80 static int config_sortlist(struct apattern **sortlist, int *nsort,
82 static int sortlist_alloc(struct apattern **sortlist, int *nsort,
144 channel->sortlist = NULL; in ares_init_options()
230 if (channel->sortlist) in ares_init_options()
231 ares_free(channel->sortlist); in ares_init_options()
418 options->sortlist = ares_malloc(channel->nsort * sizeof(struct apattern)); in ares_save_options()
419 if (!options->sortlist) in ares_save_options()
422 options->sortlist[i] = channel->sortlist[i]; in ares_save_options()
539 channel->sortlist = ares_malloc(options->nsort * sizeof(struct apattern)); in init_by_options()
540 if (!channel->sortlist) in init_by_options()
[all …]
Dares_destroy.c35 if(options->sortlist) in ares_destroy_options()
36 ares_free(options->sortlist); in ares_destroy_options()
86 if(channel->sortlist) in ares_destroy()
87 ares_free(channel->sortlist); in ares_destroy()
Dares_private.h279 struct apattern *sortlist; member
/third_party/cares/
Dbackport-add-str-len-check-in-config_sortlist-to-avoid-stack-overflow.patch7 the input str and initialize a sortlist configuration.
30 @@ -2243,6 +2243,8 @@ static int config_sortlist(struct apattern **sortlist, int *nsort,
39 @@ -2251,6 +2253,8 @@ static int config_sortlist(struct apattern **sortlist, int *nsort,
D0001-ADD-OHOS-DNS-PROXY-BY-NETSYS.patch121 ares_free(sortlist);
Dbackport-001-CVE-2023-31147.patch204 static int config_sortlist(struct apattern **sortlist, int *nsort,
239 @@ -2182,76 +2177,6 @@ static int sortlist_alloc(struct apattern **sortlist, int *nsort,
/third_party/cares/include/
Dares.h275 struct apattern *sortlist; member
/third_party/node/deps/cares/include/
Dares.h284 struct apattern *sortlist; member
/third_party/node/deps/cares/
DCHANGES266 the input str and initialize a sortlist configuration.
3586 - test use of sortlist
3781 Allow explicit configuration of the channel's sortlist, by
3835 - config_sortlist: free any existing sortlist on (re)alloc failure
3837 If we get an allocation failure on 2nd or later entry in the sortlist, the
3839 Ensure that *sortlist is set to NULL whenever ENOMEM is returned.
5340 - init_by_options: don't copy an empty sortlist
/third_party/chromium/patch/
D0003-ohos-1115.patch116447 - /* 216 */ "sortlist",
116592 + /* 217 */ "sortlist",
116759 /* 130 */ "orderby_opt ::= ORDER BY sortlist",
116760 /* 131 */ "sortlist ::= sortlist COMMA expr sortorder nulls",
116790 - /* 229 */ "cmd ::= createkw uniqueflag INDEX ifnotexists nm dbnm ON nm LP sortlist RP where_opt",
116949 + /* 232 */ "cmd ::= createkw uniqueflag INDEX ifnotexists nm dbnm ON nm LP sortlist RP where_opt",
117130 - case 216: /* sortlist */
117138 + case 217: /* sortlist */
117274 - 215, /* (66) tcons ::= PRIMARY KEY LP sortlist autoinc RP onconf */
117275 - 215, /* (67) tcons ::= UNIQUE LP sortlist RP onconf */
[all …]