Home
last modified time | relevance | path

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

12345678910>>...23

/external/guava/guava-tests/benchmark/com/google/common/collect/
DMapBenchmark.java24 import com.google.common.collect.CollectionBenchmarkSampleData.Element;
45 @Override Map<Element, Element> create(Collection<Element> keys) { in create()
46 Map<Element, Element> map = Maps.newHashMap(); in create()
47 for (Element element: keys) { in create()
54 @Override Map<Element, Element> create(Collection<Element> keys) { in create()
55 Map<Element, Element> map = Maps.newLinkedHashMap(); in create()
56 for (Element element: keys) { in create()
63 @Override Map<Element, Element> create(Collection<Element> keys) { in create()
68 @Override Map<Element, Element> create(Collection<Element> keys) { in create()
73 @Override Map<Element, Element> create(Collection<Element> keys) { in create()
[all …]
/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/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/mws/
Dresponse.py73 class Element(DeclarativeType): class
104 class MemberList(Element):
167 setattr(response, action + 'Result', Element(result))
250 ResponseMetadata = Element()
281 FeedSubmissionInfo = Element(FeedSubmissionInfo)
297 Messages = Element(Messages=ElementList())
305 ReportRequestInfo = Element()
321 ReportSchedule = Element()
333 InboundShipmentPlans = MemberList(ShipToAddress=Element(),
338 ShipmentData = MemberList(ShipFromAddress=Element())
[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()
158 void SkClipStack::Element::setEmpty() { in setEmpty()
169 void SkClipStack::Element::checkEmpty() const { in checkEmpty()
177 bool SkClipStack::Element::canBeIntersectedInPlace(int saveCount, SkRegion::Op op) const { in canBeIntersectedInPlace()
189 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/dagger2/compiler/src/main/java/dagger/internal/codegen/
DComponentProcessingStep.java31 import javax.lang.model.element.Element;
81 SetMultimap<Class<? extends Annotation>, Element> elementsByAnnotation) { in componentElementValidator()
82 final Map<Element, ValidationReport<TypeElement>> builderReportsByComponent = in componentElementValidator()
84 final Set<Element> subcomponentBuilderElements = in componentElementValidator()
86 final Map<Element, ValidationReport<TypeElement>> builderReportsBySubcomponent = in componentElementValidator()
88 final Set<Element> subcomponentElements = elementsByAnnotation.get(Subcomponent.class); in componentElementValidator()
89 final Map<Element, ValidationReport<TypeElement>> reportsBySubcomponent = in componentElementValidator()
107 private Map<Element, ValidationReport<TypeElement>> processComponentBuilders(
108 Set<? extends Element> componentBuilderElements) {
109 Map<Element, ValidationReport<TypeElement>> builderReportsByComponent = Maps.newHashMap();
[all …]
DValidationReport.java23 import javax.lang.model.element.Element;
51 abstract class ValidationReport<T extends Element> {
96 private static String elementString(Element element) { in elementString()
100 protected String defaultAction(Element e, Void p) { in elementString()
112 private static boolean isEnclosedIn(Element parent, Element child) {
113 Element current = child;
127 abstract Element element();
131 static <T extends Element> Builder<T> about(T subject) {
135 static final class Builder<T extends Element> {
158 Builder<T> addError(String message, Element element) {
[all …]
/external/autotest/frontend/client/src/autotest/common/table/
DFragmentedTable.java8 import com.google.gwt.user.client.Element;
23 public Element getElement(int row, int column) { in getElement()
25 Element bodyElem = bodyElems.get(getFragmentIndex(row)); in getElement()
33 private native Element getCellElement(Element tbody, int row, int col) /*-{ in getCellElement()
38 private List<Element> bodyElems = new ArrayList<Element>();
57 Element tbody = DOM.getFirstChild(getElement()); in updateBodyElems()
84 protected RowColumn getCellPosition(Element td) { in getCellPosition()
85 Element tr = DOM.getParent(td); in getCellPosition()
86 Element body = DOM.getParent(tr); in getCellPosition()
98 protected Element getEventTargetCell(Event event) { in getEventTargetCell()
[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/caliper/examples/src/main/java/examples/
DListModificationBenchmark.java33 private enum Element { enum in ListModificationBenchmark
38 @Override List<Element> create() { in create()
39 return new ArrayList<Element>(); in create()
43 @Override List<Element> create() { in create()
44 return new LinkedList<Element>(); in create()
48 abstract List<Element> create(); in create()
57 private List<Element> list;
62 list.add(Element.INSTANCE); in setUp()
68 List<Element> list = implementation.create(); in populate()
70 list.add(Element.INSTANCE); in populate()
[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/guice/extensions/multibindings/src/com/google/inject/multibindings/
DRealElement.java27 class RealElement implements Element {
32 private final Element.Type type;
35 RealElement(String setName, Element.Type type, String keyType) { in RealElement()
39 RealElement(String setName, Element.Type type, String keyType, int uniqueId) { in RealElement()
54 @Override public Element.Type type() { in type()
63 return Element.class; in annotationType()
67 return "@" + Element.class.getName() + "(setName=" + setName in toString()
72 return o instanceof Element in equals()
73 && ((Element) o).setName().equals(setName()) in equals()
74 && ((Element) o).uniqueId() == uniqueId() in equals()
[all …]
/external/libgdx/gdx/src/com/badlogic/gdx/utils/
DXmlReader.java38 private final Array<Element> elements = new Array(8);
39 private Element root, current;
42 public Element parse (String xml) { in parse()
47 public Element parse (Reader reader) throws IOException { in parse()
69 public Element parse (InputStream input) throws IOException { in parse()
79 public Element parse (FileHandle file) throws IOException { in parse()
87 public Element parse (char[] data, int offset, int length) { in parse()
332 Element element = elements.peek(); in parse()
336 Element root = this.root; in parse()
420 Element child = new Element(name, current); in open()
[all …]
DXmlReader.rl37 private final Array<Element> elements = new Array(8);
38 private Element root, current;
41 public Element parse (String xml) {
46 public Element parse (Reader reader) throws IOException {
68 public Element parse (InputStream input) throws IOException {
78 public Element parse (FileHandle file) throws IOException {
89 public Element parse (char[] data, int offset, int length) {
203 Element element = elements.peek();
207 Element root = this.root;
215 Element child = new Element(name, current);
[all …]
/external/deqp/external/vulkancts/framework/vulkan/
DvkBinaryRegistry.hpp101 template<typename Element>
107 const Element& operator[] (size_t ndx);
123 std::vector<Element> m_elements;
127 template<typename Element>
128 LazyResource<Element>::LazyResource (de::MovePtr<tcu::Resource> resource) in LazyResource()
132 const size_t numElements = resSize/sizeof(Element); in LazyResource()
135 TCU_CHECK_INTERNAL(numElements*sizeof(Element) == resSize); in LazyResource()
141 template<typename Element>
142 const Element& LazyResource<Element>::operator[] (size_t ndx) in operator []()
155 template<typename Element>
[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/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/
DLanguageTestRoot.java585 void wrapup(List /* of String */list, Element element) { in FileTestData()
611 case Element.XfullPluralizedFormCounts: in FileTestData()
614 case Element.XfullPluralizedFormTargets: in FileTestData()
617 case Element.XmediumFormTargets: in FileTestData()
620 case Element.XshortFormTargets: in FileTestData()
623 case Element.XcustomMinuteTargets: in FileTestData()
626 case Element.XlimitedUnitTargets: in FileTestData()
629 case Element.XhalfUnitCounts: in FileTestData()
632 case Element.XhalfUnitTargets: in FileTestData()
635 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' …
/external/openfst/src/include/fst/
Dpartition.h45 struct Element { struct
46 Element() : value(0), next(0), prev(0) {} in Element() function
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/libgdx/gdx/src/com/badlogic/gdx/maps/tiled/
DTideMapLoader.java39 import com.badlogic.gdx.utils.XmlReader.Element;
51 private Element root;
107 private TiledMap loadMap (Element root, FileHandle tmxFile, ImageResolver imageResolver) { in loadMap()
109 Element properties = root.getChildByName("Properties"); in loadMap()
113 Element tilesheets = root.getChildByName("TileSheets"); in loadMap()
114 for (Element tilesheet : tilesheets.getChildrenByName("TileSheet")) { in loadMap()
117 Element layers = root.getChildByName("Layers"); in loadMap()
118 for (Element layer : layers.getChildrenByName("Layer")) { in loadMap()
128 private Array<FileHandle> loadTileSheets (Element root, FileHandle tideFile) throws IOException { in loadTileSheets()
130 Element tilesheets = root.getChildByName("TileSheets"); in loadTileSheets()
[all …]
DTmxMapLoader.java38 import com.badlogic.gdx.utils.XmlReader.Element;
155 protected TiledMap loadTilemap (Element root, FileHandle tmxFile, ImageResolver imageResolver) { in loadTilemap()
200 Element properties = root.getChildByName("properties"); in loadTilemap()
204 Array<Element> tilesets = root.getChildrenByName("tileset"); in loadTilemap()
205 for (Element element : tilesets) { in loadTilemap()
210 Element element = root.getChild(i); in loadTilemap()
228 protected Array<FileHandle> loadTilesets (Element root, FileHandle tmxFile) throws IOException { in loadTilesets()
230 for (Element tileset : root.getChildrenByName("tileset")) { in loadTilesets()
235 Element imageElement = tileset.getChildByName("image"); in loadTilesets()
241 for (Element tile : tileset.getChildrenByName("tile")) { in loadTilesets()
[all …]
/external/skia/include/core/
DSkClipStack.h39 class Element {
55 Element() { in Element() function
60 Element(const Element&);
62 Element(const SkRect& rect, SkRegion::Op op, bool doAA) { in Element() function
66 Element(const SkRRect& rrect, SkRegion::Op op, bool doAA) { in Element() function
70 Element(const SkPath& path, SkRegion::Op op, bool doAA) { in Element() function
74 bool operator== (const Element& element) const;
75 bool operator!= (const Element& element) const { return !(*this == element); }
207 Element(int saveCount) { in Element() function
212 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()

12345678910>>...23