Home
last modified time | relevance | path

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

/external/libnl/include/netlink/
Dattr.h143 #define NLA_PUT(msg, attrtype, attrlen, data) \ argument
145 if (nla_put(msg, attrtype, attrlen, data) < 0) \
157 #define NLA_PUT_TYPE(msg, type, attrtype, value) \ argument
160 NLA_PUT(msg, attrtype, sizeof(type), &__tmp); \
169 #define NLA_PUT_U8(msg, attrtype, value) \ argument
170 NLA_PUT_TYPE(msg, uint8_t, attrtype, value)
178 #define NLA_PUT_U16(msg, attrtype, value) \ argument
179 NLA_PUT_TYPE(msg, uint16_t, attrtype, value)
187 #define NLA_PUT_U32(msg, attrtype, value) \ argument
188 NLA_PUT_TYPE(msg, uint32_t, attrtype, value)
[all …]
/external/libnl/lib/
Dattr.c665 struct nlattr *nla_find(struct nlattr *head, int len, int attrtype) in nla_find() argument
671 if (nla_type(nla) == attrtype) in nla_find()
798 struct nlattr *nla_reserve(struct nl_msg *msg, int attrtype, int attrlen) in nla_reserve() argument
812 nla->nla_type = attrtype; in nla_reserve()
821 attrtype, msg->nm_nlh->nlmsg_len); in nla_reserve()
840 int nla_put(struct nl_msg *msg, int attrtype, int datalen, const void *data) in nla_put() argument
847 nla = nla_reserve(msg, attrtype, datalen); in nla_put()
853 msg, datalen, (void *) nla - nlmsg_data(msg->nm_nlh), attrtype); in nla_put()
870 int nla_put_data(struct nl_msg *msg, int attrtype, struct nl_data *data) in nla_put_data() argument
872 return nla_put(msg, attrtype, nl_data_get_size(data), in nla_put_data()
[all …]
Dmsg.c337 struct nlattr *nlmsg_find_attr(struct nlmsghdr *nlh, int hdrlen, int attrtype) in nlmsg_find_attr() argument
340 nlmsg_attrlen(nlh, hdrlen), attrtype); in nlmsg_find_attr()
/external/boringssl/src/crypto/x509/
Dx509_att.c279 int X509_ATTRIBUTE_set1_data(X509_ATTRIBUTE *attr, int attrtype, const void *data, int len) in X509_ATTRIBUTE_set1_data() argument
285 if(attrtype & MBSTRING_FLAG) { in X509_ATTRIBUTE_set1_data()
286 stmp = ASN1_STRING_set_by_NID(NULL, data, len, attrtype, in X509_ATTRIBUTE_set1_data()
294 if(!(stmp = ASN1_STRING_type_new(attrtype))) goto err; in X509_ATTRIBUTE_set1_data()
296 atype = attrtype; in X509_ATTRIBUTE_set1_data()
304 if (attrtype == 0) in X509_ATTRIBUTE_set1_data()
307 if ((len == -1) && !(attrtype & MBSTRING_FLAG)) in X509_ATTRIBUTE_set1_data()
309 if (!ASN1_TYPE_set1(ttmp, attrtype, data)) in X509_ATTRIBUTE_set1_data()
/external/mesa3d/src/mesa/vbo/
Dvbo_save_draw.c88 node->attrtype[i]); in _playback_copy_to_current()
90 if (node->attrtype[i] != vbo->currval[i].Type || in _playback_copy_to_current()
96 vbo->currval[i].Type = node->attrtype[i]; in _playback_copy_to_current()
98 vbo_attrtype_to_integer_flag(node->attrtype[i]); in _playback_copy_to_current()
148 memcpy(node_attrtype, node->attrtype, sizeof(node->attrtype)); in vbo_bind_vertex_list()
Dvbo_save.h66 GLenum attrtype[VBO_ATTRIB_MAX]; member
131 GLenum attrtype[VBO_ATTRIB_MAX]; member
Dvbo_exec_api.c168 exec->vtx.attrtype[i]); in vbo_exec_copy_to_current()
170 if (exec->vtx.attrtype[i] != vbo->currval[i].Type || in vbo_exec_copy_to_current()
181 vbo->currval[i].Type = exec->vtx.attrtype[i]; in vbo_exec_copy_to_current()
183 vbo_attrtype_to_integer_flag(exec->vtx.attrtype[i]); in vbo_exec_copy_to_current()
338 exec->vtx.attrtype[j]); in vbo_exec_wrap_upgrade_vertex()
381 vbo_get_default_vals_as_float(exec->vtx.attrtype[attr]); in vbo_exec_fixup_vertex()
421 exec->vtx.attrtype[A] = T; \
1208 ASSERT(i < Elements(exec->vtx.attrtype)); in vbo_exec_vtx_init()
1209 exec->vtx.attrtype[i] = GL_FLOAT; in vbo_exec_vtx_init()
1346 exec->vtx.attrtype[i] = GL_FLOAT; in reset_attrfv()
Dvbo_exec.h105 GLenum attrtype[VBO_ATTRIB_MAX]; member
Dvbo_save_api.c330 memcpy(node->attrtype, save->attrtype, sizeof(node->attrtype)); in _save_compile_vertex_list()
518 save->attrptr[i], save->attrtype[i]); in _save_copy_to_current()
621 save->attrtype[j]); in _save_upgrade_vertex()
659 const GLfloat *id = vbo_get_default_vals_as_float(save->attrtype[attr]); in save_fixup_vertex()
710 save->attrtype[A] = T; \
Dvbo_exec_draw.c243 arrays[attr].Type = exec->vtx.attrtype[src]; in vbo_exec_bind_arrays()
245 vbo_attrtype_to_integer_flag(exec->vtx.attrtype[src]); in vbo_exec_bind_arrays()
/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.c50 int attrtype) in vlan_parse_qos_map() argument
58 addattr_l(n, 1024, attrtype, NULL, 0); in vlan_parse_qos_map()
/external/tcpdump/
Dprint-radius.c368 struct attrtype { const char *name; /* Attribute name */ argument
/external/iproute2/misc/
Dss.c1891 static void print_skmeminfo(struct rtattr *tb[], int attrtype) in print_skmeminfo() argument
1895 if (!tb[attrtype]) { in print_skmeminfo()
1896 if (attrtype == INET_DIAG_SKMEMINFO) { in print_skmeminfo()
1912 skmeminfo = RTA_DATA(tb[attrtype]); in print_skmeminfo()
1923 if (RTA_PAYLOAD(tb[attrtype]) >= in print_skmeminfo()
/external/boringssl/src/include/openssl/
Dx509.h1070 OPENSSL_EXPORT int X509_ATTRIBUTE_set1_data(X509_ATTRIBUTE *attr, int attrtype, const void *data, i…