Searched refs:hook (Results 1 - 6 of 6) sorted by relevance

/art/test/080-oom-throw/src/
H A DMain.java37 static InstanceMemEater hook; field in class:Main.InstanceMemEater
52 hook = instance;
93 InstanceMemEater.hook = null;
/art/compiler/utils/
H A Dintrusive_forward_list.h35 explicit IntrusiveForwardListHook(const IntrusiveForwardListHook* hook) : next_hook(hook) { } argument
37 // Allow copyable values but do not copy the hook, it is not part of the value.
51 template <typename T, IntrusiveForwardListHook T::* NextPtr = &T::hook>
98 explicit IntrusiveForwardListIterator(const IntrusiveForwardListHook* hook) : hook_(hook) { } argument
267 // Otherwise we need to find the position before last to fix up the hook.
393 static IntrusiveForwardListHook* ModifiableHook(const IntrusiveForwardListHook* hook) { argument
394 return const_cast<IntrusiveForwardListHook*>(hook);
455 static T* GetValue(const IntrusiveForwardListHook* hook) { argument
469 GetValue(const IntrusiveForwardListHook* hook) argument
[all...]
H A Dintrusive_forward_list_test.cc45 IFLTestValue2(int v) : hook(), value(v) { } // NOLINT(runtime/explicit)
47 IntrusiveForwardListHook hook; member in struct:art::IFLTestValue2
/art/runtime/
H A Djava_vm_ext.h73 void SetCheckJniAbortHook(void (*hook)(void*, const std::string&), void* data) { argument
74 check_jni_abort_hook_ = hook;
198 void AddEnvironmentHook(GetEnvHook hook);
H A Dparsed_options.cc394 const void* hook = options[i].second; local
395 bool (*hook_is_sensitive_thread)() = reinterpret_cast<bool (*)()>(const_cast<void*>(hook));
401 const void* hook = options[i].second; local
402 if (hook == nullptr) {
407 reinterpret_cast<int (*)(FILE *, const char*, va_list)>(const_cast<void*>(hook));
414 const void* hook = options[i].second; local
415 if (hook == nullptr) {
419 void(*hook_exit)(jint) = reinterpret_cast<void(*)(jint)>(const_cast<void*>(hook));
425 const void* hook = options[i].second; local
426 if (hook
[all...]
H A Djava_vm_ext.cc500 for (GetEnvHook hook : env_hooks_) {
501 jint res = hook(this, env, version);
513 // Add a hook to handle getting environments from the GetEnv call.
514 void JavaVMExt::AddEnvironmentHook(GetEnvHook hook) { argument
515 CHECK(hook != nullptr) << "environment hooks shouldn't be null!";
516 env_hooks_.push_back(hook);

Completed in 853 milliseconds