Searched defs:state (Results 1 - 25 of 37) sorted by relevance

12

/system/core/include/mincrypt/
H A Dsha.h39 uint32_t state[5]; member in struct:SHA_CTX
/system/core/init/
H A Dueventd_parser.c27 static void parse_line_device(struct parse_state *state, int nargs, char **args);
31 struct parse_state state; local
35 state.filename = fn;
36 state.line = 1;
37 state.ptr = s;
38 state.nexttoken = 0;
39 state.parse_line = parse_line_device;
41 int token = next_token(&state);
44 state.parse_line(&state,
72 parse_line_device(struct parse_state* state, int nargs, char **args) argument
[all...]
H A Dparser.c51 void parse_error(struct parse_state *state, const char *fmt, ...) argument
57 snprintf(buf, 128, "%s: %d: ", state->filename, state->line);
68 int next_token(struct parse_state *state) argument
70 char *x = state->ptr;
73 if (state->nexttoken) {
74 int t = state->nexttoken;
75 state->nexttoken = 0;
82 state->ptr = x;
86 state
[all...]
H A Dinit_parser.c48 static void *parse_service(struct parse_state *state, int nargs, char **args);
49 static void parse_line_service(struct parse_state *state, int nargs, char **args);
51 static void *parse_action(struct parse_state *state, int nargs, char **args);
52 static void parse_line_action(struct parse_state *state, int nargs, char **args);
169 void parse_line_no_op(struct parse_state *state, int nargs, char **args) argument
291 void parse_import(struct parse_state *state, int nargs, char **args) argument
293 struct listnode *import_list = state->priv;
306 state->line, state->filename);
316 void parse_new_section(struct parse_state *state, in argument
345 struct parse_state state; local
606 parse_service(struct parse_state *state, int nargs, char **args) argument
641 parse_line_service(struct parse_state *state, int nargs, char **args) argument
816 parse_action(struct parse_state *state, int nargs, char **args) argument
835 parse_line_action(struct parse_state* state, int nargs, char **args) argument
[all...]
/system/core/adb/
H A Dfdevent.h75 unsigned short state; member in struct:fdevent
H A Dtransport_usb.c112 void init_usb_transport(atransport *t, usb_handle *h, int state) argument
120 t->connection_state = state;
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 Dsysdeps.h202 unsigned short state; member in struct:fdevent
/system/extras/ext4_utils/
H A Dsha1.h31 uint32_t state[5]; member in struct:__anon498
/system/netd/
H A DNetlinkHandler.cpp80 const char *state = evt->findParam("STATE"); local
85 if (state)
86 notifyInterfaceClassActivity(label, !strcmp("active", state));
/system/bluetooth/bluez-clean-headers/bluetooth/
H A Drfcomm.h72 uint16_t state; member in struct:rfcomm_dev_info
/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 Dmain.c96 * exception occurs. When an exception occurs the variable "state"
105 volatile int state; local
111 state = 0;
123 state = 3;
139 if (state == 0 || iflag == 0 || ! rootshell)
153 if (state == 1)
155 else if (state == 2)
157 else if (state == 3)
176 state = 1;
179 state
[all...]
/system/core/toolbox/
H A Dnetstat.c56 static const char *state2str(unsigned state) argument
58 switch(state){
102 unsigned lport, rport, state, txq, rxq, num; local
105 &state, &txq, &rxq);
112 state2str(state));
129 unsigned lport, rport, state, txq, rxq, num; local
133 &state, &txq, &rxq);
140 state2str(state));
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 Dvmstat.c38 struct state { struct
64 static void read_state(struct state *s);
65 static int read_meminfo(struct state *s);
66 static int read_stat(struct state *s);
67 static int read_vmstat(struct state *s);
69 static void print_line(struct state *old, struct state *new);
73 struct state s[2];
137 static void read_state(struct state *s) {
159 static int read_meminfo(struct state *
[all...]
/system/core/libcorkscrew/arch-mips/
H A Dbacktrace-mips.c57 /* Unwind state. */
74 unwind_state_t* state, backtrace_frame_t* backtrace,
80 uintptr_t pc = index ? rewind_pc_arch(memory, state->pc) : state->pc;
91 frame->stack_top = state->sp;
95 for (addr = state->pc; maxcheck-- > 0 && !found_start; addr -= 4) {
128 if (!try_get_word(memory, state->sp + ra_offset, &next_ra))
130 state->ra = next_ra;
131 ALOGV("New ra: 0x%08x\n", state->ra);
137 state
72 unwind_backtrace_common(const memory_t* memory, const map_info_t* map_info_list, unwind_state_t* state, backtrace_frame_t* backtrace, size_t ignore_depth, size_t max_depth) argument
160 unwind_state_t state; local
182 unwind_state_t state; local
[all...]
/system/core/libcorkscrew/arch-x86/
H A Dbacktrace-x86.c83 /* Unwind state. */
97 unwind_state_t* state, backtrace_frame_t* backtrace,
102 for (size_t index = 0; state->ebp && returned_frames < max_depth; index++) {
104 index ? rewind_pc_arch(memory, state->eip) : state->eip,
107 uint32_t next_esp = state->ebp + 8;
109 frame->stack_top = state->esp;
110 if (state->esp < next_esp) {
111 frame->stack_size = next_esp - state->esp;
114 state
95 unwind_backtrace_common(const memory_t* memory, const map_info_t* map_info_list __attribute__((unused)), unwind_state_t* state, backtrace_frame_t* backtrace, size_t ignore_depth, size_t max_depth) argument
130 unwind_state_t state; local
148 unwind_state_t state; local
[all...]
/system/core/libcorkscrew/
H A Dbacktrace.c75 backtrace_state_t* state = (backtrace_state_t*)arg; local
82 add_backtrace_entry(rewind_pc_arch(&state->memory, pc), state->backtrace,
83 state->ignore_depth, state->max_depth,
84 &state->ignored_frames, &state->returned_frames);
86 return state->returned_frames < state->max_depth ? _URC_NO_REASON : _URC_END_OF_STACK;
94 backtrace_state_t state; local
[all...]
/system/vold/
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) {
H A DVolume.cpp90 static const char *stateToStr(int state) { argument
91 if (state == Volume::State_Init)
93 else if (state == Volume::State_NoMedia)
95 else if (state == Volume::State_Idle)
97 else if (state == Volume::State_Pending)
99 else if (state == Volume::State_Mounted)
101 else if (state == Volume::State_Unmounting)
103 else if (state == Volume::State_Checking)
105 else if (state == Volume::State_Formatting)
107 else if (state
173 setState(int state) argument
[all...]
/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/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/core/libcorkscrew/arch-arm/
H A Dbacktrace-arm.c41 * state and running cleanup functions. Unwinding is performed virtually on
79 /* Unwind state. */
239 static void set_reg(unwind_state_t* state, uint32_t reg, uint32_t value) { argument
241 state->gregs[reg] = value;
244 static bool try_pop_registers(const memory_t* memory, unwind_state_t* state, uint32_t mask) { argument
245 uint32_t sp = state->gregs[R_SP];
256 set_reg(state, i, value);
261 set_reg(state, R_SP, sp);
276 * virtual register state (including the stack pointer) such that
280 unwind_state_t* state, byte_stream_
279 execute_personality_routine(const memory_t* memory, unwind_state_t* state, byte_stream_t* stream, int pr_index) argument
486 unwind_backtrace_common(const memory_t* memory, const map_info_t* map_info_list, unwind_state_t* state, backtrace_frame_t* backtrace, size_t ignore_depth, size_t max_depth) argument
560 unwind_state_t state; local
592 unwind_state_t state; local
[all...]
/system/core/liblog/
H A Dfake_log_device.c59 * Log driver state.
346 static void showLog(LogState *state, argument
387 switch (state->outputFormat) {
544 LogState* state; local
552 state = fdToLogState(fd);
553 if (state == NULL) {
558 if (state->isBinary) {
559 TRACE("%s: ignoring binary log\n", state->debugName);
565 state->debugName, count);
576 int minPrio = state
[all...]

Completed in 193 milliseconds

12