Home
last modified time | relevance | path

Searched refs:cb (Results 1 – 12 of 12) sorted by relevance

/art/runtime/
Druntime_callbacks.cc31 static inline void Remove(T* cb, std::vector<T*>* data) { in Remove() argument
32 auto it = std::find(data->begin(), data->end(), cb); in Remove()
38 void RuntimeCallbacks::AddDdmCallback(DdmCallback* cb) { in AddDdmCallback() argument
39 ddm_callbacks_.push_back(cb); in AddDdmCallback()
42 void RuntimeCallbacks::RemoveDdmCallback(DdmCallback* cb) { in RemoveDdmCallback() argument
43 Remove(cb, &ddm_callbacks_); in RemoveDdmCallback()
47 for (DdmCallback* cb : ddm_callbacks_) { in DdmPublishChunk()
48 cb->DdmPublishChunk(type, data); in DdmPublishChunk()
52 void RuntimeCallbacks::AddDebuggerControlCallback(DebuggerControlCallback* cb) { in AddDebuggerControlCallback() argument
53 debugger_control_callbacks_.push_back(cb); in AddDebuggerControlCallback()
[all …]
Druntime_callbacks.h141 void AddThreadLifecycleCallback(ThreadLifecycleCallback* cb) REQUIRES(Locks::mutator_lock_);
142 void RemoveThreadLifecycleCallback(ThreadLifecycleCallback* cb) REQUIRES(Locks::mutator_lock_);
147 void AddClassLoadCallback(ClassLoadCallback* cb) REQUIRES(Locks::mutator_lock_);
148 void RemoveClassLoadCallback(ClassLoadCallback* cb) REQUIRES(Locks::mutator_lock_);
154 void AddRuntimeSigQuitCallback(RuntimeSigQuitCallback* cb)
156 void RemoveRuntimeSigQuitCallback(RuntimeSigQuitCallback* cb)
161 void AddRuntimePhaseCallback(RuntimePhaseCallback* cb)
163 void RemoveRuntimePhaseCallback(RuntimePhaseCallback* cb)
178 void AddMethodCallback(MethodCallback* cb) REQUIRES(Locks::mutator_lock_);
179 void RemoveMethodCallback(MethodCallback* cb) REQUIRES(Locks::mutator_lock_);
[all …]
/art/test/983-source-transform-verify/
Dsource_transform.cc69 jvmtiEventCallbacks cb; in Java_art_Test983_setupLoadHook() local
70 memset(&cb, 0, sizeof(cb)); in Java_art_Test983_setupLoadHook()
71 cb.ClassFileLoadHook = CheckDexFileHook; in Java_art_Test983_setupLoadHook()
72 JvmtiErrorToException(env, jvmti_env, jvmti_env->SetEventCallbacks(&cb, sizeof(cb))); in Java_art_Test983_setupLoadHook()
/art/test/986-native-method-bind/
Dnative_bind.cc99 jvmtiEventCallbacks cb; in Java_art_Test986_setupNativeBindNotify() local
100 memset(&cb, 0, sizeof(cb)); in Java_art_Test986_setupNativeBindNotify()
101 cb.NativeMethodBind = doJvmtiMethodBind; in Java_art_Test986_setupNativeBindNotify()
102 jvmti_env->SetEventCallbacks(&cb, sizeof(cb)); in Java_art_Test986_setupNativeBindNotify()
/art/test/ti-stress/
Dstress.cc841 jvmtiEventCallbacks cb; in Agent_OnLoad() local
842 memset(&cb, 0, sizeof(cb)); in Agent_OnLoad()
843 cb.ClassFileLoadHook = ClassFileLoadHookSecretNoOp; in Agent_OnLoad()
844 cb.NativeMethodBind = doJvmtiMethodBind; in Agent_OnLoad()
845 cb.VMInit = PerformFinalSetupVMInit; in Agent_OnLoad()
846 cb.MethodEntry = MethodEntryHook; in Agent_OnLoad()
847 cb.MethodExit = MethodExitHook; in Agent_OnLoad()
848 cb.FieldAccess = FieldAccessHook; in Agent_OnLoad()
849 cb.FieldModification = FieldModificationHook; in Agent_OnLoad()
850 cb.ClassPrepare = ClassPrepareHook; in Agent_OnLoad()
[all …]
/art/dt_fd_forward/
Ddt_fd_forward.h85 explicit FdForwardTransport(jdwpTransportCallback* cb);
Ddt_fd_forward.cc72 FdForwardTransport::FdForwardTransport(jdwpTransportCallback* cb) in FdForwardTransport() argument
73 : mem_(*cb), in FdForwardTransport()
759 jdwpTransportCallback* cb, in jdwpTransport_OnLoad() argument
766 void* data = cb->alloc(sizeof(FdForwardTransport)); in jdwpTransport_OnLoad()
772 new (data) FdForwardTransport(cb); in jdwpTransport_OnLoad()
/art/openjdkjvmti/
Dti_heap.cc66 const jvmtiHeapCallbacks* cb, in ReportString() argument
68 if (UNLIKELY(cb->string_primitive_value_callback != nullptr) && obj->IsString()) { in ReportString()
99 jint result = cb->string_primitive_value_callback(class_tag, in ReportString()
118 const jvmtiHeapCallbacks* cb, in ReportPrimitiveArray() argument
120 if (UNLIKELY(cb->array_primitive_value_callback != nullptr) && in ReportPrimitiveArray()
144 result = cb->array_primitive_value_callback(class_tag, in ReportPrimitiveArray()
165 result = cb->array_primitive_value_callback(class_tag, in ReportPrimitiveArray()
489 const jvmtiHeapCallbacks* cb, in Report() argument
492 if (UNLIKELY(cb->primitive_field_callback != nullptr)) { in Report()
494 ReportPrimitiveField rpf(tag_table, class_tag, cb, user_data); in Report()
[all …]
Devents.h92 void CopyExtensionsFrom(const ArtJvmtiEventCallbacks* cb);
94 jvmtiError Set(jint index, jvmtiExtensionEvent cb);
Devents.cc62 void ArtJvmtiEventCallbacks::CopyExtensionsFrom(const ArtJvmtiEventCallbacks* cb) { in CopyExtensionsFrom() argument
68 if (cb != nullptr) { in CopyExtensionsFrom()
69 memcpy(this, cb, sizeof(*this)); in CopyExtensionsFrom()
75 jvmtiError ArtJvmtiEventCallbacks::Set(jint index, jvmtiExtensionEvent cb) { in Set() argument
78 DdmPublishChunk = reinterpret_cast<ArtJvmtiEventDdmPublishChunk>(cb); in Set()
/art/runtime/jit/
Djit.cc278 RuntimeCallbacks* cb = Runtime::Current()->GetRuntimeCallbacks(); in CompileMethod() local
280 if (cb->IsMethodBeingInspected(method) && !cb->IsMethodSafeToJit(method)) { in CompileMethod()
/art/test/dexdump/
Dcheckers.txt774 001b92: 5994 1f00 |00cb: iput v4, v9, Lcom/google/android/checkers/Che…
1538 00258e: 2202 2200 |00cb: new-instance v2, Lcom/google/android/checkers…
1680 00278e: 5990 0e00 |01cb: iput v0, v9, Lcom/google/android/checkers/Che…
2113 002cce: 5b80 0f00 |00cb: iput-object v0, v8, Lcom/google/android/check…
2741 0033fe: 3543 ae01 |001d: if-ge v3, v4, 01cb // +01ae
2972 00375a: d803 1702 |01cb: add-int/lit8 v3, v23, #int 2 // #02
3878 00412e: 1301 1900 |00cb: const/16 v1, #int 25 // #19
4510 004c4e: 3453 cb02 |0063: if-lt v3, v5, 032e // +02cb
4703 004f1e: 3903 1500 |01cb: if-nez v3, 01e0 // +0015
5666 005bbe: 9501 0114 |00cb: and-int v1, v1, v20
[all …]