/prebuilt/ndk/android-ndk-r6/platforms/android-3/arch-x86/usr/include/linux/ |
sysfs.h | 31 #define __ATTR(_name,_mode,_show,_store) { .attr = {.name = __stringify(_name), .mode = _mode, .owner = THIS_MODULE }, .show = _show, .store = _store, } 33 #define __ATTR_RO(_name) { .attr = { .name = __stringify(_name), .mode = 0444, .owner = THIS_MODULE }, .show = _name##_show, } 35 #define __ATTR_NULL { .attr = { .name = NULL } } 37 #define attr_name(_attr) (_attr).attr.name 42 struct attribute attr; member in struct:bin_attribute 47 int (*mmap)(struct kobject *, struct bin_attribute *attr,
|
/external/webkit/Source/WebCore/dom/ |
NamedNodeMap.cpp | 28 #include "Attr.h" 47 if (Attr* attr = m_attributes[i]->attr()) 48 attr->m_element = 0; 108 Attr *attr = static_cast<Attr*>(arg); local 110 Attribute* a = attr->attr(); 313 Attribute* attr = attributeItem(i); local 332 Attribute* attr = attributeItem(i); local 349 Attribute* attr = attributeItem(i); local [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/radius/ |
radius.c | 215 struct radius_attr_type *attr; local 219 attr = radius_get_attr_type(hdr->type); 222 hdr->type, attr ? attr->name : "?Unknown?", hdr->length); 224 if (attr == NULL) 230 switch (attr->data_type) { 290 struct radius_attr_hdr *attr = radius_get_attr_hdr(msg, i); local 291 radius_msg_dump_attr(attr); 301 struct radius_attr_hdr *attr; local 304 attr = radius_msg_add_attr(msg 331 struct radius_attr_hdr *attr; local 415 struct radius_attr_hdr *attr; local 460 struct radius_attr_hdr *attr; local 549 struct radius_attr_hdr *attr; local 590 struct radius_attr_hdr *attr = NULL, *tmp; local 674 struct radius_attr_hdr *attr; local 732 struct radius_attr_hdr *attr = radius_get_attr_hdr(msg, i); local 978 struct radius_attr_hdr *attr; local 1100 struct radius_attr_hdr *attr = NULL, *tmp; local 1125 struct radius_attr_hdr *attr = NULL, *tmp; local 1151 struct radius_attr_hdr *attr = radius_get_attr_hdr(msg, i); local 1178 struct radius_attr_hdr *attr = NULL; local [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
ElementImpl.java | 22 import org.w3c.dom.Attr; 61 AttrImpl attr = attributes.get(i); local 62 if (Objects.equal(name, attr.getNodeName())) { 72 AttrImpl attr = attributes.get(i); local 73 if (Objects.equal(namespaceURI, attr.getNamespaceURI()) 74 && Objects.equal(localName, attr.getLocalName())) { 83 Attr attr = getAttributeNode(name); local 85 if (attr == null) { 89 return attr.getValue() 93 Attr attr = getAttributeNodeNS(namespaceURI, localName); local 247 Attr attr = getAttributeNode(name); local 259 Attr attr = getAttributeNodeNS(namespaceURI, qualifiedName); local 394 AttrImpl attr = getAttributeNode(name); local 404 AttrImpl attr = getAttributeNodeNS(namespaceURI, localName); local [all...] |
/external/quake/quake/src/QW/ |
glqwcl.spec.sh | 38 %attr(644,root,root) ${3}/readme.glqwcl 39 %attr(4755,root,root) ${3}/glqwcl 40 %attr(4755,root,root) ${3}/glqwcl.glx 41 %attr(755,root,root) ${3}/glqwcl.3dfxgl 42 %attr(755,root,root) ${3}/lib3dfxgl.so
|
/external/webkit/Source/WebCore/bindings/v8/ |
ScriptEventListener.cpp | 45 PassRefPtr<V8LazyEventListener> createAttributeEventListener(Node* node, Attribute* attr) 48 ASSERT(attr); 49 if (attr->isNull()) 65 return V8LazyEventListener::create(attr->localName().string(), node->isSVGElement(), attr->value(), sourceURL, position, WorldContextHandle(UseMainWorld)); 68 PassRefPtr<V8LazyEventListener> createAttributeEventListener(Frame* frame, Attribute* attr) 73 ASSERT(attr); 74 if (attr->isNull()) 83 return V8LazyEventListener::create(attr->localName().string(), frame->document()->isSVGDocument(), attr->value(), sourceURL, position, WorldContextHandle(UseMainWorld)) [all...] |
/external/webkit/Source/WebCore/wml/ |
WMLAElement.cpp | 61 void WMLAElement::parseMappedAttribute(Attribute* attr) 63 if (attr->name() == HTMLNames::hrefAttr) { 65 setIsLink(!attr->isNull()); 69 String value = attr->value(); 73 } else if (attr->name() == HTMLNames::nameAttr 74 || attr->name() == HTMLNames::titleAttr 75 || attr->name() == HTMLNames::relAttr) { 78 WMLElement::parseMappedAttribute(attr); 146 bool WMLAElement::isURLAttribute(Attribute *attr) const 148 return attr->name() == HTMLNames::hrefAttr [all...] |
/external/webkit/Source/WebCore/svg/ |
SVGElement.cpp | 239 void SVGElement::parseMappedAttribute(Attribute* attr) 242 if (attr->name() == onloadAttr) 243 setAttributeEventListener(eventNames().loadEvent, createAttributeEventListener(this, attr)); 244 else if (attr->name() == onclickAttr) 245 setAttributeEventListener(eventNames().clickEvent, createAttributeEventListener(this, attr)); 246 else if (attr->name() == onmousedownAttr) 247 setAttributeEventListener(eventNames().mousedownEvent, createAttributeEventListener(this, attr)); 248 else if (attr->name() == onmousemoveAttr) 249 setAttributeEventListener(eventNames().mousemoveEvent, createAttributeEventListener(this, attr)); 250 else if (attr->name() == onmouseoutAttr [all...] |
SVGEllipseElement.cpp | 56 void SVGEllipseElement::parseMappedAttribute(Attribute* attr) 58 if (attr->name() == SVGNames::cxAttr) 59 setCxBaseValue(SVGLength(LengthModeWidth, attr->value())); 60 else if (attr->name() == SVGNames::cyAttr) 61 setCyBaseValue(SVGLength(LengthModeHeight, attr->value())); 62 else if (attr->name() == SVGNames::rxAttr) { 63 setRxBaseValue(SVGLength(LengthModeWidth, attr->value())); 66 } else if (attr->name() == SVGNames::ryAttr) { 67 setRyBaseValue(SVGLength(LengthModeHeight, attr->value())); 71 if (SVGTests::parseMappedAttribute(attr)) [all...] |
SVGGradientElement.cpp | 54 void SVGGradientElement::parseMappedAttribute(Attribute* attr) 56 if (attr->name() == SVGNames::gradientUnitsAttr) { 57 if (attr->value() == "userSpaceOnUse") 59 else if (attr->value() == "objectBoundingBox") 61 } else if (attr->name() == SVGNames::gradientTransformAttr) { 63 if (!SVGTransformable::parseTransformAttribute(newList, attr->value())) 68 } else if (attr->name() == SVGNames::spreadMethodAttr) { 69 if (attr->value() == "reflect") 71 else if (attr->value() == "repeat") 73 else if (attr->value() == "pad" [all...] |
SVGLineElement.cpp | 56 void SVGLineElement::parseMappedAttribute(Attribute* attr) 58 if (attr->name() == SVGNames::x1Attr) 59 setX1BaseValue(SVGLength(LengthModeWidth, attr->value())); 60 else if (attr->name() == SVGNames::y1Attr) 61 setY1BaseValue(SVGLength(LengthModeHeight, attr->value())); 62 else if (attr->name() == SVGNames::x2Attr) 63 setX2BaseValue(SVGLength(LengthModeWidth, attr->value())); 64 else if (attr->name() == SVGNames::y2Attr) 65 setY2BaseValue(SVGLength(LengthModeHeight, attr->value())); 67 if (SVGTests::parseMappedAttribute(attr)) [all...] |
SVGGElement.cpp | 46 void SVGGElement::parseMappedAttribute(Attribute* attr) 48 if (SVGTests::parseMappedAttribute(attr)) 50 if (SVGLangSpace::parseMappedAttribute(attr)) 52 if (SVGExternalResourcesRequired::parseMappedAttribute(attr)) 55 SVGStyledTransformableElement::parseMappedAttribute(attr);
|
SVGImageElement.cpp | 62 void SVGImageElement::parseMappedAttribute(Attribute* attr) 64 if (attr->name() == SVGNames::xAttr) 65 setXBaseValue(SVGLength(LengthModeWidth, attr->value())); 66 else if (attr->name() == SVGNames::yAttr) 67 setYBaseValue(SVGLength(LengthModeHeight, attr->value())); 68 else if (attr->name() == SVGNames::preserveAspectRatioAttr) 69 SVGPreserveAspectRatio::parsePreserveAspectRatio(this, attr->value()); 70 else if (attr->name() == SVGNames::widthAttr) { 71 setWidthBaseValue(SVGLength(LengthModeWidth, attr->value())); 72 addCSSProperty(attr, CSSPropertyWidth, attr->value()) [all...] |
/external/webkit/LayoutTests/fast/dom/Attr/script-tests/ |
access-after-element-destruction.js | 1 description("Tests that accessing Attr after its Element has been destroyed works without crashing."); 39 var attr = element.attributes.item(0); variable 44 shouldBe("attr.name", "'a'"); 45 shouldBe("attr.specified", "true"); 46 shouldBe("attr.value", "'b'"); 47 shouldBe("attr.ownerElement.tagName", "'P'"); 49 attr.value = 'c'; 51 shouldBe("attr.value", "'c'");
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_common/ |
eap_sake_common.c | 24 static int eap_sake_parse_add_attr(struct eap_sake_parse_attr *attr, 37 attr->rand_s = pos + 2; 46 attr->rand_p = pos + 2; 55 attr->mic_s = pos + 2; 64 attr->mic_p = pos + 2; 68 attr->serverid = pos + 2; 69 attr->serverid_len = pos[1] - 2; 73 attr->peerid = pos + 2; 74 attr->peerid_len = pos[1] - 2; 78 attr->spi_s = pos + 2 [all...] |
/external/wpa_supplicant_8/src/eap_common/ |
eap_sake_common.c | 24 static int eap_sake_parse_add_attr(struct eap_sake_parse_attr *attr, 37 attr->rand_s = pos + 2; 46 attr->rand_p = pos + 2; 55 attr->mic_s = pos + 2; 64 attr->mic_p = pos + 2; 68 attr->serverid = pos + 2; 69 attr->serverid_len = pos[1] - 2; 73 attr->peerid = pos + 2; 74 attr->peerid_len = pos[1] - 2; 78 attr->spi_s = pos + 2 [all...] |
/external/wpa_supplicant/ |
radius.c | 209 struct radius_attr_type *attr; local 213 attr = radius_get_attr_type(hdr->type); 216 hdr->type, attr ? attr->name : "?Unknown?", hdr->length); 218 if (attr == NULL) 224 switch (attr->data_type) { 293 struct radius_attr_hdr *attr; local 296 attr = radius_msg_add_attr(msg, 299 if (attr == NULL) { 306 (u8 *) (attr + 1)) 323 struct radius_attr_hdr *attr; local 406 struct radius_attr_hdr *attr; local 457 struct radius_attr_hdr *attr; local 567 struct radius_attr_hdr *attr = msg->attrs[i]; local 586 struct radius_attr_hdr *attr = NULL; local 669 struct radius_attr_hdr *attr; local 727 struct radius_attr_hdr *attr = msg->attrs[i]; local 974 struct radius_attr_hdr *attr; local 1096 struct radius_attr_hdr *attr = NULL; local 1120 struct radius_attr_hdr *attr = NULL; local 1172 struct radius_attr_hdr *attr = NULL; local [all...] |
/bionic/libc/bionic/ |
pthread.c | 174 *p_stack_size = thread->attr.stack_size; 175 return thread->attr.stack_base; 220 void _init_thread(pthread_internal_t * thread, pid_t kernel_id, pthread_attr_t * attr, void * stack_base) 222 if (attr == NULL) { 223 thread->attr = gDefaultPthreadAttr; 225 thread->attr = *attr; 227 thread->attr.stack_base = stack_base; 231 if (thread->attr.sched_policy != SCHED_NORMAL) { 233 param.sched_priority = thread->attr.sched_priority [all...] |
/external/webkit/Source/WebCore/html/ |
HTMLAppletElement.cpp | 50 void HTMLAppletElement::parseMappedAttribute(Attribute* attr) 52 if (attr->name() == altAttr || 53 attr->name() == archiveAttr || 54 attr->name() == codeAttr || 55 attr->name() == codebaseAttr || 56 attr->name() == mayscriptAttr || 57 attr->name() == objectAttr) { 59 } else if (attr->name() == nameAttr) { 60 const AtomicString& newName = attr->value(); 67 } else if (isIdAttributeName(attr->name())) [all...] |
HTMLKeygenElement.cpp | 90 void HTMLKeygenElement::parseMappedAttribute(Attribute* attr) 93 if (attr->name() == disabledAttr) 94 shadowSelect()->setAttribute(attr->name(), attr->value()); 96 if (attr->name() == challengeAttr) 97 m_challenge = attr->value(); 98 else if (attr->name() == keytypeAttr) 99 m_keyType = attr->value(); 101 HTMLFormControlElement::parseMappedAttribute(attr);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/model/ |
UiManifestElementNode.java | 85 String attr = _Element_getAttributeNS(elem, local 88 if (attr == null || attr.length() == 0) { 89 attr = _Element_getAttributeNS(elem, 93 if (attr != null && attr.length() > 0) { 96 if (attr.contains(name)) { 97 return attr; 99 return String.format("%1$s (%2$s)", attr, name);
|
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
ElemAttributeSet.java | 118 ElemAttribute attr = (ElemAttribute) getFirstChildElem(); local 120 while (null != attr) 122 attr.execute(transformer); 124 attr = (ElemAttribute) attr.getNextSiblingElem();
|
/external/qemu/ |
compatfd.c | 72 pthread_attr_t attr; local 94 pthread_attr_init(&attr); 95 pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); 97 pthread_create(&tid, &attr, sigwait_compat, info); 99 pthread_attr_destroy(&attr);
|
/external/qemu/distrib/sdl-1.2.12/src/thread/pthread/ |
SDL_sysmutex.c | 44 pthread_mutexattr_t attr; local 49 pthread_mutexattr_init(&attr); 51 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE); 53 pthread_mutexattr_setkind_np(&attr, PTHREAD_MUTEX_RECURSIVE_NP); 57 if ( pthread_mutex_init(&mutex->id, &attr) != 0 ) {
|
/external/wpa_supplicant_6/wpa_supplicant/src/wps/ |
wps.c | 74 struct wps_parse_attr attr; local 77 if (wps_parse_msg(cfg->assoc_wps_ie, &attr) < 0) { 80 } else if (attr.request_type == NULL) { 86 *attr.request_type); 87 data->request_type = *attr.request_type; 169 struct wps_parse_attr attr; local 172 * In theory, this could also verify that attr.sel_reg_config_methods 178 if (wps_parse_msg(msg, &attr) < 0 || 179 !attr.selected_registrar || *attr.selected_registrar == 0 | 195 struct wps_parse_attr attr; local 229 struct wps_parse_attr attr; local [all...] |