Lines Matching refs:Method
149 * Update method's "nativeFunc" and "insns". If "insns" is NULL, the
150 * current method->insns value is not changed.
152 void dvmSetNativeFunc(Method* method, DalvikBridgeFunc func, const u2* insns);
155 * Set the method's "registerMap" field.
157 void dvmSetRegisterMap(Method* method, const RegisterMap* pMap);
160 * Make a method's DexCode (which includes the bytecode) read-write or
165 void dvmMakeCodeReadWrite(Method* meth);
166 void dvmMakeCodeReadOnly(Method* meth);
188 * Store a copy of the method prototype descriptor string
189 * for the given method into the given DexStringCache, returning the
192 INLINE char* dvmCopyDescriptorStringFromMethod(const Method* method,
196 dexProtoGetMethodDescriptor(&method->prototype, pCache);
202 * given method's prototype. For example, if the method descriptor is
206 INLINE int dvmComputeMethodArgsSize(const Method* method)
208 return dexProtoComputeArgsSize(&method->prototype);
212 * Compare the two method prototypes. The two prototypes are compared
215 INLINE int dvmCompareMethodProtos(const Method* method1,
216 const Method* method2)
222 * Compare the two method prototypes, considering only the parameters
226 INLINE int dvmCompareMethodParameterProtos(const Method* method1,
227 const Method* method2)
233 * Compare the two method names and prototypes, a la strcmp(). The
237 int dvmCompareMethodNamesAndProtos(const Method* method1,
238 const Method* method2);
241 * Compare the two method names and prototypes, a la strcmp(), ignoring
246 int dvmCompareMethodNamesAndParameterProtos(const Method* method1,
247 const Method* method2);
250 * Compare a method descriptor string with the prototype of a method,
255 const Method* method)
258 return -dexProtoCompareToDescriptor(&method->prototype, descriptor);
263 * a method, a la strcmp(). The name is considered the "major" order and
268 const DexProto* proto, const Method* method);
271 * Compare a (name, method descriptor) pair with the (name, prototype) of
272 * a method, a la strcmp(). The name is considered the "major" order and
277 const char* descriptor, const Method* method);