/external/guava/guava-tests/benchmark/com/google/common/collect/ |
D | MapBenchmark.java | 24 import com.google.common.collect.CollectionBenchmarkSampleData.Element; 46 Map<Element, Element> create(Collection<Element> keys) { in create() 47 Map<Element, Element> map = Maps.newHashMap(); in create() 48 for (Element element : keys) { in create() 56 Map<Element, Element> create(Collection<Element> keys) { in create() 57 Map<Element, Element> map = Maps.newLinkedHashMap(); in create() 58 for (Element element : keys) { in create() 66 Map<Element, Element> create(Collection<Element> keys) { in create() 72 Map<Element, Element> create(Collection<Element> keys) { in create() 78 Map<Element, Element> create(Collection<Element> keys) { in create() [all …]
|
/external/guava/android/guava-tests/benchmark/com/google/common/collect/ |
D | MapBenchmark.java | 24 import com.google.common.collect.CollectionBenchmarkSampleData.Element; 46 Map<Element, Element> create(Collection<Element> keys) { in create() 47 Map<Element, Element> map = Maps.newHashMap(); in create() 48 for (Element element : keys) { in create() 56 Map<Element, Element> create(Collection<Element> keys) { in create() 57 Map<Element, Element> map = Maps.newLinkedHashMap(); in create() 58 for (Element element : keys) { in create() 66 Map<Element, Element> create(Collection<Element> keys) { in create() 72 Map<Element, Element> create(Collection<Element> keys) { in create() 78 Map<Element, Element> create(Collection<Element> keys) { in create() [all …]
|
/external/protobuf/src/google/protobuf/ |
D | repeated_field.h | 119 template <typename Element> 122 alignof(Arena) >= alignof(Element), 141 const Element& Get(int index) const; 142 Element* Mutable(int index); 144 const Element& operator[](int index) const { return Get(index); } 145 Element& operator[](int index) { return *Mutable(index); } 147 const Element& at(int index) const; 148 Element& at(int index); 150 void Set(int index, const Element& value); 151 void Add(const Element& value); [all …]
|
/external/skqp/src/core/ |
D | SkClipStack.cpp | 20 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 …]
|
D | SkClipStack.h | 50 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/ |
D | SkClipStack.cpp | 19 SkClipStack::Element::Element(const Element& that) { in Element() function in SkClipStack::Element 45 SkClipStack::Element::~Element() { in ~Element() 54 bool SkClipStack::Element::operator== (const Element& element) const { in operator ==() 77 const SkRect& SkClipStack::Element::getBounds() const { in getBounds() 93 bool SkClipStack::Element::contains(const SkRect& rect) const { in contains() 109 bool SkClipStack::Element::contains(const SkRRect& rrect) const { in contains() 126 void SkClipStack::Element::invertShapeFillType() { in invertShapeFillType() 149 void SkClipStack::Element::initCommon(int saveCount, SkClipOp op, bool doAA) { in initCommon() 161 void SkClipStack::Element::initRect(int saveCount, const SkRect& rect, const SkMatrix& m, in initRect() 177 void SkClipStack::Element::initRRect(int saveCount, const SkRRect& rrect, const SkMatrix& m, in initRRect() [all …]
|
D | SkClipStack.h | 50 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/android/guava-tests/test/com/google/common/collect/ |
D | CollectionBenchmarkSampleData.java | 37 private final Set<Element> valuesInSet; 38 private final Element[] queries; 55 Set<Element> getValuesInSet() { in getValuesInSet() 59 Element[] getQueries() { in getQueries() 63 private Element[] createQueries(Set<Element> elementsInSet, int numQueries) { in createQueries() 64 List<Element> queryList = Lists.newArrayListWithCapacity(numQueries); in createQueries() 77 List<Element> tmp = Lists.newArrayList(elementsInSet); in createQueries() 84 Element candidate = newElement(); in createQueries() 90 return queryList.toArray(new Element[0]); in createQueries() 93 private Set<Element> createData() { in createData() [all …]
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | CollectionBenchmarkSampleData.java | 37 private final Set<Element> valuesInSet; 38 private final Element[] queries; 55 Set<Element> getValuesInSet() { in getValuesInSet() 59 Element[] getQueries() { in getQueries() 63 private Element[] createQueries(Set<Element> elementsInSet, int numQueries) { in createQueries() 64 List<Element> queryList = Lists.newArrayListWithCapacity(numQueries); in createQueries() 77 List<Element> tmp = Lists.newArrayList(elementsInSet); in createQueries() 84 Element candidate = newElement(); in createQueries() 90 return queryList.toArray(new Element[0]); in createQueries() 93 private Set<Element> createData() { in createData() [all …]
|
/external/autotest/frontend/client/src/autotest/common/table/ |
D | FragmentedTable.java | 8 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/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/validator/ |
D | Validator.java | 7 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/guava/guava-tests/test/com/google/common/reflect/ |
D | ElementTest.java | 34 Element element = A.field("privateField"); in testPrivateField() 46 Element element = A.field("packagePrivateField"); in testPackagePrivateField() 57 Element element = A.field("protectedField"); in testProtectedField() 68 Element element = A.field("publicField"); in testPublicField() 79 Element element = A.field("finalField"); in testFinalField() 86 Element element = A.field("staticField"); in testStaticField() 92 Element element = A.field("volatileField"); in testVolatileField() 97 Element element = A.field("transientField"); in testTransientField() 102 Element element = A.constructor(); in testConstructor() 111 Element element = A.method("abstractMethod"); in testAbstractMethod() [all …]
|
/external/guava/android/guava-tests/test/com/google/common/reflect/ |
D | ElementTest.java | 34 Element element = A.field("privateField"); in testPrivateField() 46 Element element = A.field("packagePrivateField"); in testPackagePrivateField() 57 Element element = A.field("protectedField"); in testProtectedField() 68 Element element = A.field("publicField"); in testPublicField() 79 Element element = A.field("finalField"); in testFinalField() 86 Element element = A.field("staticField"); in testStaticField() 92 Element element = A.field("volatileField"); in testVolatileField() 97 Element element = A.field("transientField"); in testTransientField() 102 Element element = A.constructor(); in testConstructor() 111 Element element = A.method("abstractMethod"); in testAbstractMethod() [all …]
|
/external/caliper/examples/src/main/java/examples/ |
D | ListModificationBenchmark.java | 33 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/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/ |
D | AnnotationIdTest.java | 93 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/guice/core/src/com/google/inject/internal/ |
D | RealElement.java | 19 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/dagger2/java/dagger/internal/codegen/ |
D | ComponentProcessingStep.java | 43 import javax.lang.model.element.Element; 61 private ImmutableSet<Element> subcomponentElements; 62 private ImmutableSet<Element> subcomponentCreatorElements; 63 private ImmutableMap<Element, ValidationReport<TypeElement>> creatorReportsByComponent; 64 private ImmutableMap<Element, ValidationReport<TypeElement>> creatorReportsBySubcomponent; 65 private ImmutableMap<Element, ValidationReport<TypeElement>> reportsBySubcomponent; 98 public ImmutableSet<Element> process( in process() 99 SetMultimap<Class<? extends Annotation>, Element> elementsByAnnotation) { in process() 105 ImmutableSet.Builder<Element> rejectedElements = ImmutableSet.builder(); in process() 173 static ImmutableSet<Element> getElementsFromAnnotations( in getElementsFromAnnotations() [all …]
|
D | ValidationReport.java | 34 import javax.lang.model.element.Element; 40 abstract class ValidationReport<T extends Element> { 136 private static boolean isEnclosedIn(Element parent, Element child) { in isEnclosedIn() 137 Element current = child; in isEnclosedIn() 151 abstract Element element(); in element() 156 static <T extends Element> Builder<T> about(T subject) { in about() 161 static final class Builder<T extends Element> { 185 Builder<T> addError(String message, Element element) { in addError() 189 Builder<T> addError(String message, Element element, AnnotationMirror annotation) { in addError() 195 Element element, in addError() [all …]
|
/external/dagger2/java/dagger/internal/codegen/langmodel/ |
D | DaggerElements.java | 48 import javax.lang.model.element.Element; 80 public static boolean elementEncloses(TypeElement encloser, Element enclosed) { in elementEncloses() 84 private static final Traverser<Element> GET_ENCLOSED_ELEMENTS = 85 Traverser.forTree(Element::getEnclosedElements); 109 public static TypeElement closestEnclosingTypeElement(Element element) { in closestEnclosingTypeElement() 116 protected TypeElement defaultAction(Element element, Void p) { 130 public static final Comparator<Element> DECLARATION_ORDER = 135 private static List<? extends Element> siblings(Element element) { in siblings() 147 Element element, Iterable<? extends Class<? extends Annotation>> annotationClasses) { in isAnyAnnotationPresent() 158 Element element, in isAnyAnnotationPresent() [all …]
|
/external/libchrome/mojo/public/cpp/bindings/lib/ |
D | array_serialization.h | 108 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/ |
D | LanguageTestFmwk.java | 607 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/ |
D | LanguageTestFmwk.java | 608 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/ |
D | element-err_0_0.err | 1 ./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/deqp/external/vulkancts/framework/vulkan/ |
D | vkBinaryRegistry.hpp | 101 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/cldr/tools/java/org/unicode/cldr/draft/keyboard/osx/ |
D | KeylayoutParser.java | 27 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 …]
|