/libcore/dex/src/main/java/com/android/dex/ |
MethodId.java | 21 public final class MethodId implements Comparable<MethodId> { 27 public MethodId(Dex dex, int declaringClassIndex, int protoIndex, int nameIndex) { 46 public int compareTo(MethodId other) {
|
/external/dexmaker/src/main/java/com/google/dexmaker/ |
MethodId.java | 31 public final class MethodId<D, R> { 41 MethodId(TypeId<D> declaringType, TypeId<R> returnType, String name, TypeList parameters) { 101 return o instanceof MethodId 102 && ((MethodId<?, ?>) o).declaringType.equals(declaringType) 103 && ((MethodId<?, ?>) o).name.equals(name) 104 && ((MethodId<?, ?>) o).parameters.equals(parameters) 105 && ((MethodId<?, ?>) o).returnType.equals(returnType);
|
TypeId.java | 124 public MethodId<T, Void> getConstructor(TypeId<?>... parameters) { 125 return new MethodId<T, Void>(this, VOID, "<init>", new TypeList(parameters)); 128 public <R> MethodId<T, R> getMethod(TypeId<R> returnType, String name, TypeId<?>... parameters) { 129 return new MethodId<T, R>(this, returnType, name, new TypeList(parameters));
|
DexMaker.java | 125 * <p>We look up the {@code MethodId} for the method on the declaring type. This 132 * MethodId<?, Integer> fib = fibonacci.getMethod(TypeId.INT, "fib", TypeId.INT); 252 public Code declare(MethodId<?, ?> method, int flags) { 343 Set<MethodId> methodSet = decl.methods.keySet(); 454 private final Map<MethodId, MethodDeclaration> methods 455 = new LinkedHashMap<MethodId, MethodDeclaration>(); 520 final MethodId<?, ?> method; 524 public MethodDeclaration(MethodId<?, ?> method, int flags) {
|
Code.java | 179 private final MethodId<?, ?> method; 615 public <T> void newInstance(Local<T> target, MethodId<T, Void> constructor, Local<?>... args) { 632 public <R> void invokeStatic(MethodId<?, R> method, Local<? super R> target, Local<?>... args) { 645 public <D, R> void invokeVirtual(MethodId<D, R> method, Local<? super R> target, 659 public <D, R> void invokeDirect(MethodId<D, R> method, Local<? super R> target, 671 public <D, R> void invokeSuper(MethodId<D, R> method, Local<? super R> target, 684 public <D, R> void invokeInterface(MethodId<D, R> method, Local<? super R> target, 689 private <D, R> void invoke(Rop rop, MethodId<D, R> method, Local<? super R> target, [all...] |
/external/dexmaker/src/test/java/com/google/dexmaker/examples/ |
HelloWorldMaker.java | 24 import com.google.dexmaker.MethodId; 66 MethodId hello = declaringType.getMethod(TypeId.VOID, "hello"); 89 MethodId<Integer, String> toHexString 96 MethodId<PrintStream, Void> printlnMethod = printStreamType.getMethod(
|
FibonacciMaker.java | 25 import com.google.dexmaker.MethodId; 39 MethodId<?, Integer> fib = fibonacci.getMethod(TypeId.INT, "fib", TypeId.INT);
|
/art/compiler/driver/ |
dex_compilation_unit.h | 72 const DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_); 77 const DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_);
|
/dalvik/dx/src/com/android/dx/command/grep/ |
Grep.java | 23 import com.android.dex.MethodId; 78 MethodId methodId = dex.methodIds().get(currentMethod.getMethodIndex()); 79 return className + "." + dex.strings().get(methodId.getNameIndex());
|
/external/dexmaker/src/main/java/com/google/dexmaker/stock/ |
ProxyBuilder.java | 25 import com.google.dexmaker.MethodId; 366 MethodId<InvocationHandler, Object> methodInvoke = handlerType.getMethod(TypeId.OBJECT, 421 MethodId<T, ?> superMethod = superclassType.getMethod(resultType, name, argTypes); 422 MethodId<?, ?> methodId = generatedType.getMethod(resultType, name, argTypes); 423 Code code = dexMaker.declare(methodId, PUBLIC); 493 MethodId<G, ?> callsSuperMethod = generatedType.getMethod( 513 private static void invokeSuper(MethodId superMethod, Code superCode, 519 MethodId<?, ?> unboxMethod = PRIMITIVE_TYPE_TO_UNBOX_METHOD.get(parameter.getType()); 568 MethodId<?, ?> method = generatedType.getConstructor(types) [all...] |
/external/dexmaker/src/test/java/com/google/dexmaker/ |
DexMakerTest.java | 56 private static MethodId<Callable, Object> CALL = CALLABLE.getMethod(TypeId.OBJECT, "call"); 89 MethodId<?, Constructable> methodId = GENERATED.getMethod( 91 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); 94 MethodId<Constructable, Void> constructor 119 MethodId<?, Void> methodId = GENERATED.getMethod(TypeId.VOID, "call"); 120 Code code = dexMaker.declare(methodId, PUBLIC); 138 MethodId<?, Integer> methodId = GENERATED.getMethod(TypeId.INT, "call", TypeId.INT) [all...] |
/art/runtime/jdwp/ |
jdwp.h | 54 * Its OK to change MethodId and FieldId sizes as long as the size is <= 8 bytes. 58 typedef uint64_t MethodId; /* any kind of method, including constructors */ 66 static inline void SetMethodId(uint8_t* buf, MethodId val) { return Set8BE(buf, val); } 71 static inline void expandBufAddMethodId(ExpandBuf* pReply, MethodId id) { expandBufAdd8BE(pReply, id); } 87 MethodId method_id; 414 std::string DescribeMethod(const MethodId& method_id) SHARED_REQUIRES(Locks::mutator_lock_); 433 MethodId ReadMethodId() SHARED_REQUIRES(Locks::mutator_lock_);
|
jdwp_request.cc | 95 MethodId Request::ReadMethodId() { 96 MethodId id = Read8BE();
|
/dalvik/dx/src/com/android/dx/io/ |
DexIndexPrinter.java | 22 import com.android.dex.MethodId; 85 for (MethodId methodId : dex.methodIds()) { 86 System.out.println("methodId " + index + ": " + methodId);
|
/dalvik/dx/src/com/android/dx/command/findusages/ |
FindUsages.java | 23 import com.android.dex.MethodId; 91 int methodId = one.getIndex(); 92 if (methodIds.contains(methodId)) { 93 out.println(location() + ": method reference " + dex.methodIds().get(methodId) 103 MethodId methodId = dex.methodIds().get(currentMethod.getMethodIndex()); 104 return className + "." + dex.strings().get(methodId.getNameIndex()); 176 for (MethodId method : dex.methodIds()) {
|
/art/runtime/ |
dex_file_test.cc | 245 const DexFile::MethodId& method_id = raw->GetMethodId(it.GetMemberIndex()); 256 const DexFile::MethodId& method_id = raw->GetMethodId(it.GetMemberIndex()); 267 const DexFile::MethodId& method_id = raw->GetMethodId(it.GetMemberIndex()); 325 const DexFile::MethodId& to_find = java_lang_dex_file_->GetMethodId(i); 329 const DexFile::MethodId* found = java_lang_dex_file_->FindMethodId(klass, name, signature);
|
art_method.cc | 63 const DexFile::MethodId& method_id = dex_file->GetMethodId(dex_method_idx); 110 const DexFile::MethodId& mid = dex_file->GetMethodId(GetDexMethodIndex()); 112 const DexFile::MethodId& mid2 = dex_file->GetMethodId(other->GetDexMethodIndex()); 116 const DexFile::MethodId& mid2 = dex_file2->GetMethodId(other->GetDexMethodIndex()); 166 const DexFile::MethodId& mid = dexfile->GetMethodId(dex_method_idx); 167 const DexFile::MethodId& name_and_sig_mid = other_dexfile.GetMethodId(name_and_signature_idx); 176 const DexFile::MethodId* other_mid = other_dexfile.FindMethodId(
|
dex_file.h | 189 struct MethodId { 195 DISALLOW_COPY_AND_ASSIGN(MethodId); 638 // Returns the MethodId at the specified index. 639 const MethodId& GetMethodId(uint32_t idx) const { 644 uint32_t GetIndexForMethodId(const MethodId& method_id) const { 651 const MethodId* FindMethodId(const DexFile::TypeId& declaring_klass, 656 const char* GetMethodDeclaringClassDescriptor(const MethodId& method_id) const { 662 const ProtoId& GetMethodPrototype(const MethodId& method_id) const { 667 const Signature GetMethodSignature(const MethodId& method_id) const; 670 const char* GetMethodName(const MethodId& method_id) const [all...] |
dex_file-inl.h | 41 inline const Signature DexFile::GetMethodSignature(const MethodId& method_id) const {
|
/dalvik/dx/src/com/android/dx/merge/ |
IndexMap.java | 45 import com.android.dex.MethodId; 192 public MethodId adjust(MethodId methodId) { 193 return new MethodId(target, 194 adjustType(methodId.getDeclaringClassIndex()), 195 adjustProto(methodId.getProtoIndex()), 196 adjustString(methodId.getNameIndex()));
|
/external/lzma/CPP/7zip/Bundles/Format7zExtractR/ |
makefile | 30 $O\MethodId.obj \
|
/external/lzma/CPP/7zip/Bundles/Format7zR/ |
makefile | 34 $O\MethodId.obj \
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ddk/ |
scsiwmi.h | 105 IN ULONG MethodId,
|
wmilib.h | 59 IN ULONG MethodId,
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
wmistr.h | 90 ULONG MethodId;
|