Home
last modified time | relevance | path

Searched refs:proto (Results 1 – 15 of 15) sorted by relevance

/dalvik/libdex/
DDexProto.h126 DexProto proto; in dexGetDescriptorFromMethodId() local
128 dexProtoSetFromMethodId(&proto, pDexFile, pMethodId); in dexGetDescriptorFromMethodId()
129 return dexProtoGetMethodDescriptor(&proto, pCache); in dexGetDescriptorFromMethodId()
140 DexProto proto; in dexCopyDescriptorFromMethodId() local
142 dexProtoSetFromMethodId(&proto, pDexFile, pMethodId); in dexCopyDescriptorFromMethodId()
143 return dexProtoCopyMethodDescriptor(&proto); in dexCopyDescriptorFromMethodId()
188 int dexProtoCompareToDescriptor(const DexProto* proto, const char* descriptor);
195 int dexProtoCompareToParameterDescriptors(const DexProto* proto,
203 const DexProto* proto; member
DDexDebugInfo.cpp80 static void invalidStream(const char* classDescriptor, const DexProto* proto) { in invalidStream() argument
82 char* methodDescriptor = dexProtoCopyMethodDescriptor(proto); in invalidStream()
100 DexProto proto = { pDexFile, protoIdx }; in dexDecodeDebugInfo0() local
113 assert(pCode->insSize == (dexProtoComputeArgsSize(&proto) + 1)); in dexDecodeDebugInfo0()
120 assert(pCode->insSize == dexProtoComputeArgsSize(&proto)); in dexDecodeDebugInfo0()
124 dexParameterIteratorInit(&iterator, &proto); in dexDecodeDebugInfo0()
132 invalidStream(classDescriptor, &proto); in dexDecodeDebugInfo0()
178 invalidStream(classDescriptor, &proto); in dexDecodeDebugInfo0()
201 invalidStream(classDescriptor, &proto); in dexDecodeDebugInfo0()
212 invalidStream(classDescriptor, &proto); in dexDecodeDebugInfo0()
[all …]
DDexProto.cpp380 static int protoCompareToParameterDescriptors(const DexProto* proto, in protoCompareToParameterDescriptors() argument
384 dexParameterIteratorInit(&iterator, proto); in protoCompareToParameterDescriptors()
443 int dexProtoCompareToDescriptor(const DexProto* proto, in dexProtoCompareToDescriptor() argument
450 int result = strcmp(dexProtoGetReturnType(proto), returnType); in dexProtoCompareToDescriptor()
457 return protoCompareToParameterDescriptors(proto, descriptor, true); in dexProtoCompareToDescriptor()
461 int dexProtoCompareToParameterDescriptors(const DexProto* proto, in dexProtoCompareToParameterDescriptors() argument
463 return protoCompareToParameterDescriptors(proto, descriptors, false); in dexProtoCompareToParameterDescriptors()
483 pIterator->proto = pProto; in dexParameterIteratorInit()
522 return dexStringByTypeIdx(pIterator->proto->dexFile, idx); in dexParameterIteratorNextDescriptor()
DDexSwapVerify.cpp672 DexProto proto = { state->pDexFile, protoIdx }; in crossVerifyProtoIdItem() local
675 dexParameterIteratorInit(&iterator, &proto); in crossVerifyProtoIdItem()
713 dexParameterIteratorInit(&iterator, &proto); in crossVerifyProtoIdItem()
/dalvik/dx/tests/132-invoke-polymorphic/
Dexpected.txt169 |[0] double proto()
173 |[1] double proto(java.lang.Object, long)
177 |[2] double proto(java.lang.invoke.MethodHandle)
181 … |[3] double proto(java.lang.invoke.MethodHandle, java.lang.Object, long)
185 |[4] int proto()
189 … |[5] int proto(java.lang.Object, long, double, float, java.lang.String)
193 |[6] int proto(java.lang.invoke.MethodHandle)
197 …|[7] int proto(java.lang.invoke.MethodHandle, java.lang.Object, long, double, float, java.lang.Str…
201 |[8] long proto()
205 |[9] long proto(java.lang.invoke.MethodHandle)
[all …]
/dalvik/dx/src/com/android/multidex/
DClassReferenceListBuilder.java122 private void checkPrototype(Prototype proto) { in checkPrototype() argument
123 checkDescriptor(proto.getReturnType().getDescriptor()); in checkPrototype()
124 StdTypeList args = proto.getParameterTypes(); in checkPrototype()
/dalvik/dx/tests/139-lambda-metafactory/
Dexpected.txt153 |[0] int proto()
157 |[1] Consumer proto(Foo, int)
161 |[2] java.lang.Integer proto(int)
165 …|[3] java.lang.invoke.CallSite proto(java.lang.invoke.MethodHandles$Lookup, java.lang.String, java…
169 |[4] void proto()
173 |[5] void proto(int)
177 |[6] void proto(int, java.lang.Object)
181 |[7] void proto(java.lang.Object)
185 |[8] void proto(java.lang.String[])
276 …pt"}, proto{(LFoo;I)LConsumer;}, proto{(Ljava/lang/Object;)V}, method-handle{invoke-direct,method{…
[all …]
/dalvik/dx/src/com/android/dx/dex/code/
DDalvInsnList.java219 CstProtoRef proto = (CstProtoRef) mci.getConstant(1); in getOutsSize() local
220 count = proto.getPrototype().getParameterTypes().getWordCount(); in getOutsSize()
/dalvik/dx/tests/135-invoke-custom/
Dexpected.txt445 |[0] double proto(float, float, double)
449 |[1] float proto(invokecustom.InvokeCustom)
453 |[2] int proto()
457 |[3] int proto(int, int, int)
461 |[4] long proto(long, long, long)
465 |[5] invokecustom.InvokeCustom proto(int)
469 |[6] java.lang.Class proto()
473 |[7] java.lang.Object proto(java.lang.Object)
477 |[8] java.lang.Object proto(java.lang.Object[])
481 |[9] java.lang.String proto()
[all …]
/dalvik/opcode-gen/
Dbytecode.txt71 # method-and-proto-ref
74 # proto-ref
346 op fa invoke-polymorphic 45cc n method-and-proto-ref continue|throw|invoke
347 op fb invoke-polymorphic/range 4rcc n method-and-proto-ref continue|throw|invoke
353 op ff const-method-type 21c y proto-ref continue|throw
/dalvik/docs/
Dporting-proto.c.txt24 * % gcc -c -O2 -save-temps -fverbose-asm porting-proto.c
25 * % less porting-proto.s
/dalvik/dx/tests/137-dexmerger-dex38/
Dexpected.txt347 …:([Ljava/lang/Object;)Ljava/lang/Object;, (Linvokecustom/InvokeCustom;)V // method@00c3, proto@001c
349 …:([Ljava/lang/Object;)Ljava/lang/Object;, (I)Linvokecustom/InvokeCustom; // method@00c3, proto@0005
351 …:([Ljava/lang/Object;)Ljava/lang/Object;, (Linvokecustom/InvokeCustom;)V // method@00be, proto@001c
399 …:([Ljava/lang/Object;)Ljava/lang/Object;, (Linvokecustom/InvokeCustom;)F // method@00c3, proto@0001
401 …([Ljava/lang/Object;)Ljava/lang/Object;, (Linvokecustom/InvokeCustom;F)V // method@00c3, proto@001d
402 …:([Ljava/lang/Object;)Ljava/lang/Object;, (Linvokecustom/InvokeCustom;)F // method@00c3, proto@0001
461 …e/MethodHandle;.invokeExact:([Ljava/lang/Object;)Ljava/lang/Object;, ()I // method@00c3, proto@0002
463 …/MethodHandle;.invokeExact:([Ljava/lang/Object;)Ljava/lang/Object;, (I)V // method@00c3, proto@001a
464 …e/MethodHandle;.invokeExact:([Ljava/lang/Object;)Ljava/lang/Object;, ()I // method@00c3, proto@0002
1219 …:([Ljava/lang/Object;)Ljava/lang/Object;, (Linvokecustom/InvokeCustom;)V // method@00c3, proto@001c
[all …]
/dalvik/dx/src/com/android/dx/rop/code/
DRops.java1237 Prototype proto = cstMeth.getPrototype(); in ropFor() local
1239 Prototype meth = proto.withFirstParameter(definer.getClassType()); in ropFor()
1244 Prototype proto = cstInvokeDynamicRef.getPrototype(); in ropFor() local
1245 return opInvokeCustom(proto); in ropFor()
/dalvik/dx/src/com/android/dx/cf/code/
DRopper.java1301 Insn proto = labelToBlock(i).getFirstInsn(); in addExceptionSetupBlocks() local
1302 SourcePosition pos = proto.getPosition(); in addExceptionSetupBlocks()
/dalvik/dx/tests/141-invoke-polymorphic-varhandles/
Dexpected.txt3 java.lang.invoke.VarHandle proto(java.lang.Class)
4 java.lang.invoke.VarHandle proto(java.lang.Class, java.lang.String, java.lang.Class)