Home
last modified time | relevance | path

Searched refs:MethodId (Results 1 – 25 of 25) sorted by relevance

/external/pigweed/pw_rpc/public/pw_rpc/
Dmethod_id.h24 class MethodId; variable
27 constexpr MethodId WrapMethodId(uint32_t id);
28 constexpr uint32_t UnwrapMethodId(MethodId id);
32 class MethodId {
34 constexpr explicit MethodId(uint32_t id) : id_(id) {} in MethodId() function
35 friend constexpr MethodId internal::WrapMethodId(uint32_t id);
36 friend constexpr uint32_t internal::UnwrapMethodId(MethodId id);
40 constexpr bool operator==(MethodId lhs, MethodId rhs) {
44 constexpr bool operator!=(MethodId lhs, MethodId rhs) { return !(lhs == rhs); }
48 constexpr bool operator<(MethodId lhs, MethodId rhs) {
[all …]
Dpacket_meta.h36 constexpr MethodId method_id() const { return method_id_; } in method_id()
56 MethodId method_id_;
Dmethod_info.h66 constexpr MethodId GetMethodId() { in GetMethodId()
/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/
DAnnotationIdTest.java92 MethodId<?, Void> methodId = generateVoidMethod(TypeId.BOOLEAN); in addMethodAnnotationWithBooleanElement()
108 MethodId<?, Void> methodId = generateVoidMethod(TypeId.BYTE); in addMethodAnnotationWithByteElement()
124 MethodId<?, Void> methodId = generateVoidMethod(TypeId.CHAR); in addMethodAnnotationWithCharElement()
140 MethodId<?, Void> methodId = generateVoidMethod(TypeId.DOUBLE); in addMethodAnnotationWithDoubleElement()
156 MethodId<?, Void> methodId = generateVoidMethod(TypeId.FLOAT); in addMethodAnnotationWithFloatElement()
172 MethodId<?, Void> methodId = generateVoidMethod(TypeId.INT); in addMethodAnnotationWithIntElement()
188 MethodId<?, Void> methodId = generateVoidMethod(TypeId.LONG); in addMethodAnnotationWithLongElement()
204 MethodId<?, Void> methodId = generateVoidMethod(TypeId.SHORT); in addMethodAnnotationWithShortElement()
220 MethodId<?, Void> methodId = generateVoidMethod(TypeId.STRING); in addMethodAnnotationWithStingElement()
238 MethodId<?, Void> methodId = generateVoidMethod(TypeId.get(Enum.class)); in addMethodAnnotationWithEnumElement()
[all …]
DDexMakerTest.java77 private static MethodId<Callable, Object> CALL = CALLABLE.getMethod(TypeId.OBJECT, "call");
111 MethodId<?, Constructable> methodId = GENERATED.getMethod( in testNewInstance()
116 MethodId<Constructable, Void> constructor in testNewInstance()
142 MethodId<?, Void> methodId = GENERATED.getMethod(TypeId.VOID, "call"); in testVoidNoArgMemberMethod()
162 MethodId<?, Integer> methodId = GENERATED.getMethod(TypeId.INT, "call", TypeId.INT); in testInvokeStatic()
166 MethodId<?, Integer> staticMethod in testInvokeStatic()
182 MethodId<?, String> methodId = GENERATED.getMethod(TypeId.STRING, "call"); in testLoadDeferredClassConstant()
187MethodId<Class, String> getSimpleName = TypeId.get(Class.class).getMethod(TypeId.STRING, "getSimpl… in testLoadDeferredClassConstant()
201 MethodId<?, Void> methodId = GENERATED.getMethod(TypeId.VOID, "call", TypeId.INT); in testCreateLocalMethodAsNull()
229MethodId<?, Integer> methodId = GENERATED.getMethod(TypeId.INT, "call", TEST_TYPE, TypeId.INT); in testInvokeVirtual()
[all …]
/external/dexmaker/dexmaker/src/main/java/com/android/dx/
DMethodId.java31 public final class MethodId<D, R> { class
41 MethodId(TypeId<D> declaringType, TypeId<R> returnType, String name, TypeList parameters) { in MethodId() method in MethodId
110 return o instanceof MethodId in equals()
111 && ((MethodId<?, ?>) o).declaringType.equals(declaringType) in equals()
112 && ((MethodId<?, ?>) o).name.equals(name) in equals()
113 && ((MethodId<?, ?>) o).parameters.equals(parameters) in equals()
114 && ((MethodId<?, ?>) o).returnType.equals(returnType); in equals()
DTypeId.java122 public MethodId<T, Void> getConstructor(TypeId<?>... parameters) { in getConstructor()
123 return new MethodId<>(this, VOID, "<init>", new TypeList(parameters)); in getConstructor()
126 public MethodId<T, Void> getStaticInitializer() { in getStaticInitializer()
127 return new MethodId<>(this, VOID, "<clinit>", new TypeList(new TypeId[0])); in getStaticInitializer()
130 … public <R> MethodId<T, R> getMethod(TypeId<R> returnType, String name, TypeId<?>... parameters) { in getMethod()
131 return new MethodId<>(this, returnType, name, new TypeList(parameters)); in getMethod()
DDexMaker.java263 public Code declare(MethodId<?, ?> method, int flags) { in declare() argument
358 Set<MethodId> methodSet = decl.methods.keySet(); in generateFileName()
577 private final Map<MethodId, MethodDeclaration> methods = new LinkedHashMap<>();
644 final MethodId<?, ?> method;
648 public MethodDeclaration(MethodId<?, ?> method, int flags) { in MethodDeclaration() argument
DCode.java181 private final MethodId<?, ?> method;
640 public <T> void newInstance(Local<T> target, MethodId<T, Void> constructor, Local<?>... args) { in newInstance()
657 public <R> void invokeStatic(MethodId<?, R> method, Local<? super R> target, Local<?>... args) { in invokeStatic() argument
670 public <D, R> void invokeVirtual(MethodId<D, R> method, Local<? super R> target, in invokeVirtual()
684 public <D, R> void invokeDirect(MethodId<D, R> method, Local<? super R> target, in invokeDirect()
696 public <D, R> void invokeSuper(MethodId<D, R> method, Local<? super R> target, in invokeSuper()
709 public <D, R> void invokeInterface(MethodId<D, R> method, Local<? super R> target, in invokeInterface()
714 private <D, R> void invoke(Rop rop, MethodId<D, R> method, Local<? super R> target, in invoke()
DAnnotationId.java128 public void addToMethod(DexMaker dexMaker, MethodId<?, ?> method) { in addToMethod() argument
/external/kotlinx.atomicfu/atomicfu-transformer/src/main/kotlin/kotlinx/atomicfu/transformer/
DAtomicFUTransformer.kt74 data class MethodId(val owner: String, val name: String, val desc: String, val invokeOpcode: Int) { in prettyStr() class
88 private val TRACE_APPEND = MethodId(TRACE_BASE_CLS, "append", getMethodDescriptor(VOID_TYPE, OBJECT…
89 private val TRACE_APPEND_2 = MethodId(TRACE_BASE_CLS, "append", getMethodDescriptor(VOID_TYPE, OBJE…
90 private val TRACE_APPEND_3 = MethodId(TRACE_BASE_CLS, "append", getMethodDescriptor(VOID_TYPE, OBJE…
91 private val TRACE_APPEND_4 = MethodId(TRACE_BASE_CLS, "append", getMethodDescriptor(VOID_TYPE, OBJE…
95 private val TRACE_FACTORY = MethodId(TRACE_KT, TRACE, "(IL$AFU_PKG/$TRACE_FORMAT;)L$AFU_PKG/$TRACE_…
96 private val TRACE_PARTIAL_ARGS_FACTORY = MethodId(TRACE_KT, "$TRACE$DEFAULT", "(IL$AFU_PKG/$TRACE_F…
98 private val FACTORIES: Set<MethodId> = setOf(
99 MethodId(AFU_CLS, ATOMIC, "(Ljava/lang/Object;)L$AFU_PKG/AtomicRef;", INVOKESTATIC),
100 MethodId(AFU_CLS, ATOMIC, "(I)L$AFU_PKG/AtomicInt;", INVOKESTATIC),
[all …]
DAtomicFUTransformerBase.kt36 val method: MethodId, in isClassFile()
DMetadataTransformer.kt15 removeMethods: Set<MethodId> in <lambda>()
/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/examples/
DHelloWorldMaker.java25 import com.android.dx.MethodId;
67 MethodId hello = declaringType.getMethod(TypeId.VOID, "hello"); in generateHelloMethod()
90 MethodId<Integer, String> toHexString in generateHelloMethod()
97 MethodId<PrintStream, Void> printlnMethod = printStreamType.getMethod( in generateHelloMethod()
DFibonacciMaker.java24 import com.android.dx.MethodId;
40 MethodId<?, Integer> fib = fibonacci.getMethod(TypeId.INT, "fib", TypeId.INT); in main()
/external/dexmaker/dexmaker/src/main/java/com/android/dx/stock/
DProxyBuilder.java25 import com.android.dx.MethodId;
468 MethodId<AbstractMethodError, Void> abstractMethodErrorConstructor = in throwAbstractMethodError()
487 MethodId<InvocationHandler, Object> methodInvoke = handlerType.getMethod(TypeId.OBJECT, in generateCodeForAllMethods()
528 MethodId<?, ?> methodId = generatedType.getMethod(resultType, name, argTypes); in generateCodeForAllMethods()
552 MethodId<T, ?> superMethod = null; in generateCodeForAllMethods()
618 MethodId<G, ?> callsSuperMethod = generatedType.getMethod( in generateCodeForAllMethods()
646 private static void invokeSuper(MethodId superMethod, Code superCode, in invokeSuper()
652 MethodId<?, ?> unboxMethod = PRIMITIVE_TYPE_TO_UNBOX_METHOD.get(parameter.getType()); in boxIfRequired()
701 MethodId<?, ?> method = generatedType.getConstructor(types); in generateConstructorsAndFields()
708 MethodId<T, ?> superConstructor = superType.getConstructor(types); in generateConstructorsAndFields()
[all …]
/external/tensorflow/tensorflow/core/tpu/kernels/
Dtpu_compilation_cache_service.cc148 static_cast<int>(ServiceType::MethodId::kGetTpuProgram), in HandleGetTpuProgram()
161 static_cast<int>(ServiceType::MethodId::kGetTpuProgram), in HandleRPCsLoop()
Dtpu_compilation_cache_grpc.h59 enum class MethodId { kGetTpuProgram = 0 }; enum
/external/dexmaker/
DREADME.md67 MethodId hello = declaringType.getMethod(TypeId.VOID, "hello");
90 MethodId<Integer, String> toHexString
97 MethodId<PrintStream, Void> printlnMethod = printStreamType.getMethod(
/external/cronet/base/android/
Djni_android_unittest.cc35 TEST(JNIAndroidMicrobenchmark, MethodId) { in TEST() argument
/external/libchrome/base/android/
Djni_android_unittest.cc34 TEST(JNIAndroidMicrobenchmark, MethodId) { in TEST() argument
/external/lzma/CPP/7zip/Bundles/Format7zExtractR/
Dmakefile29 $O\MethodId.obj \
/external/lzma/CPP/7zip/Bundles/Format7zR/
Dmakefile33 $O\MethodId.obj \
/external/lzma/CPP/7zip/Bundles/Alone7z/
Dmakefile49 $O\MethodId.obj \
DAlone.dsp625 SOURCE=..\..\Common\MethodId.cpp
629 SOURCE=..\..\Common\MethodId.h