Searched refs:returnType (Results 1 - 16 of 16) sorted by relevance

/dalvik/tools/dexdeps/src/com/android/dexdeps/
H A DMethodRef.java26 public MethodRef(String declClass, String[] argTypes, String returnType, argument
30 mReturnType = returnType;
74 String returnType) {
83 builder.append(returnType);
73 descriptorFromProtoArray(String[] protos, String returnType) argument
/dalvik/dexgen/src/com/android/dexgen/rop/type/
H A DPrototype.java35 private final Type returnType; field in class:Prototype
96 Type returnType = Type.internReturnType(descriptor.substring(at));
103 result = new Prototype(descriptor, returnType, parameterTypes);
183 * @param returnType {@code non-null;} the return type
187 public static Prototype internInts(Type returnType, int count) { argument
199 sb.append(returnType.getDescriptor());
211 private Prototype(String descriptor, Type returnType, argument
217 if (returnType == null) {
218 throw new NullPointerException("returnType == null");
226 this.returnType
[all...]
/dalvik/dx/src/com/android/dx/rop/type/
H A DPrototype.java35 private final Type returnType; field in class:Prototype
100 Type returnType = Type.internReturnType(descriptor.substring(at));
107 result = new Prototype(descriptor, returnType, parameterTypes);
187 * @param returnType {@code non-null;} the return type
191 public static Prototype internInts(Type returnType, int count) { argument
203 sb.append(returnType.getDescriptor());
215 private Prototype(String descriptor, Type returnType, argument
221 if (returnType == null) {
222 throw new NullPointerException("returnType == null");
230 this.returnType
[all...]
/dalvik/vm/oo/
H A DObject.cpp209 const char* returnType, size_t argCount, const char** argTypes)
220 if (strcmp(returnType, dexProtoGetReturnType(proto)) != 0) {
368 const char* returnType; local
369 size_t argCount = countArgsAndFindReturnType(descriptor, &returnType);
371 if (returnType == NULL) {
378 * one '\0' per argument. The "- 2" is because "returnType -
381 char buffer[argCount + (returnType - descriptor) - 2];
401 if (compareMethodHelper(method, name, returnType, argCount,
208 compareMethodHelper(Method* method, const char* methodName, const char* returnType, size_t argCount, const char** argTypes) argument
H A DClass.cpp2283 int returnType, jniArgInfo; local
2289 returnType = DALVIK_JNI_RETURN_VOID;
2292 returnType = DALVIK_JNI_RETURN_FLOAT;
2295 returnType = DALVIK_JNI_RETURN_DOUBLE;
2298 returnType = DALVIK_JNI_RETURN_S8;
2302 returnType = DALVIK_JNI_RETURN_S1;
2305 returnType = DALVIK_JNI_RETURN_U2;
2308 returnType = DALVIK_JNI_RETURN_S2;
2311 returnType = DALVIK_JNI_RETURN_S4;
2315 jniArgInfo = returnType << DALVIK_JNI_RETURN_SHIF
[all...]
/dalvik/vm/native/
H A Djava_lang_reflect_Method.cpp43 * Class[] parameterTypes, Class returnType, int slot, boolean noAccessCheck)
55 ClassObject* returnType = (ClassObject*) args[5]; local
100 result = dvmInvokeMethod(methObj, meth, argList, params, returnType,
/dalvik/vm/reflect/
H A DReflect.h86 * Box a primitive value into an object. If "returnType" is
89 DataObject* dvmBoxPrimitive(JValue value, ClassObject* returnType);
92 * Unwrap a boxed primitive. If "returnType" is not primitive, this just
95 bool dvmUnboxPrimitive(Object* value, ClassObject* returnType,
H A DReflect.cpp521 * Class returnType, String name, int slot)
532 ClassObject* returnType; local
562 returnType = convertSignaturePartToClass(&cp, meth->clazz);
563 if (returnType == NULL)
583 methObj, &unused, meth->clazz, params, exceptions, returnType, local
1051 * Create a wrapper object for a primitive data type. If "returnType" is
1060 DataObject* dvmBoxPrimitive(JValue value, ClassObject* returnType) argument
1065 PrimitiveType typeIndex = returnType->primitiveType;
1105 * If "returnType" is not primitive, we just tuck "value" into JValue and
1113 bool dvmUnboxPrimitive(Object* value, ClassObject* returnType, argument
[all...]
H A DProxy.cpp879 ClassObject* returnType; local
925 returnType = dvmGetBoxedReturnType(method);
926 if (returnType == NULL) {
933 ALOGV(" return type will be %s", returnType->descriptor);
970 if (returnType->primitiveType == PRIM_VOID) {
973 if (dvmIsPrimitiveClass(returnType)) {
980 if (!dvmUnboxPrimitive((Object*)invokeResult.l, returnType, pResult)) {
982 returnType);
/dalvik/libdex/
H A DDexProto.cpp447 const char *returnType = methodDescriptorReturnType(descriptor); local
448 assert(returnType != NULL);
450 int result = strcmp(dexProtoGetReturnType(proto), returnType);
/dalvik/vm/interp/
H A DStack.h214 * "params" and "returnType" come from the Method object, so we don't have
215 * to re-generate them from the method signature. "returnType" should be
219 ArrayObject* argList, ArrayObject* params, ClassObject* returnType,
H A DStack.cpp657 ArrayObject* argList, ArrayObject* params, ClassObject* returnType,
765 if (returnType != NULL) {
766 retObj = (Object*)dvmBoxPrimitive(retval, returnType);
656 dvmInvokeMethod(Object* obj, const Method* method, ArrayObject* argList, ArrayObject* params, ClassObject* returnType, bool noAccessCheck) argument
/dalvik/vm/analysis/
H A DCodeVerify.cpp3951 RegType returnType = getMethodReturnType(meth); local
3952 checkTypeCategory(returnType, kTypeCategory1nr, &failure);
3962 if ((returnType == kRegTypeBoolean && srcType == kRegTypeByte) ||
3963 ((returnType == kRegTypeBoolean || returnType == kRegTypeByte ||
3964 returnType == kRegTypeShort || returnType == kRegTypeChar) &&
3966 returnType = srcType;
3969 verifyRegisterType(workLine, decInsn.vA, returnType, &failure);
3980 RegType returnType; local
4000 RegType returnType = getMethodReturnType(meth); local
5316 RegType returnType; local
5338 RegType returnType; local
5417 RegType returnType; local
5436 RegType /*thisType,*/ returnType; local
[all...]
/dalvik/dx/src/com/android/dx/cf/code/
H A DSimulator.java532 Type returnType = machine.getPrototype().getReturnType();
540 if (!Merger.isPossiblyAssignableFrom(returnType, encountered)) {
542 "indicates " + returnType.toHuman() +
/dalvik/dexdump/
H A DDexDump.cpp1197 const char* returnType = strrchr(typeDescriptor, ')'); local
1198 if (returnType == NULL) {
1204 char* tmp = descriptorToDot(returnType+1);
/dalvik/vm/
H A DJni.cpp919 char returnType = method->shorty[0]; local
920 appendValue(returnType, returnValue, returnValueString, sizeof(returnValueString), false);

Completed in 345 milliseconds