Searched defs:status (Results 1 - 25 of 43) sorted by relevance

12

/system/extras/tests/bionic/libc/common/
H A Dtest_executable_destructor.c60 int status; local
91 if (wait(&status) < 0) {
95 if (!WIFSIGNALED(status)) {
H A Dtest_clone.c63 int status; local
75 child = waitpid (pid, &status, 0);
81 printf ("child %d, status 0x%x\n", child, status);
/system/extras/tests/cpueater/
H A Ddaemonize.c35 int status = 0; local
117 waitpid(pid, &status, 0);
/system/core/debuggerd/
H A Dutility.c55 int status; local
56 pid_t n = waitpid(tid, &status, __WALL | WNOHANG);
62 XLOG("waitpid: n=%d status=%08x\n", n, status);
63 if (WIFSTOPPED(status)) {
64 return WSTOPSIG(status);
66 LOG("unexpected waitpid response: n=%d, status=%08x\n", n, status);
/system/core/include/sync/
H A Dsync.h31 int32_t status; member in struct:sync_fence_info_data
39 int32_t status; member in struct:sync_pt_info
/system/extras/ext4_utils/
H A Dsetup_fs.c16 int status, n; local
56 while ((pid=waitpid(-1, &status, 0)) != child) {
/system/vold/
H A DXwarp.cpp44 int Xwarp::status(bool *ready, unsigned *mirrorPos, unsigned *maxSize) { function in class:Xwarp
H A Dlogwrapper.c31 int status; local
73 status = 0xAAAA;
74 if (wait(&status) != -1) { // Wait for child
75 if (WIFEXITED(status)) {
76 if (WEXITSTATUS(status) != 0) {
78 WEXITSTATUS(status));
80 return WEXITSTATUS(status);
81 } else if (WIFSIGNALED(status))
83 WTERMSIG(status));
84 else if (WIFSTOPPED(status))
[all...]
/system/core/init/
H A Dsignal_handler.c47 int status; local
54 while ( (pid = waitpid(-1, &status, block ? 0 : WNOHANG)) == -1 && errno == EINTR );
56 INFO("waitpid returned pid %d, status = %08x\n", pid, status);
/system/netd/
H A DNetlinkManager.cpp119 int status = 0; local
123 status = -1;
134 status = -1;
146 status = -1;
156 return status;
H A Dlogwrapper.c30 int status; local
72 status = 0xAAAA;
73 if (wait(&status) != -1) { // Wait for child
74 if (WIFEXITED(status)) {
75 if (WEXITSTATUS(status) != 0) {
77 WEXITSTATUS(status));
79 return WEXITSTATUS(status);
80 } else if (WIFSIGNALED(status))
82 WTERMSIG(status));
83 else if (WIFSTOPPED(status))
[all...]
/system/core/adb/
H A Dbackup_service.c41 int status; local
44 waitpid(params->pid, &status, 0);
H A Dfile_sync_service.h75 } status; member in union:__anon274
H A Dservices.c347 int status; local
348 pid_t p = waitpid(pid, &status, 0);
350 D("fd=%d, post waitpid(pid=%d) status=%04x\n", fd, p, status);
351 if (WIFSIGNALED(status)) {
352 D("*** Killed by signal %d\n", WTERMSIG(status));
354 } else if (!WIFEXITED(status)) {
355 D("*** Didn't exit!!. status %d\n", status);
357 } else if (WEXITSTATUS(status) >
[all...]
/system/core/include/cutils/
H A Datomic-arm.h101 int32_t prev, status; local
107 : "=&r" (prev), "=&r" (status), "+m"(*ptr)
110 } while (__builtin_expect(status != 0, 0));
118 int32_t prev, status; local
121 status = (*(kuser_cmpxchg *)0xffff0fc0)(old_value, new_value, ptr);
122 if (__builtin_expect(status == 0, 1))
134 int status = android_atomic_cas(old_value, new_value, ptr); local
136 return status;
155 int32_t prev, tmp, status; local
162 "=&r" (status), "
172 int32_t prev, status; local
197 int32_t prev, tmp, status; local
213 int32_t prev, status; local
228 int32_t prev, tmp, status; local
244 int32_t prev, status; local
[all...]
H A Datomic-mips.h77 int32_t prev, status; local
81 " li %[status], 1\n"
83 " move %[status], %[new_value]\n"
84 " sc %[status], (%[ptr])\n"
86 : [prev] "=&r" (prev), [status] "=&r" (status)
89 } while (__builtin_expect(status == 0, 0));
97 int status = android_atomic_cas(old_value, new_value, ptr); local
99 return status;
114 int32_t prev, status; local
131 int32_t prev, status; local
157 int32_t prev, status; local
173 int32_t prev, status; local
[all...]
H A Datomic-x86.h124 int32_t prev, status; local
127 status = android_atomic_cas(prev, prev & value, ptr);
128 } while (__builtin_expect(status != 0, 0));
134 int32_t prev, status; local
137 status = android_atomic_cas(prev, prev | value, ptr);
138 } while (__builtin_expect(status != 0, 0));
/system/core/logwrapper/
H A Dlogwrapper.c45 " fault address is set to the status of wait()\n");
49 int status; local
94 status = 0xAAAA;
95 if (wait(&status) != -1) { // Wait for child
96 if (WIFEXITED(status) && WEXITSTATUS(status))
98 WEXITSTATUS(status));
99 else if (WIFSIGNALED(status))
101 WTERMSIG(status));
102 else if (WIFSTOPPED(status))
[all...]
/system/core/fastboot/
H A Dprotocol.c52 unsigned char status[65]; local
56 r = usb_read(usb, status, 64);
58 sprintf(ERROR, "status read failed (%s)", strerror(errno));
62 status[r] = 0;
65 sprintf(ERROR, "status malformed (%d bytes)", r);
70 if(!memcmp(status, "INFO", 4)) {
71 fprintf(stderr,"(bootloader) %s\n", status + 4);
75 if(!memcmp(status, "OKAY", 4)) {
77 strcpy(response, (char*) status + 4);
82 if(!memcmp(status, "FAI
[all...]
/system/core/libctest/
H A Dctest.c102 int status; local
103 waitpid(pid, &status, 0);
105 if (!WIFEXITED(status)) {
109 return WEXITSTATUS(status);
132 fprintf(suite->out, "Process failed: [%s] status: %d\n",
/system/core/libdiskconfig/
H A Dconfig_mbr.c31 cfg_pentry(struct pc_partition *pentry, uint8_t status, uint8_t type, argument
45 pentry->status = status;
50 ALOGI("Configuring pentry. status=0x%x type=0x%x start_lba=%u len_lba=%u",
51 pentry->status, pentry->type, pentry->start_lba, pentry->len_lba);
/system/core/sh/
H A Dcd.c400 int status; local
430 status = waitforjob(jp);
431 if (status != 0)
H A Derror.c211 sh_err(int status, const char *fmt, ...) argument
218 sh_exit(status);
222 sh_verr(int status, const char *fmt, va_list ap) argument
225 sh_exit(status);
229 sh_errx(int status, const char *fmt, ...) argument
236 sh_exit(status);
240 sh_verrx(int status, const char *fmt, va_list ap) argument
243 sh_exit(status);
H A Djobs.h64 int status; /* last process status from wait() */ member in struct:procstat
69 struct procstat ps0; /* status of process */
70 struct procstat *ps; /* status or processes when more than one */
78 char changed; /* true if status has changed */
H A Dmiscbltin.c98 int status; local
123 status = 0;
128 status = 1;
135 status = 1;
208 return status;

Completed in 203 milliseconds

12