/libcore/luni/src/main/java/java/util/ |
UnsafeArrayList.java | 27 private final Class<T> elementType; 31 public UnsafeArrayList(Class<T> elementType, int initialCapacity) { 32 this.array = (T[]) Array.newInstance(elementType, initialCapacity); 33 this.elementType = elementType; 38 T[] newArray = (T[]) Array.newInstance(elementType, size * 2);
|
EnumSet.java | 37 * @param elementType 40 * elementType}. 44 public static <E extends Enum<E>> EnumSet<E> noneOf(Class<E> elementType) { 45 if (!elementType.isEnum()) { 46 throw new ClassCastException(elementType.getClass().getName() + " is not an Enum"); 48 E[] enums = Enum.getSharedConstants(elementType); 50 return new MiniEnumSet<E>(elementType, enums); 52 return new HugeEnumSet<E>(elementType, enums); 57 * {@code elementType}. 59 * @param elementType [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/ |
ArrayProto.java | 47 protected final String elementType; 64 elementType = type.substring(i); 69 @Nonnull @Override public String getType() { return makeArrayType(elementType, dimensions); } 76 @Nonnull public String getElementType() { return elementType; } 84 return makeArrayType(elementType, dimensions-1); 86 return elementType; 111 TypeProto thisClass = classPath.getClass(elementType); 112 TypeProto otherClass = classPath.getClass(((ArrayProto)other).elementType); 147 private static String makeArrayType(@Nonnull String elementType, int dimensions) { 148 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/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;
|
SoapSerializationEnvelope.java | 300 protected void readVector(XmlPullParser parser, Vector v, PropertyInfo elementType) 320 if (elementType == null) { 321 elementType = PropertyInfo.OBJECT_TYPE; 333 v.setElementAt(read(parser, v, position, namespace, name, elementType), position); 457 readVector(parser, (Vector) obj, expected.elementType); 705 writeVectorBody(writer, (Vector) element, type.elementType); 711 protected void writeVectorBody(XmlSerializer writer, Vector vector, PropertyInfo elementType) 716 if (elementType == null) { 717 elementType = PropertyInfo.OBJECT_TYPE; 718 } else if (elementType instanceof PropertyInfo) [all...] |
AttributeContainer.java | 21 attributeInfo.elementType = p.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);
|
/external/deqp/framework/opengl/ |
gluVarType.cpp | 48 VarType::VarType (const VarType& elementType, int arraySize) 53 m_data.array.elementType = new VarType(elementType); 65 delete m_data.array.elementType; 74 delete m_data.array.elementType; 81 m_data.array.elementType = new VarType(*other.m_data.array.elementType); 95 case TYPE_ARRAY: return m_data.array.elementType->getScalarSize()*m_data.array.size; 123 return *m_data.array.elementType == *other.m_data.array.elementType & [all...] |
gluVarType.hpp | 54 VarType (const VarType& elementType, int arraySize); //!< Array type constructor. 65 const VarType& getElementType (void) const { DE_ASSERT(isArrayType()); return *m_data.array.elementType; } 105 VarType* elementType; 114 array.elementType = DE_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...] |
Schema.java | 40 new HashMap(); // String -> ElementType 44 private ElementType theRoot = null; 54 public void elementType(String name, int model, int memberOf, int flags) { 55 ElementType e = new ElementType(name, model, memberOf, flags, this); 64 public ElementType rootElementType() { 78 ElementType e = getElementType(elemName); 94 ElementType child = getElementType(name); 95 ElementType parent = getElementType(parentName); 116 Get an ElementType by name [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...] |
glsUniformBlockCase.hpp | 77 VarType (const VarType& elementType, int arraySize); 88 const VarType& getElementType (void) const { return *m_data.array.elementType; } 112 VarType* elementType; 119 array.elementType = DE_NULL;
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/accessibility/ |
BrowserAccessibilityManager.java | 203 String elementType = arguments.getString( 205 if (elementType == null) 207 elementType = elementType.toUpperCase(Locale.US); 208 return jumpToElementType(elementType, true); 213 String elementType = arguments.getString( 215 if (elementType == null) 217 elementType = elementType.toUpperCase(Locale.US); 218 return jumpToElementType(elementType, false) [all...] |
/external/clang/utils/ABITest/ |
TypeGen.py | 113 def __init__(self, index, isVector, elementType, size): 121 self.elementType = elementType 124 eltSize = self.elementType.sizeof() 132 return 'vector (%s)[%d]'%(self.elementType,self.size) 134 return '(%s)[%d]'%(self.elementType,self.size) 136 return '(%s)[]'%(self.elementType,) 139 elementName = printer.getTypeName(self.elementType) 152 def __init__(self, index, elementType): 154 self.elementType = elementTyp [all...] |
ABITestGen.py | 241 for t in self.getTestValues(t.elementType): 244 values = list(self.getTestValues(t.elementType)) 302 self.printValueOfType(prefix, '(__real %s)'%name, t.elementType, output=output,indent=indent) 303 self.printValueOfType(prefix, '(__imag %s)'%name, t.elementType, output=output,indent=indent) 309 self.printValueOfType(prefix, '((%s*) &%s)[%d]'%(t.elementType,name,i), t.elementType, output=output,indent=indent) 311 self.printValueOfType(prefix, '%s[%d]'%(name,i), t.elementType, output=output,indent=indent) 332 self.checkTypeValues('(__real %s)'%nameLHS, '(__real %s)'%nameRHS, t.elementType, output=output,indent=indent) 333 self.checkTypeValues('(__imag %s)'%nameLHS, '(__imag %s)'%nameRHS, t.elementType, output=output,indent=indent) 339 self.checkTypeValues('((%s*) &%s)[%d]'%(t.elementType,nameLHS,i), [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))
|
/external/chromium_org/third_party/skia/src/animator/ |
SkDisplayable.cpp | 100 SkDisplayTypes elementType; 103 elementType = dispArray->values.getType(); 105 elementType = info->arrayType(); 106 size_t elementSize = SkMemberInfo::GetSize(elementType); 190 SkDisplayTypes elementType; 193 elementType = dispArray->values.getType(); 195 elementType = info->arrayType(); 200 switch (elementType) {
|
/external/skia/src/animator/ |
SkDisplayable.cpp | 100 SkDisplayTypes elementType; 103 elementType = dispArray->values.getType(); 105 elementType = info->arrayType(); 106 size_t elementSize = SkMemberInfo::GetSize(elementType); 190 SkDisplayTypes elementType; 193 elementType = dispArray->values.getType(); 195 elementType = info->arrayType(); 200 switch (elementType) {
|
/external/javassist/src/main/javassist/bytecode/stackmap/ |
TypeData.java | 421 public static String getArrayType(String elementType) { 422 if (elementType.charAt(0) == '[') 423 return "[" + elementType; 425 return "[L" + elementType.replace('.', '/') + ";";
|
/external/qemu/distrib/sdl-1.2.15/src/joystick/darwin/ |
SDL_sysjoystick.c | 287 long elementType, usagePage, usage; 293 if ((refElementType) && (CFNumberGetValue (refElementType, kCFNumberLongType, &elementType))) 296 if ((elementType == kIOHIDElementTypeInput_Misc) || (elementType == kIOHIDElementTypeInput_Button) || 297 (elementType == kIOHIDElementTypeInput_Axis)) 348 else if (kIOHIDElementTypeCollection == elementType)
|