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

1 2 3 4

  /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...]
MiniEnumSet.java 36 * @param elementType non-null; type of the elements
40 MiniEnumSet(Class<E> elementType, E[] enums) {
41 super(elementType);
HugeEnumSet.java 37 * @param elementType non-null; type of the elements
41 HugeEnumSet(Class<E> elementType, E[] enums) {
42 super(elementType);
  /libcore/luni/src/main/java/org/apache/harmony/lang/annotation/
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/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/jmonkeyengine/engine/src/core/com/jme3/util/
SafeArrayList.java 87 private Class<E> elementType;
92 public SafeArrayList(Class<E> elementType) {
93 this.elementType = elementType;
96 public SafeArrayList(Class<E> elementType, Collection<? extends E> c) {
97 this.elementType = elementType;
106 return createArray(elementType, size);
  /external/clang/lib/CodeGen/
MicrosoftCXXABI.cpp 91 bool requiresArrayCookie(const CXXDeleteExpr *expr, QualType elementType);
98 QualType ElementType);
107 QualType elementType) {
110 return elementType.isDestructedType();
140 QualType elementType) {
144 CharUnits cookieSize = getArrayCookieSizeImpl(elementType);
CGCXXABI.cpp 153 CharUnits CGCXXABI::getArrayCookieSizeImpl(QualType elementType) {
162 QualType ElementType) {
169 QualType elementType) {
175 return elementType.isDestructedType();
CGExprAgg.cpp 88 QualType elementType, InitListExpr *E);
383 QualType elementType, InitListExpr *E) {
389 // DestPtr is an array*. Construct an elementType* by drilling
399 QualType::DestructionKind dtorKind = elementType.isDestructedType();
411 CGF.pushIrregularPartialArrayCleanup(begin, endOfInit, elementType,
447 LValue elementLV = CGF.MakeAddrLValue(element, elementType);
467 CGF.getTypes().isZeroInitializable(elementType))) {
493 LValue elementLV = CGF.MakeAddrLValue(currentElement, elementType);
    [all...]
CGCXXABI.h 219 /// \param ElementType - the base element allocated type,
225 QualType ElementType);
231 /// \param ElementType - the base element type of elements of the array
242 QualType ElementType, llvm::Value *&NumElements,
249 virtual CharUnits getArrayCookieSizeImpl(QualType elementType);
CGDecl.cpp 897 QualType elementType;
898 llvm::tie(elementCount, elementType) = getVLASize(Ty);
900 llvm::Type *llvmTy = ConvertTypeForMem(elementType);
    [all...]
CGExprCXX.cpp 831 QualType elementType,
    [all...]
CodeGenFunction.cpp     [all...]
  /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...]
  /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/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) {
  /tools/motodev/src/plugins/preflighting.core/src/com/motorolamobility/preflighting/core/internal/utils/
ProjectUtils.java 337 Type elementType = checkElementType(file, appElement, xmlDoc);
342 if (elementType == Type.FILE_STRINGS)
346 else if (elementType == Type.FILE_LAYOUT)
348 element = new XMLElement(file.getName(), appElement, elementType);
352 element = new XMLElement(file.getName(), appElement, elementType);
365 element = new Element(file.getName(), appElement, elementType);
377 else if (elementType.equals(Element.Type.FOLDER_RES))
388 else if (elementType.equals(Element.Type.FOLDER_SRC))
405 element = new FolderElement(file, appElement, elementType);
412 element = new FolderElement(file, appElement, elementType);
    [all...]
  /external/clang/lib/StaticAnalyzer/Core/
Store.cpp 152 // the pointee-cast type as the new ElementType and the index
203 // ElementRegion (with elementType == PointeeTy) directly on top of
300 SVal StoreManager::getLValueElement(QualType elementType, NonLoc Offset,
328 return loc::MemRegionVal(MRMgr.getElementRegion(elementType, Offset,
346 return loc::MemRegionVal(MRMgr.getElementRegion(elementType, Offset,
360 return loc::MemRegionVal(MRMgr.getElementRegion(elementType, NewIdx, ArrayR,
  /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)
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.core.databinding.observable_1.3.0.I20100601-0800.jar 
org.eclipse.core.databinding.property_1.3.0.I20100601-0800.jar 

Completed in 533 milliseconds

1 2 3 4