Home
last modified time | relevance | path

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

12

/bionic/libc/private/
Dbionic_atomic_arm.h33 int32_t prev, status; in __bionic_cmpxchg() local
43 : "=&r" (prev), "=&r" (status), "+m"(*ptr) in __bionic_cmpxchg()
46 } while (__builtin_expect(status != 0, 0)); in __bionic_cmpxchg()
52 int32_t prev, status; in __bionic_swap() local
57 : "=&r" (prev), "=&r" (status), "+m" (*ptr) in __bionic_swap()
60 } while (__builtin_expect(status != 0, 0)); in __bionic_swap()
66 int32_t prev, tmp, status; in __bionic_atomic_dec() local
72 : "=&r" (prev), "=&r" (tmp), "=&r" (status), "+m"(*ptr) in __bionic_atomic_dec()
75 } while (__builtin_expect(status != 0, 0)); in __bionic_atomic_dec()
Dbionic_atomic_mips.h37 int32_t prev, status; in __bionic_cmpxchg() local
44 : [prev]"=&r"(prev), [status]"=&r"(status), "+m"(*ptr) in __bionic_cmpxchg()
52 int32_t prev, status; in __bionic_swap() local
57 : [prev]"=&r"(prev), [status]"=&r"(status), "+m"(*ptr) in __bionic_swap()
65 int32_t prev, status; in __bionic_atomic_dec() local
70 : [prev]"=&r" (prev), [status]"=&r"(status), "+m" (*ptr) in __bionic_atomic_dec()
Dbionic_atomic_arm64.h46 int32_t prev, status; in __bionic_swap() local
52 : "=&r" (prev), "=&r" (status), "+o" (*ptr) in __bionic_swap()
60 int32_t prev, tmp, status; in __bionic_atomic_dec() local
66 : "=&r" (prev), "=&r" (tmp), "=&r" (status), "+m"(*ptr) in __bionic_atomic_dec()
/bionic/libc/bionic/
Dwait.cpp34 pid_t wait(int* status) { in wait() argument
35 return wait4(-1, status, 0, NULL); in wait()
38 pid_t waitpid(pid_t pid, int* status, int options) { in waitpid() argument
39 return wait4(pid, status, options, NULL); in waitpid()
Dclone.cpp37 extern "C" __noreturn void __exit(int status);
41 int status = (*fn)(arg); in __start_thread() local
42 __exit(status); in __start_thread()
Dndk_cruft.cpp56 extern "C" pid_t __wait4(pid_t pid, int* status, int options, struct rusage* rusage) { in __wait4() argument
57 return wait4(pid, status, options, rusage); in __wait4()
256 extern "C" pid_t wait3(int* status, int options, struct rusage* rusage) { in wait3() argument
257 return wait4(-1, status, options, rusage); in wait3()
/bionic/libc/upstream-openbsd/lib/libc/stdlib/
Dexit.c51 exit(int status) in exit() argument
58 _exit(status); in exit()
/bionic/tests/
Dstdlib_test.cpp179 int status; in TEST() local
181 status = system("exit 0"); in TEST()
182 ASSERT_TRUE(WIFEXITED(status)); in TEST()
183 ASSERT_EQ(0, WEXITSTATUS(status)); in TEST()
185 status = system("exit 1"); in TEST()
186 ASSERT_TRUE(WIFEXITED(status)); in TEST()
187 ASSERT_EQ(1, WEXITSTATUS(status)); in TEST()
214 int status; in TEST() local
215 ASSERT_EQ(pid, waitpid(pid, &status, 0)); in TEST()
216 ASSERT_TRUE(WIFEXITED(status)); in TEST()
[all …]
Dunistd_test.cpp236 int status; in TEST() local
237 ASSERT_EQ(pid, waitpid(pid, &status, 0)); in TEST()
238 ASSERT_TRUE(WIFEXITED(status)); in TEST()
239 ASSERT_EQ(99, WEXITSTATUS(status)); in TEST()
416 int status; in TEST() local
417 ASSERT_EQ(fork_result, waitpid(fork_result, &status, 0)); in TEST()
418 ASSERT_TRUE(WIFEXITED(status)); in TEST()
419 ASSERT_EQ(123, WEXITSTATUS(status)); in TEST()
442 int status; in TEST() local
443 ASSERT_EQ(clone_result, waitpid(clone_result, &status, 0)); in TEST()
[all …]
Ddlext_test.cpp281 int status; in CreateRelroFile() local
282 ASSERT_EQ(pid, waitpid(pid, &status, 0)); in CreateRelroFile()
283 ASSERT_TRUE(WIFEXITED(status)); in CreateRelroFile()
284 ASSERT_EQ(0, WEXITSTATUS(status)); in CreateRelroFile()
436 int status; in SpawnChildrenAndMeasurePss() local
437 ASSERT_EQ(childpid[i], waitpid(childpid[i], &status, 0)); in SpawnChildrenAndMeasurePss()
438 ASSERT_TRUE(WIFEXITED(status)); in SpawnChildrenAndMeasurePss()
439 ASSERT_EQ(0, WEXITSTATUS(status)); in SpawnChildrenAndMeasurePss()
Dsched_test.cpp36 int status; in TEST() local
37 ASSERT_EQ(tid, TEMP_FAILURE_RETRY(waitpid(tid, &status, __WCLONE))); in TEST()
41 ASSERT_TRUE(WIFEXITED(status)); in TEST()
42 ASSERT_EQ(123, WEXITSTATUS(status)); in TEST()
/bionic/libm/amd64/
Dfenv.c107 unsigned short status; in fegetexceptflag() local
113 __asm__ __volatile__ ("fnstsw %0" : "=am" (status)); in fegetexceptflag()
119 *flagp = (status | mxcsr) & excepts; in fegetexceptflag()
185 unsigned short status; in fetestexcept() local
191 __asm__ __volatile__ ("fnstsw %0" : "=am" (status)); in fetestexcept()
196 return ((status | mxcsr) & excepts); in fetestexcept()
342 unsigned short status; in feupdateenv() local
346 __asm__ __volatile__ ("fnstsw %0" : "=am" (status)); in feupdateenv()
355 feraiseexcept(status | mxcsr); in feupdateenv()
/bionic/libc/kernel/uapi/linux/
Dsync.h35 __s32 status; member
44 __s32 status; member
Ddlm_netlink.h40 __s8 status; member
Dusbdevice_fs.h80 unsigned int status; member
86 int status; member
Dvirtio_net.h57 __u16 status; member
Dfsl_hypervisor.h31 __u32 status; member
/bionic/libc/upstream-freebsd/lib/libc/stdlib/
Dquick_exit.c69 quick_exit(int status) in quick_exit() argument
79 _Exit(status); in quick_exit()
/bionic/libm/i387/
Dfenv.c200 __uint16_t status; in feupdateenv() local
202 __fnstsw(&status); in feupdateenv()
209 feraiseexcept((mxcsr | status) & FE_ALL_EXCEPT); in feupdateenv()
288 __uint16_t status; in fegetexceptflag() local
291 __fnstsw(&status); in fegetexceptflag()
297 *flagp = (status | mxcsr) & excepts; in fegetexceptflag()
305 __uint16_t status; in fetestexcept() local
309 __fnstsw(&status); in fetestexcept()
315 return ((status | mxcsr) & excepts); in fetestexcept()
/bionic/libc/kernel/uapi/rdma/
Dib_user_mad.h27 __u32 status; member
50 __u32 status; member
Dib_user_cm.h165 __u32 status; member
210 __u32 status; member
284 __u32 status; member
294 __u32 status; member
/bionic/libc/kernel/uapi/sound/
Dfirewire.h31 unsigned int status; member
/bionic/libc/tzcode/
Dprivate.h97 #define WIFEXITED(status) (((status) & 0xff) == 0) argument
100 #define WEXITSTATUS(status) (((status) >> 8) & 0xff) argument
/bionic/libc/kernel/uapi/asm-x86/asm/
Dmce.h25 __u64 status; member
Dsigcontext32.h50 unsigned short status; member

12