Home
last modified time | relevance | path

Searched refs:prototype (Results 1 – 25 of 48) sorted by relevance

12

/dalvik/dx/src/com/android/dx/dex/file/
DProtoIdItem.java32 private final Prototype prototype; field in ProtoIdItem
48 public ProtoIdItem(Prototype prototype) { in ProtoIdItem() argument
49 if (prototype == null) { in ProtoIdItem()
53 this.prototype = prototype; in ProtoIdItem()
54 this.shortForm = makeShortForm(prototype); in ProtoIdItem()
56 StdTypeList parameters = prototype.getParameterTypes(); in ProtoIdItem()
67 private static CstString makeShortForm(Prototype prototype) { in makeShortForm() argument
68 StdTypeList parameters = prototype.getParameterTypes(); in makeShortForm()
72 sb.append(shortFormCharFor(prototype.getReturnType())); in makeShortForm()
116 typeIds.intern(prototype.getReturnType()); in addContents()
[all …]
DProtoIdsSection.java90 public ProtoIdItem intern(Prototype prototype) { in intern() argument
91 if (prototype == null) { in intern()
97 ProtoIdItem result = protoIds.get(prototype); in intern()
100 result = new ProtoIdItem(prototype); in intern()
101 protoIds.put(prototype, result); in intern()
114 public int indexOf(Prototype prototype) { in indexOf() argument
115 if (prototype == null) { in indexOf()
121 ProtoIdItem item = protoIds.get(prototype); in indexOf()
/dalvik/dexgen/src/com/android/dexgen/dex/file/
DProtoIdItem.java35 private final Prototype prototype; field in ProtoIdItem
51 public ProtoIdItem(Prototype prototype) { in ProtoIdItem() argument
52 if (prototype == null) { in ProtoIdItem()
56 this.prototype = prototype; in ProtoIdItem()
57 this.shortForm = makeShortForm(prototype); in ProtoIdItem()
59 StdTypeList parameters = prototype.getParameterTypes(); in ProtoIdItem()
70 private static CstUtf8 makeShortForm(Prototype prototype) { in makeShortForm() argument
71 StdTypeList parameters = prototype.getParameterTypes(); in makeShortForm()
75 sb.append(shortFormCharFor(prototype.getReturnType())); in makeShortForm()
119 typeIds.intern(prototype.getReturnType()); in addContents()
[all …]
DProtoIdsSection.java90 public ProtoIdItem intern(Prototype prototype) { in intern() argument
91 if (prototype == null) { in intern()
97 ProtoIdItem result = protoIds.get(prototype); in intern()
100 result = new ProtoIdItem(prototype); in intern()
101 protoIds.put(prototype, result); in intern()
114 public int indexOf(Prototype prototype) { in indexOf() argument
115 if (prototype == null) { in indexOf()
121 ProtoIdItem item = protoIds.get(prototype); in indexOf()
/dalvik/dx/src/com/android/dx/rop/cst/
DCstBaseMethodRef.java32 private final Prototype prototype; field in CstBaseMethodRef
50 this.prototype = Prototype.intern(descriptor); in CstBaseMethodRef()
61 return prototype; in getPrototype()
77 return prototype; in getPrototype()
81 instancePrototype = prototype.withFirstParameter(thisType); in getPrototype()
97 return prototype.compareTo(otherMethod.prototype); in compareTo0()
108 return prototype.getReturnType(); in getType()
/dalvik/dexgen/src/com/android/dexgen/rop/cst/
DCstBaseMethodRef.java32 private final Prototype prototype; field in CstBaseMethodRef
50 this.prototype = Prototype.intern(descriptor); in CstBaseMethodRef()
61 return prototype; in getPrototype()
77 return prototype; in getPrototype()
81 instancePrototype = prototype.withFirstParameter(thisType); in getPrototype()
97 return prototype.compareTo(otherMethod.prototype); in compareTo0()
108 return prototype.getReturnType(); in getType()
/dalvik/vm/oo/
DClass.h196 dexProtoGetMethodDescriptor(&method->prototype, pCache); in dvmCopyDescriptorStringFromMethod()
208 return dexProtoComputeArgsSize(&method->prototype); in dvmComputeMethodArgsSize()
218 return dexProtoCompare(&method1->prototype, &method2->prototype); in dvmCompareMethodProtos()
229 return dexProtoCompareParameters(&method1->prototype, &method2->prototype); in dvmCompareMethodParameterProtos()
258 return -dexProtoCompareToDescriptor(&method->prototype, descriptor); in dvmCompareDescriptorAndMethodProto()
DClass.cpp2158 dexProtoSetFromMethodId(&meth->prototype, pDexFile, pMethodId); in loadMethodFromDex()
2159 meth->shorty = dexProtoGetShorty(&meth->prototype); in loadMethodFromDex()
2209 meth->jniArgInfo = computeJniArgInfo(&meth->prototype); in loadMethodFromDex()
3225 char* desc = dexProtoCopyMethodDescriptor(&imeth->prototype); in createIftable()
3249 dexProtoCopyMethodDescriptor(&imeth->prototype); in createIftable()
3285 &imeth->prototype); in createIftable()
4000 dexParameterIteratorInit(&iterator, &meth->prototype); in checkMethodDescriptorClasses()
4015 descriptor = dexProtoGetReturnType(&meth->prototype); in checkMethodDescriptorClasses()
4742 desc = dexProtoCopyMethodDescriptor(&clazz->vtable[i]->prototype); in dumpClass()
4752 &clazz->directMethods[i].prototype); in dumpClass()
[all …]
DObject.h525 DexProto prototype; member
/dalvik/dx/src/com/android/dx/cf/code/
DBaseMachine.java37 private final Prototype prototype; field in BaseMachine
87 public BaseMachine(Prototype prototype) { in BaseMachine() argument
88 if (prototype == null) { in BaseMachine()
92 this.prototype = prototype; in BaseMachine()
100 return prototype; in getPrototype()
137 public void popArgs(Frame frame, Prototype prototype) { in popArgs() argument
138 StdTypeList types = prototype.getParameterTypes(); in popArgs()
DMachine.java67 public void popArgs(Frame frame, Prototype prototype); in popArgs() argument
DSimulator.java654 Prototype prototype = in visitConstant() local
656 machine.popArgs(frame, prototype); in visitConstant()
664 Prototype prototype = in visitConstant() local
666 machine.popArgs(frame, prototype); in visitConstant()
679 Prototype prototype = in visitConstant() local
681 machine.popArgs(frame, prototype); in visitConstant()
DValueAwareMachine.java36 public ValueAwareMachine(Prototype prototype) { in ValueAwareMachine() argument
37 super(prototype); in ValueAwareMachine()
/dalvik/vm/mterp/
DMterp.cpp85 &self->interpSave.method->prototype); in dvmMterpStd()
/dalvik/vm/reflect/
DProxy.cpp715 const char* baseSig = dexProtoGetReturnType(&baseMethod->prototype); in returnTypesAreCompatible()
716 const char* subSig = dexProtoGetReturnType(&subMethod->prototype); in returnTypesAreCompatible()
747 meth->prototype = in createConstructor()
748 gDvm.methJavaLangReflectProxy_constructorPrototype->prototype; in createConstructor()
770 dstMeth->prototype = srcMeth->prototype; in createHandlerMethod()
796 size_t argCount = dexProtoGetParameterCount(&method->prototype); in boxMethodArgs()
927 char* desc = dexProtoCopyMethodDescriptor(&method->prototype); in proxyInvoker()
DReflect.cpp722 || dexProtoCompareToParameterDescriptors(&method->prototype, in findConstructorOrMethodInArray()
1158 const char* sig = dexProtoGetReturnType(&meth->prototype); in dvmGetBoxedReturnType()
1176 char* desc = dexProtoCopyMethodDescriptor(&meth->prototype); in dvmGetBoxedReturnType()
/dalvik/vm/mterp/mips/
Ddebug.cpp83 char* desc = dexProtoCopyMethodDescriptor(&method->prototype); in dvmMterpPrintMethod()
/dalvik/vm/mterp/armv5te/
Ddebug.cpp73 char* desc = dexProtoCopyMethodDescriptor(&method->prototype); in dvmMterpPrintMethod()
/dalvik/vm/analysis/
DVerifySubs.cpp60 char* desc = dexProtoCopyMethodDescriptor(&meth->prototype); in dvmLogVerifyFailure()
DCodeVerify.cpp785 dexParameterIteratorInit(&iterator, &meth->prototype); in setTypesFromSignature()
890 descriptor = dexProtoGetReturnType(&meth->prototype); in setTypesFromSignature()
943 char* desc = dexProtoCopyMethodDescriptor(&meth->prototype); in setTypesFromSignature()
963 const char* descriptor = dexProtoGetReturnType(&meth->prototype); in getMethodReturnType()
1184 char* desc = dexProtoCopyMethodDescriptor(&resMethod->prototype); in verifyInvocationArgs()
1201 sigOriginal = dexProtoCopyMethodDescriptor(&resMethod->prototype); in verifyInvocationArgs()
1339 char* desc = dexProtoCopyMethodDescriptor(&resMethod->prototype); in verifyInvocationArgs()
1355 char* desc = dexProtoCopyMethodDescriptor(&resMethod->prototype); in verifyInvocationArgs()
3623 char* desc = dexProtoCopyMethodDescriptor(&meth->prototype); in doCodeVerification()
3687 char* desc = dexProtoCopyMethodDescriptor(&meth->prototype); in doCodeVerification()
[all …]
/dalvik/vm/
DNative.cpp94 char* desc = dexProtoCopyMethodDescriptor(&method->prototype); in dvmResolveNativeMethod()
120 char* desc = dexProtoCopyMethodDescriptor(&method->prototype); in dvmResolveNativeMethod()
722 createMangledSignature(&meth->prototype); in findMethodInLib()
DDebugger.cpp1236 (const u1*) dexProtoGetMethodDescriptor(&meth->prototype, in dvmDbgOutputAllMethods()
1250 (const u1*) dexProtoGetMethodDescriptor(&meth->prototype, in dvmDbgOutputAllMethods()
1333 method->prototype.protoIdx, in dvmDbgOutputLineTable()
1430 method->prototype.protoIdx, in dvmDbgOutputVariableTable()
2749 const char* descriptor = dexProtoGetReturnType(&method->prototype); in getReturnTypeBasicTag()
2794 char* desc = dexProtoCopyMethodDescriptor(&meth->prototype); in dvmDbgExecuteMethod()
2897 method->prototype.protoIdx, in dvmAddressSetForLine()
DProfile.cpp316 dexProtoGetMethodDescriptor(&meth->prototype, &stringCache), in dumpMarkedMethods()
329 dexProtoGetMethodDescriptor(&meth->prototype, &stringCache), in dumpMarkedMethods()
/dalvik/vm/native/
DREADME.txt18 The functions here use the DalvikNativeFunc prototype, but we can
/dalvik/vm/mterp/c/
Dheader.cpp105 desc = dexProtoCopyMethodDescriptor(&curMethod->prototype); \

12