Home
last modified time | relevance | path

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

12345678910>>...37

/external/elfutils/tests/
Drun-show-abbrev.sh33 abbrev[0]: attr[0]: code = 16, form = 6, offset = 0
34 abbrev[0]: attr[1]: code = 18, form = 1, offset = 2
35 abbrev[0]: attr[2]: code = 17, form = 1, offset = 4
36 abbrev[0]: attr[3]: code = 3, form = 8, offset = 6
37 abbrev[0]: attr[4]: code = 27, form = 8, offset = 8
38 abbrev[0]: attr[5]: code = 37, form = 8, offset = 10
39 abbrev[0]: attr[6]: code = 19, form = 11, offset = 12
41 abbrev[19]: attr[0]: code = 1, form = 19, offset = 19
42 abbrev[19]: attr[1]: code = 63, form = 12, offset = 21
43 abbrev[19]: attr[2]: code = 3, form = 8, offset = 23
[all …]
Dshow-die-info.c272 Dwarf_Attribute attr; in handle() local
277 if (dwarf_attr (die, DW_AT_low_pc, &attr) == NULL in handle()
278 || dwarf_formaddr (&attr, &addr2) != 0 in handle()
281 else if (! dwarf_hasform (&attr, DW_FORM_addr)) in handle()
283 else if (dwarf_whatform (&attr) != DW_FORM_addr) in handle()
285 else if (dwarf_whatattr (&attr) != DW_AT_low_pc) in handle()
290 Dwarf_Attribute attr; in handle() local
294 if (dwarf_attr (die, DW_AT_high_pc, &attr) == NULL in handle()
295 || dwarf_formaddr (&attr, &addr2) != 0 in handle()
298 else if (! dwarf_hasform (&attr, DW_FORM_addr)) in handle()
[all …]
/external/wpa_supplicant_8/src/wps/
Dwps_validate.c1028 struct wps_parse_attr attr; in wps_validate_cred() local
1034 if (wps_parse_msg(&buf, &attr) < 0) { in wps_validate_cred()
1039 if (wps_validate_network_idx(attr.network_idx, 1) || in wps_validate_cred()
1040 wps_validate_ssid(attr.ssid, attr.ssid_len, 1) || in wps_validate_cred()
1041 wps_validate_auth_type(attr.auth_type, 1) || in wps_validate_cred()
1042 wps_validate_encr_type(attr.encr_type, 1) || in wps_validate_cred()
1043 wps_validate_network_key_index(attr.network_key_idx, 0) || in wps_validate_cred()
1044 wps_validate_network_key(attr.network_key, attr.network_key_len, in wps_validate_cred()
1045 attr.encr_type, 1) || in wps_validate_cred()
1046 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()
72 static int wps_parse_vendor_ext_wfa(struct wps_parse_attr *attr, const u8 *pos, in wps_parse_vendor_ext_wfa() argument
83 if (wps_set_vendor_ext_wfa_subelem(attr, id, elen, pos) < 0) in wps_parse_vendor_ext_wfa()
92 static int wps_parse_vendor_ext(struct wps_parse_attr *attr, const u8 *pos, in wps_parse_vendor_ext() argument
[all …]
Dwps.c92 struct wps_parse_attr attr; in wps_init() local
95 if (wps_parse_msg(cfg->assoc_wps_ie, &attr) < 0) { in wps_init()
98 } else if (attr.request_type == NULL) { in wps_init()
104 *attr.request_type); in wps_init()
105 data->request_type = *attr.request_type; in wps_init()
215 struct wps_parse_attr attr; in wps_is_selected_pbc_registrar() local
224 if (wps_parse_msg(msg, &attr) < 0 || in wps_is_selected_pbc_registrar()
225 !attr.selected_registrar || *attr.selected_registrar == 0 || in wps_is_selected_pbc_registrar()
226 !attr.dev_password_id || in wps_is_selected_pbc_registrar()
227 WPA_GET_BE16(attr.dev_password_id) != DEV_PW_PUSHBUTTON) in wps_is_selected_pbc_registrar()
[all …]
/external/wpa_supplicant_6/wpa_supplicant/src/wps/
Dwps_attr_parse.c21 static int wps_set_attr(struct wps_parse_attr *attr, u16 type, in wps_set_attr() argument
31 attr->version = pos; in wps_set_attr()
39 attr->msg_type = pos; in wps_set_attr()
47 attr->enrollee_nonce = pos; in wps_set_attr()
55 attr->registrar_nonce = pos; in wps_set_attr()
63 attr->uuid_e = pos; in wps_set_attr()
71 attr->uuid_r = pos; in wps_set_attr()
79 attr->auth_type_flags = pos; in wps_set_attr()
87 attr->encr_type_flags = pos; in wps_set_attr()
95 attr->conn_type_flags = pos; in wps_set_attr()
[all …]
/external/webkit/Source/WebCore/html/
DHTMLMarqueeElement.cpp73 void HTMLMarqueeElement::parseMappedAttribute(Attribute* attr) in parseMappedAttribute() argument
75 if (attr->name() == widthAttr) { in parseMappedAttribute()
76 if (!attr->value().isEmpty()) in parseMappedAttribute()
77 addCSSLength(attr, CSSPropertyWidth, attr->value()); in parseMappedAttribute()
78 } else if (attr->name() == heightAttr) { in parseMappedAttribute()
79 if (!attr->value().isEmpty()) in parseMappedAttribute()
80 addCSSLength(attr, CSSPropertyHeight, attr->value()); in parseMappedAttribute()
81 } else if (attr->name() == bgcolorAttr) { in parseMappedAttribute()
82 if (!attr->value().isEmpty()) in parseMappedAttribute()
83 addCSSColor(attr, CSSPropertyBackgroundColor, attr->value()); in parseMappedAttribute()
[all …]
DHTMLHRElement.cpp64 void HTMLHRElement::parseMappedAttribute(Attribute* attr) in parseMappedAttribute() argument
66 if (attr->name() == alignAttr) { in parseMappedAttribute()
67 if (equalIgnoringCase(attr->value(), "left")) { in parseMappedAttribute()
68 addCSSProperty(attr, CSSPropertyMarginLeft, "0"); in parseMappedAttribute()
69 addCSSProperty(attr, CSSPropertyMarginRight, CSSValueAuto); in parseMappedAttribute()
70 } else if (equalIgnoringCase(attr->value(), "right")) { in parseMappedAttribute()
71 addCSSProperty(attr, CSSPropertyMarginLeft, CSSValueAuto); in parseMappedAttribute()
72 addCSSProperty(attr, CSSPropertyMarginRight, "0"); in parseMappedAttribute()
74 addCSSProperty(attr, CSSPropertyMarginLeft, CSSValueAuto); in parseMappedAttribute()
75 addCSSProperty(attr, CSSPropertyMarginRight, CSSValueAuto); in parseMappedAttribute()
[all …]
DHTMLTablePartElement.cpp62 void HTMLTablePartElement::parseMappedAttribute(Attribute* attr) in parseMappedAttribute() argument
64 if (attr->name() == bgcolorAttr) in parseMappedAttribute()
65 addCSSColor(attr, CSSPropertyBackgroundColor, attr->value()); in parseMappedAttribute()
66 else if (attr->name() == backgroundAttr) { in parseMappedAttribute()
67 String url = stripLeadingAndTrailingHTMLSpaces(attr->value()); in parseMappedAttribute()
69 … addCSSImageProperty(attr, CSSPropertyBackgroundImage, document()->completeURL(url).string()); in parseMappedAttribute()
70 } else if (attr->name() == bordercolorAttr) { in parseMappedAttribute()
71 if (!attr->value().isEmpty()) { in parseMappedAttribute()
72 addCSSColor(attr, CSSPropertyBorderColor, attr->value()); in parseMappedAttribute()
73 addCSSProperty(attr, CSSPropertyBorderTopStyle, CSSValueSolid); in parseMappedAttribute()
[all …]
DHTMLFrameSetElement.cpp74 void HTMLFrameSetElement::parseMappedAttribute(Attribute* attr) in parseMappedAttribute() argument
76 if (attr->name() == rowsAttr) { in parseMappedAttribute()
77 if (!attr->isNull()) { in parseMappedAttribute()
78 m_rowLengths = newLengthArray(attr->value().string(), m_totalRows); in parseMappedAttribute()
81 } else if (attr->name() == colsAttr) { in parseMappedAttribute()
82 if (!attr->isNull()) { in parseMappedAttribute()
83 m_colLengths = newLengthArray(attr->value().string(), m_totalCols); in parseMappedAttribute()
86 } else if (attr->name() == frameborderAttr) { in parseMappedAttribute()
87 if (!attr->isNull()) { in parseMappedAttribute()
89 if (attr->value().toInt() == 0) { in parseMappedAttribute()
[all …]
DHTMLBodyElement.cpp96 void HTMLBodyElement::parseMappedAttribute(Attribute* attr) in parseMappedAttribute() argument
98 if (attr->name() == backgroundAttr) { in parseMappedAttribute()
99 String url = stripLeadingAndTrailingHTMLSpaces(attr->value()); in parseMappedAttribute()
101 … addCSSImageProperty(attr, CSSPropertyBackgroundImage, document()->completeURL(url).string()); in parseMappedAttribute()
102 } else if (attr->name() == marginwidthAttr || attr->name() == leftmarginAttr) { in parseMappedAttribute()
103 addCSSLength(attr, CSSPropertyMarginRight, attr->value()); in parseMappedAttribute()
104 addCSSLength(attr, CSSPropertyMarginLeft, attr->value()); in parseMappedAttribute()
105 } else if (attr->name() == marginheightAttr || attr->name() == topmarginAttr) { in parseMappedAttribute()
106 addCSSLength(attr, CSSPropertyMarginBottom, attr->value()); in parseMappedAttribute()
107 addCSSLength(attr, CSSPropertyMarginTop, attr->value()); in parseMappedAttribute()
[all …]
DHTMLElement.cpp133 void HTMLElement::parseMappedAttribute(Attribute* attr) in parseMappedAttribute() argument
135 if (isIdAttributeName(attr->name()) || attr->name() == classAttr || attr->name() == styleAttr) in parseMappedAttribute()
136 return StyledElement::parseMappedAttribute(attr); in parseMappedAttribute()
139 if (attr->name() == alignAttr) { in parseMappedAttribute()
140 if (equalIgnoringCase(attr->value(), "middle")) in parseMappedAttribute()
141 addCSSProperty(attr, CSSPropertyTextAlign, "center"); in parseMappedAttribute()
143 addCSSProperty(attr, CSSPropertyTextAlign, attr->value()); in parseMappedAttribute()
144 } else if (attr->name() == contenteditableAttr) { in parseMappedAttribute()
145 setContentEditable(attr); in parseMappedAttribute()
146 } else if (attr->name() == hiddenAttr) { in parseMappedAttribute()
[all …]
DHTMLTableElement.cpp305 void HTMLTableElement::parseMappedAttribute(Attribute* attr) in parseMappedAttribute() argument
310 if (attr->name() == widthAttr) in parseMappedAttribute()
311 addCSSLength(attr, CSSPropertyWidth, attr->value()); in parseMappedAttribute()
312 else if (attr->name() == heightAttr) in parseMappedAttribute()
313 addCSSLength(attr, CSSPropertyHeight, attr->value()); in parseMappedAttribute()
314 else if (attr->name() == borderAttr) { in parseMappedAttribute()
316 if (attr->decl()) { in parseMappedAttribute()
317 RefPtr<CSSValue> val = attr->decl()->getPropertyCSSValue(CSSPropertyBorderLeftWidth); in parseMappedAttribute()
322 } else if (!attr->isNull()) { in parseMappedAttribute()
324 if (attr->isEmpty()) in parseMappedAttribute()
[all …]
DHTMLImageElement.cpp101 void HTMLImageElement::parseMappedAttribute(Attribute* attr) in parseMappedAttribute() argument
103 const QualifiedName& attrName = attr->name(); in parseMappedAttribute()
110 addCSSLength(attr, CSSPropertyWidth, attr->value()); in parseMappedAttribute()
112 addCSSLength(attr, CSSPropertyHeight, attr->value()); in parseMappedAttribute()
115 addCSSLength(attr, CSSPropertyBorderWidth, attr->value().toInt() ? attr->value() : "0"); in parseMappedAttribute()
116 addCSSProperty(attr, CSSPropertyBorderTopStyle, CSSValueSolid); in parseMappedAttribute()
117 addCSSProperty(attr, CSSPropertyBorderRightStyle, CSSValueSolid); in parseMappedAttribute()
118 addCSSProperty(attr, CSSPropertyBorderBottomStyle, CSSValueSolid); in parseMappedAttribute()
119 addCSSProperty(attr, CSSPropertyBorderLeftStyle, CSSValueSolid); in parseMappedAttribute()
121 addCSSLength(attr, CSSPropertyMarginTop, attr->value()); in parseMappedAttribute()
[all …]
DHTMLFrameElementBase.cpp110 void HTMLFrameElementBase::parseMappedAttribute(Attribute* attr) in parseMappedAttribute() argument
112 if (attr->name() == srcAttr) in parseMappedAttribute()
113 setLocation(stripLeadingAndTrailingHTMLSpaces(attr->value())); in parseMappedAttribute()
114 else if (isIdAttributeName(attr->name())) { in parseMappedAttribute()
116 HTMLFrameOwnerElement::parseMappedAttribute(attr); in parseMappedAttribute()
117 m_frameName = attr->value(); in parseMappedAttribute()
118 } else if (attr->name() == nameAttr) { in parseMappedAttribute()
119 m_frameName = attr->value(); in parseMappedAttribute()
123 } else if (attr->name() == marginwidthAttr) { in parseMappedAttribute()
124 m_marginWidth = attr->value().toInt(); in parseMappedAttribute()
[all …]
/external/webkit/Source/WebCore/mathml/
DMathMLElement.cpp63 void MathMLElement::parseMappedAttribute(Attribute* attr) in parseMappedAttribute() argument
65 if (attr->name() == mathbackgroundAttr) in parseMappedAttribute()
66 addCSSProperty(attr, CSSPropertyBackgroundColor, attr->value()); in parseMappedAttribute()
67 else if (attr->name() == mathsizeAttr) { in parseMappedAttribute()
69 if (attr->value() != "normal" && attr->value() != "small" && attr->value() != "big") in parseMappedAttribute()
70 addCSSProperty(attr, CSSPropertyFontSize, attr->value()); in parseMappedAttribute()
71 } else if (attr->name() == mathcolorAttr) in parseMappedAttribute()
72 addCSSProperty(attr, CSSPropertyColor, attr->value()); in parseMappedAttribute()
74 else if (attr->name() == fontsizeAttr) in parseMappedAttribute()
75 addCSSProperty(attr, CSSPropertyFontSize, attr->value()); in parseMappedAttribute()
[all …]
/external/openssl/crypto/x509/
Dx509_att.c122 X509_ATTRIBUTE *attr) in STACK_OF()
141 if ((new_attr=X509_ATTRIBUTE_dup(attr)) == NULL) in STACK_OF()
160 X509_ATTRIBUTE *attr; in STACK_OF() local
162 attr = X509_ATTRIBUTE_create_by_OBJ(NULL, obj, type, bytes, len); in STACK_OF()
163 if(!attr) return 0; in STACK_OF()
164 ret = X509at_add1_attr(x, attr); in STACK_OF()
165 X509_ATTRIBUTE_free(attr); in STACK_OF()
173 X509_ATTRIBUTE *attr; in STACK_OF() local
175 attr = X509_ATTRIBUTE_create_by_NID(NULL, nid, type, bytes, len); in STACK_OF()
176 if(!attr) return 0; in STACK_OF()
[all …]
/external/libxslt/libxslt/
Dtemplates.c463 xmlAttrPtr attr) in xsltAttrTemplateProcess() argument
468 if ((ctxt == NULL) || (attr == NULL) || (target == NULL)) in xsltAttrTemplateProcess()
471 if (attr->type != XML_ATTRIBUTE_NODE) in xsltAttrTemplateProcess()
478 if (attr->psvi == xsltXSLTAttrMarker) in xsltAttrTemplateProcess()
481 if ((attr->ns != NULL) && xmlStrEqual(attr->ns->href, XSLT_NAMESPACE)) in xsltAttrTemplateProcess()
487 if (attr->children != NULL) { in xsltAttrTemplateProcess()
488 if ((attr->children->type != XML_TEXT_NODE) || in xsltAttrTemplateProcess()
489 (attr->children->next != NULL)) in xsltAttrTemplateProcess()
491 xsltTransformError(ctxt, NULL, attr->parent, in xsltAttrTemplateProcess()
496 value = attr->children->content; in xsltAttrTemplateProcess()
[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/elfutils/libdw/
Ddwarf_formref.c59 __libdw_formref (attr, return_offset) in __libdw_formref() argument
60 Dwarf_Attribute *attr; in __libdw_formref()
65 if (attr->valp == NULL)
71 switch (attr->form)
74 *return_offset = *attr->valp;
78 *return_offset = read_2ubyte_unaligned (attr->cu->dbg, attr->valp);
82 *return_offset = read_4ubyte_unaligned (attr->cu->dbg, attr->valp);
86 *return_offset = read_8ubyte_unaligned (attr->cu->dbg, attr->valp);
90 datap = attr->valp;
109 dwarf_formref (attr, return_offset) in dwarf_formref() argument
[all …]
Ddwarf_formref_die.c59 dwarf_formref_die (attr, die_mem) in dwarf_formref_die() argument
60 Dwarf_Attribute *attr; in dwarf_formref_die()
63 if (attr == NULL)
67 if (attr->form == DW_FORM_ref_addr)
71 uint8_t ref_size = (attr->cu->version == 2
72 ? attr->cu->address_size
73 : attr->cu->offset_size);
76 offset = read_8ubyte_unaligned (attr->cu->dbg, attr->valp);
78 offset = read_4ubyte_unaligned (attr->cu->dbg, attr->valp);
83 if (unlikely (__libdw_formref (attr, &offset) != 0))
[all …]
Ddwarf_formblock.c60 dwarf_formblock (attr, return_block) in dwarf_formblock() argument
61 Dwarf_Attribute *attr; in dwarf_formblock()
64 if (attr == NULL)
69 switch (attr->form)
72 return_block->length = *(uint8_t *) attr->valp;
73 return_block->data = attr->valp + 1;
77 return_block->length = read_2ubyte_unaligned (attr->cu->dbg, attr->valp);
78 return_block->data = attr->valp + 2;
82 return_block->length = read_4ubyte_unaligned (attr->cu->dbg, attr->valp);
83 return_block->data = attr->valp + 4;
[all …]
/external/linux-tools-perf/util/include/linux/added/
Dhw_breakpoint.h38 static inline void hw_breakpoint_init(struct perf_event_attr *attr) in hw_breakpoint_init() argument
40 memset(attr, 0, sizeof(*attr)); in hw_breakpoint_init()
42 attr->type = PERF_TYPE_BREAKPOINT; in hw_breakpoint_init()
43 attr->size = sizeof(*attr); in hw_breakpoint_init()
48 attr->pinned = 1; in hw_breakpoint_init()
49 attr->sample_period = 1; in hw_breakpoint_init()
52 static inline void ptrace_breakpoint_init(struct perf_event_attr *attr) in ptrace_breakpoint_init() argument
54 hw_breakpoint_init(attr); in ptrace_breakpoint_init()
55 attr->exclude_kernel = 1; in ptrace_breakpoint_init()
60 return bp->attr.bp_addr; in hw_breakpoint_addr()
[all …]
/external/wpa_supplicant_8/src/radius/
Dradius.c263 struct radius_attr_type *attr; in radius_msg_dump_attr() local
267 attr = radius_get_attr_type(hdr->type); in radius_msg_dump_attr()
270 hdr->type, attr ? attr->name : "?Unknown?", hdr->length); in radius_msg_dump_attr()
272 if (attr == NULL || hdr->length < sizeof(struct radius_attr_hdr)) in radius_msg_dump_attr()
278 switch (attr->data_type) { in radius_msg_dump_attr()
338 struct radius_attr_hdr *attr = radius_get_attr_hdr(msg, i); in radius_msg_dump() local
339 radius_msg_dump_attr(attr); in radius_msg_dump()
349 struct radius_attr_hdr *attr; in radius_msg_finish() local
352 attr = radius_msg_add_attr(msg, in radius_msg_finish()
355 if (attr == NULL) { in radius_msg_finish()
[all …]
/external/webkit/Source/WebCore/dom/
DStyledElement.cpp73 …Declaration* StyledElement::getMappedAttributeDecl(MappedAttributeEntry entryType, Attribute* attr) in getMappedAttributeDecl() argument
77 …n mappedAttributeDecls->get(MappedAttributeKey(entryType, attr->name().localName().impl(), attr->v… in getMappedAttributeDecl()
87 void StyledElement::setMappedAttributeDecl(MappedAttributeEntry entryType, Attribute* attr, CSSMapp… in setMappedAttributeDecl() argument
91 …mappedAttributeDecls->set(MappedAttributeKey(entryType, attr->name().localName().impl(), attr->val… in setMappedAttributeDecl()
145 void StyledElement::attributeChanged(Attribute* attr, bool preserveDecls) in attributeChanged() argument
147 if (!attr->isMappedAttribute()) { in attributeChanged()
148 Element::attributeChanged(attr, preserveDecls); in attributeChanged()
152 if (attr->decl() && !preserveDecls) { in attributeChanged()
153 attr->setDecl(0); in attributeChanged()
161 bool needToParse = mapToEntry(attr->name(), entry); in attributeChanged()
[all …]

12345678910>>...37