HomeSort by relevance Sort by last modified time
    Searched refs:attr (Results 26 - 50 of 840) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/webkit/WebCore/html/
HTMLParagraphElement.cpp 56 void HTMLParagraphElement::parseMappedAttribute(MappedAttribute *attr)
58 if (attr->name() == alignAttr) {
59 String v = attr->value();
60 if (equalIgnoringCase(attr->value(), "middle") || equalIgnoringCase(attr->value(), "center"))
61 addCSSProperty(attr, CSSPropertyTextAlign, CSSValueWebkitCenter);
62 else if (equalIgnoringCase(attr->value(), "left"))
63 addCSSProperty(attr, CSSPropertyTextAlign, CSSValueWebkitLeft);
64 else if (equalIgnoringCase(attr->value(), "right"))
65 addCSSProperty(attr, CSSPropertyTextAlign, CSSValueWebkitRight)
    [all...]
HTMLFrameSetElement.cpp 86 void HTMLFrameSetElement::parseMappedAttribute(MappedAttribute *attr)
88 if (attr->name() == rowsAttr) {
89 if (!attr->isNull()) {
91 m_rows = newLengthArray(attr->value().string(), m_totalRows);
94 } else if (attr->name() == colsAttr) {
95 if (!attr->isNull()) {
97 m_cols = newLengthArray(attr->value().string(), m_totalCols);
100 } else if (attr->name() == frameborderAttr) {
101 if (!attr->isNull()) {
103 if (attr->value().toInt() == 0)
    [all...]
HTMLIFrameElement.cpp 104 void HTMLIFrameElement::parseMappedAttribute(MappedAttribute* attr)
106 if (attr->name() == widthAttr)
107 addCSSLength(attr, CSSPropertyWidth, attr->value());
108 else if (attr->name() == heightAttr)
109 addCSSLength(attr, CSSPropertyHeight, attr->value());
110 else if (attr->name() == alignAttr)
111 addHTMLAlignment(attr);
112 else if (attr->name() == nameAttr)
    [all...]
HTMLIsIndexElement.cpp 42 void HTMLIsIndexElement::parseMappedAttribute(MappedAttribute* attr)
44 if (attr->name() == promptAttr)
45 setValue(attr->value());
46 else if (attr->name() == placeholderAttr)
51 HTMLFormControlElement::parseMappedAttribute(attr);
HTMLPlugInElement.cpp 129 void HTMLPlugInElement::parseMappedAttribute(MappedAttribute* attr)
131 if (attr->name() == widthAttr)
132 addCSSLength(attr, CSSPropertyWidth, attr->value());
133 else if (attr->name() == heightAttr)
134 addCSSLength(attr, CSSPropertyHeight, attr->value());
135 else if (attr->name() == vspaceAttr) {
136 addCSSLength(attr, CSSPropertyMarginTop, attr->value())
    [all...]
HTMLBaseElement.cpp 43 void HTMLBaseElement::parseMappedAttribute(MappedAttribute* attr)
45 if (attr->name() == hrefAttr) {
46 m_hrefAttrValue = attr->value();
47 m_href = deprecatedParseURL(attr->value());
49 } else if (attr->name() == targetAttr) {
50 m_target = attr->value();
53 HTMLElement::parseMappedAttribute(attr);
HTMLFrameElementBase.cpp 112 void HTMLFrameElementBase::parseMappedAttribute(MappedAttribute *attr)
114 if (attr->name() == srcAttr)
115 setLocation(deprecatedParseURL(attr->value()));
116 else if (attr->name() == idAttributeName()) {
118 HTMLFrameOwnerElement::parseMappedAttribute(attr);
119 m_frameName = attr->value();
120 } else if (attr->name() == nameAttr) {
121 m_frameName = attr->value();
125 } else if (attr->name() == marginwidthAttr) {
126 m_marginWidth = attr->value().toInt()
    [all...]
HTMLBodyElement.cpp 90 void HTMLBodyElement::parseMappedAttribute(MappedAttribute *attr)
92 if (attr->name() == backgroundAttr) {
93 String url = deprecatedParseURL(attr->value());
95 addCSSImageProperty(attr, CSSPropertyBackgroundImage, document()->completeURL(url).string());
96 } else if (attr->name() == marginwidthAttr || attr->name() == leftmarginAttr) {
97 addCSSLength(attr, CSSPropertyMarginRight, attr->value());
98 addCSSLength(attr, CSSPropertyMarginLeft, attr->value())
    [all...]
HTMLBRElement.cpp 51 void HTMLBRElement::parseMappedAttribute(MappedAttribute* attr)
53 if (attr->name() == clearAttr) {
56 const AtomicString& str = attr->value();
59 addCSSProperty(attr, CSSPropertyClear, "both");
61 addCSSProperty(attr, CSSPropertyClear, str);
64 HTMLElement::parseMappedAttribute(attr);
HTMLPreElement.cpp 49 void HTMLPreElement::parseMappedAttribute(MappedAttribute *attr)
51 if (attr->name() == widthAttr) {
56 } else if (attr->name() == wrapAttr) {
57 if (!attr->value().isNull())
58 addCSSProperty(attr, CSSPropertyWhiteSpace, CSSValuePreWrap);
60 return HTMLElement::parseMappedAttribute(attr);
HTMLTableCaptionElement.cpp 52 void HTMLTableCaptionElement::parseMappedAttribute(MappedAttribute *attr)
54 if (attr->name() == alignAttr) {
55 if (!attr->value().isEmpty())
56 addCSSProperty(attr, CSSPropertyCaptionSide, attr->value());
58 HTMLElement::parseMappedAttribute(attr);
  /external/webkit/WebCore/svg/
SVGExternalResourcesRequired.cpp 26 #include "Attr.h"
41 bool SVGExternalResourcesRequired::parseMappedAttribute(MappedAttribute* attr)
43 if (attr->name() == SVGNames::externalResourcesRequiredAttr) {
44 setExternalResourcesRequiredBaseValue(attr->value() == "true");
SVGViewElement.cpp 26 #include "Attr.h"
56 void SVGViewElement::parseMappedAttribute(MappedAttribute* attr)
58 if (attr->name() == SVGNames::viewTargetAttr)
59 viewTarget()->reset(attr->value());
61 if (SVGExternalResourcesRequired::parseMappedAttribute(attr)
62 || SVGFitToViewBox::parseMappedAttribute(document(), attr)
63 || SVGZoomAndPan::parseMappedAttribute(attr))
66 SVGStyledElement::parseMappedAttribute(attr);
SVGFELightElement.cpp 42 void SVGFELightElement::parseMappedAttribute(MappedAttribute* attr)
44 const String& value = attr->value();
45 if (attr->name() == SVGNames::azimuthAttr)
47 else if (attr->name() == SVGNames::elevationAttr)
49 else if (attr->name() == SVGNames::xAttr)
51 else if (attr->name() == SVGNames::yAttr)
53 else if (attr->name() == SVGNames::zAttr)
55 else if (attr->name() == SVGNames::pointsAtXAttr)
57 else if (attr->name() == SVGNames::pointsAtYAttr)
59 else if (attr->name() == SVGNames::pointsAtZAttr
    [all...]
  /external/webkit/WebCore/wml/
WMLPElement.cpp 56 void WMLPElement::parseMappedAttribute(MappedAttribute* attr)
58 if (attr->name() == HTMLNames::alignAttr) {
59 const AtomicString& value = attr->value();
61 addCSSProperty(attr, CSSPropertyTextAlign, CSSValueWebkitCenter);
63 addCSSProperty(attr, CSSPropertyTextAlign, CSSValueWebkitLeft);
65 addCSSProperty(attr, CSSPropertyTextAlign, CSSValueWebkitRight);
67 addCSSProperty(attr, CSSPropertyTextAlign, value);
68 } else if (attr->name() == modeAttr) {
69 m_mode = attr->value();
71 addCSSProperty(attr, CSSPropertyWordWrap, CSSValueBreakWord)
    [all...]
WMLImageElement.cpp 68 void WMLImageElement::parseMappedAttribute(MappedAttribute* attr)
70 const QualifiedName& attrName = attr->name();
78 addCSSLength(attr, CSSPropertyWidth, attr->value());
80 addCSSLength(attr, CSSPropertyHeight, attr->value());
82 addCSSLength(attr, CSSPropertyMarginTop, attr->value());
83 addCSSLength(attr, CSSPropertyMarginBottom, attr->value())
    [all...]
WMLAccessElement.cpp 40 void WMLAccessElement::parseMappedAttribute(MappedAttribute* attr)
42 if (attr->name() == domainAttr) {
43 String value = parseValueForbiddingVariableReferences(attr->value());
48 } else if (attr->name() == pathAttr) {
49 String value = parseValueForbiddingVariableReferences(attr->value());
55 WMLElement::parseMappedAttribute(attr);
WMLBRElement.cpp 53 void WMLBRElement::parseMappedAttribute(MappedAttribute* attr)
55 if (attr->name() == HTMLNames::clearAttr) {
58 const AtomicString& value = attr->value();
63 addCSSProperty(attr, CSSPropertyClear, "both");
65 addCSSProperty(attr, CSSPropertyClear, value);
67 WMLElement::parseMappedAttribute(attr);
  /system/extras/tests/bionic/libc/other/
test_thread_max.c 43 pthread_attr_t attr; local
45 pthread_attr_init(&attr);
46 pthread_attr_setdetachstate( &attr, PTHREAD_CREATE_DETACHED );
47 pthread_attr_setstacksize( &attr, 16*4096 );
53 if (pthread_create( &thread, &attr, thread_func, (void*)(long)count ) < 0) {
  /external/webkit/WebCore/bindings/v8/
ScriptEventListener.cpp 46 PassRefPtr<V8LazyEventListener> createAttributeEventListener(Node* node, Attribute* attr)
49 ASSERT(attr);
50 if (attr->isNull())
62 if (!scriptController->xssAuditor()->canCreateInlineEventListener(attr->localName().string(), attr->value())) {
75 return V8LazyEventListener::create(attr->localName().string(), node->isSVGElement(), attr->value(), sourceURL, lineNumber, columnNumber, WorldContextHandle(UseMainWorld));
78 PassRefPtr<V8LazyEventListener> createAttributeEventListener(Frame* frame, Attribute* attr)
83 ASSERT(attr);
84 if (attr->isNull()
    [all...]
  /external/openssl/crypto/x509/
x509_att.c 122 X509_ATTRIBUTE *attr)
141 if ((new_attr=X509_ATTRIBUTE_dup(attr)) == NULL)
160 X509_ATTRIBUTE *attr; local
162 attr = X509_ATTRIBUTE_create_by_OBJ(NULL, obj, type, bytes, len);
163 if(!attr) return 0;
164 ret = X509at_add1_attr(x, attr);
165 X509_ATTRIBUTE_free(attr);
173 X509_ATTRIBUTE *attr; local
175 attr = X509_ATTRIBUTE_create_by_NID(NULL, nid, type, bytes, len);
176 if(!attr) return 0
186 X509_ATTRIBUTE *attr; local
    [all...]
  /external/elfutils/tests/
show-die-info.c 222 Dwarf_Attribute attr; local
227 if (dwarf_attr (die, DW_AT_low_pc, &attr) == NULL
228 || dwarf_formaddr (&attr, &addr2) != 0
231 else if (! dwarf_hasform (&attr, DW_FORM_addr))
233 else if (dwarf_whatform (&attr) != DW_FORM_addr)
235 else if (dwarf_whatattr (&attr) != DW_AT_low_pc)
236 puts ("************* DW_AT_low_pc attr failed ************");
240 Dwarf_Attribute attr; local
244 if (dwarf_attr (die, DW_AT_high_pc, &attr) == NULL
245 || dwarf_formaddr (&attr, &addr2) !=
258 Dwarf_Attribute attr; local
286 Dwarf_Attribute attr; local
315 Dwarf_Attribute attr; local
344 Dwarf_Attribute attr; local
374 Dwarf_Attribute attr; local
403 Dwarf_Attribute attr; local
413 Dwarf_Attribute attr; local
    [all...]
  /external/elfutils/libdw/
dwarf_getattrs.c 62 Dwarf_Attribute attr; local
64 get_uleb128 (attr.code, attrp);
65 get_uleb128 (attr.form, attrp);
68 if (attr.code == 0 && attr.form == 0)
72 attr.valp = die_addr;
73 attr.cu = die->cu;
76 if (callback (&attr, arg) != DWARF_CB_OK)
80 if (attr.form != 0)
82 size_t len = __libdw_form_val_len (dbg, die->cu, attr.form
    [all...]
  /system/core/debuggerd/
crasher.c 66 pthread_attr_t attr; local
67 pthread_attr_init(&attr);
68 pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED);
69 pthread_create(&thr, &attr, noisy, (void*) 'A');
70 pthread_create(&thr, &attr, noisy, (void*) 'B');
71 pthread_create(&thr, &attr, noisy, (void*) 'C');
79 pthread_attr_t attr; local
90 pthread_attr_init(&attr);
91 pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED);
92 pthread_create(&thr, &attr, test_thread, 0)
    [all...]
  /bionic/libc/include/
pthread.h 110 int pthread_attr_init(pthread_attr_t * attr);
111 int pthread_attr_destroy(pthread_attr_t * attr);
113 int pthread_attr_setdetachstate(pthread_attr_t * attr, int state);
114 int pthread_attr_getdetachstate(pthread_attr_t const * attr, int * state);
116 int pthread_attr_setschedpolicy(pthread_attr_t * attr, int policy);
117 int pthread_attr_getschedpolicy(pthread_attr_t const * attr, int * policy);
119 int pthread_attr_setschedparam(pthread_attr_t * attr, struct sched_param const * param);
120 int pthread_attr_getschedparam(pthread_attr_t const * attr, struct sched_param * param);
122 int pthread_attr_setstacksize(pthread_attr_t * attr, size_t stack_size);
123 int pthread_attr_getstacksize(pthread_attr_t const * attr, size_t * stack_size)
    [all...]

Completed in 634 milliseconds

12 3 4 5 6 7 8 91011>>