Home
last modified time | relevance | path

Searched refs:attrtype (Results 1 – 17 of 17) sorted by relevance

/external/libnl/include/netlink/
Dattr.h165 #define NLA_PUT(msg, attrtype, attrlen, data) \ argument
167 if (nla_put(msg, attrtype, attrlen, data) < 0) \
179 #define NLA_PUT_TYPE(msg, type, attrtype, value) \ argument
182 NLA_PUT(msg, attrtype, sizeof(type), &__tmp); \
191 #define NLA_PUT_S8(msg, attrtype, value) \ argument
192 NLA_PUT_TYPE(msg, int8_t, attrtype, value)
200 #define NLA_PUT_U8(msg, attrtype, value) \ argument
201 NLA_PUT_TYPE(msg, uint8_t, attrtype, value)
209 #define NLA_PUT_S16(msg, attrtype, value) \ argument
210 NLA_PUT_TYPE(msg, int16_t, attrtype, value)
[all …]
/external/libnl/lib/
Dattr.c324 struct nlattr *nla_find(const struct nlattr *head, int len, int attrtype) in nla_find() argument
330 if (nla_type(nla) == attrtype) in nla_find()
457 struct nlattr *nla_reserve(struct nl_msg *msg, int attrtype, int attrlen) in nla_reserve() argument
471 nla->nla_type = attrtype; in nla_reserve()
501 int nla_put(struct nl_msg *msg, int attrtype, int datalen, const void *data) in nla_put() argument
505 nla = nla_reserve(msg, attrtype, datalen); in nla_put()
535 int nla_put_data(struct nl_msg *msg, int attrtype, const struct nl_data *data) in nla_put_data() argument
537 return nla_put(msg, attrtype, nl_data_get_size(data), in nla_put_data()
550 int nla_put_addr(struct nl_msg *msg, int attrtype, struct nl_addr *addr) in nla_put_addr() argument
552 return nla_put(msg, attrtype, nl_addr_get_len(addr), in nla_put_addr()
[all …]
Dmsg.c233 struct nlattr *nlmsg_find_attr(struct nlmsghdr *nlh, int hdrlen, int attrtype) in nlmsg_find_attr() argument
236 nlmsg_attrlen(nlh, hdrlen), attrtype); in nlmsg_find_attr()
/external/boringssl/src/crypto/x509/
Dx509_att.c287 int X509_ATTRIBUTE_set1_data(X509_ATTRIBUTE *attr, int attrtype, in X509_ATTRIBUTE_set1_data() argument
295 if (attrtype & MBSTRING_FLAG) { in X509_ATTRIBUTE_set1_data()
296 stmp = ASN1_STRING_set_by_NID(NULL, data, len, attrtype, in X509_ATTRIBUTE_set1_data()
304 if (!(stmp = ASN1_STRING_type_new(attrtype))) in X509_ATTRIBUTE_set1_data()
308 atype = attrtype; in X509_ATTRIBUTE_set1_data()
318 if (attrtype == 0) { in X509_ATTRIBUTE_set1_data()
324 if ((len == -1) && !(attrtype & MBSTRING_FLAG)) { in X509_ATTRIBUTE_set1_data()
325 if (!ASN1_TYPE_set1(ttmp, attrtype, data)) in X509_ATTRIBUTE_set1_data()
/external/rust/crates/quiche/deps/boringssl/src/crypto/x509/
Dx509_att.c287 int X509_ATTRIBUTE_set1_data(X509_ATTRIBUTE *attr, int attrtype, in X509_ATTRIBUTE_set1_data() argument
295 if (attrtype & MBSTRING_FLAG) { in X509_ATTRIBUTE_set1_data()
296 stmp = ASN1_STRING_set_by_NID(NULL, data, len, attrtype, in X509_ATTRIBUTE_set1_data()
304 if (!(stmp = ASN1_STRING_type_new(attrtype))) in X509_ATTRIBUTE_set1_data()
308 atype = attrtype; in X509_ATTRIBUTE_set1_data()
318 if (attrtype == 0) { in X509_ATTRIBUTE_set1_data()
324 if ((len == -1) && !(attrtype & MBSTRING_FLAG)) { in X509_ATTRIBUTE_set1_data()
325 if (!ASN1_TYPE_set1(ttmp, attrtype, data)) in X509_ATTRIBUTE_set1_data()
/external/jsilver/src/com/google/streamhtmlparser/
DHtmlParserFactory.java193 HtmlParser.ATTR_TYPE attrtype, in createParserInAttribute() argument
198 switch (attrtype) { in createParserInAttribute()
235 "Did not recognize ATTR_TYPE given: " + attrtype); in createParserInAttribute()
/external/iproute2/ip/
Diplink_vlan.c52 int attrtype) in vlan_parse_qos_map() argument
60 addattr_l(n, 1024, attrtype, NULL, 0); in vlan_parse_qos_map()
/external/mesa3d/src/mesa/vbo/
Dvbo_save_api.c541 save->enabled, save->attrsz, save->attrtype, offsets); in compile_vertex_list()
728 if (save->attrtype[i] == GL_DOUBLE || in copy_to_current()
729 save->attrtype[i] == GL_UNSIGNED_INT64_ARB) in copy_to_current()
733 save->attrptr[i], save->attrtype[i]); in copy_to_current()
848 save->attrtype[j]); in upgrade_vertex()
884 newType != save->attrtype[attr]) { in fixup_vertex()
892 const fi_type *id = vbo_get_default_vals_as_union(save->attrtype[attr]); in fixup_vertex()
964 save->attrtype[A] = T; \
Dvbo.h143 GLenum16 attrtype[VBO_ATTRIB_MAX]; /**< GL_FLOAT, GL_INT, etc */ member
/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211.h21 #define nla_nest_start(msg, attrtype) \ argument
22 nla_nest_start(msg, NLA_F_NESTED | (attrtype))
/external/libnl/lib/route/
Dact.c116 int rtnl_act_fill(struct nl_msg *msg, int attrtype, struct rtnl_act *act) in rtnl_act_fill() argument
122 nest = nla_nest_start(msg, attrtype); in rtnl_act_fill()
/external/libnl/doc/
Dcore.txt1934 struct nlattr *nla_find(struct nlattr *head, int len, int attrtype);
1941 struct nlattr *nlmsg_find_attr(struct nlmsghdr *hdr, int hdrlen, int attrtype);
1992 struct nlattr *nla_reserve(struct nl_msg *msg, int attrtype, int len);
2003 int nla_put(struct nl_msg *msg, int attrtype, int attrlen, const void *data);
2128 int nla_put_u8(struct nl_msg *msg, int attrtype, uint8_t value);
2129 int nla_put_u16(struct nl_msg *msg, int attrtype, uint16_t value);
2130 int nla_put_u32(struct nl_msg *msg, int attrtype, uint32_t value);
2131 int nla_put_u64(struct nl_msg *msg, int attrtype, uint64_t value);
2138 NLA_PUT_U8(msg, attrtype, value)
2139 NLA_PUT_U16(msg, attrtype, value)
[all …]
/external/iproute2/misc/
Dss.c2112 static void print_skmeminfo(struct rtattr *tb[], int attrtype) in print_skmeminfo() argument
2116 if (!tb[attrtype]) { in print_skmeminfo()
2117 if (attrtype == INET_DIAG_SKMEMINFO) { in print_skmeminfo()
2133 skmeminfo = RTA_DATA(tb[attrtype]); in print_skmeminfo()
2144 if (RTA_PAYLOAD(tb[attrtype]) >= in print_skmeminfo()
2148 if (RTA_PAYLOAD(tb[attrtype]) >= in print_skmeminfo()
/external/tcpdump/
Dprint-radius.c375 static struct attrtype { struct
/external/rust/crates/quiche/deps/boringssl/src/include/openssl/
Dx509.h1165 OPENSSL_EXPORT int X509_ATTRIBUTE_set1_data(X509_ATTRIBUTE *attr, int attrtype,
/external/boringssl/src/include/openssl/
Dx509.h1445 OPENSSL_EXPORT int X509_ATTRIBUTE_set1_data(X509_ATTRIBUTE *attr, int attrtype,
/external/mesa3d/docs/relnotes/
D20.1.0.rst2890 - vbo: interleave attrsz, attrtype, and active_sz in memory