/libcore/ojluni/src/main/java/java/util/ |
RegularEnumSet.java | 44 RegularEnumSet(Class<E>elementType, Enum[] universe) { 45 super(elementType, universe); 143 if (eClass != elementType && eClass.getSuperclass() != elementType) 177 if (eClass != elementType && eClass.getSuperclass() != elementType) 201 if (es.elementType != elementType) 220 if (es.elementType != elementType) { [all...] |
EnumSet.java | 85 final Class<E> elementType; 94 EnumSet(Class<E>elementType, Enum[] universe) { 95 this.elementType = elementType; 102 * @param elementType the class object of the element type for this enum 104 * @throws NullPointerException if <tt>elementType</tt> is null 106 public static <E extends Enum<E>> EnumSet<E> noneOf(Class<E> elementType) { 107 Enum[] universe = getUniverse(elementType); 109 throw new ClassCastException(elementType + " not an enum"); 112 return new RegularEnumSet<>(elementType, universe) [all...] |
JumboEnumSet.java | 49 JumboEnumSet(Class<E>elementType, Enum[] universe) { 50 super(elementType, universe); 180 if (eClass != elementType && eClass.getSuperclass() != elementType) 221 if (eClass != elementType && eClass.getSuperclass() != elementType) 250 if (es.elementType != elementType) 272 if (es.elementType != elementType) { [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...] |
/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/libgdx/gdx/src/com/badlogic/gdx/utils/ |
Json.java | 140 public void setElementType (Class type, String fieldName, Class elementType) { 144 metadata.elementType = elementType; 192 * @param elementType May be null if the type is unknown. */ 193 public String toJson (Object object, Class knownType, Class elementType) { 195 toJson(object, knownType, elementType, buffer); 209 * @param elementType May be null if the type is unknown. */ 210 public void toJson (Object object, Class knownType, Class elementType, FileHandle file) { 214 toJson(object, knownType, elementType, writer); 232 * @param elementType May be null if the type is unknown. * [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) {
|
SmaliParserDefinition.java | 81 IElementType elementType = node.getElementType(); 82 if (elementType instanceof SmaliStubElementType) { 83 return ((SmaliStubElementType)elementType).createPsi(node);
|
/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);
|
/external/jacoco/org.jacoco.report/src/org/jacoco/report/check/ |
Rule.java | 17 import org.jacoco.core.analysis.ICoverageNode.ElementType; 26 private ElementType element; 38 this.element = ElementType.BUNDLE; 47 public ElementType getElement() { 52 * @param elementType 55 public void setElement(final ElementType elementType) { 56 this.element = elementType;
|
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/stub/ |
SmaliBaseReferenceListStub.java | 49 @NotNull StubElement parent, @NotNull IStubElementType elementType, @NotNull String[] smaliTypeNames) { 50 super(parent, elementType);
|
/external/deqp/framework/opengl/ |
gluVarType.cpp | 49 VarType::VarType (const VarType& elementType, int arraySize) 54 m_data.array.elementType = new VarType(elementType); 66 delete m_data.array.elementType; 75 delete m_data.array.elementType; 82 m_data.array.elementType = new VarType(*other.m_data.array.elementType); 96 case TYPE_ARRAY: return m_data.array.elementType->getScalarSize()*m_data.array.size; 124 return *m_data.array.elementType == *other.m_data.array.elementType & [all...] |
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/com/badlogic/gdx/utils/reflect/ |
Field.java | 102 Type elementType = field.getElementType(index);
103 return elementType != null ? elementType.getClassOfType() : null;
|
/external/tagsoup/src/org/ccil/cowan/tagsoup/ |
HTMLSchema.java | 35 elementType("<pcdata>", M_EMPTY, M_PCDATA, 0); 36 elementType("<root>", M_ROOT, M_EMPTY, 0); 37 elementType("a", M_PCDATA|M_NOLINK, M_INLINE, 0); 38 elementType("abbr", M_PCDATA|M_INLINE, M_INLINE|M_NOLINK, F_RESTART); 39 elementType("acronym", M_PCDATA|M_INLINE, M_INLINE|M_NOLINK, F_RESTART); 40 elementType("address", M_PCDATA|M_INLINE|M_P, M_BLOCK, 0); 41 elementType("applet", M_PCDATA|M_PARAM|M_INLINE|M_BLOCK, M_INLINE|M_NOLINK, 0); 42 elementType("area", M_EMPTY, M_AREA, 0); 43 elementType("b", M_PCDATA|M_INLINE, M_INLINE|M_NOLINK, F_RESTART); 44 elementType("base", M_EMPTY, M_HEAD, 0) [all...] |
/external/guice/extensions/multibindings/src/com/google/inject/multibindings/ |
Multibinder.java | 193 static <T> TypeLiteral<Set<T>> setOf(TypeLiteral<T> elementType) { 194 Type type = Types.setOf(elementType.getType()); 200 TypeLiteral<T> elementType) { 201 Type providerType = Types.providerOf(elementType.getType()); 208 TypeLiteral<T> elementType) { 210 Types.newParameterizedType(javax.inject.Provider.class, elementType.getType()); 262 private final TypeLiteral<T> elementType; 279 private RealMultibinder(Binder binder, TypeLiteral<T> elementType, Key<Set<T>> setKey) { 281 this.elementType = checkNotNull(elementType, "elementType") [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
FrameType.java | 160 * @param elementType One of the {@code ELEMENT} constants. 163 public static FrameType buffer1D(int elementType) { 164 return FrameType.fetchType(elementType, 1, ACCESS_UNKNOWN); 169 * @param elementType One of the {@code ELEMENT} constants. 172 public static FrameType buffer2D(int elementType) { 173 return FrameType.fetchType(elementType, 2, ACCESS_UNKNOWN); 178 * @param elementType One of the {@code ELEMENT} constants. 182 public static FrameType image2D(int elementType, int accessHint) { 183 return FrameType.fetchType(elementType, 2, accessHint);
|
/libcore/support/src/test/java/tests/support/ |
Support_MapTest.java | 130 private static <T> void crossCheckOrdering(Set<T> set1, Set<T> set2, Class<?> elementType) { 134 T[] zeroLengthArray = createArray(elementType, 0); 158 T[] parameterArray1 = createArray(elementType, set1.size()); 174 T[] parameterArray2 = createArray(elementType, set2.size()); 188 private static <T> T[] createArray(Class<?> elementType, int size) { 189 return (T[]) Array.newInstance(elementType, size);
|
/external/deqp/modules/glshared/ |
glsLifetimeTests.hpp | 224 Type& elementType, Type& containerType) 226 , m_elementType (elementType) 285 Type& elementType, Type& containerType) 286 : Attacher (ctx, elementType, containerType) {} 310 TextureFboAttacher (const Context& ctx, Type& elementType, Type& containerType) 311 : FboAttacher (ctx, elementType, containerType) {} 322 RboFboAttacher (const Context& ctx, Type& elementType, Type& containerType) 323 : FboAttacher (ctx, elementType, containerType) {} 335 Type& elementType, Type& containerType) 336 : Attacher (ctx, elementType, containerType) { [all...] |
/external/clang/utils/ABITest/ |
TypeGen.py | 117 def __init__(self, index, isVector, elementType, size): 125 self.elementType = elementType 128 eltSize = self.elementType.sizeof() 136 return 'vector (%s)[%d]'%(self.elementType,self.size) 138 return '(%s)[%d]'%(self.elementType,self.size) 140 return '(%s)[]'%(self.elementType,) 143 elementName = printer.getTypeName(self.elementType) 156 def __init__(self, index, elementType): 158 self.elementType = elementTyp [all...] |
/external/deqp/framework/randomshaders/ |
rsgVariableType.hpp | 133 VariableType (Type baseType, const VariableType& elementType, int numElements); 196 inline VariableType::VariableType (Type baseType, const VariableType& elementType, int numElements) 201 , m_elementType (new VariableType(elementType))
|