Home
last modified time | relevance | path

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

/art/test/983-source-transform-verify/
Dexpected-stdout.txt1 Dex file hook for art/Test983$Transform
2 Dex file hook for java/lang/Object
3 Dex file hook for java/lang/ClassLoader
/art/libartbase/base/
Dintrusive_forward_list.h35 explicit IntrusiveForwardListHook(const IntrusiveForwardListHook* hook) : next_hook(hook) { } in IntrusiveForwardListHook()
51 template <typename T, IntrusiveForwardListHook T::* NextPtr = &T::hook>
103 explicit IntrusiveForwardListIterator(const IntrusiveForwardListHook* hook) : hook_(hook) { } in IntrusiveForwardListIterator() argument
398 static IntrusiveForwardListHook* ModifiableHook(const IntrusiveForwardListHook* hook) { in ModifiableHook() argument
399 return const_cast<IntrusiveForwardListHook*>(hook); in ModifiableHook()
460 static T* GetValue(const IntrusiveForwardListHook* hook) { in GetValue() argument
462 reinterpret_cast<uintptr_t>(hook) - OFFSETOF_MEMBERPTR(T, NextPtr)); in GetValue()
474 static T* GetValue(const IntrusiveForwardListHook* hook) { in GetValue() argument
476 const_cast<IntrusiveForwardListHook*>(hook))); in GetValue()
Dintrusive_forward_list_test.cc45 IFLTestValue2(int v) : hook(), value(v) { } // NOLINT(runtime/explicit) in IFLTestValue2()
47 IntrusiveForwardListHook hook; member
/art/test/080-oom-throw/src/
DMain.java37 static InstanceMemEater hook; field in Main.InstanceMemEater
52 hook = instance; in confuseCompilerOptimization()
116 InstanceMemEater.hook = null; in triggerInstanceOOM()
/art/runtime/
Dparsed_options.cc567 const void* hook = options[i].second; in ProcessSpecialOptions() local
568 bool (*hook_is_sensitive_thread)() = reinterpret_cast<bool (*)()>(const_cast<void*>(hook)); in ProcessSpecialOptions()
574 const void* hook = options[i].second; in ProcessSpecialOptions() local
575 if (hook == nullptr) { in ProcessSpecialOptions()
580 reinterpret_cast<int (*)(FILE *, const char*, va_list)>(const_cast<void*>(hook)); in ProcessSpecialOptions()
587 const void* hook = options[i].second; in ProcessSpecialOptions() local
588 if (hook == nullptr) { in ProcessSpecialOptions()
592 void(*hook_exit)(jint) = reinterpret_cast<void(*)(jint)>(const_cast<void*>(hook)); in ProcessSpecialOptions()
598 const void* hook = options[i].second; in ProcessSpecialOptions() local
599 if (hook == nullptr) { in ProcessSpecialOptions()
[all …]
Druntime.h1122 void SetOutOfMemoryErrorHook(void (*hook)()) { in SetOutOfMemoryErrorHook() argument
1123 out_of_memory_error_hook_ = hook; in SetOutOfMemoryErrorHook()
/art/runtime/jni/
Djava_vm_ext.h78 void SetCheckJniAbortHook(void (*hook)(void*, const std::string&), void* data) { in SetCheckJniAbortHook()
79 check_jni_abort_hook_ = hook; in SetCheckJniAbortHook()
215 EXPORT void AddEnvironmentHook(GetEnvHook hook) REQUIRES(!env_hooks_lock_);
Djava_vm_ext.cc557 for (GetEnvHook hook : env_hooks) { in HandleGetEnv() local
558 jint res = hook(this, env, version); in HandleGetEnv()
571 void JavaVMExt::AddEnvironmentHook(GetEnvHook hook) { in AddEnvironmentHook() argument
572 CHECK(hook != nullptr) << "environment hooks shouldn't be null!"; in AddEnvironmentHook()
574 env_hooks_.push_back(hook); in AddEnvironmentHook()
/art/
DPREUPLOAD.cfg18 # hook.
/art/tools/hiddenapi/
DAndroid.bp59 // in cc_defaults because it'd get overridden by the load hook even
/art/test/980-redefine-object/
Dexpected-stdout.txt4 Redefining the Object class to add a hook into the <init> method
/art/dex2oat/
DAndroid.bp277 // it'd get overridden by the load hook even when it uses
333 // it'd get overridden by the load hook even when it uses