Home
last modified time | relevance | path

Searched refs:dom (Results 1 – 25 of 133) sorted by relevance

123456

/external/skia/src/views/
DSkParsePaint.cpp7 static SkShader* inflate_shader(const SkDOM& dom, const SkDOM::Node* node) in inflate_shader() argument
9 if ((node = dom.getFirstChild(node, "shader")) == NULL) in inflate_shader()
14 if (dom.hasAttr(node, "type", "linear-gradient")) in inflate_shader()
20 if ((str = dom.findAttr(node, "c0")) != NULL && in inflate_shader()
22 (str = dom.findAttr(node, "c1")) != NULL && in inflate_shader()
24 dom.findScalars(node, "p0", &pts[0].fX, 2) && in inflate_shader()
25 dom.findScalars(node, "p1", &pts[1].fX, 2)) in inflate_shader()
30 if ((index = dom.findList(node, "tile-mode", "clamp,repeat,mirror")) >= 0) in inflate_shader()
35 else if (dom.hasAttr(node, "type", "bitmap")) in inflate_shader()
37 if ((str = dom.findAttr(node, "src")) == NULL) in inflate_shader()
[all …]
DSkViewInflate.cpp13 void SkViewInflate::rInflate(const SkDOM& dom, const SkDOM::Node* node, SkView* parent) in rInflate() argument
15 const char* str = dom.findAttr(node, "id"); in rInflate()
19 const SkDOM::Node* child = dom.getFirstChild(node); in rInflate()
22 SkView* view = this->createView(dom, child); in rInflate()
25 this->rInflate(dom, child, view); in rInflate()
30 const char* name = dom.getName(child); in rInflate()
33 if (!strcmp(name, "listenTo") && (target = dom.findAttr(child, "target")) != NULL) in rInflate()
36 if (!strcmp(name, "broadcastTo") && (target = dom.findAttr(child, "target")) != NULL) in rInflate()
39 child = dom.getNextSibling(child); in rInflate()
43 this->inflateView(parent, dom, node); in rInflate()
[all …]
DSkWidgets.cpp11 static void assert_no_attr(const SkDOM& dom, const SkDOM::Node* node, const char attr[])
13 const char* value = dom.findAttr(node, attr);
18 #define assert_no_attr(dom, node, attr)
122 void SkWidget::onInflate(const SkDOM& dom, const SkDOM::Node* node)
124 this->INHERITED::onInflate(dom, node);
126 if ((node = dom.getFirstChild(node, "event")) != NULL)
127 fEvent.inflate(dom, node);
170 void SkHasLabelWidget::onInflate(const SkDOM& dom, const SkDOM::Node* node)
172 this->INHERITED::onInflate(dom, node);
174 const char* text = dom.findAttr(node, "label");
[all …]
DSkStackViewLayout.cpp181 static void assert_no_attr(const SkDOM& dom, const SkDOM::Node* node, const char attr[]) in assert_no_attr() argument
183 const char* value = dom.findAttr(node, attr); in assert_no_attr()
188 #define assert_no_attr(dom, node, attr) argument
191 void SkStackViewLayout::onInflate(const SkDOM& dom, const SkDOM::Node* node) in onInflate() argument
196 if ((index = dom.findList(node, "orient", "horizontal,vertical")) >= 0) in onInflate()
199 assert_no_attr(dom, node, "orient"); in onInflate()
201 if (dom.findScalars(node, "margin", value, 4)) in onInflate()
208 assert_no_attr(dom, node, "margin"); in onInflate()
210 if (dom.findScalar(node, "spacer", value)) in onInflate()
213 assert_no_attr(dom, node, "spacer"); in onInflate()
[all …]
DSkListView.cpp120 SkDOMListSource(const SkDOM& dom, const SkDOM::Node* node) : fDirTail(">")
122 const SkDOM::Node* child = dom.getFirstChild(node, "item");
128 child = dom.getNextSibling(child, "item");
137 child = dom.getFirstChild(node, "item");
140 rec->fLabel.set(dom.findAttr(child, "label"));
141 rec->fTail.set(dom.findAttr(child, "tail"));
142 rec->fAltTail.set(dom.findAttr(child, "alt-tail"));
143 rec->fTarget.set(dom.findAttr(child, "target"));
146 int index = dom.findList(child, "type", "dir,toggle");
150 child = dom.getNextSibling(child, "item");
[all …]
DSkListWidget.cpp428 void SkListView::onInflate(const SkDOM& dom, const SkDOM::Node* node) in onInflate() argument
430 this->INHERITED::onInflate(dom, node); in onInflate()
434 if (dom.findBool(node, "scrollBar", &hasScrollBar)) in onInflate()
440 if ((child = dom.getFirstChild(node, "bindings")) != NULL) in onInflate()
446 SkListSource* listSrc = SkListSource::Factory(dom.findAttr(child, "data-fields")); in onInflate()
448 fSkinName.set(dom.findAttr(child, "skin-slots")); in onInflate()
453 int count = dom.countChildren(child, "bind"); in onInflate()
459 child = dom.getFirstChild(child, "bind"); in onInflate()
462 const char* fieldName = dom.findAttr(child, "field"); in onInflate()
463 const char* slotName = dom.findAttr(child, "slot"); in onInflate()
[all …]
DSkWidgetViews.cpp9 static void assert_no_attr(const SkDOM& dom, const SkDOM::Node* node, const char attr[]) in assert_no_attr() argument
11 const char* value = dom.findAttr(node, attr); in assert_no_attr()
16 #define assert_no_attr(dom, node, attr) argument
80 void inflate_paint(const SkDOM& dom, const SkDOM::Node* node, SkPaint* paint) in inflate_paint() argument
87 if (!anim.decodeDOM(dom, node)) in inflate_paint()
90 SkDEBUGCODE(dom.dump(node);) in inflate_paint()
155 /*virtual*/ void SkWidgetView::onInflate(const SkDOM& dom, const SkDOM::Node* node) in onInflate() argument
157 this->INHERITED::onInflate(dom, node); in onInflate()
159 const char* label = dom.findAttr(node, "label"); in onInflate()
163 if ((node = dom.getFirstChild(node, "event")) != NULL) in onInflate()
[all …]
DSkViewPriv.cpp11 void SkView::Artist::inflate(const SkDOM& dom, const SkDOM::Node* node) in inflate() argument
13 SkASSERT(&dom && node); in inflate()
14 this->onInflate(dom, node); in inflate()
17 void SkView::Artist::onInflate(const SkDOM& dom, const SkDOM::Node* node) in onInflate() argument
57 void SkView::Layout::inflate(const SkDOM& dom, const SkDOM::Node* node) in inflate() argument
59 SkASSERT(&dom && node); in inflate()
60 this->onInflate(dom, node); in inflate()
63 void SkView::Layout::onInflate(const SkDOM& dom, const SkDOM::Node* node) in onInflate() argument
DSkProgressView.cpp110 void SkProgressView::onInflate(const SkDOM& dom, const SkDOM::Node* node) in onInflate() argument
112 this->INHERITED::onInflate(dom, node); in onInflate()
119 if ((s = dom.findAttr(node, "src-on")) != NULL) in onInflate()
121 if ((s = dom.findAttr(node, "src-off")) != NULL) in onInflate()
123 (void)dom.findBool(node, "do-interp", &fDoInterp); in onInflate()
/external/webkit/WebCore/
DChangeLog-2005-12-19141 * khtml/dom/dom_string.cpp:
162 * khtml/dom/dom_string.h:
390 REGRESSION: dom/xhtml/level2/html//HTMLInputElement01.xhtml crashes
936 Test: fast/dom/css-shortHands.html
1075 Test: fast/dom/css-selectorText.html
1532 Test: fast/dom/inner-text-rtl.html
2299 Further dom/* cleanup, also removing extra forwarding headers
2302 * ForwardingHeaders/dom/dom2_views.h: Removed.
2303 * ForwardingHeaders/dom/dom_core.h: Removed.
2304 * ForwardingHeaders/dom/dom_doc.h: Removed.
[all …]
DAndroid.derived.jscbindings.mk83 …-defines "$(FEATURE_DEFINES) LANGUAGE_JAVASCRIPT" --generator JS --include dom --include html --ou…
95 $(intermediates)/dom/JSAttr.h \
96 $(intermediates)/dom/JSBeforeLoadEvent.h \
97 $(intermediates)/dom/JSCDATASection.h \
98 $(intermediates)/dom/JSCharacterData.h \
99 $(intermediates)/dom/JSClientRect.h \
100 $(intermediates)/dom/JSClientRectList.h \
101 $(intermediates)/dom/JSClipboard.h \
102 $(intermediates)/dom/JSComment.h \
103 $(intermediates)/dom/JSCompositionEvent.h \
[all …]
DAndroid.mk99 dom/ActiveDOMObject.cpp \
100 dom/Attr.cpp \
101 dom/Attribute.cpp \
102 dom/BeforeTextInsertedEvent.cpp \
103 dom/BeforeUnloadEvent.cpp \
104 dom/CDATASection.cpp \
105 dom/CSSMappedAttributeDeclaration.cpp \
106 dom/CharacterData.cpp \
107 dom/CheckedRadioButtons.cpp \
108 dom/ChildNodeList.cpp \
[all …]
DWebCore.pri224 dom/Attr.idl \
225 dom/BeforeLoadEvent.idl \
226 dom/CharacterData.idl \
227 dom/ClientRect.idl \
228 dom/ClientRectList.idl \
229 dom/Clipboard.idl \
230 dom/CDATASection.idl \
231 dom/Comment.idl \
232 dom/CompositionEvent.idl \
233 dom/DocumentFragment.idl \
[all …]
DWebCore.pro171 $$PWD/dom \
172 $$PWD/dom/default \
431 dom/ActiveDOMObject.cpp \
432 dom/Attr.cpp \
433 dom/Attribute.cpp \
434 dom/BeforeTextInsertedEvent.cpp \
435 dom/BeforeUnloadEvent.cpp \
436 dom/CDATASection.cpp \
437 dom/CharacterData.cpp \
438 dom/CheckedRadioButtons.cpp \
[all …]
DGNUmakefile.am20 -I$(srcdir)/WebCore/dom \
21 -I$(srcdir)/WebCore/dom/default \
121 WebCore/dom/Attr.idl \
122 WebCore/dom/BeforeLoadEvent.idl \
123 WebCore/dom/CDATASection.idl \
124 WebCore/dom/CharacterData.idl \
125 WebCore/dom/ClientRect.idl \
126 WebCore/dom/ClientRectList.idl \
127 WebCore/dom/Clipboard.idl \
128 WebCore/dom/Comment.idl \
[all …]
DWebCore.gypi33 'dom/Attr.idl',
34 'dom/BeforeLoadEvent.idl',
35 'dom/CDATASection.idl',
36 'dom/CharacterData.idl',
37 'dom/ClientRect.idl',
38 'dom/ClientRectList.idl',
39 'dom/Clipboard.idl',
40 'dom/Comment.idl',
41 'dom/CompositionEvent.idl',
42 'dom/DOMCoreException.idl',
[all …]
/external/skia/src/xml/
DSkDOM.cpp24 bool SkXMLParser::parse(const SkDOM& dom, const SkDOMNode* node) in parse() argument
26 const char* elemName = dom.getName(node); in parse()
31 SkDOM::AttrIter iter(dom, node); in parse()
38 if ((node = dom.getFirstChild(node)) != NULL) in parse()
40 if (!this->parse(dom, node)) in parse()
42 } while ((node = dom.getNextSibling(node)) != NULL); in parse()
318 static void walk_dom(const SkDOM& dom, const SkDOM::Node* node, SkXMLParser* parser) in walk_dom() argument
320 const char* elem = dom.getName(node); in walk_dom()
324 SkDOM::AttrIter iter(dom, node); in walk_dom()
330 node = dom.getFirstChild(node, NULL); in walk_dom()
[all …]
DSkXMLWriter.cpp170 static void write_dom(const SkDOM& dom, const SkDOM::Node* node, SkXMLWriter* w, bool skipRoot) in write_dom() argument
174 w->startElement(dom.getName(node)); in write_dom()
176 SkDOM::AttrIter iter(dom, node); in write_dom()
183 node = dom.getFirstChild(node, NULL); in write_dom()
186 write_dom(dom, node, w, false); in write_dom()
187 node = dom.getNextSibling(node, NULL); in write_dom()
194 void SkXMLWriter::writeDOM(const SkDOM& dom, const SkDOM::Node* node, bool skipRoot) in writeDOM() argument
197 write_dom(dom, node, this, skipRoot); in writeDOM()
/external/kernel-headers/original/asm-arm/
Ddomain.h50 #define domain_val(dom,type) ((type) << (2*(dom))) argument
62 #define modify_domain(dom,type) \ argument
66 domain &= ~domain_val(dom, DOMAIN_MANAGER); \
67 thread->cpu_domain = domain | domain_val(dom, type); \
73 #define modify_domain(dom,type) do { } while (0) argument
/external/skia/include/views/
DSkWidget.h44 virtual void onInflate(const SkDOM& dom, const SkDOM::Node* node);
66 virtual void onInflate(const SkDOM& dom, const SkDOM::Node*);
90 virtual void onInflate(const SkDOM& dom, const SkDOM::Node*);
118 virtual void onInflate(const SkDOM& dom, const SkDOM::Node*);
159 virtual void onInflate(const SkDOM& dom, const SkDOM::Node*);
240 virtual void onInflate(const SkDOM& dom, const SkDOM::Node*);
249 virtual void onInflate(const SkDOM& dom, const SkDOM::Node*);
266 virtual void onInflate(const SkDOM& dom, const SkDOM::Node*);
285 virtual void onInflate(const SkDOM& dom, const SkDOM::Node* node);
320 virtual void onInflate(const SkDOM& dom, const SkDOM::Node* node);
[all …]
DSkViewInflate.h36 SkView* inflate(const SkDOM& dom, const SkDOM::Node* node, SkView* root = NULL);
53 virtual SkView* createView(const SkDOM& dom, const SkDOM::Node* node);
58 virtual void inflateView(SkView* view, const SkDOM& dom, const SkDOM::Node* node);
75 void rInflate(const SkDOM& dom, const SkDOM::Node* node, SkView* parent);
/external/chromium/third_party/icu/source/i18n/
Dgregoimp.h168 static double fieldsToDay(int32_t year, int32_t month, int32_t dom);
181 int32_t& dom, int32_t& dow, int32_t& doy);
193 int32_t& dom, int32_t& dow);
207 int32_t& dom, int32_t& dow, int32_t& doy, int32_t& mid);
224 static int32_t dayOfWeekInMonth(int32_t year, int32_t month, int32_t dom);
274 int32_t& dom, int32_t& dow) { in dayToFields() argument
276 dayToFields(day,year,month,dom,dow,doy_unused); in dayToFields()
Dgregoimp.cpp85 double Grego::fieldsToDay(int32_t year, int32_t month, int32_t dom) { in fieldsToDay() argument
91 DAYS_BEFORE[month + (isLeapYear(year) ? 12 : 0)] + dom; // => month/dom in fieldsToDay()
97 int32_t& dom, int32_t& dow, int32_t& doy) { in dayToFields() argument
130 dom = doy - DAYS_BEFORE[month + (isLeap ? 12 : 0)] + 1; // one-based DOM in dayToFields()
135 int32_t& dom, int32_t& dow, int32_t& doy, int32_t& mid) { in timeToFields() argument
139 dayToFields(day, year, month, dom, dow, doy); in timeToFields()
148 int32_t Grego::dayOfWeekInMonth(int32_t year, int32_t month, int32_t dom) { in dayOfWeekInMonth() argument
149 int32_t weekInMonth = (dom + 6)/7; in dayOfWeekInMonth()
151 if (dom + 7 > monthLength(year, month)) { in dayOfWeekInMonth()
/external/icu4c/i18n/
Dgregoimp.h168 static double fieldsToDay(int32_t year, int32_t month, int32_t dom);
181 int32_t& dom, int32_t& dow, int32_t& doy);
193 int32_t& dom, int32_t& dow);
207 int32_t& dom, int32_t& dow, int32_t& doy, int32_t& mid);
224 static int32_t dayOfWeekInMonth(int32_t year, int32_t month, int32_t dom);
274 int32_t& dom, int32_t& dow) { in dayToFields() argument
276 dayToFields(day,year,month,dom,dow,doy_unused); in dayToFields()
Dgregoimp.cpp85 double Grego::fieldsToDay(int32_t year, int32_t month, int32_t dom) { in fieldsToDay() argument
91 DAYS_BEFORE[month + (isLeapYear(year) ? 12 : 0)] + dom; // => month/dom in fieldsToDay()
97 int32_t& dom, int32_t& dow, int32_t& doy) { in dayToFields() argument
130 dom = doy - DAYS_BEFORE[month + (isLeap ? 12 : 0)] + 1; // one-based DOM in dayToFields()
135 int32_t& dom, int32_t& dow, int32_t& doy, int32_t& mid) { in timeToFields() argument
139 dayToFields(day, year, month, dom, dow, doy); in timeToFields()
148 int32_t Grego::dayOfWeekInMonth(int32_t year, int32_t month, int32_t dom) { in dayOfWeekInMonth() argument
149 int32_t weekInMonth = (dom + 6)/7; in dayOfWeekInMonth()
151 if (dom + 7 > monthLength(year, month)) { in dayOfWeekInMonth()

123456