/ndk/sources/android/crazy_linker/tests/ |
D | test_jni_hooks.cpp | 32 Panic("Could not open library: %s\n", crazy_context_get_error(context)); in main() 36 Panic("JNI_OnLoad() hook was not called! %s is %s\n", VARNAME, env); in main() 41 Panic("JNI_OnUnload() hook was not called! %s is %s\n", VARNAME, env); in main() 49 Panic("Could load the library with JNI_VERSION_1_6 > JNI_VERSION_1_2."); in main() 57 Panic("Could not load the library without a JavaVM handle !?\n"); in main() 61 Panic("JNI_OnLoad() was called, %s is %s (expected INIT)\n", VARNAME, env); in main() 66 Panic( in main()
|
D | test_shared_relro.cpp | 45 Panic("Could not create socket pair: %s", strerror(errno)); in main() 49 Panic("Could not fork test program!"); in main() 65 Panic("Could not find 'Foo' in library"); in main() 93 Panic("Child terminated by signal!!\n"); in main() 97 Panic("Child terminated with status=%d\n", child_status); in main() 99 Panic("Child exited for unknown reason!!\n"); in main()
|
D | test_relocated_shared_relro.cpp | 36 Panic("Could not create socket pair: %s", strerror(errno)); in main() 40 Panic("Could not fork test program!"); in main() 59 Panic("Could not find 'Foo' in library"); in main() 93 Panic("Child terminated by signal!!\n"); in main() 97 Panic("Child terminated with status=%d\n", child_status); in main() 99 Panic("Child exited for unknown reason!!\n"); in main()
|
D | test_util.h | 35 inline void Panic(const char* fmt, ...) { in Panic() function 138 Panic("Could not create temporary directory name: %s\n", strerror(errno)); in TempDirectory() 140 Panic("Could not create temporary directory %s: %s\n", strerror(errno)); in TempDirectory() 147 Panic("Could not open directory %s: %s\n", strerror(errno)); in ~TempDirectory() 156 Panic("Could not remove %s: %s\n", file_path.c_str(), strerror(errno)); in ~TempDirectory() 161 Panic("Could not remove dir %s: %s\n", path_, strerror(errno)); in ~TempDirectory() 185 Panic("Could not open file for reading: %s: %s\n", path, strerror(errno)); in Open() 201 Panic("Could not read /proc/self/exe: %s\n", strerror(errno)); in GetCurrentExecutable() 212 Panic("Current executable does not have directory root?: %s\n", in GetCurrentExecutableDirectory() 242 Panic("Wrote %d bytes instead of %d into %s\n", in CopyFile() [all …]
|
D | test_two_shared_relros.cpp | 50 Panic("Could not create socket pair: %s", strerror(errno)); in main() 54 Panic("Could not fork test program!"); in main() 74 Panic("Could not find 'Bar' in library"); in main() 107 Panic("Child terminated by signal!!\n"); in main() 111 Panic("Child terminated with status=%d\n", child_status); in main() 113 Panic("Child exited for unknown reason!!\n"); in main()
|
D | bench_load_library.cpp | 20 static void Panic(const char* fmt, ...) { in Panic() function 78 Panic("Could not load library with dlopen(): %s\n", dlerror()); in main() 95 Panic("Could not open library: %s\n", crazy_context_get_error(context)); in main() 107 Panic("Could not open library: %s\n", crazy_context_get_error(context)); in main() 123 Panic("Could not open library: %s\n", crazy_context_get_error(context)); in main() 138 Panic("Could not open library: %s\n", crazy_context_get_error(context)); in main() 142 Panic("Could not create shared RELRO: %s\n", in main()
|
D | test_constructors_destructors.cpp | 35 Panic("Could not open library: %s\n", crazy_context_get_error(context)); in main() 40 Panic( in main() 47 Panic("Could not find 'Foo' in libfoo.so\n"); in main() 59 Panic( in main()
|
D | test_dl_wrappers.cpp | 28 Panic("Could not open library: %s\n", crazy_context_get_error(context)); in main() 35 Panic("Could not find 'Zoo' in libzoo.so\n"); in main() 41 Panic("'Zoo' function failed!"); in main()
|
D | test_load_library_callbacks.cpp | 36 Panic("Post for delayed execution not invoked\n"); in CheckAndRunCallback() 65 Panic("Get callback poster error\n"); in main() 70 Panic("Could not open library: %s\n", crazy_context_get_error(context)); in main() 78 Panic("Could not find 'Foo' in libfoo.so\n"); in main()
|
D | test_load_library_depends.cpp | 28 Panic("Could not open library: %s\n", crazy_context_get_error(context)); in main() 35 Panic("Could not find 'Bar' in libbar.so\n"); in main() 45 Panic("Could not find 'Foo' from libbar.so\n"); in main()
|
D | test_load_library.cpp | 27 Panic("Could not open library: %s\n", crazy_context_get_error(context)); in main() 34 Panic("Could not find 'Foo' in libfoo.so\n"); in main()
|
D | test_search_path_list.cpp | 28 Panic("Could load library %s, expected this not to be possible\n", in CheckLibraryCantLoad() 45 Panic("Could not open library %s: %s\n", crazy_context_get_error(context)); in CheckLibrary() 78 Panic("Found %d symbol failures in library %s\n", failures, library_name); in CheckLibrary()
|
/ndk/sources/android/crazy_linker/src/ |
D | crazy_linker_system_mock.cpp | 22 void Panic(const char* msg, ...) { in Panic() function 137 Panic("No mock file system setup!"); in Check() 142 Panic("Double mock file system activation!"); in Activate() 149 Panic("Double mock file system deactivation!"); in Deactivate() 266 Panic("Unsupported open mode (%d): %s", open_mode, path); in NewMockFileHandle() 270 Panic("Missing mock file entry: %s", path); in NewMockFileHandle()
|