Searched refs:hook (Results 1 – 8 of 8) sorted by relevance
1 Dex file hook for art/Test983$Transform2 Dex file hook for java/lang/Object3 Dex file hook for java/lang/ClassLoader
35 explicit IntrusiveForwardListHook(const IntrusiveForwardListHook* hook) : next_hook(hook) { } in IntrusiveForwardListHook()51 template <typename T, IntrusiveForwardListHook T::* NextPtr = &T::hook>98 explicit IntrusiveForwardListIterator(const IntrusiveForwardListHook* hook) : hook_(hook) { } in IntrusiveForwardListIterator() argument393 static IntrusiveForwardListHook* ModifiableHook(const IntrusiveForwardListHook* hook) { in ModifiableHook() argument394 return const_cast<IntrusiveForwardListHook*>(hook); in ModifiableHook()455 static T* GetValue(const IntrusiveForwardListHook* hook) { in GetValue() argument457 reinterpret_cast<uintptr_t>(hook) - OFFSETOF_MEMBERPTR(T, NextPtr)); in GetValue()469 static T* GetValue(const IntrusiveForwardListHook* hook) { in GetValue() argument471 const_cast<IntrusiveForwardListHook*>(hook))); in GetValue()
45 IFLTestValue2(int v) : hook(), value(v) { } // NOLINT(runtime/explicit) in IFLTestValue2()47 IntrusiveForwardListHook hook; member
37 static InstanceMemEater hook; field in Main.InstanceMemEater52 hook = instance; in confuseCompilerOptimization()93 InstanceMemEater.hook = null; in triggerInstanceOOM()
420 const void* hook = options[i].second; in ProcessSpecialOptions() local421 bool (*hook_is_sensitive_thread)() = reinterpret_cast<bool (*)()>(const_cast<void*>(hook)); in ProcessSpecialOptions()427 const void* hook = options[i].second; in ProcessSpecialOptions() local428 if (hook == nullptr) { in ProcessSpecialOptions()433 reinterpret_cast<int (*)(FILE *, const char*, va_list)>(const_cast<void*>(hook)); in ProcessSpecialOptions()440 const void* hook = options[i].second; in ProcessSpecialOptions() local441 if (hook == nullptr) { in ProcessSpecialOptions()445 void(*hook_exit)(jint) = reinterpret_cast<void(*)(jint)>(const_cast<void*>(hook)); in ProcessSpecialOptions()451 const void* hook = options[i].second; in ProcessSpecialOptions() local452 if (hook == nullptr) { in ProcessSpecialOptions()[all …]
73 void SetCheckJniAbortHook(void (*hook)(void*, const std::string&), void* data) { in SetCheckJniAbortHook()74 check_jni_abort_hook_ = hook; in SetCheckJniAbortHook()204 void AddEnvironmentHook(GetEnvHook hook);
530 for (GetEnvHook hook : env_hooks_) { in HandleGetEnv() local531 jint res = hook(this, env, version); in HandleGetEnv()544 void JavaVMExt::AddEnvironmentHook(GetEnvHook hook) { in AddEnvironmentHook() argument545 CHECK(hook != nullptr) << "environment hooks shouldn't be null!"; in AddEnvironmentHook()546 env_hooks_.push_back(hook); in AddEnvironmentHook()
4 Redefining the Object class to add a hook into the <init> method