Searched refs:status (Results 1 - 25 of 64) sorted by relevance

123

/system/core/include/cutils/
H A Datomic-mips.h83 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 Datomic-arm.h82 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 Datomic-x86.h134 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/logwrapper/include/logwrap/
H A Dlogwrap.h39 * 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 Dlogwrapper.c45 " 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/vold/
H A DXwarp.h31 static int status(bool *ready, unsigned *mirrorPos, unsigned *maxSize);
H A DFat.cpp63 int status; local
69 rc = android_fork_execvp(ARRAY_SIZE(args), (char **)args, &status,
77 if (!WIFEXITED(status)) {
83 status = WEXITSTATUS(status);
85 switch(status) {
106 SLOGE("Filesystem check failed (unknown exit code %d)", status);
176 int status; local
197 rc = android_fork_execvp(ARRAY_SIZE(args), (char **)args, &status,
201 rc = android_fork_execvp(8, (char **)args, &status, fals
[all...]
H A DExt4.cpp74 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 DNetlinkManager.cpp95 int status = 0; local
99 status = -1;
107 return status;
/system/core/fastboot/
H A Dengine.c95 int (*func)(Action *a, int status, char *resp);
157 int status; local
160 status = fb_getvar(usb, response, "partition-type:%s", partition);
161 if (status) {
179 static int cb_default(Action *a, int status, char *resp) argument
181 if (status) {
188 return status;
303 int status = 0; local
310 status = fb_getvar(usb, response, "partition-type:%s", partition);
311 if (status) {
439 cb_check(Action *a, int status, char *resp, int invert) argument
482 cb_require(Action *a, int status, char *resp) argument
487 cb_reject(Action *a, int status, char *resp) argument
505 cb_display(Action *a, int status, char *resp) argument
524 cb_save(Action *a, int status, char *resp) argument
543 cb_do_nothing(Action *a, int status, char *resp) argument
580 int status = 0; local
[all...]
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/netd/
H A DNetdConstants.cpp36 static void logExecError(const char* argv[], int res, int status) { argument
44 ALOGE("exec() res=%d, status=%d for %s", res, status, args.c_str());
49 int status; local
51 res = android_fork_execvp(argc, (char **)argv, &status, false,
53 if (res || !WIFEXITED(status) || WEXITSTATUS(status)) {
55 logExecError(argv, res, status);
59 if (!WIFEXITED(status))
62 return WEXITSTATUS(status);
[all...]
H A DNetlinkManager.cpp122 int status = 0; local
126 status = -1;
137 status = -1;
149 status = -1;
159 return status;
/system/extras/tests/bionic/libc/common/
H A Dtest_clone.c63 int status; local
75 child = waitpid (pid, &status, 0);
81 printf ("child %d, status 0x%x\n", child, status);
H A Dtest_executable_destructor.c60 int status; local
91 if (wait(&status) < 0) {
95 if (!WIFSIGNALED(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/security/keystore/
H A DIKeystoreService.cpp60 status_t status = remote()->transact(BnKeystoreService::TEST, data, &reply); local
61 if (status != NO_ERROR) {
62 ALOGD("test() could not contact remote: %d\n", status);
79 status_t status = remote()->transact(BnKeystoreService::GET, data, &reply); local
80 if (status != NO_ERROR) {
81 ALOGD("get() could not contact remote: %d\n", status);
118 status_t status = remote()->transact(BnKeystoreService::INSERT, data, &reply); local
119 if (status != NO_ERROR) {
120 ALOGD("import() could not contact remote: %d\n", status);
138 status_t status local
158 status_t status = remote()->transact(BnKeystoreService::EXIST, data, &reply); local
178 status_t status = remote()->transact(BnKeystoreService::SAW, data, &reply); local
200 status_t status = remote()->transact(BnKeystoreService::RESET, data, &reply); local
219 status_t status = remote()->transact(BnKeystoreService::PASSWORD, data, &reply); local
237 status_t status = remote()->transact(BnKeystoreService::LOCK, data, &reply); local
256 status_t status = remote()->transact(BnKeystoreService::UNLOCK, data, &reply); local
274 status_t status = remote()->transact(BnKeystoreService::ZERO, data, &reply); local
306 status_t status = remote()->transact(BnKeystoreService::GENERATE, data, &reply); local
331 status_t status = remote()->transact(BnKeystoreService::IMPORT, data, &reply); local
354 status_t status = remote()->transact(BnKeystoreService::SIGN, data, &reply); local
396 status_t status = remote()->transact(BnKeystoreService::VERIFY, data, &reply); local
415 status_t status = remote()->transact(BnKeystoreService::GET_PUBKEY, data, &reply); local
449 status_t status = remote()->transact(BnKeystoreService::DEL_KEY, data, &reply); local
469 status_t status = remote()->transact(BnKeystoreService::GRANT, data, &reply); local
489 status_t status = remote()->transact(BnKeystoreService::UNGRANT, data, &reply); local
508 status_t status = remote()->transact(BnKeystoreService::GETMTIME, data, &reply); local
531 status_t status = remote()->transact(BnKeystoreService::DUPLICATE, data, &reply); local
550 status_t status = remote()->transact(BnKeystoreService::IS_HARDWARE_BACKED, data, &reply); local
569 status_t status = remote()->transact(BnKeystoreService::CLEAR_UID, data, &reply); local
[all...]
/system/core/libcorkscrew/
H A Ddemangle.c25 int *status);
/system/core/debuggerd/
H A Dutility.c91 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);
H A Ddebuggerd.c163 snprintf(path, sizeof(path), "/proc/%d/status", tid);
192 int status = getsockopt(fd, SOL_SOCKET, SO_PEERCRED, &cr, &len); local
193 if (status != 0) {
205 status = TEMP_FAILURE_RETRY(poll(pollfds, 1, 3000));
206 if (status != 1) {
213 status = TEMP_FAILURE_RETRY(read(fd, &msg, sizeof(msg)));
214 if (status < 0) {
219 if (status == sizeof(debugger_msg_t)) {
220 XLOG("crash request of size %d abort_msg_address=%#08x\n", status, msg.abort_msg_address);
223 status, c
277 int status = read_request(fd, &request); local
[all...]
/system/core/healthd/
H A DBatteryMonitor.h51 int getBatteryStatus(const char* status);
52 int getBatteryHealth(const char* status);
/system/core/sh/
H A Djobs.c260 int status; local
282 status = waitforjob(jp);
284 return status;
372 if (WIFSTOPPED(ps->status)) {
373 ps->status = -1;
407 /* See if we have more than one status to report */
409 st = ps->status;
411 int st1 = ps->status;
450 if (ps->status == -1) {
452 } else if (WIFEXITED(ps->status)) {
605 int status, retval = 127; local
986 int status; local
1045 int status; local
1153 waitproc(int block, struct job *jp, int *status) argument
[all...]
/system/core/libutils/
H A DPropertyMap.cpp122 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/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/extras/tests/lib/testUtil/
H A DtestUtil.c388 * the command has finished execution, it's exit status is captured
389 * and checked for an exit status of zero. Any other exit status
397 int status; local
418 // Obtain and check return status of executed command.
419 // Fail on non-zero exit status
420 status = pclose(fp);
421 if (!(WIFEXITED(status) && (WEXITSTATUS(status) == 0))) {
423 testPrintE(" status
[all...]

Completed in 243 milliseconds

123