Home
last modified time | relevance | path

Searched refs:hook (Results 1 – 9 of 9) sorted by relevance

/art/test/983-source-transform-verify/
Dexpected.txt1 Dex file hook for art/Test983$Transform
2 Dex file hook for java/lang/Object
/art/test/080-oom-throw/src/
DMain.java37 static InstanceMemEater hook; field in Main.InstanceMemEater
52 hook = instance; in confuseCompilerOptimization()
93 InstanceMemEater.hook = null; in triggerInstanceOOM()
/art/compiler/utils/
Dintrusive_forward_list.h33 explicit IntrusiveForwardListHook(const IntrusiveForwardListHook* hook) : next_hook(hook) { } in IntrusiveForwardListHook()
45 template <typename T, IntrusiveForwardListHook T::* NextPtr = &T::hook>
87 explicit IntrusiveForwardListIterator(const IntrusiveForwardListHook* hook) : hook_(hook) { } in IntrusiveForwardListIterator() argument
382 static IntrusiveForwardListHook* ModifiableHook(const IntrusiveForwardListHook* hook) { in ModifiableHook() argument
383 return const_cast<IntrusiveForwardListHook*>(hook); in ModifiableHook()
444 static T* GetValue(const IntrusiveForwardListHook* hook) { in GetValue() argument
446 reinterpret_cast<uintptr_t>(hook) - OFFSETOF_MEMBERPTR(T, NextPtr)); in GetValue()
Dintrusive_forward_list_test.cc28 IFLTestValue(int v) : hook(), value(v) { } // NOLINT(runtime/explicit) in IFLTestValue()
30 IntrusiveForwardListHook hook; member
/art/runtime/
Dparsed_options.cc361 const void* hook = options[i].second; in ProcessSpecialOptions() local
362 bool (*hook_is_sensitive_thread)() = reinterpret_cast<bool (*)()>(const_cast<void*>(hook)); in ProcessSpecialOptions()
368 const void* hook = options[i].second; in ProcessSpecialOptions() local
369 if (hook == nullptr) { in ProcessSpecialOptions()
374 reinterpret_cast<int (*)(FILE *, const char*, va_list)>(const_cast<void*>(hook)); in ProcessSpecialOptions()
381 const void* hook = options[i].second; in ProcessSpecialOptions() local
382 if (hook == nullptr) { in ProcessSpecialOptions()
386 void(*hook_exit)(jint) = reinterpret_cast<void(*)(jint)>(const_cast<void*>(hook)); in ProcessSpecialOptions()
392 const void* hook = options[i].second; in ProcessSpecialOptions() local
393 if (hook == nullptr) { in ProcessSpecialOptions()
[all …]
Djava_vm_ext.h72 void SetCheckJniAbortHook(void (*hook)(void*, const std::string&), void* data) { in SetCheckJniAbortHook()
73 check_jni_abort_hook_ = hook; in SetCheckJniAbortHook()
196 void AddEnvironmentHook(GetEnvHook hook);
Djava_vm_ext.cc462 for (GetEnvHook hook : env_hooks_) { in HandleGetEnv() local
463 jint res = hook(this, env, version); in HandleGetEnv()
476 void JavaVMExt::AddEnvironmentHook(GetEnvHook hook) { in AddEnvironmentHook() argument
477 CHECK(hook != nullptr) << "environment hooks shouldn't be null!"; in AddEnvironmentHook()
478 env_hooks_.push_back(hook); in AddEnvironmentHook()
/art/test/980-redefine-object/
Dexpected.txt4 Redefining the Object class to add a hook into the <init> method
/art/compiler/optimizing/
Dnodes.h1486 IntrusiveForwardListHook hook; local