Home
last modified time | relevance | path

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

12

/dalvik/dx/src/com/android/dx/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/vm/oo/
DClass.h193 dexProtoGetMethodDescriptor(&method->prototype, pCache); in dvmCopyDescriptorStringFromMethod()
205 return dexProtoComputeArgsSize(&method->prototype); in dvmComputeMethodArgsSize()
215 return dexProtoCompare(&method1->prototype, &method2->prototype); in dvmCompareMethodProtos()
226 return dexProtoCompareParameters(&method1->prototype, &method2->prototype); in dvmCompareMethodParameterProtos()
255 return -dexProtoCompareToDescriptor(&method->prototype, descriptor); in dvmCompareDescriptorAndMethodProto()
DClass.c2075 dexProtoSetFromMethodId(&meth->prototype, pDexFile, pMethodId); in loadMethodFromDex()
2076 meth->shorty = dexProtoGetShorty(&meth->prototype); in loadMethodFromDex()
2113 meth->jniArgInfo = computeJniArgInfo(&meth->prototype); in loadMethodFromDex()
3166 char* desc = dexProtoCopyMethodDescriptor(&imeth->prototype); in createIftable()
3190 dexProtoCopyMethodDescriptor(&imeth->prototype); in createIftable()
3224 &imeth->prototype); in createIftable()
3998 dexParameterIteratorInit(&iterator, &meth->prototype); in checkMethodDescriptorClasses()
4013 descriptor = dexProtoGetReturnType(&meth->prototype); in checkMethodDescriptorClasses()
4688 desc = dexProtoCopyMethodDescriptor(&clazz->vtable[i]->prototype); in dumpClass()
4698 &clazz->directMethods[i].prototype); in dumpClass()
[all …]
DObject.c218 proto = &method->prototype; in compareMethodHelper()
/dalvik/dx/src/com/android/dx/cf/code/
DBaseMachine.java37 private final Prototype prototype; field in BaseMachine
83 public BaseMachine(Prototype prototype) { in BaseMachine() argument
84 if (prototype == null) { in BaseMachine()
88 this.prototype = prototype; in BaseMachine()
96 return prototype; in getPrototype()
132 public void popArgs(Frame frame, Prototype prototype) { in popArgs() argument
133 StdTypeList types = prototype.getParameterTypes(); in popArgs()
DMachine.java67 public void popArgs(Frame frame, Prototype prototype); in popArgs() argument
DSimulator.java602 Prototype prototype = in visitConstant() local
604 machine.popArgs(frame, prototype); in visitConstant()
612 Prototype prototype = in visitConstant() local
614 machine.popArgs(frame, prototype); in visitConstant()
627 Prototype prototype = in visitConstant() local
629 machine.popArgs(frame, prototype); in visitConstant()
DValueAwareMachine.java36 public ValueAwareMachine(Prototype prototype) { in ValueAwareMachine() argument
37 super(prototype); in ValueAwareMachine()
/dalvik/vm/reflect/
DProxy.c769 const char* baseSig = dexProtoGetReturnType(&baseMethod->prototype); in returnTypesAreCompatible()
770 const char* subSig = dexProtoGetReturnType(&subMethod->prototype); in returnTypesAreCompatible()
794 meth->prototype = in createConstructor()
795 gDvm.methJavaLangReflectProxy_constructorPrototype->prototype; in createConstructor()
817 dstMeth->prototype = srcMeth->prototype; in createHandlerMethod()
847 argCount = dexProtoGetParameterCount(&method->prototype); in boxMethodArgs()
987 char* desc = dexProtoCopyMethodDescriptor(&method->prototype); in proxyInvoker()
/dalvik/vm/mterp/
DMterp.c95 char* desc = dexProtoCopyMethodDescriptor(&glue->method->prototype); in dvmMterpStd()
/dalvik/vm/hprof/
DHprofStackFrame.c66 descriptor = dexProtoGetMethodDescriptor(&method->prototype, &cache); in hprofStartup_StackFrame()
228 descriptor = dexProtoGetMethodDescriptor(&method->prototype, &cache); in hprofDumpStackFrames()
/dalvik/vm/mterp/armv5te/
Ddebug.c70 char* desc = dexProtoCopyMethodDescriptor(&method->prototype); in dvmMterpPrintMethod()
/dalvik/vm/native/
DREADME.txt18 The functions here use the DalvikNativeFunc prototype, but we can
/dalvik/vm/
DNative.c95 char* desc = dexProtoCopyMethodDescriptor(&method->prototype); in dvmResolveNativeMethod()
122 char* desc = dexProtoCopyMethodDescriptor(&method->prototype); in dvmResolveNativeMethod()
771 createMangledSignature(&meth->prototype); in findMethodInLib()
DProfile.c289 dexProtoGetMethodDescriptor(&meth->prototype, &stringCache), in dumpMarkedMethods()
302 dexProtoGetMethodDescriptor(&meth->prototype, &stringCache), in dumpMarkedMethods()
DDebugger.c1220 (const u1*) dexProtoGetMethodDescriptor(&meth->prototype, in dvmDbgOutputAllMethods()
1234 (const u1*) dexProtoGetMethodDescriptor(&meth->prototype, in dvmDbgOutputAllMethods()
1323 method->prototype.protoIdx, in dvmDbgOutputLineTable()
1420 method->prototype.protoIdx, in dvmDbgOutputVariableTable()
2771 const char* descriptor = dexProtoGetReturnType(&method->prototype); in resultTagFromSignature()
2811 char* desc = dexProtoCopyMethodDescriptor(&meth->prototype); in dvmDbgExecuteMethod()
2899 method->prototype.protoIdx, in dvmAddressSetForLine()
/dalvik/vm/mterp/portable/
Ddebug.c187 char* desc = dexProtoCopyMethodDescriptor(&method->prototype); in updateDebugger()
/dalvik/vm/alloc/
DHeapWorker.c151 &gDvm.gcHeap->heapWorkerCurrentMethod->prototype); in dvmAssertHeapWorkerThreadRunning()
163 &gDvm.gcHeap->heapWorkerCurrentMethod->prototype); in dvmAssertHeapWorkerThreadRunning()
/dalvik/vm/analysis/
DCodeVerify.c721 dexParameterIteratorInit(&iterator, &meth->prototype); in setTypesFromSignature()
826 const char* descriptor = dexProtoGetReturnType(&meth->prototype); in setTypesFromSignature()
879 char* desc = dexProtoCopyMethodDescriptor(&meth->prototype); in setTypesFromSignature()
899 const char* descriptor = dexProtoGetReturnType(&meth->prototype); in getMethodReturnType()
1098 char* desc = dexProtoCopyMethodDescriptor(&resMethod->prototype); in verifyInvocationArgs()
1115 sigOriginal = dexProtoCopyMethodDescriptor(&resMethod->prototype); in verifyInvocationArgs()
1264 char* desc = dexProtoCopyMethodDescriptor(&resMethod->prototype); in verifyInvocationArgs()
1280 char* desc = dexProtoCopyMethodDescriptor(&resMethod->prototype); in verifyInvocationArgs()
3222 char* desc = dexProtoCopyMethodDescriptor(&meth->prototype); in doCodeVerification()
3298 char* desc = dexProtoCopyMethodDescriptor(&meth->prototype); in doCodeVerification()
[all …]
DVerifySubs.c373 char* desc = dexProtoCopyMethodDescriptor(&meth->prototype); in dvmLogVerifyFailure()
/dalvik/vm/mterp/c/
Dheader.c117 desc = dexProtoCopyMethodDescriptor(&curMethod->prototype); \
/dalvik/vm/interp/
DInterp.c309 desc = dexProtoCopyMethodDescriptor(&method->prototype); in dvmInterpCheckTrackedRefs()
793 char* desc = dexProtoCopyMethodDescriptor(&method->prototype); in methodNameFromIndex()
DStack.c380 char* desc = dexProtoCopyMethodDescriptor(&method->prototype); in callPrep()
833 method->prototype.protoIdx, in dvmLineNumFromPC()

12