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

123

/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-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/fastboot/
H A Dengine.c77 int (*func)(Action *a, int status, char *resp);
85 static int cb_default(Action *a, int status, char *resp) argument
87 if (status) {
94 return status;
175 static int cb_check(Action *a, int status, char *resp, int invert) argument
182 if (status) {
184 return status;
218 static int cb_require(Action *a, int status, char *resp) argument
220 return cb_check(a, status, resp, 0);
223 static int cb_reject(Action *a, int status, cha argument
241 cb_display(Action *a, int status, char *resp) argument
260 cb_save(Action *a, int status, char *resp) argument
279 cb_do_nothing(Action *a, int status, char *resp) argument
316 int status = 0; local
[all...]
H A Dprotocol.c46 unsigned char status[65]; local
50 r = usb_read(usb, status, 64);
52 sprintf(ERROR, "status read failed (%s)", strerror(errno));
56 status[r] = 0;
59 sprintf(ERROR, "status malformed (%d bytes)", r);
64 if(!memcmp(status, "INFO", 4)) {
65 fprintf(stderr,"(bootloader) %s\n", status + 4);
69 if(!memcmp(status, "OKAY", 4)) {
71 strcpy(response, (char*) status + 4);
76 if(!memcmp(status, "FAI
[all...]
/system/vold/
H A DXwarp.h31 static int status(bool *ready, unsigned *mirrorPos, unsigned *maxSize);
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/logwrapper/
H A Dlogwrapper.c44 " fault address is set to the status of wait()\n");
48 int status; local
89 status = 0xAAAA;
90 if (wait(&status) != -1) { // Wait for child
91 if (WIFEXITED(status))
93 WEXITSTATUS(status));
94 else if (WIFSIGNALED(status))
96 WTERMSIG(status));
97 else if (WIFSTOPPED(status))
99 WSTOPSIG(status));
[all...]
/system/media/mca/filterfw/java/android/filterfw/core/
H A DAsyncRunner.java47 public int status = RESULT_UNKNOWN; field in class:AsyncRunner.RunnerResult
75 result.status = RESULT_RUNNING;
76 while (!isCancelled() && result.status == RESULT_RUNNING) {
78 result.status = runner[0].determinePostRunState();
79 if (result.status == GraphRunner.RESULT_SLEEPING) {
81 result.status = RESULT_RUNNING;
88 result.status = RESULT_STOPPED;
92 result.status = RESULT_ERROR;
100 result.status = RESULT_ERROR;
119 result.status
[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/media/wilhelm/src/itf/
H A DIEnvironmentalReverb.c59 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect, local
61 result = android_fx_statusToResult(status);
86 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect, local
88 result = android_fx_statusToResult(status);
120 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect, local
122 result = android_fx_statusToResult(status);
148 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect, local
150 result = android_fx_statusToResult(status);
179 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect, local
181 result = android_fx_statusToResult(status);
207 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect, local
238 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect, local
266 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect, local
299 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect, local
327 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect, local
358 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect, local
386 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect, local
419 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect, local
447 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect, local
478 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect, local
506 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect, local
537 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect, local
565 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect, local
596 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect, local
624 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect, local
680 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect, local
708 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect, local
[all...]
H A DIBassBoost.c51 android::status_t status = thiz->mBassBoostEffect->setEnabled((bool) thiz->mEnabled); local
52 result = android_fx_statusToResult(status);
105 android::status_t status = local
107 result = android_fx_statusToResult(status);
133 android::status_t status = local
135 result = android_fx_statusToResult(status);
163 android::status_t status =
166 result = android_fx_statusToResult(status);
H A DIVirtualizer.c51 android::status_t status = local
53 result = android_fx_statusToResult(status);
107 android::status_t status = android_virt_setParam(thiz->mVirtualizerEffect, local
109 result = android_fx_statusToResult(status);
135 android::status_t status = android_virt_getParam(thiz->mVirtualizerEffect, local
137 result = android_fx_statusToResult(status);
165 android::status_t status =
168 result = android_fx_statusToResult(status);
H A DIPresetReverb.c51 android::status_t status = android_prev_setPreset(thiz->mPresetReverbEffect, preset); local
52 result = android_fx_statusToResult(status);
83 android::status_t status = android_prev_getPreset(thiz->mPresetReverbEffect, &preset); local
84 result = android_fx_statusToResult(status);
H A DIEqualizer.c68 android::status_t status = local
70 result = android_fx_statusToResult(status);
163 android::status_t status = local
165 result = android_fx_statusToResult(status);
196 android::status_t status = local
198 result = android_fx_statusToResult(status);
231 android::status_t status =
233 result = android_fx_statusToResult(status);
270 android::status_t status =
272 result = android_fx_statusToResult(status);
326 android::status_t status = local
358 android::status_t status = local
398 android::status_t status = local
[all...]
/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/media/wilhelm/src/android/
H A Dandroid_Effect.cpp191 android::status_t status; local
201 status = pFx->getParameter(p);
202 if (android::NO_ERROR == status) {
203 status = p->status;
204 if (android::NO_ERROR == status) {
209 return status;
217 android::status_t status; local
228 status = pFx->setParameter(p);
229 if (android::NO_ERROR == status) {
377 android::status_t status = android_fx_setParam(pFx, REVERB_PARAM_PRESET, local
482 android::status_t status = ap->mAudioTrack->attachAuxEffect(pFx->id()); local
545 android::status_t status; local
565 android::status_t status; local
585 android_fx_statusToResult(android::status_t status) argument
607 android::status_t status = effect->initCheck(); local
665 android::status_t status = local
698 android::status_t status = local
748 android::status_t status = pFx->initCheck(); local
787 android::status_t status = pFx->setEnabled(SL_BOOLEAN_TRUE == enabled); local
819 android::status_t status = pFx->command( local
[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/netd/
H A DNetlinkManager.cpp118 int status = 0; local
122 status = -1;
133 status = -1;
145 status = -1;
154 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/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) {

Completed in 415 milliseconds

123