Home
last modified time | relevance | path

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

12

/aosp_15_r20/external/grpc-grpc/src/python/grpcio/grpc/
H A D_interceptor.py307 new_method,
315 response, call = self._thunk(new_method).with_call(
372 new_method,
379 return self._thunk(new_method).future(
431 new_method,
438 return self._thunk(new_method)(
509 new_method,
517 response, call = self._thunk(new_method).with_call(
574 new_method,
581 return self._thunk(new_method).future(
[all …]
/aosp_15_r20/art/test/2009-structural-local-ref/
H A Dlocal-ref.cc39 jmethodID new_method = in Java_art_Test2009_NativeLocalCallStatic() local
44 return reinterpret_cast<jstring>(env->CallStaticObjectMethod(obj_klass, new_method)); in Java_art_Test2009_NativeLocalCallStatic()
53 jmethodID new_method = env->GetMethodID(obj_klass, "getGreeting", "()Ljava/lang/String;"); in Java_art_Test2009_NativeLocalCallVirtual() local
57 return reinterpret_cast<jstring>(env->CallObjectMethod(obj, new_method)); in Java_art_Test2009_NativeLocalCallVirtual()
/aosp_15_r20/art/openjdkjvmti/
H A Devents-inl.h518 void** new_method) const {
526 new_method);
527 *new_method = cur_method;
529 *new_method = cur_method;
535 new_method);
536 if (*new_method != nullptr) {
537 cur_method = *new_method;
540 *new_method = cur_method;
H A Dti_redefine.cc963 for (const art::ClassAccessor::Method& new_method : accessor.GetMethods()) { in CheckMethods() local
965 MethodNameAndSignature new_method_id(dex_file_.get(), new_method.GetIndex()); in CheckMethods()
972 if (!new_method.IsStaticOrDirect()) { in CheckMethods()
984 } else if (new_method.GetAccessFlags() != old_iter->GetAccessFlags()) { in CheckMethods()
2803 art::ArtMethod* new_method = in UpdateClassStructurally() local
2805 DCHECK(new_class->GetMethodsSlice(art::kRuntimePointerSize).Contains(new_method)) in UpdateClassStructurally()
2807 DCHECK(new_method->IsNative()); in UpdateClassStructurally()
2808 new_method->SetEntryPointFromJni(m.GetEntryPointFromJni()); in UpdateClassStructurally()
/aosp_15_r20/external/cronet/net/url_request/
H A Dredirect_util_unittest.cc32 const char* new_method; in TEST() member
96 << " new_method: " << test.new_method in TEST()
99 redirect_info.new_method = test.new_method; in TEST()
H A Dredirect_info.h68 std::string new_method; member
H A Dredirect_util.cc38 if (redirect_info.new_method != original_method) { in UpdateHttpRequest()
H A Dredirect_info.cc128 redirect_info.new_method = in ComputeRedirectInfo()
/aosp_15_r20/art/runtime/
H A Druntime_callbacks.cc344 /*out*/void** new_method) { in RegisterNativeMethod() argument
346 *new_method = cur_method; in RegisterNativeMethod()
348 cb->RegisterNativeMethod(method, cur_method, new_method); in RegisterNativeMethod()
349 if (*new_method != nullptr) { in RegisterNativeMethod()
350 cur_method = *new_method; in RegisterNativeMethod()
H A Druntime_image.cc846 ArtMethod* new_method = nullptr; in RelocateImTable() local
850 new_method = Runtime::Current()->GetImtConflictMethod(); in RelocateImTable()
851 DCHECK(IsInBootImage(new_method)); in RelocateImTable()
853 new_method = visitor(method); in RelocateImTable()
855 if (method != new_method) { in RelocateImTable()
856 im_table->Set(i, new_method, kRuntimePointerSize); in RelocateImTable()
/aosp_15_r20/external/pytorch/torch/testing/_internal/optests/
H A Dgenerate_tests.py223 def new_method(*args, **kwargs): function
235 if pytestmark := new_method.__dict__.get("pytestmark"):
261 new_method.__dict__["pytestmark"] = new_pytestmark
265 new_method = dec(new_method)
273 setattr(testcase, new_method_name, new_method)
/aosp_15_r20/external/tensorflow/tensorflow/tools/api/lib/
H A Dpython_object_to_proto_visitor.py228 new_method = proto.member_method.add()
229 new_method.name = member_name
234 new_method.argspec = _SanitizedArgSpec(member_obj)
/aosp_15_r20/external/protobuf/python/
H A Dmox.py1371 def new_method(self, *args, **kwargs): function
1383 new_method.__name__ = func.__name__
1384 new_method.__doc__ = func.__doc__
1385 new_method.__module__ = func.__module__
1386 return new_method
/aosp_15_r20/external/cronet/third_party/protobuf/python/
H A Dmox.py1371 def new_method(self, *args, **kwargs): function
1383 new_method.__name__ = func.__name__
1384 new_method.__doc__ = func.__doc__
1385 new_method.__module__ = func.__module__
1386 return new_method
/aosp_15_r20/external/rust/android-crates-io/crates/mockall_derive/src/
Dmock_item_struct.rs159 fn new_method(&self) -> impl ToTokens { in new_method() method
258 let new_method = self.new_method(); in to_tokens() localVariable
351 #new_method in to_tokens()
/aosp_15_r20/external/google-cloud-java/java-dialogflow/
H A Dowlbot.py56 DEPRECATION_JAVADOC.format(new_method='ofProjectName')
77 DEPRECATION_JAVADOC.format(new_method='ofProjectLocationName')
/aosp_15_r20/art/runtime/jni/
H A Djni_id_manager.cc503 ArtMethod* new_method = in VisitReflectiveTargets() local
505 if (old_method != new_method) { in VisitReflectiveTargets()
506 *it = new_method; in VisitReflectiveTargets()
508 ObjPtr<mirror::Class> new_class(new_method->GetDeclaringClass()); in VisitReflectiveTargets()
523 size_t new_off = ArraySlice<ArtMethod>(new_class->GetMethodsPtr()).OffsetOf(new_method); in VisitReflectiveTargets()
/aosp_15_r20/external/rust/android-crates-io/crates/uniffi_macros/src/export/
Dutrait.rs165 &FnSignature::new_method( in process_uniffi_trait_method()
175 let method_meta = FnSignature::new_method( in process_uniffi_trait_method()
/aosp_15_r20/external/executorch/runtime/executor/test/
H A Dmethod_test.cpp88 Method new_method(std::move(method.get())); in TEST_F() local
95 err = new_method.execute(); in TEST_F()
/aosp_15_r20/art/compiler/optimizing/
H A Dinliner.cc1233 ArtMethod* new_method = nullptr; in TryInlinePolymorphicCallToSameTarget() local
1235 new_method = classes.GetReference(i)->AsClass()->GetImt(pointer_size)->Get( in TryInlinePolymorphicCallToSameTarget()
1237 if (new_method->IsRuntimeMethod()) { in TryInlinePolymorphicCallToSameTarget()
1244 new_method = in TryInlinePolymorphicCallToSameTarget()
1247 DCHECK(new_method != nullptr); in TryInlinePolymorphicCallToSameTarget()
1249 actual_method = new_method; in TryInlinePolymorphicCallToSameTarget()
1250 } else if (actual_method != new_method) { in TryInlinePolymorphicCallToSameTarget()
/aosp_15_r20/art/runtime/jit/
H A Djit_code_cache.cc190 void MoveObsoleteMethod(ArtMethod* old_method, ArtMethod* new_method) { in MoveObsoleteMethod() argument
191 std::replace(methods_.begin(), methods_.end(), old_method, new_method); in MoveObsoleteMethod()
944 void JitCodeCache::MoveObsoleteMethod(ArtMethod* old_method, ArtMethod* new_method) { in MoveObsoleteMethod() argument
952 data.MoveObsoleteMethod(old_method, new_method); in MoveObsoleteMethod()
960 it.second = new_method; in MoveObsoleteMethod()
966 osr_code_map_.Put(new_method, code_map->second); in MoveObsoleteMethod()
972 node.key() = new_method; in MoveObsoleteMethod()
/aosp_15_r20/external/executorch/exir/capture/
H A D_capture.py139 def patch_forward(obj: torch.nn.Module, new_method): argument
149 obj.forward = new_method.__get__(obj, obj.__class__)
/aosp_15_r20/external/webrtc/modules/rtp_rtcp/source/
H A Drtcp_sender.cc197 void RTCPSender::SetRTCPStatus(RtcpMode new_method) { in SetRTCPStatus() argument
200 if (new_method == RtcpMode::kOff) { in SetRTCPStatus()
206 method_ = new_method; in SetRTCPStatus()
/aosp_15_r20/external/cronet/net/websockets/
H A Dwebsocket_stream.cc382 if (redirect_info.new_method != "GET" || in OnReceivedRedirect()
386 << redirect_info.new_method << " " in OnReceivedRedirect()
/aosp_15_r20/external/pytorch/torch/distributed/rpc/
H A Dapi.py541 new_method = method_factory(method_name, docstring) variable
542 setattr(RRef, method_name, new_method)

12