/system/extras/tests/bionic/libc/common/ |
H A D | test_executable_destructor.c | 60 int status; local 91 if (wait(&status) < 0) { 95 if (!WIFSIGNALED(status)) {
|
H A D | test_clone.c | 63 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 D | daemonize.c | 35 int status = 0; local 117 waitpid(pid, &status, 0);
|
/system/core/debuggerd/ |
H A D | utility.c | 55 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 D | sync.h | 31 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 D | setup_fs.c | 16 int status, n; local 56 while ((pid=waitpid(-1, &status, 0)) != child) {
|
/system/vold/ |
H A D | Xwarp.cpp | 44 int Xwarp::status(bool *ready, unsigned *mirrorPos, unsigned *maxSize) { function in class:Xwarp
|
H A D | logwrapper.c | 31 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 D | signal_handler.c | 47 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 D | NetlinkManager.cpp | 119 int status = 0; local 123 status = -1; 134 status = -1; 146 status = -1; 156 return status;
|
H A D | logwrapper.c | 30 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 D | backup_service.c | 41 int status; local 44 waitpid(params->pid, &status, 0);
|
H A D | file_sync_service.h | 75 } status; member in union:__anon274
|
H A D | services.c | 347 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 D | atomic-arm.h | 101 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 D | atomic-mips.h | 77 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 D | atomic-x86.h | 124 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 D | logwrapper.c | 45 " 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 D | protocol.c | 52 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 D | ctest.c | 102 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 D | config_mbr.c | 31 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 D | cd.c | 400 int status; local 430 status = waitforjob(jp); 431 if (status != 0)
|
H A D | error.c | 211 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 D | jobs.h | 64 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 D | miscbltin.c | 98 int status; local 123 status = 0; 128 status = 1; 135 status = 1; 208 return status;
|