Home
last modified time | relevance | path

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

123

/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()
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()
Dlibc_init_common.cpp156 int status = TEMP_FAILURE_RETRY(fcntl(i, F_GETFL)); in __nullify_closed_stdio() local
157 if (status != -1) { in __nullify_closed_stdio()
167 status = TEMP_FAILURE_RETRY(dup2(dev_null, i)); in __nullify_closed_stdio()
168 if (status == -1) { in __nullify_closed_stdio()
Dndk_cruft.cpp61 extern "C" pid_t __wait4(pid_t pid, int* status, int options, struct rusage* rusage) { in __wait4() argument
62 return wait4(pid, status, options, rusage); in __wait4()
271 extern "C" pid_t wait3(int* status, int options, struct rusage* rusage) { in wait3() argument
272 return wait4(-1, status, options, rusage); in wait3()
/bionic/libc/stdlib/
Dexit.c54 exit(int status) in exit() argument
65 _exit(status); in exit()
/bionic/tools/relocation_packer/src/
Dmain.cc119 bool status = false; in main() local
126 status = elf_file.UnpackRelocations(); in main()
128 status = elf_file.PackRelocations(); in main()
135 status = elf_file.UnpackRelocations(); in main()
137 status = elf_file.PackRelocations(); in main()
144 if (!status) { in main()
/bionic/tests/
Dpty_test.cpp61 int status; in TEST() local
62 ASSERT_EQ(pid, waitpid(pid, &status, 0)); in TEST()
63 ASSERT_TRUE(WIFEXITED(status)); in TEST()
64 ASSERT_EQ(0, WEXITSTATUS(status)); in TEST()
Dstdlib_test.cpp274 int status; in TEST() local
276 status = system("exit 0"); in TEST()
277 ASSERT_TRUE(WIFEXITED(status)); in TEST()
278 ASSERT_EQ(0, WEXITSTATUS(status)); in TEST()
280 status = system("exit 1"); in TEST()
281 ASSERT_TRUE(WIFEXITED(status)); in TEST()
282 ASSERT_EQ(1, WEXITSTATUS(status)); in TEST()
326 int status; in TEST() local
327 ASSERT_EQ(pid, waitpid(pid, &status, 0)); in TEST()
328 ASSERT_TRUE(WIFEXITED(status)); in TEST()
[all …]
Dpthread_dlfcn_test.cpp67 int status; in TEST() local
68 ASSERT_EQ(pid, waitpid(pid, &status, 0)); in TEST()
82 ASSERT_EQ(pid, waitpid(pid, &status, 0)); in TEST()
Dunistd_test.cpp242 int status; in TEST() local
243 ASSERT_EQ(pid, waitpid(pid, &status, 0)); in TEST()
244 ASSERT_TRUE(WIFEXITED(status)); in TEST()
245 ASSERT_EQ(99, WEXITSTATUS(status)); in TEST()
420 int status; in TEST() local
421 ASSERT_EQ(fork_result, waitpid(fork_result, &status, 0)); in TEST()
422 ASSERT_TRUE(WIFEXITED(status)); in TEST()
423 ASSERT_EQ(123, WEXITSTATUS(status)); in TEST()
446 int status; in TEST() local
447 ASSERT_EQ(clone_result, waitpid(clone_result, &status, 0)); in TEST()
[all …]
Ddlext_test.cpp357 int status; in CreateRelroFile() local
358 ASSERT_EQ(pid, waitpid(pid, &status, 0)); in CreateRelroFile()
359 ASSERT_TRUE(WIFEXITED(status)); in CreateRelroFile()
360 ASSERT_EQ(0, WEXITSTATUS(status)); in CreateRelroFile()
527 int status; in SpawnChildrenAndMeasurePss() local
528 ASSERT_EQ(childpid[i], waitpid(childpid[i], &status, 0)); in SpawnChildrenAndMeasurePss()
529 ASSERT_TRUE(WIFEXITED(status)); in SpawnChildrenAndMeasurePss()
530 ASSERT_EQ(0, WEXITSTATUS(status)); in SpawnChildrenAndMeasurePss()
/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/tools/bionicbb/
Dbionicbb.py42 status = result['build']['status']
50 logging.debug('%s #%s %s: %s', name, number, status, full_url)
56 name, number, status, go_url)]
57 if status == 'FAILURE':
67 if status == 'FAILURE':
69 elif status == 'SUCCESS':
/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
/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/sound/
Dfirewire.h34 unsigned int status; member
50 __be32 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/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/asm-x86/asm/
Dmce.h25 __u64 status; member
Dsigcontext32.h50 unsigned short status; member

123