Searched refs:state (Results 26 - 50 of 59) sorted by relevance

123

/system/core/sh/
H A Djobs.h48 #define SHOW_CHANGED 0x08 /* only jobs whose state has changed */
73 char state; member in struct:job
H A Djobs.c314 if (curjob != -1 && jobtab[curjob].state == JOBSTOPPED) {
319 if (jp2->state != JOBSTOPPED)
363 if (jp->state == JOBDONE)
374 jp->state = JOBRUNNING;
426 if (jp->state == JOBDONE && !(mode & SHOW_NO_FREE)) {
495 if (jp->state == JOBDONE && !(mode & SHOW_NO_FREE))
620 if (!jp->used || jp->state != JOBRUNNING) {
637 while (job->state == JOBRUNNING) {
811 jp->state = JOBRUNNING;
991 while (jp->state
1080 int state = done ? JOBDONE : JOBSTOPPED; local
[all...]
/system/core/libpixelflinger/
H A Dbuffer.cpp46 texture_t& t = c->state.texture[i];
55 c->activeTMU = &(c->state.texture[0]);
87 surface_t& s = c->state.texture[i].surface;
88 if ((!c->state.texture[i].enable) || (!s.dirty))
102 surface_t& s = c->state.buffers.color;
168 if (c->state.enables & GGL_ENABLE_DITHER) {
188 if (h && (c->state.mask.color & component_mask)) {
200 if ((c->state.mask.color != 0xF) ||
201 (c->state.enables & GGL_ENABLE_LOGIC_OP)) {
209 if (c->state
[all...]
H A Dscanline.cpp303 if (c->state.buffers.coverage)
304 free(c->state.buffers.coverage);
325 // c->state.needs.n, c->state.needs.p,
326 // c->state.needs.t[0], c->state.needs.t[1]);
329 const uint32_t cb_format = GGL_READ_NEEDS(CB_FORMAT, c->state.needs.n);
330 if (GGL_READ_NEEDS(T_FORMAT, c->state.needs.t[0]) == cb_format) {
331 if (c->state.needs.match(noblend1to1)) {
332 // this will match regardless of dithering state, sinc
[all...]
/system/extras/ext4_utils/
H A Dsha1.c126 void SHA1Transform(state, buffer)
127 u_int32_t state[5];
138 assert(state != 0);
147 /* Copy context->state[] to working vars */
148 a = state[0];
149 b = state[1];
150 c = state[2];
151 d = state[3];
152 e = state[4];
183 /* Add the working vars back into context.state[] */
[all...]
H A Dext4fixup.c51 /* Magic numbers to indicate what state the update process is in */
56 /* Internal state variables corresponding to the magic numbers */
153 static int set_fs_fixup_state(int fd, int state) argument
160 no_write_fixup_state = state;
164 switch (state) {
371 static int update_superblocks_and_bg_desc(int fd, int state) argument
391 if (state == STATE_UPDATING_SB) {
853 * corrupted, unrecoverable state. Set no_write, make it quiet, and do a recurse
854 * pass and a update_superblock pass. Set flags back to requested state when done.
855 * Only perform sanity check if the state i
[all...]
/system/core/libcutils/
H A Dtztime.c141 struct state { struct
182 static void gmtload P((struct state * sp));
186 struct tm * tmp, const struct state *sp));
197 long, struct tm *, const struct state* sp)),
198 long offset, const struct state * sp));
201 long, struct tm*, const struct state* sp)),
202 long offset, int * okayp, const struct state * sp));
204 struct tm * (*funcp) P((const time_t*, long, struct tm*,const struct state *sp)),
206 const struct state *sp));
208 const struct state * s
[all...]
/system/core/adb/
H A Dtransport_usb.c112 void init_usb_transport(atransport *t, usb_handle *h, int state) argument
120 t->connection_state = state;
H A Dcommandline.c161 " adb get-state - prints: offline | bootloader | device\n"
282 int state = 0; local
302 state = 1;
305 state = 1;
308 if(state == 1) state++;
311 if(state == 2) {
319 state = 0;
454 char *state = 0; local
467 format_host_command(command, sizeof command, "get-state", ttyp
[all...]
H A Dsysdeps_win32.c1250 fde->state & FDE_READ ? 'R' : ' ',
1251 fde->state & FDE_WRITE ? 'W' : ' ',
1252 fde->state & FDE_ERROR ? 'E' : ' ',
1343 if ((fde->state & FDE_PENDING) == 0) {
1344 fde->state |= FDE_PENDING;
1614 int events = fde->state & FDE_EVENTMASK;
1623 int events = fde->state & FDE_EVENTMASK;
1632 unsigned events0 = fde->state & FDE_EVENTMASK;
1790 if(!(fde->state & FDE_DONT_CLOSE)) {
1834 fde->state |
[all...]
H A Dservices.c499 int state; member in struct:state_info
507 D("wait_for_state %d\n", sinfo->state);
509 atransport *t = acquire_one_transport(sinfo->state, sinfo->transport, sinfo->serial, &err);
541 sinfo->state = CS_DEVICE;
544 sinfo->state = CS_DEVICE;
547 sinfo->state = CS_DEVICE;
H A Dadb.h274 ** If state is != CS_ANY, only transports in that state are considered.
278 atransport *acquire_one_transport(int state, transport_type ttype, const char* serial, char **error_out);
284 /* initialize a transport object's func pointers and state */
289 void init_usb_transport(atransport *t, usb_handle *usb, int state);
H A Dtransport.c786 atransport *acquire_one_transport(int state, transport_type ttype, const char* serial, char** error_out) argument
860 /* check for required connection state */
861 if (result && state != CS_ANY && result->connection_state != state) {
863 *error_out = "invalid device state";
872 } else if (state != CS_ANY && (serial || !ambiguous)) {
/system/media/audio_utils/
H A Decho_reference.c28 // echo reference state: bit field indicating if read, write or both are active.
29 enum state { enum
38 uint32_t state; // active state: reading, writing or both member in struct:echo_reference
143 er->state &= ~ECHOREF_WRITING;
161 if ((er->state & ECHOREF_WRITING) == 0) {
166 er->state |= ECHOREF_WRITING;
169 if ((er->state & ECHOREF_READING) == 0) {
304 er->state &= ~ECHOREF_READING;
312 if ((er->state
[all...]
/system/vold/
H A DVolume.h86 void setState(int state);
H A DDirectVolume.cpp299 int state; local
309 state = getState();
310 if (state != Volume::State_Mounted && state != Volume::State_Shared) {
335 } else if (state == Volume::State_Shared) {
/system/core/libnetutils/
H A Ddhcpclient.c399 unsigned int state; local
415 state = STATE_SELECTING;
444 switch(state) {
489 if (state == STATE_SELECTING) {
501 switch(state) {
504 state = STATE_REQUESTING;
520 printerr("ignoring %s message in state %d\n",
521 dhcp_type_to_name(info.type), state);
/system/core/init/
H A Dinit.h120 void notify_service_state(const char *name, const char *state);
/system/core/toolbox/
H A Dps.c42 char *ptr, *name, *state; local
87 state = nexttok(&ptr);
173 printf(" %08x %08x %s %s", wchan, eip, state, cmdline[0] ? cmdline : name);
H A Dtop.c61 char state; member in struct:proc_info
347 &proc->state, &proc->utime, &proc->stime, &proc->vss, &proc->rss, &proc->prs);
480 printf("%5d %2d %3ld%% %c %5d %6ldK %6ldK %3s %-8.8s %s\n", proc->pid, proc->prs, proc->delta_time * 100 / total_delta_time, proc->state, proc->num_threads,
483 printf("%5d %5d %2d %3ld%% %c %6ldK %6ldK %3s %-8.8s %-15s %s\n", proc->pid, proc->tid, proc->prs, proc->delta_time * 100 / total_delta_time, proc->state,
/system/core/libpixelflinger/tinyutils/
H A DVector.h148 typedef int (*compar_r_t)(const TYPE* lhs, const TYPE* rhs, void* state);
151 inline status_t sort(compar_r_t cmp, void* state);
/system/core/libpixelflinger/codeflinger/
H A DGGLAssembler.cpp394 CONTEXT_LOAD(Rs, state.buffers.color.stride);
395 CONTEXT_LOAD(parts.cbPtr.reg, state.buffers.color.data);
430 CONTEXT_LOAD(Rs, state.buffers.depth.stride);
431 CONTEXT_LOAD(zbase, state.buffers.depth.data);
448 CONTEXT_LOAD(parts.covPtr.reg, state.buffers.coverage);
704 CONTEXT_LOAD(ref, state.alpha_test.ref);
H A Dtexturing.cpp352 CONTEXT_LOAD(txPtr.reg, state.texture[i].iterators.ydsdy);
354 CONTEXT_LOAD(txPtr.reg, state.texture[i].iterators.ydtdy);
373 CONTEXT_LOAD(s.reg, state.texture[i].iterators.ydsdy);
374 CONTEXT_LOAD(t.reg, state.texture[i].iterators.ydtdy);
379 CONTEXT_LOAD(ydsdy, state.texture[i].iterators.ydsdy);
381 CONTEXT_LOAD(ydtdy, state.texture[i].iterators.ydtdy);
1310 immed12_pre(GGL_OFFSETOF(state.texture[tmu].env_color[component])));
/system/extras/tests/fstest/
H A Dperm_checker.conf124 /sys/android_power/state 664 664 radio radio system system
127 /sys/qemu_trace/state 000 777 root system root system
/system/security/keystore/
H A Dkeystore.cpp695 void setState(State state) { argument
696 mState = state;
1335 State state; member in struct:action
1392 if (action->state != STATE_ANY && action->state != keyStore->getState()) {
1463 ALOGI("uid: %d action: %c -> %d state: %d -> %d retry: %d",

Completed in 412 milliseconds

123