Home
last modified time | relevance | path

Searched refs:arrayType (Results 1 – 25 of 36) sorted by relevance

12

/external/dexmaker/src/dx/java/com/android/dx/dex/code/
DArrayData.java42 private final Constant arrayType; field in ArrayData
61 Constant arrayType) { in ArrayData() argument
78 this.arrayType = arrayType; in ArrayData()
80 if (arrayType == CstType.BYTE_ARRAY || in ArrayData()
81 arrayType == CstType.BOOLEAN_ARRAY) { in ArrayData()
83 } else if (arrayType == CstType.SHORT_ARRAY || in ArrayData()
84 arrayType == CstType.CHAR_ARRAY) { in ArrayData()
86 } else if (arrayType == CstType.INT_ARRAY || in ArrayData()
87 arrayType == CstType.FLOAT_ARRAY) { in ArrayData()
89 } else if (arrayType == CstType.LONG_ARRAY || in ArrayData()
[all …]
/external/dexmaker/src/dx/java/com/android/dx/rop/code/
DFillArrayDataInsn.java40 private final Constant arrayType; field in FillArrayDataInsn
62 this.arrayType = cst; in FillArrayDataInsn()
85 return arrayType; in getConstant()
105 initValues, arrayType); in withRegisterOffset()
114 sources, initValues, arrayType); in withNewRegisters()
DRops.java1829 public static Rop opNewArray(TypeBearer arrayType) { in opNewArray() argument
1830 Type type = arrayType.getType(); in opNewArray()
1860 public static Rop opFilledNewArray(TypeBearer arrayType, int count) { in opFilledNewArray() argument
1861 Type type = arrayType.getType(); in opFilledNewArray()
1865 return throwBadType(arrayType); in opFilledNewArray()
/external/javassist/src/main/javassist/compiler/ast/
DNewExpr.java26 protected int arrayType; field in NewExpr
31 arrayType = CLASS; in NewExpr()
37 arrayType = type; in NewExpr()
56 public int getArrayType() { return arrayType; } in getArrayType()
/external/proguard/src/proguard/classfile/instruction/
DInstructionUtil.java52 public static char internalTypeFromArrayType(byte arrayType) in internalTypeFromArrayType() argument
54 switch (arrayType) in internalTypeFromArrayType()
64 default: throw new IllegalArgumentException("Unknown array type ["+arrayType+"]"); in internalTypeFromArrayType()
/external/javassist/src/main/javassist/
DCtPrimitiveType.java28 private int arrayType; field in CtPrimitiveType
40 arrayType = atype; in CtPrimitiveType()
103 public int getArrayType() { return arrayType; } in getArrayType()
/external/webkit/Source/WebCore/bridge/jni/jsc/
DJavaArrayJSC.cpp78 JavaType arrayType = javaTypeFromPrimitiveType(m_type[1]); in setValueAt() local
86 … jvalue aJValue = convertValueToJValue(exec, m_rootObject.get(), aValue, arrayType, javaClassName); in setValueAt()
88 switch (arrayType) { in setValueAt()
152 JavaType arrayType = javaTypeFromPrimitiveType(m_type[1]); in valueAt() local
153 switch (arrayType) { in valueAt()
DJavaInstanceJSC.cpp224 const char* arrayType = jMethod->returnTypeClassName(); in invokeMethod() local
225 if (arrayType[0] == '[') in invokeMethod()
226 … resultValue = JavaArray::convertJObjectToArray(exec, result.l, arrayType, rootObject); in invokeMethod()
298 const char* arrayType = jMethod->returnTypeClassName(); in invokeMethod() local
299 ASSERT(arrayType[0] == '['); in invokeMethod()
300 resultValue = JavaArray::convertJObjectToArray(exec, result.l, arrayType, rootObject); in invokeMethod()
DJavaFieldJSC.cpp111 const char* arrayType = typeClassName(); in valueFromInstance() local
112 if (arrayType[0] == '[') in valueFromInstance()
113 … jsresult = JavaArray::convertJObjectToArray(exec, anObject, arrayType, instance->rootObject()); in valueFromInstance()
/external/webkit/Source/WebCore/bindings/v8/custom/
DV8ArrayBufferViewCustom.h44 …const v8::Arguments& args, WrapperTypeInfo* type, v8::ExternalArrayType arrayType, bool hasIndexer) in constructWebGLArrayWithArrayBufferArgument() argument
74 …()->SetIndexedPropertiesToExternalArrayData(array.get()->baseAddress(), arrayType, array.get()->le… in constructWebGLArrayWithArrayBufferArgument()
80 …structWebGLArray(const v8::Arguments& args, WrapperTypeInfo* type, v8::ExternalArrayType arrayType) in constructWebGLArray() argument
122 …n constructWebGLArrayWithArrayBufferArgument<ArrayClass, ElementType>(args, type, arrayType, true); in constructWebGLArray()
159 …args.Holder()->SetIndexedPropertiesToExternalArrayData(array.get()->baseAddress(), arrayType, arra… in constructWebGLArray()
/external/clang/lib/CodeGen/
DCodeGenFunction.cpp919 const ArrayType *arrayType = origArrayType; in emitArrayLength() local
924 if (isa<VariableArrayType>(arrayType)) { in emitArrayLength()
925 numVLAElements = getVLASize(cast<VariableArrayType>(arrayType)).first; in emitArrayLength()
930 QualType elementType = arrayType->getElementType(); in emitArrayLength()
931 arrayType = getContext().getAsArrayType(elementType); in emitArrayLength()
934 if (!arrayType) { in emitArrayLength()
938 } while (isa<VariableArrayType>(arrayType)); in emitArrayLength()
960 assert(isa<ConstantArrayType>(arrayType)); in emitArrayLength()
961 assert(cast<ConstantArrayType>(arrayType)->getSize().getZExtValue() in emitArrayLength()
966 eltType = arrayType->getElementType(); in emitArrayLength()
[all …]
DCGDecl.cpp1273 const ArrayType *arrayType = getContext().getAsArrayType(type); in emitDestroy() local
1274 if (!arrayType) in emitDestroy()
1278 llvm::Value *length = emitArrayLength(arrayType, type, begin); in emitDestroy()
1362 while (const ArrayType *arrayType = CGF.getContext().getAsArrayType(type)) { in emitPartialArrayDestroy() local
1364 if (!isa<VariableArrayType>(arrayType)) in emitPartialArrayDestroy()
1366 type = arrayType->getElementType(); in emitPartialArrayDestroy()
/external/javassist/src/main/javassist/bytecode/stackmap/
DTypeData.java428 public static String getElementType(String arrayType) { in getElementType() argument
429 char c = arrayType.charAt(1); in getElementType()
431 … return arrayType.substring(2, arrayType.length() - 1).replace('/', '.'); in getElementType()
433 return arrayType.substring(1); in getElementType()
435 return arrayType; in getElementType()
/external/dexmaker/src/dx/java/com/android/dx/rop/type/
DType.java268 private Type arrayType; field in Type
445 this.arrayType = null; in Type()
780 if (arrayType == null) { in getArrayType()
781 arrayType = putIntern(new Type('[' + descriptor, BT_OBJECT)); in getArrayType()
784 return arrayType; in getArrayType()
/external/javassist/src/main/javassist/expr/
DNewArray.java241 CtClass arrayType; field in NewArray.ProceedForArray
246 arrayType = type; in ProceedForArray()
273 gen.setType(arrayType); in doit()
279 c.setType(arrayType); in setReturnType()
/external/junit/src/org/junit/runners/model/
DNoGenericTypeParametersValidator.java50 GenericArrayType arrayType, List<Throwable> errors) { in validateNoTypeParameterOnGenericArrayType() argument
51 validateNoTypeParameterOnType(arrayType.getGenericComponentType(), errors); in validateNoTypeParameterOnGenericArrayType()
/external/llvm/lib/Transforms/Instrumentation/
DProfilingUtils.cpp26 PointerType *arrayType) { in InsertProfilingInitCall() argument
30 PointerType *UIntPtr = arrayType ? arrayType : in InsertProfilingInitCall()
DProfilingUtils.h29 PointerType *arrayType = 0);
/external/javassist/src/main/javassist/bytecode/annotation/
DAnnotation.java153 CtClass arrayType = type.getComponentType(); in createMemberValue() local
154 MemberValue member = createMemberValue(cp, arrayType); in createMemberValue()
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/renderer/lwjgl/
DLwjglGL1Renderer.java913 int arrayType = convertArrayType(vb.getBufferType()); in setVertexAttrib() local
914 if (arrayType == -1) { in setVertexAttrib()
917 glEnableClientState(arrayType); in setVertexAttrib()
1040 int arrayType = convertArrayType(vb.getBufferType()); in clearVertexAttribs() local
1041 glDisableClientState(arrayType); in clearVertexAttribs()
/external/emma/core/java12/com/vladium/jcd/lib/
DTypes.java679 void arrayType () throws IOException in arrayType() method in Types.methodDescriptorCompiler
699 arrayType (); in fieldType()
/external/skia/src/animator/
DSkDisplayable.cpp105 elementType = info->arrayType(); in deepCopy()
195 elementType = info->arrayType(); in dumpAttrs()
DSkMemberInfo.h45 SkDisplayTypes arrayType() const { in arrayType() function
/external/smali/dexlib/src/main/java/org/jf/dexlib/Code/Analysis/
DMethodAnalyzer.java1988 RegisterType arrayType = RegisterType.getRegisterTypeForTypeIdItem((TypeIdItem)item); in analyzeNewArray() local
1989 assert arrayType.type instanceof ClassPath.ArrayClassDef; in analyzeNewArray()
1991 setDestinationRegisterTypeAndPropagateChanges(analyzedInstruction, arrayType); in analyzeNewArray()
2005 RegisterType arrayType = RegisterType.getRegisterTypeForTypeIdItem((TypeIdItem)item); in verifyNewArray() local
2006 assert arrayType.type instanceof ClassPath.ArrayClassDef; in verifyNewArray()
2008 if (arrayType.category != RegisterType.Category.Reference) { in verifyNewArray()
2010 arrayType.toString())); in verifyNewArray()
2012 if (arrayType.type.getClassType().charAt(0) != '[') { in verifyNewArray()
2013 … throw new ValidationException("Cannot use non-array type \"" + arrayType.type.getClassType() + in verifyNewArray()
2022 RegisterType arrayType; in verifyFilledNewArrayCommon() local
[all …]
/external/clang/lib/Sema/
DSemaInit.cpp79 const ArrayType *arrayType = Context.getAsArrayType(declType); in IsStringInit() local
80 if (!arrayType) return 0; in IsStringInit()
82 return IsStringInit(init, arrayType, Context); in IsStringInit()
761 if (const ArrayType *arrayType = SemaRef.Context.getAsArrayType(ElemType)) { in CheckSubElementType() local
766 if (Expr *Str = IsStringInit(expr, arrayType, SemaRef.Context)) { in CheckSubElementType()
768 CheckStringInit(Str, ElemType, arrayType, SemaRef); in CheckSubElementType()
1145 const ArrayType *arrayType = SemaRef.Context.getAsArrayType(DeclType); in CheckArrayType() local
1149 if (Expr *Str = IsStringInit(IList->getInit(Index), arrayType, in CheckArrayType()
1157 CheckStringInit(Str, DeclType, arrayType, SemaRef); in CheckArrayType()
1165 if (const VariableArrayType *VAT = dyn_cast<VariableArrayType>(arrayType)) { in CheckArrayType()
[all …]

12