Home
last modified time | relevance | path

Searched refs:prototype (Results 1 – 25 of 45) 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.c2077 dexProtoSetFromMethodId(&meth->prototype, pDexFile, pMethodId); in loadMethodFromDex()
2078 meth->shorty = dexProtoGetShorty(&meth->prototype); in loadMethodFromDex()
2115 meth->jniArgInfo = computeJniArgInfo(&meth->prototype); in loadMethodFromDex()
3172 char* desc = dexProtoCopyMethodDescriptor(&imeth->prototype); in createIftable()
3196 dexProtoCopyMethodDescriptor(&imeth->prototype); in createIftable()
3230 &imeth->prototype); in createIftable()
4009 dexParameterIteratorInit(&iterator, &meth->prototype); in checkMethodDescriptorClasses()
4024 descriptor = dexProtoGetReturnType(&meth->prototype); in checkMethodDescriptorClasses()
4729 desc = dexProtoCopyMethodDescriptor(&clazz->vtable[i]->prototype); in dumpClass()
4739 &clazz->directMethods[i].prototype); in dumpClass()
[all …]
DObject.h564 DexProto prototype; member
/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
DValueAwareMachine.java36 public ValueAwareMachine(Prototype prototype) { in ValueAwareMachine() argument
37 super(prototype); in ValueAwareMachine()
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()
/dalvik/vm/mterp/armv5te/
Ddebug.c70 char* desc = dexProtoCopyMethodDescriptor(&method->prototype); in dvmMterpPrintMethod()
/dalvik/vm/reflect/
DProxy.c777 const char* baseSig = dexProtoGetReturnType(&baseMethod->prototype); in returnTypesAreCompatible()
778 const char* subSig = dexProtoGetReturnType(&subMethod->prototype); in returnTypesAreCompatible()
802 meth->prototype = in createConstructor()
803 gDvm.methJavaLangReflectProxy_constructorPrototype->prototype; in createConstructor()
825 dstMeth->prototype = srcMeth->prototype; in createHandlerMethod()
855 argCount = dexProtoGetParameterCount(&method->prototype); in boxMethodArgs()
994 char* desc = dexProtoCopyMethodDescriptor(&method->prototype); in proxyInvoker()
/dalvik/vm/hprof/
DHprofStackFrame.c66 descriptor = dexProtoGetMethodDescriptor(&method->prototype, &cache); in hprofStartup_StackFrame()
228 descriptor = dexProtoGetMethodDescriptor(&method->prototype, &cache); in hprofDumpStackFrames()
/dalvik/vm/mterp/
DMterp.c93 char* desc = dexProtoCopyMethodDescriptor(&glue->method->prototype); in dvmMterpStd()
/dalvik/vm/
DNative.c95 char* desc = dexProtoCopyMethodDescriptor(&method->prototype); in dvmResolveNativeMethod()
121 char* desc = dexProtoCopyMethodDescriptor(&method->prototype); in dvmResolveNativeMethod()
723 createMangledSignature(&meth->prototype); in findMethodInLib()
851 char* signature = dexProtoCopyMethodDescriptor(&method->prototype); in dvmLogNativeMethodEntry()
860 char* signature = dexProtoCopyMethodDescriptor(&method->prototype); in dvmLogNativeMethodExit()
DDebugger.c1284 (const u1*) dexProtoGetMethodDescriptor(&meth->prototype, in dvmDbgOutputAllMethods()
1298 (const u1*) dexProtoGetMethodDescriptor(&meth->prototype, in dvmDbgOutputAllMethods()
1386 method->prototype.protoIdx, in dvmDbgOutputLineTable()
1483 method->prototype.protoIdx, in dvmDbgOutputVariableTable()
2869 const char* descriptor = dexProtoGetReturnType(&method->prototype); in resultTagFromSignature()
2911 char* desc = dexProtoCopyMethodDescriptor(&meth->prototype); in dvmDbgExecuteMethod()
3001 method->prototype.protoIdx, in dvmAddressSetForLine()
DProfile.c292 dexProtoGetMethodDescriptor(&meth->prototype, &stringCache), in dumpMarkedMethods()
305 dexProtoGetMethodDescriptor(&meth->prototype, &stringCache), in dumpMarkedMethods()
/dalvik/vm/native/
DREADME.txt18 The functions here use the DalvikNativeFunc prototype, but we can
/dalvik/vm/mterp/portable/
Ddebug.c161 char* desc = dexProtoCopyMethodDescriptor(&method->prototype); in updateDebugger()
/dalvik/vm/alloc/
DHeapWorker.c169 &gDvm.gcHeap->heapWorkerCurrentMethod->prototype); in dvmAssertHeapWorkerThreadRunning()
184 &gDvm.gcHeap->heapWorkerCurrentMethod->prototype); in dvmAssertHeapWorkerThreadRunning()
/dalvik/vm/analysis/
DCodeVerify.c726 dexParameterIteratorInit(&iterator, &meth->prototype); in setTypesFromSignature()
831 const char* descriptor = dexProtoGetReturnType(&meth->prototype); in setTypesFromSignature()
884 char* desc = dexProtoCopyMethodDescriptor(&meth->prototype); in setTypesFromSignature()
904 const char* descriptor = dexProtoGetReturnType(&meth->prototype); in getMethodReturnType()
1130 char* desc = dexProtoCopyMethodDescriptor(&resMethod->prototype); in verifyInvocationArgs()
1147 sigOriginal = dexProtoCopyMethodDescriptor(&resMethod->prototype); in verifyInvocationArgs()
1296 char* desc = dexProtoCopyMethodDescriptor(&resMethod->prototype); in verifyInvocationArgs()
1312 char* desc = dexProtoCopyMethodDescriptor(&resMethod->prototype); in verifyInvocationArgs()
3249 char* desc = dexProtoCopyMethodDescriptor(&meth->prototype); in doCodeVerification()
3325 char* desc = dexProtoCopyMethodDescriptor(&meth->prototype); in doCodeVerification()
[all …]
DVerifySubs.c355 char* desc = dexProtoCopyMethodDescriptor(&meth->prototype); in dvmLogVerifyFailure()
DOptimize.c830 char* desc = dexProtoCopyMethodDescriptor(&resMethod->prototype); in dvmOptResolveMethod()
996 char* desc = dexProtoCopyMethodDescriptor(&resMethod->prototype); in dvmOptResolveInterfaceMethod()
/dalvik/vm/mterp/c/
Dheader.c115 desc = dexProtoCopyMethodDescriptor(&curMethod->prototype); \
/dalvik/vm/interp/
DInterp.c642 desc = dexProtoCopyMethodDescriptor(&method->prototype); in dvmInterpCheckTrackedRefs()
1130 char* desc = dexProtoCopyMethodDescriptor(&method->prototype); in methodNameFromIndex()

12