Home
last modified time | relevance | path

Searched refs:maxtype (Results 1 – 5 of 5) sorted by relevance

/third_party/mingw-w64/mingw-w64-headers/crt/
D_mingw_mac.h327 # define __mingw_bos(p, maxtype) \ argument
328 __builtin_object_size((p), ((maxtype) > 0) && (__MINGW_FORTIFY_LEVEL > 1))
333 # define __mingw_bos_ptr_chk(p, n, maxtype) \ argument
334 __mingw_bos_cond_chk(!__mingw_bos_known(p) || __mingw_bos(p, maxtype) >= (size_t)(n))
335 # define __mingw_bos_ptr_chk_warn(p, n, maxtype) \ argument
336 (__mingw_bos_known(p) && __builtin_constant_p((n)) && __mingw_bos(p, maxtype) < (size_t)(n) \
337 ? __mingw_chk_fail_warn() : __mingw_bos_ptr_chk(p, n, maxtype))
/third_party/libnl/lib/
Dattr.c189 static int validate_nla(const struct nlattr *nla, int maxtype, in validate_nla() argument
196 if (type < 0 || type > maxtype) in validate_nla()
243 int nla_parse(struct nlattr *tb[], int maxtype, struct nlattr *head, int len, in nla_parse() argument
249 memset(tb, 0, sizeof(struct nlattr *) * (maxtype + 1)); in nla_parse()
254 if (type > maxtype) in nla_parse()
258 err = validate_nla(nla, maxtype, policy); in nla_parse()
295 int nla_validate(const struct nlattr *head, int len, int maxtype, in nla_validate() argument
302 err = validate_nla(nla, maxtype, policy); in nla_validate()
1021 int nla_parse_nested(struct nlattr *tb[], int maxtype, struct nlattr *nla, in nla_parse_nested() argument
1024 return nla_parse(tb, maxtype, nla_data(nla), nla_len(nla), policy); in nla_parse_nested()
Dmsg.c216 int maxtype, const struct nla_policy *policy) in nlmsg_parse() argument
221 return nla_parse(tb, maxtype, nlmsg_attrdata(nlh, hdrlen), in nlmsg_parse()
246 int nlmsg_validate(struct nlmsghdr *nlh, int hdrlen, int maxtype, in nlmsg_validate() argument
253 nlmsg_attrlen(nlh, hdrlen), maxtype, policy); in nlmsg_validate()
/third_party/libnl/lib/genl/
Dgenl.c153 int genlmsg_validate(struct nlmsghdr *nlh, int hdrlen, int maxtype, in genlmsg_validate() argument
163 genlmsg_attrlen(ghdr, hdrlen), maxtype, policy); in genlmsg_validate()
194 int maxtype, const struct nla_policy *policy) in genlmsg_parse() argument
202 return nla_parse(tb, maxtype, genlmsg_attrdata(ghdr, hdrlen), in genlmsg_parse()
/third_party/libnl/doc/
Dcore.txt1399 int maxtype, struct nla_policy *policy);
1837 int nla_validate(struct nlattr *head, int len, int maxtype, struct nla_policy *policy);
1850 . If attribute type is 0 or exceeds +maxtype+ attribute is
1869 int nla_parse(struct nlattr **attrs, int maxtype, struct nlattr *head,