/external/wpa_supplicant_6/wpa_supplicant/src/eap_common/ |
eap_sim_common.c | 503 struct eap_sim_attrs *attr, int aka, int encr) 508 os_memset(attr, 0, sizeof(*attr)); 509 attr->id_req = NO_ID_REQ; 510 attr->notification = -1; 511 attr->counter = -1; 512 attr->selected_version = -1; 513 attr->client_error_code = -1; 549 attr->rand = apos; 550 attr->num_chal = alen / GSM_RAND_LEN [all...] |
/bionic/libc/bionic/ |
pthread-rwlocks.c | 70 int pthread_rwlockattr_init(pthread_rwlockattr_t *attr) 72 if (!attr) 75 *attr = PTHREAD_PROCESS_PRIVATE; 79 int pthread_rwlockattr_destroy(pthread_rwlockattr_t *attr) 81 if (!attr) 84 *attr = -1; 88 int pthread_rwlockattr_setpshared(pthread_rwlockattr_t *attr, int pshared) 90 if (!attr) 96 *attr = pshared; 103 int pthread_rwlockattr_getpshared(pthread_rwlockattr_t *attr, int *pshared [all...] |
/external/ipsec-tools/src/racoon/ |
isakmp_cfg.c | 134 * We expect HDR, HASH, ATTR 318 struct isakmp_data *attr; local 327 attr = (struct isakmp_data *)(attrpl + 1); 331 type = ntohs(attr->type); 339 s_isakmp_cfg_type(type), ntohs(attr->lorv)); 344 attr, ntohs(attrpl->id))) != 0) 355 tlen -= sizeof(*attr); 356 attr++; 360 type = ntohs(attr->type); 361 alen = ntohs(attr->lorv) 491 struct isakmp_data *attr; local 659 struct isakmp_data *attr; local 1710 struct isakmp_data *attr; local [all...] |
/external/wpa_supplicant/ |
eap_aka.c | 141 struct eap_sim_attrs *attr) 143 if (attr->next_pseudonym) { 145 data->pseudonym = os_malloc(attr->next_pseudonym_len); 151 os_memcpy(data->pseudonym, attr->next_pseudonym, 152 attr->next_pseudonym_len); 153 data->pseudonym_len = attr->next_pseudonym_len; 160 if (attr->next_reauth_id) { 162 data->reauth_id = os_malloc(attr->next_reauth_id_len); 168 os_memcpy(data->reauth_id, attr->next_reauth_id, 169 attr->next_reauth_id_len) 735 struct eap_sim_attrs attr; local [all...] |
/external/webkit/WebCore/html/ |
HTMLLinkElement.cpp | 119 void HTMLLinkElement::parseMappedAttribute(MappedAttribute *attr) 121 if (attr->name() == relAttr) { 123 tokenizeRelAttribute(attr->value(), m_isStyleSheet, m_alternate, m_isIcon, m_isTouchIcon, m_isPrecomposedTouchIcon, m_isDNSPrefetch); 125 tokenizeRelAttribute(attr->value(), m_isStyleSheet, m_alternate, m_isIcon, m_isDNSPrefetch); 128 } else if (attr->name() == hrefAttr) { 129 m_url = document()->completeURL(deprecatedParseURL(attr->value())); 131 } else if (attr->name() == typeAttr) { 132 m_type = attr->value(); 134 } else if (attr->name() == mediaAttr) { 135 m_media = attr->value().string().lower() [all...] |
HTMLObjectElement.cpp | 70 void HTMLObjectElement::parseMappedAttribute(MappedAttribute *attr) 72 String val = attr->value(); 74 if (attr->name() == typeAttr) { 83 } else if (attr->name() == dataAttr) { 92 } else if (attr->name() == classidAttr) { 96 } else if (attr->name() == onloadAttr) 97 setAttributeEventListener(eventNames().loadEvent, createAttributeEventListener(this, attr)); 98 else if (attr->name() == onbeforeloadAttr) 99 setAttributeEventListener(eventNames().beforeloadEvent, createAttributeEventListener(this, attr)); 100 else if (attr->name() == nameAttr) [all...] |
HTMLTextAreaElement.cpp | 108 void HTMLTextAreaElement::parseMappedAttribute(MappedAttribute* attr) 110 if (attr->name() == rowsAttr) { 111 int rows = attr->value().toInt(); 119 } else if (attr->name() == colsAttr) { 120 int cols = attr->value().toInt(); 128 } else if (attr->name() == wrapAttr) { 132 if (equalIgnoringCase(attr->value(), "physical") || equalIgnoringCase(attr->value(), "hard") || equalIgnoringCase(attr->value(), "on")) 134 else if (equalIgnoringCase(attr->value(), "off") [all...] |
HTMLImageLoader.cpp | 52 String HTMLImageLoader::sourceURI(const AtomicString& attr) const 54 return deprecatedParseURL(attr);
|
HTMLOptionElement.cpp | 116 void HTMLOptionElement::parseMappedAttribute(MappedAttribute *attr) 118 if (attr->name() == selectedAttr) 119 m_data.setSelected(!attr->isNull()); 120 else if (attr->name() == valueAttr) 121 m_data.setValue(attr->value()); 122 else if (attr->name() == labelAttr) 123 m_data.setLabel(attr->value()); 125 HTMLFormControlElement::parseMappedAttribute(attr);
|
HTMLScriptElement.cpp | 50 bool HTMLScriptElement::isURLAttribute(Attribute* attr) const 52 return attr->name() == sourceAttributeValue(); 66 void HTMLScriptElement::parseMappedAttribute(MappedAttribute* attr) 68 const QualifiedName& attrName = attr->name(); 71 handleSourceAttribute(m_data, attr->value()); 73 setAttributeEventListener(eventNames().loadEvent, createAttributeEventListener(this, attr)); 75 setAttributeEventListener(eventNames().beforeloadEvent, createAttributeEventListener(this, attr)); 77 HTMLElement::parseMappedAttribute(attr);
|
HTMLSelectElement.cpp | 173 void HTMLSelectElement::parseMappedAttribute(MappedAttribute* attr) 176 if (attr->name() == sizeAttr) { 180 int size = attr->value().toInt(); 182 if (attrSize != attr->value()) 183 attr->setValue(attrSize); 191 } else if (attr->name() == multipleAttr) 192 SelectElement::parseMultipleAttribute(m_data, this, attr); 193 else if (attr->name() == accesskeyAttr) { 195 } else if (attr->name() == alignAttr) { 198 } else if (attr->name() == onfocusAttr) [all...] |
/external/skia/src/xml/ |
SkDOM.cpp | 131 const Attr* attr = node->attrs(); local 132 const Attr* stop = attr + node->fAttrCount; 134 while (attr < stop) 136 if (!strcmp(attr->fName, name)) 137 return attr->fValue; 138 attr += 1; 145 const SkDOM::Attr* SkDOM::getFirstAttr(const Node* node) const 150 const SkDOM::Attr* SkDOM::getNextAttr(const Node* node, const Attr* attr) cons 262 SkDOM::Attr* attr = fAttrs.append(); local 453 const Attr* attr = node->attrs(); local [all...] |
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
PaintDrawableTest.java | 142 AttributeSet attr = getAtrributeSet(parser); local 143 assertNotNull(attr); 153 assertTrue(paintDrawable.inflateTag("padding", getContext().getResources(), parser, attr)); 158 attr = getAtrributeSet(parser); 159 assertNotNull(attr); 161 attr)); 166 new MyPaintDrawable().inflateTag(null, getContext().getResources(), parser, attr); 175 new MyPaintDrawable().inflateTag("padding", null, parser, attr); 183 attr = getAtrributeSet(parser); 184 assertNotNull(attr); [all...] |
StateListDrawableTest.java | 24 import android.R.attr; 93 mStateListDrawable.addState(new int[] { attr.state_focused, - attr.state_selected }, 121 mStateListDrawable.addState(new int[] { attr.state_focused, - attr.state_selected }, 133 mStateListDrawable.setState(new int[] { attr.state_focused, - attr.state_selected }); 141 mStateListDrawable.onStateChange(new int[] { attr.state_focused, - attr.state_selected }); 144 assertFalse(mStateListDrawable.onStateChange(new int[] { attr.state_focused })) [all...] |
/libcore/luni/src/test/java/libcore/java/text/ |
OldAttributedCharacterIteratorTest.java | 37 HashSet<AttributedCharacterIterator.Attribute> attr = local 39 attr.add(AttributedCharacterIterator.Attribute.LANGUAGE); 41 2, it.getRunLimit(attr)); 48 4, it.getRunLimit(attr)); 50 attr.add(AttributedCharacterIterator.Attribute.READING); 52 4, it.getRunLimit(attr)); 70 for(AttributedCharacterIterator.Attribute attr:attributes) { 71 assertEquals(AttributedCharacterIterator.Attribute.LANGUAGE, attr); 176 HashSet<AttributedCharacterIterator.Attribute> attr = local 178 attr.add(AttributedCharacterIterator.Attribute.LANGUAGE) [all...] |
/device/samsung/crespo/alsa-utils/alsactl/ |
init_parse.c | 220 static const char *cardinfo_get(struct space *space, const char *attr) 222 if (strncasecmp(attr, "CARD", 4) == 0) { 227 if (strncasecmp(attr, "ID", 2) == 0) 229 if (strncasecmp(attr, "DRIVER", 6) == 0) 231 if (strncasecmp(attr, "NAME", 4) == 0) 233 if (strncasecmp(attr, "LONGNAME", 8) == 0) 235 if (strncasecmp(attr, "MIXERNAME", 9) == 0) 237 if (strncasecmp(attr, "COMPONENTS", 10) == 0) 239 Perror(space, "unknown cardinfo{} attribute '%s'", attr); 489 static const char *elemid_get(struct space *space, const char *attr) 857 char *attr; local 881 char *attr = NULL; local 920 char *head, *tail, *pos, *cpos, *attr, *rest; local 1268 char *key, *value, *attr, *temp; local [all...] |
/external/clearsilver/util/ |
neo_hdf.c | 108 static void _dealloc_hdf_attr(HDF_ATTR **attr) 112 while ((*attr) != NULL) 114 next = (*attr)->next; 115 if ((*attr)->key) free((*attr)->key); 116 if ((*attr)->value) free((*attr)->value); 117 free(*attr); 118 *attr = next; 120 *attr = NULL 405 HDF_ATTR *attr, *last; local 1178 HDF_ATTR *attr = hdf->attr; local 1565 HDF_ATTR *attr = NULL; local [all...] |
/external/webkit/WebCore/svg/ |
SVGFilterElement.cpp | 28 #include "Attr.h" 69 void SVGFilterElement::parseMappedAttribute(MappedAttribute* attr) 71 const String& value = attr->value(); 72 if (attr->name() == SVGNames::filterUnitsAttr) { 77 } else if (attr->name() == SVGNames::primitiveUnitsAttr) { 82 } else if (attr->name() == SVGNames::xAttr) 84 else if (attr->name() == SVGNames::yAttr) 86 else if (attr->name() == SVGNames::widthAttr) 88 else if (attr->name() == SVGNames::heightAttr) 90 else if (attr->name() == SVGNames::filterResAttr) [all...] |
SVGPatternElement.cpp | 72 void SVGPatternElement::parseMappedAttribute(MappedAttribute* attr) 74 if (attr->name() == SVGNames::patternUnitsAttr) { 75 if (attr->value() == "userSpaceOnUse") 77 else if (attr->value() == "objectBoundingBox") 79 } else if (attr->name() == SVGNames::patternContentUnitsAttr) { 80 if (attr->value() == "userSpaceOnUse") 82 else if (attr->value() == "objectBoundingBox") 84 } else if (attr->name() == SVGNames::patternTransformAttr) { 86 if (!SVGTransformable::parseTransformAttribute(patternTransforms, attr->value())) { 90 } else if (attr->name() == SVGNames::xAttr [all...] |
SVGAElement.cpp | 27 #include "Attr.h" 66 void SVGAElement::parseMappedAttribute(MappedAttribute* attr) 68 if (attr->name() == SVGNames::targetAttr) 69 setTargetBaseValue(attr->value()); 71 if (SVGURIReference::parseMappedAttribute(attr)) 73 if (SVGTests::parseMappedAttribute(attr)) 75 if (SVGLangSpace::parseMappedAttribute(attr)) 77 if (SVGExternalResourcesRequired::parseMappedAttribute(attr)) 79 SVGStyledTransformableElement::parseMappedAttribute(attr);
|
SVGScriptElement.cpp | 52 void SVGScriptElement::parseMappedAttribute(MappedAttribute* attr) 54 const QualifiedName& attrName = attr->name(); 57 setType(attr->value()); 59 if (SVGURIReference::parseMappedAttribute(attr)) 61 if (SVGExternalResourcesRequired::parseMappedAttribute(attr)) 64 SVGElement::parseMappedAttribute(attr); 130 bool SVGScriptElement::isURLAttribute(Attribute* attr) const 132 return attr->name() == sourceAttributeValue();
|
SVGStyledTransformableElement.cpp | 27 #include "Attr.h" 69 void SVGStyledTransformableElement::parseMappedAttribute(MappedAttribute* attr) 71 if (SVGTransformable::isKnownAttribute(attr->name())) { 73 if (!SVGTransformable::parseTransformAttribute(localTransforms, attr->value())) { 78 SVGStyledLocatableElement::parseMappedAttribute(attr);
|
/external/ppp/pppd/plugins/radius/ |
avpair.c | 161 DICT_ATTR *attr; local 192 if ((attr = rc_dict_getattr (attribute, VENDOR_NONE)) == (DICT_ATTR *) NULL) 215 strcpy (pair->name, attr->name); 216 pair->attribute = attr->value; 218 pair->type = attr->type; 221 switch (attr->type) 240 warn("rc_avpair_gen: %s has unknown type", attr->name); 269 DICT_ATTR *attr; local 303 if ((attr = rc_dict_getattr(vtype, vendor_id)) == NULL) { 313 strcpy(pair->name, attr->name) 527 DICT_ATTR *attr = NULL; local [all...] |
/external/quake/quake/src/QW/ |
qwcl.x11.spec.sh | 38 %attr(644,root,root) ${3}/readme.qwcl.x11 39 %attr(755,root,root) ${3}/qwcl.x11
|
/frameworks/base/core/java/android/widget/ |
CheckBox.java | 62 this(context, attrs, com.android.internal.R.attr.checkboxStyle);
|