/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...] |
/frameworks/base/core/java/android/os/ |
HidlSupport.java | 97 Class<?> elementType = clazz.getComponentType(); 98 if (elementType.isPrimitive()) { 131 Class<?> elementType = o.getClass().getComponentType(); 132 if (elementType == boolean.class) { 135 if (elementType == byte.class) { 138 if (elementType == char.class) { 141 if (elementType == double.class) { 144 if (elementType == float.class) { 147 if (elementType == int.class) { 150 if (elementType == long.class) [all...] |
/system/tools/hidl/ |
RefType.cpp | 42 bool RefType::isCompatibleElementType(Type *elementType) const { 43 if (elementType->isScalar()) { 46 if (elementType->isString()) { 49 if (elementType->isEnum()) { 52 if (elementType->isBitField()) { 55 if (elementType->isCompoundType() 56 && static_cast<CompoundType *>(elementType)->style() == CompoundType::STYLE_STRUCT) { 59 if (elementType->isTemplatedType()) { 60 return this->isCompatibleElementType(static_cast<TemplatedType *>(elementType)->getElementType()); 62 if (elementType->isArray()) [all...] |
VectorType.cpp | 35 bool VectorType::isCompatibleElementType(Type *elementType) const { 36 if (elementType->isScalar()) { 39 if (elementType->isString()) { 42 if (elementType->isEnum()) { 45 if (elementType->isBitField()) { 48 if (elementType->isCompoundType() 49 && static_cast<CompoundType *>(elementType)->style() == CompoundType::STYLE_STRUCT) { 52 if (elementType->isInterface()) { 55 if (elementType->isHandle()) { 58 if (elementType->isMemory()) [all...] |
FmqType.cpp | 163 bool FmqType::isCompatibleElementType(Type *elementType) const { 164 return (!elementType->isInterface() && !elementType->needsEmbeddedReadWrite());
|
/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/autotest/client/site_tests/webrtc_PausePlayPeerConnections/ |
pause-play.js | 27 addNewCell(elementType) { 33 var element = document.createElement(elementType); 121 addPeerConnection(elementType) { 122 const element = this.feedTable.addNewCell(elementType); 124 if (elementType === 'video') { 128 } else if (elementType === 'audio') { 131 throw new Error('elementType must be one of "audio" or "video"'); 192 elementType) { 196 testRunner.addPeerConnection(elementType);
|
/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);
|
/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;
|
/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/pdfium/xfa/fxfa/parser/ |
cxfa_object.cpp | 16 XFA_Element elementType, 20 m_elementType(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...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
PasspointEventHandler.java | 147 for (Constants.ANQPElementType elementType : querySet) { 148 Integer id = Constants.getANQPElementID(elementType); 152 id = Constants.getHS20ElementID(elementType);
|