Home
last modified time | relevance | path

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

123

/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/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/
DSmaliArrayTypeElement.java61 PsiArrayType arrayType = new PsiArrayType(baseType.getType()); in getType() local
64 arrayType = new PsiArrayType(arrayType); in getType()
67 return arrayType; in getType()
/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/slf4j/slf4j-ext/src/main/java/org/slf4j/instrumentation/
DJavassistHelper.java118 CtClass arrayType = parameterType.getComponentType(); in getSignature() local
120 while (arrayType.isArray()) { in getSignature()
121 arrayType = arrayType.getComponentType(); in getSignature()
/external/mockito/cglib-and-asm/src/org/mockito/asm/tree/analysis/
DSimpleVerifier.java152 Type arrayType = ((BasicValue) objectArrayValue).getType(); in getElementValue() local
153 if (arrayType != null) { in getElementValue()
154 if (arrayType.getSort() == Type.ARRAY) { in getElementValue()
155 return newValue(Type.getType(arrayType.getDescriptor() in getElementValue()
157 } else if ("Lnull;".equals(arrayType.getDescriptor())) { in getElementValue()
/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/clang/lib/CodeGen/
DCodeGenFunction.cpp1477 const ArrayType *arrayType = origArrayType; in emitArrayLength() local
1482 if (isa<VariableArrayType>(arrayType)) { in emitArrayLength()
1483 numVLAElements = getVLASize(cast<VariableArrayType>(arrayType)).first; in emitArrayLength()
1488 QualType elementType = arrayType->getElementType(); in emitArrayLength()
1489 arrayType = getContext().getAsArrayType(elementType); in emitArrayLength()
1492 if (!arrayType) { in emitArrayLength()
1496 } while (isa<VariableArrayType>(arrayType)); in emitArrayLength()
1517 assert(isa<ConstantArrayType>(arrayType)); in emitArrayLength()
1518 assert(cast<ConstantArrayType>(arrayType)->getSize().getZExtValue() in emitArrayLength()
1523 eltType = arrayType->getElementType(); in emitArrayLength()
[all …]
DCGDecl.cpp1499 const ArrayType *arrayType = getContext().getAsArrayType(type); in emitDestroy() local
1500 if (!arrayType) in emitDestroy()
1503 llvm::Value *length = emitArrayLength(arrayType, type, addr); in emitDestroy()
1594 while (const ArrayType *arrayType = CGF.getContext().getAsArrayType(type)) { in emitPartialArrayDestroy() local
1596 if (!isa<VariableArrayType>(arrayType)) in emitPartialArrayDestroy()
1598 type = arrayType->getElementType(); in emitPartialArrayDestroy()
/external/protobuf/java/src/main/java/com/google/protobuf/nano/
DMessageNanoPrinter.java124 Class<?> arrayType = fieldType.getComponentType(); in print() local
127 if (arrayType == byte.class) { in print()
/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/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
DUtil.java237 public static <T> T[] intersect(Class<T> arrayType, T[] first, T[] second) {
239 return result.toArray((T[]) Array.newInstance(arrayType, result.size()));
/external/clang/test/CodeGen/
Dxcore-stringtype.c95 RetType* arrayType(int A1[], int const volatile A2[2], int A3[][2], in arrayType() function
/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/guava/guava-testlib/src/com/google/common/testing/
DArbitraryInstances.java403 private static <T> T createEmptyArray(Class<T> arrayType) { in createEmptyArray() argument
404 return arrayType.cast(Array.newInstance(arrayType.getComponentType(), 0)); in createEmptyArray()
/external/guava/guava/src/com/google/common/reflect/
DTypeResolver.java394 GenericArrayType arrayType = (GenericArrayType) type; in capture() local
395 return Types.newArrayType(capture(arrayType.getGenericComponentType())); in capture()
/external/skia/src/animator/
DSkDisplayable.cpp105 elementType = info->arrayType(); in deepCopy()
195 elementType = info->arrayType(); in dumpAttrs()
/external/guava/guava-tests/test/com/google/common/reflect/
DTypeTokenResolutionTest.java412 GenericArrayType arrayType = (GenericArrayType)
415 arrayType.getGenericComponentType();
/external/clang/unittests/ASTMatchers/
DASTMatchersTest.cpp462 {isConstQualified(), arrayType()}) in TEST()
4155 EXPECT_TRUE(matches("int a[] = {2,3};", arrayType())); in TEST()
4156 EXPECT_TRUE(matches("int a[42];", arrayType())); in TEST()
4157 EXPECT_TRUE(matches("void f(int b) { int a[b]; }", arrayType())); in TEST()
4160 arrayType(hasElementType(builtinType())))); in TEST()
4164 qualType(arrayType(hasElementType(builtinType()))))); in TEST()
4167 qualType(isConstQualified(), arrayType(hasElementType(builtinType()))))); in TEST()
4170 qualType(isConstQualified(), arrayType()))); in TEST()
4174 qualType(isConstQualified(), arrayType(hasElementType(builtinType()))))); in TEST()
4177 qualType(arrayType(hasElementType(isConstQualified(), builtinType()))))); in TEST()
[all …]

123