Searched defs:status (Results 1 - 25 of 59) sorted by relevance

123

/system/extras/tests/bionic/libc/common/
H A Dtest_executable_destructor.c60 int status; local
91 if (wait(&status) < 0) {
95 if (!WIFSIGNALED(status)) {
H A Dtest_clone.c63 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 Ddaemonize.c35 int status = 0; local
117 waitpid(pid, &status, 0);
/system/extras/ext4_utils/
H A Dsetup_fs.c16 int status, n; local
56 while ((pid=waitpid(-1, &status, 0)) != child) {
/system/media/wilhelm/src/itf/
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 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 DIPrefetchStatus.c31 SLuint32 status = thiz->mStatus; local
33 *pStatus = 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);
/system/vold/
H A DXwarp.cpp44 int Xwarp::status(bool *ready, unsigned *mirrorPos, unsigned *maxSize) { function in class:Xwarp
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/fastboot/
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/core/init/
H A Dsignal_handler.c47 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 DNetlinkManager.cpp118 int status = 0; local
122 status = -1;
133 status = -1;
145 status = -1;
154 return status;
/system/core/adb/
H A Dbackup_service.c41 int status; local
44 waitpid(params->pid, &status, 0);
H A Dfile_sync_service.h75 } status; member in union:__anon274
/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/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/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/libdiskconfig/
H A Dconfig_mbr.c31 cfg_pentry(struct pc_partition *pentry, uint8_t status, uint8_t type, argument
45 pentry->status = status;
50 LOGI("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 Dcd.c400 int status; local
430 status = waitforjob(jp);
431 if (status != 0)
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);
H A Djobs.h64 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 Dmiscbltin.c98 int status; local
123 status = 0;
128 status = 1;
135 status = 1;
208 return status;
/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...]

Completed in 2140 milliseconds

123