/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/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/core/logwrapper/include/logwrap/ |
H A D | logwrap.h | 39 * status: the equivalent child status as populated by wait(status). This 58 * 0 when logwrap successfully run the child process and captured its status 60 * -ECHILD if status is NULL and the child didn't exit properly 61 * the return value of the child if it exited properly and status is NULL 71 int android_fork_execvp_ext(int argc, char* argv[], int *status, bool ignore_int_quit, 78 static inline int android_fork_execvp(int argc, char* argv[], int *status, argument 81 return android_fork_execvp_ext(argc, argv, status, ignore_int_quit,
|
/system/core/logwrapper/ |
H A D | logwrapper.c | 45 " fault address is set to the status of wait()\n" 55 int status = 0xAAAA; local 82 rc = android_fork_execvp_ext(argc, &argv[0], &status, true, 85 if (WIFEXITED(status)) 86 rc = WEXITSTATUS(status); 92 *(int *)status = 0; // causes SIGSEGV with fault_address = status
|
/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 | Ext4.cpp | 74 int status; local 81 rc = android_fork_execvp(ARRAY_SIZE(args), (char **)args, &status, false, 89 if (!WIFEXITED(status)) { 95 status = WEXITSTATUS(status); 97 if (status == 0) { 101 SLOGE("Format (ext4) failed (unknown exit code %d)", status);
|
H A D | NetlinkManager.cpp | 95 int status = 0; local 99 status = -1; 107 return status;
|
H A D | Xwarp.cpp | 44 int Xwarp::status(bool *ready, unsigned *mirrorPos, unsigned *maxSize) { function in class:Xwarp
|
/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 | 122 int status = 0; local 126 status = -1; 137 status = -1; 149 status = -1; 159 return status;
|
/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:__anon7
|
/system/core/debuggerd/ |
H A D | utility.c | 91 int status; local 92 pid_t n = waitpid(tid, &status, __WALL | WNOHANG); 98 XLOG("waitpid: n=%d status=%08x\n", n, status); 99 if (WIFSTOPPED(status)) { 100 return WSTOPSIG(status); 102 LOG("unexpected waitpid response: n=%d, status=%08x\n", n, status);
|
/system/core/include/cutils/ |
H A D | atomic-arm.h | 82 int32_t prev, status; local 91 : "=&r" (prev), "=&r" (status), "+m"(*ptr) 94 } while (__builtin_expect(status != 0, 0)); 102 int status = android_atomic_cas(old_value, new_value, ptr); local 104 return status; 118 int32_t prev, tmp, status; local 125 "=&r" (status), "+m" (*ptr) 128 } while (__builtin_expect(status != 0, 0)); 145 int32_t prev, tmp, status; local 152 "=&r" (status), " 162 int32_t prev, tmp, status; local [all...] |
H A D | atomic-mips.h | 83 int32_t prev, status; local 87 " li %[status], 1\n" 89 " move %[status], %[new_value]\n" 90 " sc %[status], (%[ptr])\n" 92 : [prev] "=&r" (prev), [status] "=&r" (status) 95 } while (__builtin_expect(status == 0, 0)); 104 int status = android_atomic_cas(old_value, new_value, ptr); local 106 return status; 122 int32_t prev, status; local 139 int32_t prev, status; local 168 int32_t prev, status; local 185 int32_t prev, status; local [all...] |
H A D | atomic-x86.h | 134 int32_t prev, status; local 137 status = android_atomic_cas(prev, prev & value, ptr); 138 } while (__builtin_expect(status != 0, 0)); 145 int32_t prev, status; local 148 status = android_atomic_cas(prev, prev | value, ptr); 149 } while (__builtin_expect(status != 0, 0));
|
/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/libutils/ |
H A D | PropertyMap.cpp | 122 status_t status = Tokenizer::open(filename, &tokenizer); local 123 if (status) { 124 ALOGE("Error %d opening property file %s.", status, filename.string()); 129 status = NO_MEMORY; 135 status = parser.parse(); 142 if (status) { 150 return status;
|
/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 */
|