Home
last modified time | relevance | path

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

12345678910>>...28

/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.h106 template <typename Element>
121 const Element& Get(int index) const;
122 Element* Mutable(int index);
123 void Set(int index, const Element& value);
124 void Add(const Element& value);
125 Element* Add();
133 void ExtractSubrange(int start, int num, Element* elements);
146 void AddAlreadyReserved(const Element& value);
147 Element* AddAlreadyReserved();
153 void Resize(int new_size, const Element& value);
[all …]
/external/skqp/src/core/
DSkClipStack.cpp20 SkClipStack::Element::Element(const Element& that) { in Element() function in SkClipStack::Element
46 SkClipStack::Element::~Element() { in ~Element()
55 bool SkClipStack::Element::operator== (const Element& element) const { in operator ==()
78 const SkRect& SkClipStack::Element::getBounds() const { in getBounds()
94 bool SkClipStack::Element::contains(const SkRect& rect) const { in contains()
110 bool SkClipStack::Element::contains(const SkRRect& rrect) const { in contains()
127 void SkClipStack::Element::invertShapeFillType() { in invertShapeFillType()
150 void SkClipStack::Element::initCommon(int saveCount, SkClipOp op, bool doAA) { in initCommon()
162 void SkClipStack::Element::initRect(int saveCount, const SkRect& rect, const SkMatrix& m, in initRect()
178 void SkClipStack::Element::initRRect(int saveCount, const SkRRect& rrect, const SkMatrix& m, in initRRect()
[all …]
DSkClipStack.h50 class Element {
67 Element() { in Element() function
72 Element(const Element&);
74 Element(const SkRect& rect, const SkMatrix& m, SkClipOp op, bool doAA) { in Element() function
78 Element(const SkRRect& rrect, const SkMatrix& m, SkClipOp op, bool doAA) { in Element() function
82 Element(const SkPath& path, const SkMatrix& m, SkClipOp op, bool doAA) { in Element() function
86 ~Element();
88 bool operator== (const Element& element) const;
89 bool operator!= (const Element& element) const { return !(*this == element); }
225 Element(int saveCount) { in Element() function
[all …]
/external/skia/src/core/
DSkClipStack.cpp20 SkClipStack::Element::Element(const Element& that) { in Element() function in SkClipStack::Element
46 SkClipStack::Element::~Element() { in ~Element()
55 bool SkClipStack::Element::operator== (const Element& element) const { in operator ==()
78 const SkRect& SkClipStack::Element::getBounds() const { in getBounds()
94 bool SkClipStack::Element::contains(const SkRect& rect) const { in contains()
110 bool SkClipStack::Element::contains(const SkRRect& rrect) const { in contains()
127 void SkClipStack::Element::invertShapeFillType() { in invertShapeFillType()
150 void SkClipStack::Element::initCommon(int saveCount, SkClipOp op, bool doAA) { in initCommon()
162 void SkClipStack::Element::initRect(int saveCount, const SkRect& rect, const SkMatrix& m, in initRect()
178 void SkClipStack::Element::initRRect(int saveCount, const SkRRect& rrect, const SkMatrix& m, in initRRect()
[all …]
DSkClipStack.h50 class Element {
67 Element() { in Element() function
72 Element(const Element&);
74 Element(const SkRect& rect, const SkMatrix& m, SkClipOp op, bool doAA) { in Element() function
78 Element(const SkRRect& rrect, const SkMatrix& m, SkClipOp op, bool doAA) { in Element() function
82 Element(const SkPath& path, const SkMatrix& m, SkClipOp op, bool doAA) { in Element() function
86 ~Element();
88 bool operator== (const Element& element) const;
89 bool operator!= (const Element& element) const { return !(*this == element); }
225 Element(int saveCount) { in Element() function
[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/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/validator/
DValidator.java7 import javax.lang.model.element.Element;
24 public abstract class Validator implements ElementVisitor<Void, Element> {
32 …final ElementVisitor<Void, Element> visitorAdapter = new AbstractElementVisitor6<Void, Element>() {
35 public Void visitPackage(PackageElement e, Element p) {
40 public Void visitType(TypeElement e, Element p) {
45 public Void visitVariable(VariableElement e, Element p) {
50 public Void visitExecutable(ExecutableElement e, Element p) {
55 public Void visitTypeParameter(TypeParameterElement e, Element p) {
59 protected Element currentElement;
97 public void init(Element e, Element p) { in init()
[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/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/
DAnnotationIdTest.java93 AnnotationId.Element element = new AnnotationId.Element("elementBoolean", true); in addMethodAnnotationWithBooleanElement()
109 AnnotationId.Element element = new AnnotationId.Element("elementByte", Byte.MAX_VALUE); in addMethodAnnotationWithByteElement()
125 AnnotationId.Element element = new AnnotationId.Element("elementChar", 'X'); in addMethodAnnotationWithCharElement()
141 AnnotationId.Element element = new AnnotationId.Element("elementDouble", Double.NaN); in addMethodAnnotationWithDoubleElement()
157 AnnotationId.Element element = new AnnotationId.Element("elementFloat", Float.NaN); in addMethodAnnotationWithFloatElement()
173 AnnotationId.Element element = new AnnotationId.Element("elementInt", Integer.MAX_VALUE); in addMethodAnnotationWithIntElement()
189 AnnotationId.Element element = new AnnotationId.Element("elementLong", Long.MAX_VALUE); in addMethodAnnotationWithLongElement()
205 AnnotationId.Element element = new AnnotationId.Element("elementShort", Short.MAX_VALUE); in addMethodAnnotationWithShortElement()
221 AnnotationId.Element element = new AnnotationId.Element("elementString", "hello"); in addMethodAnnotationWithStingElement()
239 … AnnotationId.Element element = new AnnotationId.Element("elementEnum", ElementEnum.INSTANCE_1); in addMethodAnnotationWithEnumElement()
[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/guice/core/src/com/google/inject/internal/
DRealElement.java19 import com.google.inject.internal.Element.Type;
25 class RealElement implements Element {
30 private final Element.Type type;
33 RealElement(String setName, Element.Type type, String keyType) { in RealElement()
37 RealElement(String setName, Element.Type type, String keyType, int uniqueId) { in RealElement()
55 public Element.Type type() { in type()
66 return Element.class; in annotationType()
72 + Element.class.getName() in toString()
86 return o instanceof Element in equals()
87 && ((Element) o).setName().equals(setName()) in equals()
[all …]
/external/libchrome/mojo/public/cpp/bindings/lib/
Darray_serialization.h108 typename std::enable_if<BelongsTo<typename MojomType::Element,
112 using DataElement = typename Data::Element;
113 using Element = typename MojomType::Element;
117 static_assert(std::is_same<Element, DataElement>::value,
121 Element,
122 typename std::remove_const<typename Traits::Element>::type>::value,
176 typename std::enable_if<BelongsTo<typename MojomType::Element,
180 using DataElement = typename Data::Element;
181 using Element = typename MojomType::Element;
185 static_assert(sizeof(Element) == sizeof(DataElement),
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/
DLanguageTestFmwk.java607 void wrapup(List /* of String */list, Element element) { in FileTestData()
633 case Element.XfullPluralizedFormCounts: in FileTestData()
636 case Element.XfullPluralizedFormTargets: in FileTestData()
639 case Element.XmediumFormTargets: in FileTestData()
642 case Element.XshortFormTargets: in FileTestData()
645 case Element.XcustomMinuteTargets: in FileTestData()
648 case Element.XlimitedUnitTargets: in FileTestData()
651 case Element.XhalfUnitCounts: in FileTestData()
654 case Element.XhalfUnitTargets: in FileTestData()
657 case Element.XfractionalUnitCounts: in FileTestData()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/
DLanguageTestFmwk.java608 void wrapup(List /* of String */list, Element element) { in FileTestData()
634 case Element.XfullPluralizedFormCounts: in FileTestData()
637 case Element.XfullPluralizedFormTargets: in FileTestData()
640 case Element.XmediumFormTargets: in FileTestData()
643 case Element.XshortFormTargets: in FileTestData()
646 case Element.XcustomMinuteTargets: in FileTestData()
649 case Element.XlimitedUnitTargets: in FileTestData()
652 case Element.XhalfUnitCounts: in FileTestData()
655 case Element.XhalfUnitTargets: in FileTestData()
658 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 …]
/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/osx/
DKeylayoutParser.java27 import org.w3c.dom.Element;
48 private final Element keyboardElement;
51 private KeylayoutParser(Element keyboardElement) { in KeylayoutParser()
88 Element layout = findLayout(); in parse()
104 private Element findLayout() { in findLayout()
107 Element layout = (Element) layouts.item(i); in findLayout()
118 Element modifierMap = null; in parseModifiers()
120 Element modifierMapElement = (Element) modifierMaps.item(i); in parseModifiers()
128 Element keyMapSelect = (Element) keyMapSelects.item(i); in parseModifiers()
132 Element modifier = (Element) modifiers.item(j); in parseModifiers()
[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/python/cpython2/Lib/test/
Dtest_xml_etree.py192 element = ET.Element("tag")
196 element = ET.Element("t\xe4g", key="value")
199 element = ET.Element("tag", key="value")
244 element = ET.Element('tag')
275 e = ET.Element("tag2")
287 element = ET.Element("tag", key="value")
289 subelement = ET.Element("subtag")
362 elem = ET.Element("tag")
369 elem = ET.Element("tag", key="value")
374 elem = ET.Element("tag", attrib)
[all …]
/external/llvm/lib/Target/X86/
DX86ShuffleDecodeConstantPool.cpp77 uint64_t Element = APElt.getLoBits(8).getZExtValue(); in DecodePSHUFBMask() local
81 if (Element & (1 << 7)) in DecodePSHUFBMask()
85 int Index = Base + (Element & 0xf); in DecodePSHUFBMask()
148 uint64_t Element = cast<ConstantInt>(COp)->getZExtValue(); in DecodeVPERMILPMask() local
150 Index += (Element >> 1) & 0x1; in DecodeVPERMILPMask()
152 Index += Element & 0x3; in DecodeVPERMILPMask()
316 APInt Element = cast<ConstantInt>(COp)->getValue(); in DecodeVPERMVMask() local
317 Element = Element.getLoBits(EltMaskSize); in DecodeVPERMVMask()
318 ShuffleMask.push_back(Element.getZExtValue()); in DecodeVPERMVMask()
327 uint64_t Element = cast<ConstantInt>(C)->getZExtValue(); in DecodeVPERMVMask() local
[all …]
/external/python/cpython3/Lib/test/
Dtest_xml_etree.py165 self.assertIsInstance(alice, (ET.Element, pyET.Element))
166 self.assertIsInstance(bob, (ET.Element, pyET.Element))
221 element = ET.Element("tag")
225 element = ET.Element("t\xe4g", key="value")
228 element = ET.Element("tag", key="value")
270 element = ET.Element('tag')
301 e = ET.Element("tag2")
313 element = ET.Element("tag", key="value")
315 subelement = ET.Element("subtag")
388 elem = ET.Element("tag")
[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>>...28