OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:at_quick_exit
(Results
1 - 25
of
47
) sorted by null
1
2
/system/core/base/include/android-base/
quick_exit.h
21
// Provide emulation for
at_quick_exit
/quick_exit on platforms that don't have it.
28
int
at_quick_exit
(void (*func)());
30
using ::
at_quick_exit
;
/external/libcxx/test/std/language.support/support.start.term/
quick_exit_check1.fail.cpp
11
// test that referencing
at_quick_exit
when _LIBCPP_HAS_QUICK_EXIT is not defined
21
std::
at_quick_exit
(f);
quick_exit.pass.cpp
11
// test quick_exit and
at_quick_exit
20
std::
at_quick_exit
(f);
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/language.support/support.start.term/
quick_exit_check1.fail.cpp
11
// test that referencing
at_quick_exit
when _LIBCPP_HAS_QUICK_EXIT is not defined
21
std::
at_quick_exit
(f);
quick_exit.pass.cpp
11
// test quick_exit and
at_quick_exit
20
std::
at_quick_exit
(f);
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/language.support/support.start.term/
quick_exit.pass.cpp
12
// test quick_exit and
at_quick_exit
22
std::
at_quick_exit
(f);
/system/core/base/
quick_exit_test.cpp
30
// tests (including ones not in this file!). Exit with 0 in Exiter and stick the
at_quick_exit
test
47
TEST(quick_exit,
at_quick_exit
) {
49
// "Functions passed to
at_quick_exit
are called in reverse order of their registration."
50
ASSERT_EQ(0, android::base::
at_quick_exit
([]() { _exit(counter); }));
51
ASSERT_EQ(0, android::base::
at_quick_exit
([]() { counter += 2; }));
52
ASSERT_EQ(0, android::base::
at_quick_exit
([]() { counter *= 10; }));
quick_exit.cpp
38
int
at_quick_exit
(void (*func)()) {
function in namespace:android::base
/bionic/libc/upstream-freebsd/lib/libc/stdlib/
quick_exit.c
52
at_quick_exit
(void (*func)(void))
function
/prebuilts/ndk/r13/sources/android/support/include/
stdlib.h
54
int
at_quick_exit
(void (*)(void));
/development/ndk/platforms/android-21/include/
stdlib.h
50
int
at_quick_exit
(void (*)(void));
/prebuilts/ndk/r10/platforms/android-21/arch-arm/usr/include/
stdlib.h
50
int
at_quick_exit
(void (*)(void));
/prebuilts/ndk/r10/platforms/android-21/arch-arm64/usr/include/
stdlib.h
50
int
at_quick_exit
(void (*)(void));
/prebuilts/ndk/r10/platforms/android-21/arch-mips/usr/include/
stdlib.h
50
int
at_quick_exit
(void (*)(void));
/prebuilts/ndk/r10/platforms/android-21/arch-mips64/usr/include/
stdlib.h
50
int
at_quick_exit
(void (*)(void));
/prebuilts/ndk/r10/platforms/android-21/arch-x86/usr/include/
stdlib.h
50
int
at_quick_exit
(void (*)(void));
/prebuilts/ndk/r10/platforms/android-21/arch-x86_64/usr/include/
stdlib.h
50
int
at_quick_exit
(void (*)(void));
/prebuilts/ndk/r10/platforms/android-23/arch-arm/usr/include/
stdlib.h
50
int
at_quick_exit
(void (*)(void));
/prebuilts/ndk/r10/platforms/android-23/arch-arm64/usr/include/
stdlib.h
50
int
at_quick_exit
(void (*)(void));
/prebuilts/ndk/r10/platforms/android-23/arch-mips/usr/include/
stdlib.h
50
int
at_quick_exit
(void (*)(void));
/prebuilts/ndk/r10/platforms/android-23/arch-mips64/usr/include/
stdlib.h
50
int
at_quick_exit
(void (*)(void));
/prebuilts/ndk/r10/platforms/android-23/arch-x86/usr/include/
stdlib.h
50
int
at_quick_exit
(void (*)(void));
/prebuilts/ndk/r10/platforms/android-23/arch-x86_64/usr/include/
stdlib.h
50
int
at_quick_exit
(void (*)(void));
/prebuilts/ndk/r11/platforms/android-21/arch-arm/usr/include/
stdlib.h
50
int
at_quick_exit
(void (*)(void));
/prebuilts/ndk/r11/platforms/android-21/arch-arm64/usr/include/
stdlib.h
50
int
at_quick_exit
(void (*)(void));
Completed in 749 milliseconds
1
2