HomeSort by relevance Sort by last modified time
    Searched refs:MethodId (Results 1 - 25 of 126) sorted by null

1 2 3 4 5 6

  /dalvik/dx/src/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/dexmaker/src/main/java/com/android/dx/
MethodId.java 31 public final class MethodId<D, R> {
41 MethodId(TypeId<D> declaringType, TypeId<R> returnType, String name, TypeList parameters) {
102 return o instanceof MethodId
103 && ((MethodId<?, ?>) o).declaringType.equals(declaringType)
104 && ((MethodId<?, ?>) o).name.equals(name)
105 && ((MethodId<?, ?>) o).parameters.equals(parameters)
106 && ((MethodId<?, ?>) o).returnType.equals(returnType);
TypeId.java 122 public MethodId<T, Void> getConstructor(TypeId<?>... parameters) {
123 return new MethodId<>(this, VOID, "<init>", new TypeList(parameters));
126 public <R> MethodId<T, R> getMethod(TypeId<R> returnType, String name, TypeId<?>... parameters) {
127 return new MethodId<>(this, returnType, name, new TypeList(parameters));
DexMaker.java 128 * <p>We look up the {@code MethodId} for the method on the declaring type. This
135 * MethodId<?, Integer> fib = fibonacci.getMethod(TypeId.INT, "fib", TypeId.INT);
254 public Code declare(MethodId<?, ?> method, int flags) {
345 Set<MethodId> methodSet = decl.methods.keySet();
470 private final Map<MethodId, MethodDeclaration> methods = new LinkedHashMap<>();
535 final MethodId<?, ?> method;
539 public MethodDeclaration(MethodId<?, ?> method, int flags) {
  /external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/examples/
HelloWorldMaker.java 25 import com.android.dx.MethodId;
67 MethodId hello = declaringType.getMethod(TypeId.VOID, "hello");
90 MethodId<Integer, String> toHexString
97 MethodId<PrintStream, Void> printlnMethod = printStreamType.getMethod(
FibonacciMaker.java 24 import com.android.dx.MethodId;
40 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_);
  /art/runtime/
dex_file-inl.h 90 inline const char* DexFile::GetMethodDeclaringClassDescriptor(const MethodId& method_id) const {
95 inline const Signature DexFile::GetMethodSignature(const MethodId& method_id) const {
103 inline const char* DexFile::GetMethodName(const MethodId& method_id) const {
111 inline const char* DexFile::GetMethodShorty(const MethodId& method_id) const {
115 inline const char* DexFile::GetMethodShorty(const MethodId& method_id, uint32_t* length) const {
method_reference.h 61 const DexFile::MethodId& mid1 = mr1.dex_file->GetMethodId(mr1.dex_method_index);
62 const DexFile::MethodId& mid2 = mr2.dex_file->GetMethodId(mr2.dex_method_index);
imtable-inl.h 49 const DexFile::MethodId& method_id = dex_file->GetMethodId(method->GetDexMethodIndex());
dex_file.h 184 struct MethodId {
190 DISALLOW_COPY_AND_ASSIGN(MethodId);
661 // Returns the MethodId at the specified index.
662 const MethodId& GetMethodId(uint32_t idx) const {
667 uint32_t GetIndexForMethodId(const MethodId& method_id) const {
674 const MethodId* FindMethodId(const DexFile::TypeId& declaring_klass,
679 const char* GetMethodDeclaringClassDescriptor(const MethodId& method_id) const;
682 const ProtoId& GetMethodPrototype(const MethodId& method_id) const {
687 const Signature GetMethodSignature(const MethodId& method_id) const;
693 const char* GetMethodName(const MethodId& method_id) const
    [all...]
  /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/libmojo/base/android/
jni_android_unittest.cc 18 jmethodID id = base::android::MethodID::LazyGet<
19 base::android::MethodID::TYPE_STATIC>(
34 TEST(JNIAndroidMicrobenchmark, MethodId) {
  /external/dexmaker/dexmaker/src/main/java/com/android/dx/stock/
ProxyBuilder.java 25 import com.android.dx.MethodId;
396 MethodId<InvocationHandler, Object> methodInvoke = handlerType.getMethod(TypeId.OBJECT,
451 MethodId<T, ?> superMethod = superclassType.getMethod(resultType, name, argTypes);
452 MethodId<?, ?> methodId = generatedType.getMethod(resultType, name, argTypes);
453 Code code = dexMaker.declare(methodId, PUBLIC);
523 MethodId<G, ?> callsSuperMethod = generatedType.getMethod(
543 private static void invokeSuper(MethodId superMethod, Code superCode,
549 MethodId<?, ?> unboxMethod = PRIMITIVE_TYPE_TO_UNBOX_METHOD.get(parameter.getType());
598 MethodId<?, ?> method = generatedType.getConstructor(types)
    [all...]
  /art/dexlayout/
dex_ir.h 53 class MethodId;
86 virtual void Dispatch(const MethodId* method_id) = 0;
173 std::vector<std::unique_ptr<MethodId>>& MethodIds() { return method_ids_.Collection(); }
234 MethodId* GetMethodId(uint32_t index) {
328 ParameterAnnotation* GenerateParameterAnnotation(const DexFile& dex_file, MethodId* method_id,
336 CollectionVector<MethodId> method_ids_;
575 class MethodId : public IndexedItem {
577 MethodId(const TypeId* klass, const ProtoId* proto, const StringId* name)
579 ~MethodId() OVERRIDE { }
594 DISALLOW_COPY_AND_ASSIGN(MethodId);
    [all...]
dex_ir.cc 112 std::vector<MethodId*>* method_ids,
185 std::vector<MethodId*>* method_ids,
358 const DexFile::MethodId& disk_method_id = dex_file.GetMethodId(i);
359 MethodId* method_id = new MethodId(GetTypeId(disk_method_id.class_idx_.index_),
362 method_ids_.AddIndexedItem(method_id, MethodIdsOffset() + i * MethodId::ItemSize(), i);
509 MethodId* method_id = GetMethodId(methods[i].method_idx_);
525 MethodId* method_id = GetMethodId(parameters[i].method_idx_);
540 const DexFile& dex_file, MethodId* method_id,
674 std::unique_ptr<std::vector<MethodId*>> method_ids(new std::vector<MethodId*>())
    [all...]
dex_verify.h 41 bool VerifyId(dex_ir::MethodId* orig, dex_ir::MethodId* output, std::string* error_msg);
  /external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/
DexMakerTest.java 66 private static MethodId<Callable, Object> CALL = CALLABLE.getMethod(TypeId.OBJECT, "call");
100 MethodId<?, Constructable> methodId = GENERATED.getMethod(
102 Code code = dexMaker.declare(methodId, PUBLIC | STATIC);
105 MethodId<Constructable, Void> constructor
131 MethodId<?, Void> methodId = GENERATED.getMethod(TypeId.VOID, "call");
132 Code code = dexMaker.declare(methodId, PUBLIC);
151 MethodId<?, Integer> methodId = GENERATED.getMethod(TypeId.INT, "call", TypeId.INT)
    [all...]
  /art/runtime/jdwp/
jdwp.h 55 * Its OK to change MethodId and FieldId sizes as long as the size is <= 8 bytes.
59 typedef uint64_t MethodId; /* any kind of method, including constructors */
67 static inline void SetMethodId(uint8_t* buf, MethodId val) { return Set8BE(buf, val); }
72 static inline void expandBufAddMethodId(ExpandBuf* pReply, MethodId id) { expandBufAdd8BE(pReply, id); }
88 MethodId method_id;
419 std::string DescribeMethod(const MethodId& method_id) REQUIRES_SHARED(Locks::mutator_lock_);
438 MethodId ReadMethodId() REQUIRES_SHARED(Locks::mutator_lock_);
jdwp_request.cc 96 MethodId Request::ReadMethodId() {
97 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()) {
  /dalvik/dx/src/com/android/dx/merge/
IndexMap.java 49 import com.android.dex.MethodId;
208 public MethodId adjust(MethodId methodId) {
209 return new MethodId(target,
210 adjustType(methodId.getDeclaringClassIndex()),
211 adjustProto(methodId.getProtoIndex()),
212 adjustString(methodId.getNameIndex()));
  /external/lzma/CPP/7zip/Bundles/Format7zExtractR/
makefile 29 $O\MethodId.obj \
  /art/runtime/mirror/
dex_cache_test.cc 149 const DexFile::MethodId& method1_id = dex_file.GetMethodId(method1->GetDexMethodIndex());
150 const DexFile::MethodId& method2_id = dex_file.GetMethodId(method2->GetDexMethodIndex());

Completed in 1724 milliseconds

1 2 3 4 5 6