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

123

/system/core/include/cutils/
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-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-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/libcorkscrew/
H A Ddemangle.c25 int *status);
/system/vold/
H A DXwarp.h31 static int status(bool *ready, unsigned *mirrorPos, unsigned *maxSize);
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/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/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);
H A Ddebuggerd.c161 snprintf(path, sizeof(path), "/proc/%d/status", tid);
190 int status = getsockopt(fd, SOL_SOCKET, SO_PEERCRED, &cr, &len); local
191 if (status != 0) {
203 status = TEMP_FAILURE_RETRY(poll(pollfds, 1, 3000));
204 if (status != 1) {
210 status = TEMP_FAILURE_RETRY(read(fd, &msg, sizeof(msg)));
211 if (status < 0) {
215 if (status != sizeof(msg)) {
216 LOG("invalid crash request of size %d\n", status);
240 status
268 int status = read_request(fd, &request); local
[all...]
/system/core/fastboot/
H A Dengine.c96 int (*func)(Action *a, int status, char *resp);
158 int status; local
161 status = fb_getvar(usb, response, "partition-type:%s", partition);
162 if (status) {
180 static int cb_default(Action *a, int status, char *resp) argument
182 if (status) {
189 return status;
321 int status = 0; local
328 status = fb_getvar(usb, response, "partition-type:%s", partition);
329 if (status) {
457 cb_check(Action *a, int status, char *resp, int invert) argument
500 cb_require(Action *a, int status, char *resp) argument
505 cb_reject(Action *a, int status, char *resp) argument
523 cb_display(Action *a, int status, char *resp) argument
542 cb_save(Action *a, int status, char *resp) argument
561 cb_do_nothing(Action *a, int status, char *resp) argument
598 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/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/netd/
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...]
H A DNetlinkManager.cpp119 int status = 0; local
123 status = -1;
134 status = -1;
146 status = -1;
156 return status;
/system/bluetooth/bluez-clean-headers/bluetooth/
H A Dhci.h312 uint8_t status; member in struct:__anon5
599 uint8_t status; member in struct:__anon39
675 uint8_t status; member in struct:__anon48
696 uint8_t status; member in struct:__anon51
711 uint8_t status; member in struct:__anon53
765 uint8_t status; member in struct:__anon57
786 uint8_t status; member in struct:__anon60
800 uint8_t status; member in struct:__anon62
814 uint8_t status; member in struct:__anon64
827 uint8_t status; member in struct:__anon66
835 uint8_t status; member in struct:__anon67
849 uint8_t status; member in struct:__anon69
862 uint8_t status; member in struct:__anon71
875 uint8_t status; member in struct:__anon72
891 uint8_t status; member in struct:__anon74
919 uint8_t status; member in struct:__anon76
932 uint8_t status; member in struct:__anon78
960 uint8_t status; member in struct:__anon81
989 uint8_t status; member in struct:__anon84
1004 uint8_t status; member in struct:__anon86
1014 uint8_t status; member in struct:__anon87
1040 uint8_t status; member in struct:__anon90
1046 uint8_t status; member in struct:__anon91
1059 uint8_t status; member in struct:__anon93
1065 uint8_t status; member in struct:__anon94
1077 uint8_t status; member in struct:__anon96
1089 uint8_t status; member in struct:__anon97
1101 uint8_t status; member in struct:__anon99
1107 uint8_t status; member in struct:__anon100
1122 uint8_t status; member in struct:__anon102
1134 uint8_t status; member in struct:__anon104
1140 uint8_t status; member in struct:__anon105
1152 uint8_t status; member in struct:__anon107
1159 uint8_t status; member in struct:__anon108
1167 uint8_t status; member in struct:__anon109
1175 uint8_t status; member in struct:__anon110
1187 uint8_t status; member in struct:__anon112
1194 uint8_t status; member in struct:__anon113
1206 uint8_t status; member in struct:__anon115
1226 uint8_t status; member in struct:__anon118
1232 uint8_t status; member in struct:__anon119
1252 uint8_t status; member in struct:__anon121
1264 uint8_t status; member in struct:__anon122
1277 uint8_t status; member in struct:__anon124
1292 uint8_t status; member in struct:__anon126
1305 uint8_t status; member in struct:__anon127
1312 uint8_t status; member in struct:__anon128
1325 uint8_t status; member in struct:__anon130
1335 uint8_t status; member in struct:__anon131
1347 uint8_t status; member in struct:__anon132
1356 uint8_t status; member in struct:__anon133
1365 uint8_t status; member in struct:__anon134
1372 uint8_t status; member in struct:__anon135
1381 uint8_t status; member in struct:__anon136
1390 uint8_t status; member in struct:__anon137
1406 uint8_t status; member in struct:__anon139
1416 uint8_t status; member in struct:__anon140
1442 uint8_t status; member in struct:__anon142
1461 uint8_t status; member in struct:__anon144
1479 uint8_t status; member in struct:__anon146
1492 uint8_t status; member in struct:__anon148
1501 uint8_t status; member in struct:__anon149
1530 uint8_t status; member in struct:__anon152
1599 uint8_t status; member in struct:__anon159
1647 uint8_t status; member in struct:__anon165
1669 uint8_t status; member in struct:__anon168
1676 uint8_t status; member in struct:__anon169
1700 uint8_t status; member in struct:__anon172
1712 uint8_t status; member in struct:__anon174
1720 uint8_t status; member in struct:__anon175
1742 uint8_t status; member in struct:__anon178
1765 uint8_t status; member in struct:__anon180
1785 uint8_t status; member in struct:__anon182
1794 uint8_t status; member in struct:__anon183
1801 uint8_t status; member in struct:__anon184
1810 uint8_t status; member in struct:__anon185
1819 uint8_t status; member in struct:__anon186
1826 uint8_t status; member in struct:__anon187
1835 uint8_t status; member in struct:__anon188
1844 uint8_t status; member in struct:__anon189
1855 uint8_t status; member in struct:__anon190
1872 uint8_t status; member in struct:__anon192
1894 uint8_t status; member in struct:__anon195
1909 uint8_t status; member in struct:__anon197
1961 uint8_t status; member in struct:__anon204
1970 uint8_t status; member in struct:__anon205
1992 uint8_t status; member in struct:__anon208
2029 uint8_t status; member in struct:__anon211
2040 uint8_t status; member in struct:__anon212
2056 uint8_t status; member in struct:__anon213
2069 uint8_t status; member in struct:__anon214
2095 uint8_t status; member in struct:__anon216
2139 uint8_t status; member in struct:__anon222
2190 uint8_t status; member in struct:__anon229
2217 uint8_t status; member in struct:__anon231
2229 uint8_t status; member in struct:__anon232
2246 uint8_t status; member in struct:__anon234
2255 uint8_t status; member in struct:__anon235
2277 uint8_t status; member in struct:__anon238
2289 uint8_t status; member in struct:__anon239
2297 uint8_t status; member in struct:__anon240
[all...]
/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...]
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);
/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/libcutils/
H A Dprivate.h105 #define WIFEXITED(status) (((status) & 0xff) == 0)
108 #define WEXITSTATUS(status) (((status) >> 8) & 0xff)
/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...]
/system/extras/ext4_utils/
H A Dsetup_fs.c16 int status, n; local
56 while ((pid=waitpid(-1, &status, 0)) != child) {
/system/extras/tests/cpueater/
H A Ddaemonize.c35 int status = 0; local
117 waitpid(pid, &status, 0);
/system/extras/tests/sdcard/
H A Dsysutil.cpp211 const char *reasonChildExited(int status) argument
215 if (WIFEXITED(status))
217 snprintf(buffer, sizeof(buffer), "ok (%d)", WEXITSTATUS(status));
219 else if (WIFSIGNALED(status))
221 snprintf(buffer, sizeof(buffer), "signaled (%d %s)", WTERMSIG(status), strsignal(WTERMSIG(status)));
366 int status; local
367 pid_t pid = wait(&status);
374 if (!WIFEXITED(status))
377 pid, reasonChildExited(status));
[all...]

Completed in 238 milliseconds

123