Home
last modified time | relevance | path

Searched refs:Panic (Results 1 – 13 of 13) sorted by relevance

/ndk/sources/android/crazy_linker/tests/
Dtest_jni_hooks.cpp32 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()
Dtest_shared_relro.cpp45 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()
Dtest_relocated_shared_relro.cpp36 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()
Dtest_util.h35 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 …]
Dtest_two_shared_relros.cpp50 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()
Dbench_load_library.cpp20 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()
Dtest_constructors_destructors.cpp35 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()
Dtest_dl_wrappers.cpp28 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()
Dtest_load_library_callbacks.cpp36 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()
Dtest_load_library_depends.cpp28 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()
Dtest_load_library.cpp27 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()
Dtest_search_path_list.cpp28 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/
Dcrazy_linker_system_mock.cpp22 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()