Home
last modified time | relevance | path

Searched refs:status (Results 1 – 25 of 82) sorted by relevance

1234

/bionic/libc/bionic/
Derror.cpp51 static void __error_tail(int status, int error) { in __error_tail() argument
59 if (status != 0) { in __error_tail()
60 exit(status); in __error_tail()
64 void error(int status, int error, const char* fmt, ...) { in error() argument
73 __error_tail(status, error); in error()
76 void error_at_line(int status, int error, const char* file, unsigned int line, const char* fmt, ...… in error_at_line() argument
95 __error_tail(status, error); in error_at_line()
Dexit.cpp37 extern "C" __noreturn void __exit_group(int status);
39 __attribute__((no_sanitize("memtag"))) void _exit(int status) { in _exit() argument
40 __exit_group(status); in _exit()
46 void exit(int status) { in exit() argument
49 _exit(status); in exit()
Dwait.cpp34 pid_t wait(int* status) { in wait() argument
35 return wait4(-1, status, 0, nullptr); in wait()
38 pid_t waitpid(pid_t pid, int* status, int options) { in waitpid() argument
39 return wait4(pid, status, options, nullptr); in waitpid()
Dsystem.cpp68 int status; in system() local
69 pid_t pid = TEMP_FAILURE_RETRY(waitpid(child, &status, 0)); in system()
70 return (pid == -1 ? -1 : status); in system()
Dclone.cpp41 extern "C" __noreturn void __exit(int status);
53 int status = (*fn)(arg); in __start_thread() local
54 __exit(status); in __start_thread()
Dndk_cruft.cpp65 pid_t __wait4(pid_t pid, int* status, int options, struct rusage* rusage) { in __wait4() argument
66 return wait4(pid, status, options, rusage); in __wait4()
277 pid_t wait3(int* status, int options, struct rusage* rusage) { in wait3() argument
278 return wait4(-1, status, options, rusage); in wait3()
/bionic/tests/
Dsys_ptrace_test.cpp55 int status; in ~ChildGuard() local
56 TEMP_FAILURE_RETRY(waitpid(pid, &status, 0)); in ~ChildGuard()
181 int status; in run_watchpoint_test() local
182 ASSERT_EQ(child, TEMP_FAILURE_RETRY(waitpid(child, &status, __WALL))) << strerror(errno); in run_watchpoint_test()
183 ASSERT_TRUE(WIFSTOPPED(status)) << "Status was: " << status; in run_watchpoint_test()
184 ASSERT_EQ(SIGSTOP, WSTOPSIG(status)) << "Status was: " << status; in run_watchpoint_test()
194 ASSERT_EQ(child, TEMP_FAILURE_RETRY(waitpid(child, &status, __WALL))) << strerror(errno); in run_watchpoint_test()
195 ASSERT_TRUE(WIFSTOPPED(status)) << "Status was: " << status; in run_watchpoint_test()
196 ASSERT_EQ(SIGTRAP, WSTOPSIG(status)) << "Status was: " << status; in run_watchpoint_test()
355 int status; in TEST() local
[all …]
Dutils.h168 int status; variable
173 ASSERT_EQ(pid, TEMP_FAILURE_RETRY(waitpid(pid, &status, 0))) << *error_msg;
175 ASSERT_TRUE(WIFEXITED(status)) << *error_msg;
176 ASSERT_EQ(expected_exit_status, WEXITSTATUS(status)) << *error_msg;
178 ASSERT_TRUE(WIFSIGNALED(status)) << *error_msg;
179 ASSERT_EQ(-expected_exit_status, WTERMSIG(status)) << *error_msg;
Dfdsan_test.cpp217 int status; in TEST_F() local
218 pid_t wait_result = waitpid(rc, &status, 0); in TEST_F()
220 ASSERT_TRUE(WIFEXITED(status)); in TEST_F()
221 ASSERT_EQ(0, WEXITSTATUS(status)); in TEST_F()
Dstdlib_test.cpp483 int status; in TEST() local
485 status = system("exit 0"); in TEST()
486 ASSERT_TRUE(WIFEXITED(status)); in TEST()
487 ASSERT_EQ(0, WEXITSTATUS(status)); in TEST()
489 status = system("exit 1"); in TEST()
490 ASSERT_TRUE(WIFEXITED(status)); in TEST()
491 ASSERT_EQ(1, WEXITSTATUS(status)); in TEST()
515 int status = system("-minus"); in TEST() local
516 EXPECT_TRUE(WIFEXITED(status)); in TEST()
517 EXPECT_EQ(66, WEXITSTATUS(status)); in TEST()
[all …]
Dfdtrack_test.cpp351 int status;
352 pid_t wait_result = waitpid(rc, &status, 0);
354 ASSERT_TRUE(WIFEXITED(status));
355 ASSERT_EQ(0, WEXITSTATUS(status));
/bionic/libm/amd64/
Dfenv.c114 unsigned short status; in fegetexceptflag() local
120 __asm__ __volatile__ ("fnstsw %0" : "=am" (status)); in fegetexceptflag()
126 *flagp = (status | mxcsr) & excepts; in fegetexceptflag()
192 unsigned short status; in fetestexcept() local
198 __asm__ __volatile__ ("fnstsw %0" : "=am" (status)); in fetestexcept()
203 return ((status | mxcsr) & excepts); in fetestexcept()
349 unsigned short status; in feupdateenv() local
353 __asm__ __volatile__ ("fnstsw %0" : "=am" (status)); in feupdateenv()
362 feraiseexcept(status | mxcsr); in feupdateenv()
/bionic/libc/kernel/uapi/linux/
Dndctl.h11 __u32 status; member
15 __u32 status; member
22 __u32 status; member
36 __u32 status; member
43 __u32 status; member
55 __u32 status; member
59 __u32 status; member
78 __u32 status; member
Dvirtio_gpio.h39 __u8 status; member
43 __u8 status; member
50 __u8 status; member
Dpfrut.h35 __u32 status; member
48 __u32 status; member
55 __u32 status; member
63 __u32 status; member
Dsync_file.h21 __s32 status; member
27 __s32 status; member
Ddns_resolver.h50 __u8 status; member
59 __u8 status; member
Didxd.h161 #define DSA_COMP_STATUS(status) ((status) & DSA_COMP_STATUS_MASK) argument
277 volatile uint8_t status; member
328 volatile uint8_t status; member
Dtimex.h17 int status; member
55 int status; member
/bionic/libm/i387/
Dfenv.c219 __uint16_t status; in feupdateenv() local
221 __fnstsw(&status); in feupdateenv()
228 feraiseexcept((mxcsr | status) & FE_ALL_EXCEPT); in feupdateenv()
307 __uint16_t status; in fegetexceptflag() local
310 __fnstsw(&status); in fegetexceptflag()
316 *flagp = (status | mxcsr) & excepts; in fegetexceptflag()
324 __uint16_t status; in fetestexcept() local
328 __fnstsw(&status); in fetestexcept()
334 return ((status | mxcsr) & excepts); in fetestexcept()
/bionic/tests/libs/
Dtls_properties_helper.cpp97 int status; in test_iterate_another_thread_tls() local
100 assert(pid == wait(&status)); in test_iterate_another_thread_tls()
101 assert(0 == status); in test_iterate_another_thread_tls()
106 assert(parent_pid == waitpid(parent_pid, &status, 0)); in test_iterate_another_thread_tls()
/bionic/libc/upstream-freebsd/lib/libc/stdlib/
Dquick_exit.c74 quick_exit(int status) in quick_exit() argument
86 _Exit(status); in quick_exit()
/bionic/libc/kernel/uapi/rdma/
Dib_user_mad.h14 __u32 status; member
32 __u32 status; member
/bionic/libc/kernel/uapi/sound/
Dfirewire.h24 unsigned int status; member
37 __be32 status; member
/bionic/benchmarks/tests/
Dinterface_test.cpp137 int status; in RunTest() local
138 ASSERT_EQ(pid_, TEMP_FAILURE_RETRY(waitpid(pid_, &status, 0))) << "Test output:\n" << raw_output_; in RunTest()
139 exitcode_ = WEXITSTATUS(status); in RunTest()

1234