Home
last modified time | relevance | path

Searched refs:Element (Results 1 – 25 of 374) sorted by relevance

12345678910>>...15

/external/guava/guava-tests/benchmark/com/google/common/collect/
DMapBenchmark.java24 import com.google.common.collect.CollectionBenchmarkSampleData.Element;
44 @Override Map<Element, Element> create(Collection<Element> keys) { in create()
45 Map<Element, Element> map = Maps.newHashMap(); in create()
46 for (Element element: keys) { in create()
53 @Override Map<Element, Element> create(Collection<Element> keys) { in create()
54 Map<Element, Element> map = Maps.newLinkedHashMap(); in create()
55 for (Element element: keys) { in create()
62 @Override Map<Element, Element> create(Collection<Element> keys) { in create()
67 @Override Map<Element, Element> create(Collection<Element> keys) { in create()
72 @Override Map<Element, Element> create(Collection<Element> keys) { in create()
[all …]
DSetContainsBenchmark.java23 import com.google.common.collect.CollectionBenchmarkSampleData.Element;
54 private Element[] queries;
55 private Set<Element> setToTest;
69 Set<Element> set = setToTest; in contains()
70 Element[] queries = this.queries; in contains()
/external/protobuf/src/google/protobuf/
Drepeated_field.h103 template <typename Element>
117 const Element& Get(int index) const;
118 Element* Mutable(int index);
119 void Set(int index, const Element& value);
120 void Add(const Element& value);
121 Element* Add();
129 void ExtractSubrange(int start, int num, Element* elements);
142 void AddAlreadyReserved(const Element& value);
143 Element* AddAlreadyReserved();
149 void Resize(int new_size, const Element& value);
[all …]
/external/skia/src/core/
DSkClipStack.cpp21 SkClipStack::Element::Element(const Element& that) { in Element() function in SkClipStack::Element
46 bool SkClipStack::Element::operator== (const Element& element) const { in operator ==()
71 void SkClipStack::Element::replay(SkCanvasClipVisitor* visitor) const { in replay()
90 void SkClipStack::Element::invertShapeFillType() { in invertShapeFillType()
113 void SkClipStack::Element::initPath(int saveCount, const SkPath& path, SkRegion::Op op, in initPath()
135 void SkClipStack::Element::asPath(SkPath* path) const { in asPath()
155 void SkClipStack::Element::setEmpty() { in setEmpty()
166 void SkClipStack::Element::checkEmpty() const { in checkEmpty()
174 bool SkClipStack::Element::canBeIntersectedInPlace(int saveCount, SkRegion::Op op) const { in canBeIntersectedInPlace()
186 bool SkClipStack::Element::rectRectIntersectAllowed(const SkRect& newR, bool newAA) const { in rectRectIntersectAllowed()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DCollectionBenchmarkSampleData.java38 private final Set<Element> valuesInSet;
39 private final Element[] queries;
59 Set<Element> getValuesInSet() { in getValuesInSet()
63 Element[] getQueries() { in getQueries()
67 private Element[] createQueries(Set<Element> elementsInSet, int numQueries) { in createQueries()
68 List<Element> queryList = Lists.newArrayListWithCapacity(numQueries); in createQueries()
81 List<Element> tmp = Lists.newArrayList(elementsInSet); in createQueries()
88 Element candidate = newElement(); in createQueries()
94 return queryList.toArray(new Element[0]); in createQueries()
97 private Set<Element> createData() { in createData()
[all …]
/external/guava/guava-tests/test/com/google/common/reflect/
DElementTest.java36 Element element = A.field("privateField"); in testPrivateField()
48 Element element = A.field("packagePrivateField"); in testPackagePrivateField()
59 Element element = A.field("protectedField"); in testProtectedField()
70 Element element = A.field("publicField"); in testPublicField()
81 Element element = A.field("finalField"); in testFinalField()
88 Element element = A.field("staticField"); in testStaticField()
94 Element element = A.field("volatileField"); in testVolatileField()
99 Element element = A.field("transientField"); in testTransientField()
104 Element element = A.constructor(); in testConstructor()
113 Element element = A.method("abstractMethod"); in testAbstractMethod()
[all …]
/external/jmonkeyengine/engine/src/xml/com/jme3/export/xml/
DDOMOutputCapsule.java50 import org.w3c.dom.Element;
62 private Element currentElement;
64 private Map<Savable, Element> writtenSavables = new IdentityHashMap<Savable, Element>();
80 private Element appendElement(String name) { in appendElement()
81 Element ret = doc.createElement(name); in appendElement()
121 Element el = appendElement(name); in write()
124 currentElement = (Element) currentElement.getParentNode(); in write()
142 Element el = appendElement(name); in write()
146 currentElement = (Element) currentElement.getParentNode(); in write()
168 Element el = appendElement(name); in write()
[all …]
DDOMInputCapsule.java61 private Element currentElem;
95 private Element findFirstChildElement(Element parent) { in findFirstChildElement()
97 while (ret != null && (!(ret instanceof Element))) { in findFirstChildElement()
100 return (Element) ret; in findFirstChildElement()
103 private Element findChildElement(Element parent, String name) { in findChildElement()
108 while (ret != null && (!(ret instanceof Element) || !ret.getNodeName().equals(name))) { in findChildElement()
111 return (Element) ret; in findChildElement()
114 private Element findNextSiblingElement(Element current) { in findNextSiblingElement()
117 if (ret instanceof Element) { in findNextSiblingElement()
118 return (Element) ret; in findNextSiblingElement()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/
DLanguageTestRoot.java581 void wrapup(List /* of String */list, Element element) { in FileTestData()
607 case Element.XfullPluralizedFormCounts: in FileTestData()
610 case Element.XfullPluralizedFormTargets: in FileTestData()
613 case Element.XmediumFormTargets: in FileTestData()
616 case Element.XshortFormTargets: in FileTestData()
619 case Element.XcustomMinuteTargets: in FileTestData()
622 case Element.XlimitedUnitTargets: in FileTestData()
625 case Element.XhalfUnitCounts: in FileTestData()
628 case Element.XhalfUnitTargets: in FileTestData()
631 case Element.XfractionalUnitCounts: in FileTestData()
[all …]
/external/libxml2/result/schemas/
Delement-err_0_0.err1 ./test/schemas/element-err_0.xsd:8: element element: Schemas parser error : Element '{http://www.w3…
2 ./test/schemas/element-err_0.xsd:14: element element: Schemas parser error : Element '{http://www.w…
3 ./test/schemas/element-err_0.xsd:14: element element: Schemas parser error : Element '{http://www.w…
4 ./test/schemas/element-err_0.xsd:14: element element: Schemas parser error : Element '{http://www.w…
5 ./test/schemas/element-err_0.xsd:14: element element: Schemas parser error : Element '{http://www.w…
6 ./test/schemas/element-err_0.xsd:14: element element: Schemas parser error : Element '{http://www.w…
7 ./test/schemas/element-err_0.xsd:14: element element: Schemas parser error : Element '{http://www.w…
8 ./test/schemas/element-err_0.xsd:14: element element: Schemas parser error : Element '{http://www.w…
9 ./test/schemas/element-err_0.xsd:22: element element: Schemas parser error : Element '{http://www.w…
10 ./test/schemas/element-err_0.xsd:22: element element: Schemas parser error : Element '{http://www.w…
[all …]
Dhexbinary_0_1.err1 ./test/schemas/hexbinary_1.xml:6: element hex: Schemas validity error : Element 'hex': '0' is not a…
2 ./test/schemas/hexbinary_1.xml:7: element hex: Schemas validity error : Element 'hex': '0123456789A…
3 ./test/schemas/hexbinary_1.xml:8: element hex: Schemas validity error : Element 'hex': '+abcdef0123…
4 ./test/schemas/hexbinary_1.xml:9: element hex: Schemas validity error : Element 'hex': '-0123456789…
5 ./test/schemas/hexbinary_1.xml:11: element hex2: Schemas validity error : Element 'hex2': [facet 'm…
6 ./test/schemas/hexbinary_1.xml:11: element hex2: Schemas validity error : Element 'hex2': '11223344…
7 ./test/schemas/hexbinary_1.xml:13: element hex3: Schemas validity error : Element 'hex3': [facet 'l…
8 ./test/schemas/hexbinary_1.xml:13: element hex3: Schemas validity error : Element 'hex3': 'ab' is n…
9 ./test/schemas/hexbinary_1.xml:14: element hex3: Schemas validity error : Element 'hex3': [facet 'l…
10 ./test/schemas/hexbinary_1.xml:14: element hex3: Schemas validity error : Element 'hex3': '00fedc' …
Ddecimal-1_1_0.err1 ./test/schemas/decimal-1_0.xml:16: element val: Schemas validity error : Element 'val': '.' is not …
2 ./test/schemas/decimal-1_0.xml:17: element val: Schemas validity error : Element 'val': '-' is not …
3 ./test/schemas/decimal-1_0.xml:18: element val: Schemas validity error : Element 'val': '+' is not …
4 ./test/schemas/decimal-1_0.xml:19: element val: Schemas validity error : Element 'val': '*' is not …
5 ./test/schemas/decimal-1_0.xml:20: element val: Schemas validity error : Element 'val': '- 1' is no…
6 ./test/schemas/decimal-1_0.xml:21: element val: Schemas validity error : Element 'val': '+ 1' is no…
7 ./test/schemas/decimal-1_0.xml:22: element val: Schemas validity error : Element 'val': '+ 0' is no…
8 ./test/schemas/decimal-1_0.xml:23: element val: Schemas validity error : Element 'val': '- 0' is no…
Ddecimal-3_1_0.err1 ./test/schemas/decimal-3_0.xml:12: element val: Schemas validity error : Element 'val': [facet 'tot…
2 ./test/schemas/decimal-3_0.xml:12: element val: Schemas validity error : Element 'val': '0.123' is …
3 ./test/schemas/decimal-3_0.xml:13: element val: Schemas validity error : Element 'val': [facet 'tot…
4 ./test/schemas/decimal-3_0.xml:13: element val: Schemas validity error : Element 'val': '0.023' is …
5 ./test/schemas/decimal-3_0.xml:14: element val: Schemas validity error : Element 'val': [facet 'tot…
6 ./test/schemas/decimal-3_0.xml:14: element val: Schemas validity error : Element 'val': '123' is no…
7 ./test/schemas/decimal-3_0.xml:15: element val: Schemas validity error : Element 'val': [facet 'tot…
8 ./test/schemas/decimal-3_0.xml:15: element val: Schemas validity error : Element 'val': '12.3' is n…
Dsrc-element2-2_0_0.err1 ./test/schemas/src-element2-2_0.xsd:18: element element: Schemas parser error : Element '{http://ww…
2 ./test/schemas/src-element2-2_0.xsd:23: element complexType: Schemas parser error : Element '{http:…
3 ./test/schemas/src-element2-2_0.xsd:29: element simpleType: Schemas parser error : Element '{http:/…
4 ./test/schemas/src-element2-2_0.xsd:36: element element: Schemas parser error : Element '{http://ww…
5 ./test/schemas/src-element2-2_0.xsd:37: element element: Schemas parser error : Element '{http://ww…
6 ./test/schemas/src-element2-2_0.xsd:38: element element: Schemas parser error : Element '{http://ww…
7 ./test/schemas/src-element2-2_0.xsd:39: element element: Schemas parser error : Element '{http://ww…
8 ./test/schemas/src-element2-2_0.xsd:40: element element: Schemas parser error : Element '{http://ww…
9 ./test/schemas/src-element2-2_0.xsd:41: element element: Schemas parser error : Element '{http://ww…
Dannot-err_0_0.err1 ./test/schemas/annot-err_0.xsd:7: element annotation: Schemas parser error : Element '{http://www.w…
2 ./test/schemas/annot-err_0.xsd:7: element annotation: Schemas parser error : Element '{http://www.w…
3 ./test/schemas/annot-err_0.xsd:10: element appinfo: Schemas parser error : Element '{http://www.w3.…
4 ./test/schemas/annot-err_0.xsd:10: element appinfo: Schemas parser error : Element '{http://www.w3.…
5 ./test/schemas/annot-err_0.xsd:14: element documentation: Schemas parser error : Element '{http://w…
6 ./test/schemas/annot-err_0.xsd:14: element documentation: Schemas parser error : Element '{http://w…
7 ./test/schemas/annot-err_0.xsd:14: element documentation: Schemas parser error : Element '{http://w…
/external/openfst/src/include/fst/
Dpartition.h45 struct Element { struct
46 Element() : value(0), next(0), prev(0) {} in Element() argument
47 Element(T v) : value(v), next(0), prev(0) {} in Element() function
50 Element* next; argument
51 Element* prev; argument
82 elements_[i] = new Element(i); in Initialize()
108 Element* element = elements_[element_id]; in Add()
125 Element* element = elements_[element_id]; in Move()
170 Element* split_el = class_split_[class_id]; in SplitRefine()
177 Element* split_el = class_split_[class_id]; in SplitRefine()
[all …]
/external/skia/include/core/
DSkClipStack.h40 class Element {
56 Element() { in Element() function
61 Element(const Element&);
63 Element(const SkRect& rect, SkRegion::Op op, bool doAA) { in Element() function
67 Element(const SkRRect& rrect, SkRegion::Op op, bool doAA) { in Element() function
71 Element(const SkPath& path, SkRegion::Op op, bool doAA) { in Element() function
75 bool operator== (const Element& element) const;
76 bool operator!= (const Element& element) const { return !(*this == element); }
208 Element(int saveCount) { in Element() function
213 Element(int saveCount, const SkRRect& rrect, SkRegion::Op op, bool doAA) { in Element() function
[all …]
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/kdom/
DNode.java59 if (!(child instanceof Element)) in addChild()
62 ((Element) child).setParent(this); in addChild()
85 public Element createElement(String namespace, String name) { in createElement()
87 Element e = new Element(); in createElement()
110 public Element getElement(int index) { in getElement()
112 return (child instanceof Element) ? (Element) child : null; in getElement()
119 public Element getElement(String namespace, String name) { in getElement()
205 Element child = getElement(i); in indexOf()
237 Element child = in parse()
328 ((Element) child).write(writer); in writeChildren()
DElement.java33 public class Element extends Node { class
41 public Element() { in Element() method in Element
64 public Element createElement( in createElement()
112 Element current = this; in getRoot()
115 if (!(current.parent instanceof Element)) in getRoot()
117 current = (Element) current.parent; in getRoot()
147 return parent instanceof Element ? ((Element) parent).getNamespaceUri(prefix) : null; in getNamespaceUri()
/external/droiddriver/src/io/appium/droiddriver/finders/
DByXPath.java22 import org.w3c.dom.Element;
59 private static final Map<BaseUiElement<?, ?>, Element> TO_DOM_MAP =
60 new HashMap<BaseUiElement<?, ?>, Element>();
61 private static final Map<Element, BaseUiElement<?, ?>> FROM_DOM_MAP =
62 new HashMap<Element, BaseUiElement<?, ?>>();
89 Element domNode = getDomNode((BaseUiElement<?, ?>) context, UiElement.VISIBLE); in find()
92 Element foundNode = (Element) xPathExpression.evaluate(domNode, XPathConstants.NODE); in find()
127 private static Element getDomNode(BaseUiElement<?, ?> uiElement, in getDomNode()
129 Element domNode = TO_DOM_MAP.get(uiElement); in getDomNode()
136 private static Element buildDomNode(BaseUiElement<?, ?> uiElement, in buildDomNode()
[all …]
/external/clang/lib/Tooling/
DFileMatchTrie.cpp69 StringRef Element(llvm::sys::path::filename( in insert() local
71 Children[Element].Path = Path; in insert()
73 StringRef Element(llvm::sys::path::filename( in insert() local
75 Children[Element].insert(NewPath, ConsumedLength + Element.size() + 1); in insert()
108 StringRef Element(llvm::sys::path::filename(FileName.drop_back( in findEquivalent() local
111 Children.find(Element); in findEquivalent()
115 ConsumedLength + Element.size() + 1); in findEquivalent()
/external/tagsoup/src/org/ccil/cowan/tagsoup/
DElement.java23 public class Element { class
28 private Element theNext; // successor of element
37 public Element(ElementType type, boolean defaultAttributes) { in Element() method in Element
65 public Element next() { return theNext; } in next()
72 public void setNext(Element next) { theNext = next; } in setNext()
137 public boolean canContain(Element other) { in canContain()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src_rss/org/eclipse/releng/generators/rss/
DRSSFeedAddEntryTask.java40 import org.w3c.dom.Element;
282 Element element=document.getDocumentElement(); in updateFeedXML()
288 ((Element)child).setTextContent(now); in updateFeedXML()
328 private Element createEntry(Document document) { in createEntry()
331 Element entry = document.createElement("entry"); //$NON-NLS-1$ in createEntry()
334 Element elem = null; in createEntry()
365 Element summary = document.createElement("summary"); //$NON-NLS-1$ in createEntry()
369 Element build = document.createElement("build"); //$NON-NLS-1$ in createEntry()
406 Element releasesElem = document.createElement("releases"); //$NON-NLS-1$ in createEntry()
409 Element release = document.createElement("release"); //$NON-NLS-1$ in createEntry()
[all …]
/external/libxml2/doc/examples/
Dtree1.res1 node type: Element, name: doc
2 node type: Element, name: src
3 node type: Element, name: dest
4 node type: Element, name: src
/external/android-mock/tests/com/google/android/testing/mocking/
DUsesMocksProcessorTest.java41 import javax.lang.model.element.Element;
54 private Set<? extends Element> getAnnotatedElementsSet(Class<?>... classes) { in getAnnotatedElementsSet()
55 Set<Element> set = new HashSet<Element>(); in getAnnotatedElementsSet()
63 private Element getMockElement(Class<?> clazz) { in getMockElement()
64 Element mockElement = EasyMock.createNiceMock(Element.class); in getMockElement()
112 public Element asElement() { in getMockAnnotationType()
209 private RoundEnvironment getMockRoundEnvironment(Set<? extends Element> elementsWithAnnotation) {
214 private RoundEnvironment getMockRoundEnvironment(Set<? extends Element> elementsWithAnnotation,
268 Set<? extends Element> annotatedElements = getAnnotatedElementsSet(Set.class, TestCase.class);

12345678910>>...15