/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 | 121 * <p>We look up the {@code MethodId} for the method on the declaring type. This 128 * MethodId<?, Integer> fib = fibonacci.getMethod(TypeId.INT, "fib", TypeId.INT); 248 public Code declare(MethodId<?, ?> method, int flags) { 410 private final Map<MethodId, MethodDeclaration> methods 411 = new LinkedHashMap<MethodId, MethodDeclaration>(); 476 final MethodId<?, ?> method; 480 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...] |
/art/runtime/ |
method_helper.cc | 32 const DexFile::MethodId& method_id = dex_file->GetMethodId(dex_method_idx); 72 const DexFile::MethodId& mid = dexfile->GetMethodId(method->GetDexMethodIndex()); 92 const DexFile::MethodId* other_mid = other_dexfile.FindMethodId( 111 const DexFile::MethodId& mid = dexfile->GetMethodId(dex_method_idx); 112 const DexFile::MethodId& name_and_sig_mid = other_dexfile.GetMethodId(name_and_signature_idx); 125 const DexFile::MethodId* other_mid = other_dexfile.FindMethodId(
|
method_helper-inl.h | 31 const DexFile::MethodId& mid = dex_file->GetMethodId(GetMethod()->GetDexMethodIndex()); 33 const DexFile::MethodId& other_mid = 38 const DexFile::MethodId& other_mid = 59 const DexFile::MethodId& method_id = dex_file->GetMethodId(method->GetDexMethodIndex());
|
dex_file.h | 173 struct MethodId { 179 DISALLOW_COPY_AND_ASSIGN(MethodId); 587 // Returns the MethodId at the specified index. 588 const MethodId& GetMethodId(uint32_t idx) const { 593 uint32_t GetIndexForMethodId(const MethodId& method_id) const { 600 const MethodId* FindMethodId(const DexFile::TypeId& declaring_klass, 605 const char* GetMethodDeclaringClassDescriptor(const MethodId& method_id) const { 611 const ProtoId& GetMethodPrototype(const MethodId& method_id) const { 616 const Signature GetMethodSignature(const MethodId& method_id) const; 619 const char* GetMethodName(const MethodId& method_id) const [all...] |
dex_file_test.cc | 244 const DexFile::MethodId& method_id = raw->GetMethodId(it.GetMemberIndex()); 255 const DexFile::MethodId& method_id = raw->GetMethodId(it.GetMemberIndex()); 266 const DexFile::MethodId& method_id = raw->GetMethodId(it.GetMemberIndex()); 323 const DexFile::MethodId& to_find = java_lang_dex_file_->GetMethodId(i); 327 const DexFile::MethodId* found = java_lang_dex_file_->FindMethodId(klass, name, signature);
|
dex_file_verifier.h | 109 const DexFile::MethodId* CheckLoadMethodId(uint32_t idx, const char* error_fmt);
|
dex_file-inl.h | 41 inline const Signature DexFile::GetMethodSignature(const MethodId& method_id) const {
|
/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_);
|
/external/dexmaker/src/test/java/com/google/dexmaker/ |
DexMakerTest.java | 55 private static MethodId<Callable, Object> CALL = CALLABLE.getMethod(TypeId.OBJECT, "call"); 79 MethodId<?, Constructable> methodId = GENERATED.getMethod( 81 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); 84 MethodId<Constructable, Void> constructor 109 MethodId<?, Void> methodId = GENERATED.getMethod(TypeId.VOID, "call"); 110 Code code = dexMaker.declare(methodId, PUBLIC); 128 MethodId<?, Integer> methodId = GENERATED.getMethod(TypeId.INT, "call", TypeId.INT) [all...] |
/art/runtime/jdwp/ |
jdwp.h | 55 typedef uint32_t MethodId; /* any kind of method, including constructors */ 63 static inline void SetMethodId(uint8_t* buf, MethodId val) { return Set4BE(buf, val); } 68 static inline void expandBufAddMethodId(ExpandBuf* pReply, MethodId id) { expandBufAdd4BE(pReply, id); } 84 MethodId method_id; 387 std::string DescribeMethod(const MethodId& method_id) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); 406 MethodId ReadMethodId() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
|
jdwp_request.cc | 95 MethodId Request::ReadMethodId() { 96 MethodId id = Read4BE();
|
/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; 360 MethodId<InvocationHandler, Object> methodInvoke = handlerType.getMethod(TypeId.OBJECT, 415 MethodId<T, ?> superMethod = superclassType.getMethod(resultType, name, argTypes); 416 MethodId<?, ?> methodId = generatedType.getMethod(resultType, name, argTypes); 417 Code code = dexMaker.declare(methodId, PUBLIC); 487 MethodId<G, ?> callsSuperMethod = generatedType.getMethod( 507 private static void invokeSuper(MethodId superMethod, Code superCode, 513 MethodId<?, ?> unboxMethod = PRIMITIVE_TYPE_TO_UNBOX_METHOD.get(parameter.getType()); 562 MethodId<?, ?> method = generatedType.getConstructor(types) [all...] |
/external/chromium_org/base/android/ |
jni_android_unittest.cc | 18 jmethodID id = base::android::MethodID::LazyGet< 19 base::android::MethodID::TYPE_STATIC>( 34 TEST(JNIAndroidMicrobenchmark, MethodId) {
|
/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);
|
/art/compiler/sea_ir/types/ |
type_inference.cc | 42 const art::DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_); 52 const art::DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_); 58 const art::DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_);
|
/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()) {
|
/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 | 29 $O\MethodId.obj \
|