Searched refs:active (Results 1 - 5 of 5) sorted by relevance

/system/core/toolbox/
H A Dgetsebool.c17 int i, get_all = 0, rc = 0, active, pending, len = 0, opt; local
73 active = security_get_boolean_active(names[i]);
74 if (active < 0) {
77 fprintf(stderr, "Error getting active value for %s\n",
89 if (pending != active) {
91 (active ? "on" : "off"),
95 (active ? "on" : "off"));
H A Dschedtop.c28 size_t active; member in struct:thread_table
69 if (table->active >= table->allocated)
71 return table->data + table->active;
76 table->active++;
175 for (i = 0; i < last_threads.active; i++) {
180 for (j = 0; j < threads.active; j++)
183 if (j == threads.active)
206 proc_info = &processes.data[processes.active - 1];
215 printf("Processes: %d, Threads %d\n", processes.active, threads.active);
[all...]
/system/core/sh/
H A Dhistedit.c229 static int active = 0; local
251 error("history not active");
292 * Catch interrupts to reset active counter and
296 active = 0;
304 if (++active > MAXHISTLOOPS) {
305 active = 0;
440 if (lflg == 0 && active > 0)
441 --active;
/system/core/adb/
H A Dfdevent.c161 int active; local
163 active = (fde->state & FDE_EVENTMASK) != 0;
175 if(active) {
176 /* we're already active. if we're changing to *no*
192 /* we're not active. if we're watching events, we need
H A Dtransport.c314 int active = 0; local
333 active = 1;
340 if(active) {
352 // while a client socket is still active.

Completed in 72 milliseconds