HomeSort by relevance Sort by last modified time
    Searched refs:elementType (Results 1 - 25 of 588) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/annotation-tools/scene-lib/src/annotations/field/
ArrayAFT.java 18 public final ScalarAFT elementType;
22 * the given element type. <code>elementType</code> may be
26 public ArrayAFT(ScalarAFT elementType) {
27 this.elementType = elementType;
39 if (elementType == null) {
43 if (! elementType.isValidValue(elt)) {
55 return (elementType == null ? "unknown" :
56 ((ScalarAFT) elementType).toString()) + "[]";
71 result.append(elementType.format(elt))
    [all...]
  /libcore/ojluni/src/main/java/java/util/
RegularEnumSet.java 44 RegularEnumSet(Class<E>elementType, Enum<?>[] universe) {
45 super(elementType, universe);
144 if (eClass != elementType && eClass.getSuperclass() != elementType)
178 if (eClass != elementType && eClass.getSuperclass() != elementType)
202 if (es.elementType != elementType)
221 if (es.elementType != elementType) {
    [all...]
EnumSet.java 85 final Class<E> elementType;
94 EnumSet(Class<E>elementType, Enum<?>[] universe) {
95 this.elementType = elementType;
103 * @param elementType the class object of the element type for this enum
106 * @throws NullPointerException if <tt>elementType</tt> is null
108 public static <E extends Enum<E>> EnumSet<E> noneOf(Class<E> elementType) {
109 Enum<?>[] universe = getUniverse(elementType);
111 throw new ClassCastException(elementType + " not an enum");
114 return new RegularEnumSet<>(elementType, universe)
    [all...]
JumboEnumSet.java 49 JumboEnumSet(Class<E>elementType, Enum<?>[] universe) {
50 super(elementType, universe);
184 if (eClass != elementType && eClass.getSuperclass() != elementType)
225 if (eClass != elementType && eClass.getSuperclass() != elementType)
254 if (es.elementType != elementType)
276 if (es.elementType != elementType) {
    [all...]
  /external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/expr/
ArrayCreationExpr.java 59 private Type elementType;
69 public ArrayCreationExpr(Type elementType, NodeList<ArrayCreationLevel> levels, ArrayInitializerExpr initializer) {
70 this(null, elementType, levels, initializer);
73 public ArrayCreationExpr(Type elementType) {
74 this(null, elementType, new NodeList<>(), new ArrayInitializerExpr());
81 public ArrayCreationExpr(Range range, Type elementType) {
82 this(null, elementType, new NodeList<>(), new ArrayInitializerExpr());
90 public ArrayCreationExpr(TokenRange tokenRange, Type elementType, NodeList<ArrayCreationLevel> levels, ArrayInitializerExpr initializer) {
92 setElementType(elementType);
117 return elementType;
    [all...]
  /system/tools/hidl/
RefType.cpp 45 bool RefType::isCompatibleElementType(const Type* elementType) const {
46 if (elementType->isScalar()) {
49 if (elementType->isString()) {
52 if (elementType->isEnum()) {
55 if (elementType->isBitField()) {
58 if (elementType->isCompoundType() &&
59 static_cast<const CompoundType*>(elementType)->style() == CompoundType::STYLE_STRUCT) {
62 if (elementType->isTemplatedType()) {
64 static_cast<const TemplatedType*>(elementType)->getElementType());
66 if (elementType->isArray())
    [all...]
VectorType.cpp 34 bool VectorType::isCompatibleElementType(const Type* elementType) const {
35 if (elementType->isScalar()) {
38 if (elementType->isString()) {
41 if (elementType->isEnum()) {
44 if (elementType->isBitField()) {
47 if (elementType->isCompoundType()) {
50 if (elementType->isInterface()) {
53 if (elementType->isHandle()) {
56 if (elementType->isMemory()) {
59 if (elementType->isTemplatedType())
    [all...]
  /external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/expr/
VariableDeclarationExpr.java 57 private Type elementType;
66 public VariableDeclarationExpr(final Type elementType, String variableName) {
67 setElementType(elementType);
71 public VariableDeclarationExpr(final Type elementType, VariableDeclarator var) {
72 setElementType(elementType);
76 public VariableDeclarationExpr(final Type elementType, String variableName, Modifier... modifiers) {
77 setElementType(elementType);
83 public VariableDeclarationExpr(final Type elementType, VariableDeclarator var, Modifier... modifiers) {
84 setElementType(elementType);
90 public VariableDeclarationExpr(final Type elementType, final List<VariableDeclarator> variables)
    [all...]
  /external/autotest/client/site_tests/webrtc_PausePlayPeerConnections/
pause-play.js 22 addPeerConnection(elementType) {
23 const element = document.createElement(elementType);
27 if (elementType === 'video') {
29 } else if (elementType === 'audio') {
32 throw new Error('elementType must be one of "audio" or "video"');
93 let elementType;
100 testRunner.addPeerConnection(elementType);
  /frameworks/base/core/java/android/os/
HidlSupport.java 124 Class<?> elementType = clazz.getComponentType();
125 if (elementType.isPrimitive()) {
160 Class<?> elementType = o.getClass().getComponentType();
161 if (elementType == boolean.class) {
164 if (elementType == byte.class) {
167 if (elementType == char.class) {
170 if (elementType == double.class) {
173 if (elementType == float.class) {
176 if (elementType == int.class) {
179 if (elementType == long.class)
    [all...]
  /external/jacoco/org.jacoco.core/src/org/jacoco/core/analysis/
CoverageNodeImpl.java 23 private final ElementType elementType;
48 * @param elementType
53 public CoverageNodeImpl(final ElementType elementType, final String name) {
54 this.elementType = elementType;
96 public ElementType getElementType() {
97 return elementType;
147 final CoverageNodeImpl copy = new CoverageNodeImpl(elementType, name)
    [all...]
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
ArrayProto.java 48 protected final String elementType;
65 elementType = type.substring(i);
70 @Nonnull @Override public String getType() { return makeArrayType(elementType, dimensions); }
77 @Nonnull public String getElementType() { return elementType; }
85 return makeArrayType(elementType, dimensions-1);
87 return elementType;
112 TypeProto thisClass = classPath.getClass(elementType);
113 TypeProto otherClass = classPath.getClass(((ArrayProto)other).elementType);
148 private static String makeArrayType(@Nonnull String elementType, int dimensions) {
149 return BRACKETS.substring(0, dimensions) + elementType;
    [all...]
  /external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/body/
Parameter.java 52 private Type elementType;
67 public Parameter(Type elementType, VariableDeclaratorId id) {
69 setElementType(elementType);
75 * @param elementType
81 public static Parameter create(Type elementType, String name) {
82 return new Parameter(elementType, new VariableDeclaratorId(name));
85 public Parameter(EnumSet<Modifier> modifiers, Type elementType, VariableDeclaratorId id) {
88 setElementType(elementType);
94 Type elementType,
102 setElementType(elementType);
    [all...]
FieldDeclaration.java 60 private Type elementType;
69 public FieldDeclaration(EnumSet<Modifier> modifiers, Type elementType, VariableDeclarator variable) {
71 setElementType(elementType);
77 public FieldDeclaration(EnumSet<Modifier> modifiers, Type elementType, List<VariableDeclarator> variables) {
79 setElementType(elementType);
83 public FieldDeclaration(EnumSet<Modifier> modifiers, List<AnnotationExpr> annotations, Type elementType, List<ArrayBracketPair> arrayBracketPairsAfterElementType,
87 setElementType(elementType);
92 public FieldDeclaration(Range range, EnumSet<Modifier> modifiers, List<AnnotationExpr> annotations, Type elementType,
96 setElementType(elementType);
253 return elementType;
    [all...]
MethodDeclaration.java 71 private Type elementType;
90 public MethodDeclaration(final EnumSet<Modifier> modifiers, final Type elementType, final String name) {
92 setElementType(elementType);
96 public MethodDeclaration(final EnumSet<Modifier> modifiers, final Type elementType, final String name,
99 setElementType(elementType);
107 final Type elementType,
117 setElementType(elementType);
130 final Type elementType,
140 setElementType(elementType);
205 return elementType;
    [all...]
  /libcore/luni/src/main/java/libcore/reflect/
AnnotationMember.java 94 protected transient Class<?> elementType;
135 elementType = Integer.class;
137 elementType = Boolean.class;
139 elementType = Character.class;
141 elementType = Float.class;
143 elementType = Double.class;
145 elementType = Long.class;
147 elementType = Short.class;
149 elementType = Byte.class;
151 elementType = type
    [all...]
  /external/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/
SmaliCatchStatement.java 50 protected SmaliCatchStatement(IElementType elementType) {
51 super(elementType);
  /external/guice/core/src/com/google/inject/util/
Types.java 95 * {@code elementType}.
99 public static ParameterizedType listOf(Type elementType) {
100 return newParameterizedType(List.class, elementType);
105 * {@code elementType}.
109 public static ParameterizedType setOf(Type elementType) {
110 return newParameterizedType(Set.class, elementType);
127 * {@code elementType}.
  /external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/serialization/
PropertyInfo.java 82 public PropertyInfo elementType;
97 * @return Returns the elementType.
101 return elementType;
105 * @param elementType
106 * The elementType to set.
108 public void setElementType(PropertyInfo elementType)
110 this.elementType = elementType;
SppPropertyInfo.java 82 public PropertyInfo elementType;
97 * @return Returns the elementType.
101 return elementType;
105 * @param elementType
106 * The elementType to set.
108 public void setElementType(PropertyInfo elementType)
110 this.elementType = elementType;
  /external/smali/smalidea/src/main/java/org/jf/smalidea/
PsiBuilderTokenStream.java 97 SmaliLexicalElementType elementType = (SmaliLexicalElementType)element;
98 currentToken = new CommonToken(elementType.tokenId, psiBuilder.getTokenText());
110 IElementType elementType = psiBuilder.lookAhead(i-1);
111 if (elementType == null) {
113 } else if (elementType instanceof SmaliLexicalElementType) {
114 return ((SmaliLexicalElementType)elementType).tokenId;
115 } else if (elementType == TokenType.BAD_CHARACTER) {
  /external/turbine/java/com/google/turbine/bytecode/sig/
Sig.java 224 private final TySig elementType;
226 public ArrayTySig(TySig elementType) {
227 this.elementType = elementType;
231 public TySig elementType() {
232 return elementType;
  /external/javassist/sample/vector/
VectorAssistant.java 61 CtClass elementType = pool.get(args[0]);
62 if (elementType.isPrimitive())
63 subclass = makeSubclass2(pool, elementType);
65 subclass = makeSubclass(pool, elementType);
  /frameworks/rs/rsov/compiler/
Wrapper.h 37 VariableInst *AddBuffer(Instruction *elementType, uint32_t binding, Builder &b,
  /tools/apksig/src/main/java/com/android/apksig/internal/asn1/
Asn1Field.java 19 import java.lang.annotation.ElementType;
24 @Target({ElementType.FIELD})
44 public Asn1Type elementType() default Asn1Type.ANY;

Completed in 867 milliseconds

1 2 3 4 5 6 7 8 91011>>