Home
last modified time | relevance | path

Searched refs:attr (Results 1 – 25 of 931) sorted by relevance

12345678910>>...38

/external/elfutils/src/tests/
Drun-show-abbrev.sh25 abbrev[0]: attr[0]: code = 16, form = 6, offset = 0
26 abbrev[0]: attr[1]: code = 18, form = 1, offset = 2
27 abbrev[0]: attr[2]: code = 17, form = 1, offset = 4
28 abbrev[0]: attr[3]: code = 3, form = 8, offset = 6
29 abbrev[0]: attr[4]: code = 27, form = 8, offset = 8
30 abbrev[0]: attr[5]: code = 37, form = 8, offset = 10
31 abbrev[0]: attr[6]: code = 19, form = 11, offset = 12
33 abbrev[19]: attr[0]: code = 1, form = 19, offset = 19
34 abbrev[19]: attr[1]: code = 63, form = 12, offset = 21
35 abbrev[19]: attr[2]: code = 3, form = 8, offset = 23
[all …]
Dshow-die-info.c105 Dwarf_Attribute attr; in handle() local
110 if (dwarf_attr (die, DW_AT_low_pc, &attr) == NULL in handle()
111 || dwarf_formaddr (&attr, &addr2) != 0 in handle()
114 else if (! dwarf_hasform (&attr, DW_FORM_addr)) in handle()
116 else if (dwarf_whatform (&attr) != DW_FORM_addr) in handle()
118 else if (dwarf_whatattr (&attr) != DW_AT_low_pc) in handle()
123 Dwarf_Attribute attr; in handle() local
127 if (dwarf_attr (die, DW_AT_high_pc, &attr) == NULL in handle()
128 || dwarf_formaddr (&attr, &addr2) != 0 in handle()
131 else if (! dwarf_hasform (&attr, DW_FORM_addr)) in handle()
[all …]
/external/wpa_supplicant_8/src/wps/
Dwps_validate.c1030 struct wps_parse_attr attr; in wps_validate_cred() local
1036 if (wps_parse_msg(&buf, &attr) < 0) { in wps_validate_cred()
1041 if (wps_validate_network_idx(attr.network_idx, 1) || in wps_validate_cred()
1042 wps_validate_ssid(attr.ssid, attr.ssid_len, 1) || in wps_validate_cred()
1043 wps_validate_auth_type(attr.auth_type, 1) || in wps_validate_cred()
1044 wps_validate_encr_type(attr.encr_type, 1) || in wps_validate_cred()
1045 wps_validate_network_key_index(attr.network_key_idx, 0) || in wps_validate_cred()
1046 wps_validate_network_key(attr.network_key, attr.network_key_len, in wps_validate_cred()
1047 attr.encr_type, 1) || in wps_validate_cred()
1048 wps_validate_mac_addr(attr.mac_addr, 1) || in wps_validate_cred()
[all …]
Dwps_attr_parse.c20 static int wps_set_vendor_ext_wfa_subelem(struct wps_parse_attr *attr, in wps_set_vendor_ext_wfa_subelem() argument
32 attr->version2 = pos; in wps_set_vendor_ext_wfa_subelem()
35 attr->authorized_macs = pos; in wps_set_vendor_ext_wfa_subelem()
36 attr->authorized_macs_len = len; in wps_set_vendor_ext_wfa_subelem()
44 attr->network_key_shareable = pos; in wps_set_vendor_ext_wfa_subelem()
52 attr->request_to_enroll = pos; in wps_set_vendor_ext_wfa_subelem()
60 attr->settings_delay_time = pos; in wps_set_vendor_ext_wfa_subelem()
68 attr->registrar_configuration_methods = pos; in wps_set_vendor_ext_wfa_subelem()
80 static int wps_parse_vendor_ext_wfa(struct wps_parse_attr *attr, const u8 *pos, in wps_parse_vendor_ext_wfa() argument
91 if (wps_set_vendor_ext_wfa_subelem(attr, id, elen, pos) < 0) in wps_parse_vendor_ext_wfa()
[all …]
Dwps.c104 struct wps_parse_attr attr; in wps_init() local
107 if (wps_parse_msg(cfg->assoc_wps_ie, &attr) < 0) { in wps_init()
110 } else if (attr.request_type == NULL) { in wps_init()
116 *attr.request_type); in wps_init()
117 data->request_type = *attr.request_type; in wps_init()
235 struct wps_parse_attr attr; in wps_is_selected_pbc_registrar() local
244 if (wps_parse_msg(msg, &attr) < 0 || in wps_is_selected_pbc_registrar()
245 !attr.selected_registrar || *attr.selected_registrar == 0 || in wps_is_selected_pbc_registrar()
246 !attr.dev_password_id || in wps_is_selected_pbc_registrar()
247 WPA_GET_BE16(attr.dev_password_id) != DEV_PW_PUSHBUTTON) in wps_is_selected_pbc_registrar()
[all …]
/external/linux-tools-perf/src/tools/perf/tests/
Dparse-events.c19 TEST_ASSERT_VAL("wrong type", PERF_TYPE_TRACEPOINT == evsel->attr.type); in test__checkevent_tracepoint()
21 PERF_TP_SAMPLE_TYPE == evsel->attr.sample_type); in test__checkevent_tracepoint()
22 TEST_ASSERT_VAL("wrong sample_period", 1 == evsel->attr.sample_period); in test__checkevent_tracepoint()
35 PERF_TYPE_TRACEPOINT == evsel->attr.type); in test__checkevent_tracepoint_multi()
37 PERF_TP_SAMPLE_TYPE == evsel->attr.sample_type); in test__checkevent_tracepoint_multi()
39 1 == evsel->attr.sample_period); in test__checkevent_tracepoint_multi()
49 TEST_ASSERT_VAL("wrong type", PERF_TYPE_RAW == evsel->attr.type); in test__checkevent_raw()
50 TEST_ASSERT_VAL("wrong config", 0x1a == evsel->attr.config); in test__checkevent_raw()
59 TEST_ASSERT_VAL("wrong type", 1 == evsel->attr.type); in test__checkevent_numeric()
60 TEST_ASSERT_VAL("wrong config", 1 == evsel->attr.config); in test__checkevent_numeric()
[all …]
/external/elfutils/src/libdw/
Ddwarf_formudata.c38 __libdw_formptr (Dwarf_Attribute *attr, int sec_index, in __libdw_formptr() argument
42 if (attr == NULL) in __libdw_formptr()
45 const Elf_Data *d = attr->cu->dbg->sectiondata[sec_index]; in __libdw_formptr()
53 if (attr->form == DW_FORM_sec_offset) in __libdw_formptr()
55 if (__libdw_read_offset (attr->cu->dbg, attr->cu->dbg, in __libdw_formptr()
56 cu_sec_idx (attr->cu), attr->valp, in __libdw_formptr()
57 attr->cu->offset_size, &offset, sec_index, 0)) in __libdw_formptr()
60 else if (attr->cu->version > 3) in __libdw_formptr()
63 switch (attr->form) in __libdw_formptr()
67 if (__libdw_read_offset (attr->cu->dbg, attr->cu->dbg, in __libdw_formptr()
[all …]
Ddwarf_formref.c38 __libdw_formref (attr, return_offset) in __libdw_formref() argument
39 Dwarf_Attribute *attr; in __libdw_formref()
42 const unsigned char *datap = attr->valp;
43 const unsigned char *endp = attr->cu->endp;
45 if (attr->valp == NULL)
51 switch (attr->form)
60 *return_offset = *attr->valp;
66 *return_offset = read_2ubyte_unaligned (attr->cu->dbg, attr->valp);
72 *return_offset = read_4ubyte_unaligned (attr->cu->dbg, attr->valp);
78 *return_offset = read_8ubyte_unaligned (attr->cu->dbg, attr->valp);
[all …]
Ddwarf_getlocation.c43 attr_ok (Dwarf_Attribute *attr) in attr_ok() argument
45 if (attr == NULL) in attr_ok()
49 switch (attr->code) in attr_ok()
116 dwarf_getlocation_implicit_value (attr, op, return_block) in dwarf_getlocation_implicit_value() argument
117 Dwarf_Attribute *attr; in dwarf_getlocation_implicit_value()
121 if (attr == NULL)
125 struct loc_block_s **found = tfind (&fake, &attr->cu->locs, loc_compare);
140 check_constant_offset (Dwarf_Attribute *attr, in check_constant_offset() argument
143 if (attr->code != DW_AT_data_member_location) in check_constant_offset()
146 switch (attr->form) in check_constant_offset()
[all …]
Ddwarf_formblock.c39 dwarf_formblock (attr, return_block) in dwarf_formblock() argument
40 Dwarf_Attribute *attr; in dwarf_formblock()
43 if (attr == NULL)
46 const unsigned char *datap = attr->valp;
47 const unsigned char *endp = attr->cu->endp;
49 switch (attr->form)
54 return_block->length = *(uint8_t *) attr->valp;
55 return_block->data = attr->valp + 1;
61 return_block->length = read_2ubyte_unaligned (attr->cu->dbg, attr->valp);
62 return_block->data = attr->valp + 2;
[all …]
/external/libnl/lib/netfilter/
Dlog_msg.c69 struct nlattr *attr; in nfnlmsg_log_msg_parse() local
85 attr = tb[NFULA_PACKET_HDR]; in nfnlmsg_log_msg_parse()
86 if (attr) { in nfnlmsg_log_msg_parse()
87 struct nfulnl_msg_packet_hdr *hdr = nla_data(attr); in nfnlmsg_log_msg_parse()
94 attr = tb[NFULA_MARK]; in nfnlmsg_log_msg_parse()
95 if (attr) in nfnlmsg_log_msg_parse()
96 nfnl_log_msg_set_mark(msg, ntohl(nla_get_u32(attr))); in nfnlmsg_log_msg_parse()
98 attr = tb[NFULA_TIMESTAMP]; in nfnlmsg_log_msg_parse()
99 if (attr) { in nfnlmsg_log_msg_parse()
100 struct nfulnl_msg_packet_timestamp *timestamp = nla_data(attr); in nfnlmsg_log_msg_parse()
[all …]
Dqueue_msg.c67 struct nlattr *attr; in nfnlmsg_queue_msg_parse() local
84 attr = tb[NFQA_PACKET_HDR]; in nfnlmsg_queue_msg_parse()
85 if (attr) { in nfnlmsg_queue_msg_parse()
86 struct nfqnl_msg_packet_hdr *hdr = nla_data(attr); in nfnlmsg_queue_msg_parse()
94 attr = tb[NFQA_MARK]; in nfnlmsg_queue_msg_parse()
95 if (attr) in nfnlmsg_queue_msg_parse()
96 nfnl_queue_msg_set_mark(msg, ntohl(nla_get_u32(attr))); in nfnlmsg_queue_msg_parse()
98 attr = tb[NFQA_TIMESTAMP]; in nfnlmsg_queue_msg_parse()
99 if (attr) { in nfnlmsg_queue_msg_parse()
100 struct nfqnl_msg_packet_timestamp *timestamp = nla_data(attr); in nfnlmsg_queue_msg_parse()
[all …]
/external/boringssl/src/crypto/x509/
Dx509_att.c120 X509_ATTRIBUTE *attr) in STACK_OF()
139 if ((new_attr=X509_ATTRIBUTE_dup(attr)) == NULL) in STACK_OF()
158 X509_ATTRIBUTE *attr; in STACK_OF() local
160 attr = X509_ATTRIBUTE_create_by_OBJ(NULL, obj, type, bytes, len); in STACK_OF()
161 if(!attr) return 0; in STACK_OF()
162 ret = X509at_add1_attr(x, attr); in STACK_OF()
163 X509_ATTRIBUTE_free(attr); in STACK_OF()
171 X509_ATTRIBUTE *attr; in STACK_OF() local
173 attr = X509_ATTRIBUTE_create_by_NID(NULL, nid, type, bytes, len); in STACK_OF()
174 if(!attr) return 0; in STACK_OF()
[all …]
/external/mesa3d/src/glx/apple/
Dapple_visual.c71 CGLPixelFormatAttribute attr[MAX_ATTR]; in apple_visual_create_pfobj() local
78 attr[numattr++] = kCGLPFAOpenGLProfile; in apple_visual_create_pfobj()
79 attr[numattr++] = kCGLOGLPVersion_3_2_Core; in apple_visual_create_pfobj()
86 attr[numattr++] = kCGLPFAOffScreen; in apple_visual_create_pfobj()
87 attr[numattr++] = kCGLPFAColorSize; in apple_visual_create_pfobj()
88 attr[numattr++] = 32; in apple_visual_create_pfobj()
93 attr[numattr++] = kCGLPFARendererID; in apple_visual_create_pfobj()
94 attr[numattr++] = kCGLRendererGenericFloatID; in apple_visual_create_pfobj()
101 attr[numattr++] = kCGLPFAAccelerated; in apple_visual_create_pfobj()
109 attr[numattr++] = kCGLPFAClosestPolicy; in apple_visual_create_pfobj()
[all …]
/external/mesa3d/src/mesa/vbo/
Dvbo_exec_eval.c36 static void clear_active_eval1( struct vbo_exec_context *exec, GLuint attr ) in clear_active_eval1() argument
38 assert(attr < Elements(exec->eval.map1)); in clear_active_eval1()
39 exec->eval.map1[attr].map = NULL; in clear_active_eval1()
42 static void clear_active_eval2( struct vbo_exec_context *exec, GLuint attr ) in clear_active_eval2() argument
44 assert(attr < Elements(exec->eval.map2)); in clear_active_eval2()
45 exec->eval.map2[attr].map = NULL; in clear_active_eval2()
48 static void set_active_eval1( struct vbo_exec_context *exec, GLuint attr, GLuint dim, in set_active_eval1() argument
51 assert(attr < Elements(exec->eval.map1)); in set_active_eval1()
52 if (!exec->eval.map1[attr].map) { in set_active_eval1()
53 exec->eval.map1[attr].map = map; in set_active_eval1()
[all …]
Dvbo_save_draw.c142 GLuint attr; in vbo_bind_vertex_list() local
155 for (attr = 0; attr < VERT_ATTRIB_FF_MAX; attr++) { in vbo_bind_vertex_list()
156 save->inputs[attr] = &vbo->currval[VBO_ATTRIB_POS+attr]; in vbo_bind_vertex_list()
158 for (attr = 0; attr < MAT_ATTRIB_MAX; attr++) { in vbo_bind_vertex_list()
159 save->inputs[VERT_ATTRIB_GENERIC(attr)] = in vbo_bind_vertex_list()
160 &vbo->currval[VBO_ATTRIB_MAT_FRONT_AMBIENT+attr]; in vbo_bind_vertex_list()
170 for (attr = 0; attr < VERT_ATTRIB_FF_MAX; attr++) { in vbo_bind_vertex_list()
171 save->inputs[attr] = &vbo->currval[VBO_ATTRIB_POS+attr]; in vbo_bind_vertex_list()
173 for (attr = 0; attr < VERT_ATTRIB_GENERIC_MAX; attr++) { in vbo_bind_vertex_list()
174 save->inputs[VERT_ATTRIB_GENERIC(attr)] = in vbo_bind_vertex_list()
[all …]
Dvbo_exec_draw.c168 GLuint attr; in vbo_exec_bind_arrays() local
176 for (attr = 0; attr < VERT_ATTRIB_FF_MAX; attr++) { in vbo_exec_bind_arrays()
177 exec->vtx.inputs[attr] = &vbo->currval[VBO_ATTRIB_POS+attr]; in vbo_exec_bind_arrays()
179 for (attr = 0; attr < MAT_ATTRIB_MAX; attr++) { in vbo_exec_bind_arrays()
180 ASSERT(VERT_ATTRIB_GENERIC(attr) < Elements(exec->vtx.inputs)); in vbo_exec_bind_arrays()
181 exec->vtx.inputs[VERT_ATTRIB_GENERIC(attr)] = in vbo_exec_bind_arrays()
182 &vbo->currval[VBO_ATTRIB_MAT_FRONT_AMBIENT+attr]; in vbo_exec_bind_arrays()
192 for (attr = 0; attr < VERT_ATTRIB_FF_MAX; attr++) { in vbo_exec_bind_arrays()
193 exec->vtx.inputs[attr] = &vbo->currval[VBO_ATTRIB_POS+attr]; in vbo_exec_bind_arrays()
195 for (attr = 0; attr < VERT_ATTRIB_GENERIC_MAX; attr++) { in vbo_exec_bind_arrays()
[all …]
/external/ppp/pppd/plugins/radius/
Ddict.c46 DICT_ATTR *attr; in rc_read_dictionary() local
182 if ((attr = in rc_read_dictionary()
190 strcpy (attr->name, namestr); in rc_read_dictionary()
192 attr->vendorcode = vdict->vendorcode; in rc_read_dictionary()
194 attr->vendorcode = VENDOR_NONE; in rc_read_dictionary()
196 attr->value = value; in rc_read_dictionary()
197 attr->type = type; in rc_read_dictionary()
201 attr->next = vdict->attributes; in rc_read_dictionary()
202 vdict->attributes = attr; in rc_read_dictionary()
204 attr->next = dictionary_attributes; in rc_read_dictionary()
[all …]
/external/libxml2/result/
Datt5.sax4 SAX.attributeDecl(normId, attr, 8, 3, NULL, ...)
12 SAX.startElement(norm, attr=' ')
16 SAX.startElement(norm, attr=' foo bar ')
20 SAX.startElement(norm, attr=' foobar')
24 SAX.startElement(norm, attr=' foo bar ')
28 SAX.startElement(norm, attr='foobar ')
32 SAX.startElement(norm, attr=' &#38; ')
36 SAX.startElement(norm, attr=' foo&#38;bar ')
40 SAX.startElement(norm, attr=' foobar&#38;')
44 SAX.startElement(norm, attr='&#38;foo bar ')
[all …]
Datt5.sax24 SAX.attributeDecl(normId, attr, 8, 3, NULL, ...)
12 SAX.startElementNs(norm, NULL, NULL, 0, 1, 0, attr=' '...', 3)
16 SAX.startElementNs(norm, NULL, NULL, 0, 1, 0, attr=' f...', 13)
20 SAX.startElementNs(norm, NULL, NULL, 0, 1, 0, attr=' fo...', 8)
24 SAX.startElementNs(norm, NULL, NULL, 0, 1, 0, attr=' foo...', 9)
28 SAX.startElementNs(norm, NULL, NULL, 0, 1, 0, attr='foob...', 8)
32 SAX.startElementNs(norm, NULL, NULL, 0, 1, 0, attr=' &#3...', 7)
36 SAX.startElementNs(norm, NULL, NULL, 0, 1, 0, attr=' f...', 17)
40 SAX.startElementNs(norm, NULL, NULL, 0, 1, 0, attr=' fo...', 13)
44 SAX.startElementNs(norm, NULL, NULL, 0, 1, 0, attr='&#38...', 13)
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_draw_feedback.c113 GLuint attr, i; in st_feedback_draw_vbo() local
149 for (attr = 1; attr < vp->num_inputs; attr++) { in st_feedback_draw_vbo()
150 const GLubyte *start = arrays[vp->index_to_input[attr]]->Ptr; in st_feedback_draw_vbo()
158 for (attr = 0; attr < vp->num_inputs; attr++) { in st_feedback_draw_vbo()
159 const GLuint mesaAttr = vp->index_to_input[attr]; in st_feedback_draw_vbo()
171 vbuffers[attr].buffer = NULL; in st_feedback_draw_vbo()
172 vbuffers[attr].user_buffer = NULL; in st_feedback_draw_vbo()
173 pipe_resource_reference(&vbuffers[attr].buffer, stobj->buffer); in st_feedback_draw_vbo()
174 vbuffers[attr].buffer_offset = pointer_to_offset(low_addr); in st_feedback_draw_vbo()
175 velements[attr].src_offset = arrays[mesaAttr]->Ptr - low_addr; in st_feedback_draw_vbo()
[all …]
/external/mesa3d/src/mesa/main/
Dattrib.c227 struct gl_accum_attrib *attr; in _mesa_PushAttrib() local
228 attr = MALLOC_STRUCT( gl_accum_attrib ); in _mesa_PushAttrib()
229 memcpy( attr, &ctx->Accum, sizeof(struct gl_accum_attrib) ); in _mesa_PushAttrib()
230 save_attrib_data(&head, GL_ACCUM_BUFFER_BIT, attr); in _mesa_PushAttrib()
235 struct gl_colorbuffer_attrib *attr; in _mesa_PushAttrib() local
236 attr = MALLOC_STRUCT( gl_colorbuffer_attrib ); in _mesa_PushAttrib()
237 memcpy( attr, &ctx->Color, sizeof(struct gl_colorbuffer_attrib) ); in _mesa_PushAttrib()
240 attr->DrawBuffer[i] = ctx->DrawBuffer->ColorDrawBuffer[i]; in _mesa_PushAttrib()
241 save_attrib_data(&head, GL_COLOR_BUFFER_BIT, attr); in _mesa_PushAttrib()
245 struct gl_current_attrib *attr; in _mesa_PushAttrib() local
[all …]
/external/mockito/cglib-and-asm/src/org/mockito/asm/
DAttribute.java127 Attribute attr = new Attribute(type); in read() local
128 attr.value = new byte[len]; in read()
129 System.arraycopy(cr.b, off, attr.value, 0, len); in read()
130 return attr; in read()
173 Attribute attr = this; in getCount() local
174 while (attr != null) { in getCount()
176 attr = attr.next; in getCount()
208 Attribute attr = this; in getSize() local
210 while (attr != null) { in getSize()
211 cw.newUTF8(attr.type); in getSize()
[all …]
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_vs_ppc.c104 uint attr; in vs_ppc_run_linear() local
107 for (attr = 0; attr < base->info.num_inputs; attr++) { in vs_ppc_run_linear()
112 if (attr==0) in vs_ppc_run_linear()
114 vert, attr, vIn[0], vIn[1], vIn[2], vIn[3]); in vs_ppc_run_linear()
116 inputs_soa[attr][0][vert] = vIn[attr * 4 + 0]; in vs_ppc_run_linear()
117 inputs_soa[attr][1][vert] = vIn[attr * 4 + 1]; in vs_ppc_run_linear()
118 inputs_soa[attr][2][vert] = vIn[attr * 4 + 2]; in vs_ppc_run_linear()
119 inputs_soa[attr][3][vert] = vIn[attr * 4 + 3]; in vs_ppc_run_linear()
132 for (attr = 0; attr < base->info.num_outputs; attr++) { in vs_ppc_run_linear()
136 vOut[attr * 4 + 0] = outputs_soa[attr][0][vert]; in vs_ppc_run_linear()
[all …]
/external/wpa_supplicant_8/src/radius/
Dradius.c277 const struct radius_attr_type *attr; in radius_msg_dump_attr() local
282 attr = radius_get_attr_type(hdr->type); in radius_msg_dump_attr()
285 hdr->type, attr ? attr->name : "?Unknown?", hdr->length); in radius_msg_dump_attr()
287 if (attr == NULL || hdr->length < sizeof(struct radius_attr_hdr)) in radius_msg_dump_attr()
293 switch (attr->data_type) { in radius_msg_dump_attr()
356 struct radius_attr_hdr *attr = radius_get_attr_hdr(msg, i); in radius_msg_dump() local
357 radius_msg_dump_attr(attr); in radius_msg_dump()
367 struct radius_attr_hdr *attr; in radius_msg_finish() local
370 attr = radius_msg_add_attr(msg, in radius_msg_finish()
373 if (attr == NULL) { in radius_msg_finish()
[all …]

12345678910>>...38