/system/core/init/ |
H A D | ueventd_parser.c | 27 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 D | parser.h | 31 void (*parse_line)(struct parse_state *state, int nargs, char **args); 37 int next_token(struct parse_state *state); 38 void parse_error(struct parse_state *state, const char *fmt, ...);
|
H A D | parser.c | 51 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 D | init_parser.c | 43 static void *parse_service(struct parse_state *state, int nargs, char **args); 44 static void parse_line_service(struct parse_state *state, int nargs, char **args); 46 static void *parse_action(struct parse_state *state, int nargs, char **args); 47 static void parse_line_action(struct parse_state *state, int nargs, char **args); 158 void parse_line_no_op(struct parse_state *state, int nargs, char **args) argument 162 void parse_new_section(struct parse_state *state, int kw, argument 169 state->context = parse_service(state, nargs, args); 170 if (state->context) { 171 state 196 struct parse_state state; local 439 parse_service(struct parse_state *state, int nargs, char **args) argument 474 parse_line_service(struct parse_state *state, int nargs, char **args) argument 639 parse_action(struct parse_state *state, int nargs, char **args) argument 658 parse_line_action(struct parse_state* state, int nargs, char **args) argument [all...] |
/system/core/nexus/ |
H A D | SupplicantStatus.cpp | 33 SupplicantStatus::SupplicantStatus(int state, int id, char *bssid, char *ssid) : argument 34 mWpaState(state), mId(id), mBssid(bssid), mSsid(ssid) { 36 LOGD("state %d, id %d, bssid %p, ssid %p\n", mWpaState, mId, mBssid, mSsid); 50 int state = SupplicantState::UNKNOWN; local 66 state = SupplicantState::DISCONNECTED; 68 state = SupplicantState::INACTIVE; 70 state = SupplicantState::SCANNING; 72 state = SupplicantState::ASSOCIATING; 74 state = SupplicantState::ASSOCIATED; 76 state [all...] |
H A D | SupplicantStateChangeEvent.h | 28 SupplicantStateChangeEvent(int state);
|
H A D | SupplicantStateChangeEvent.cpp | 35 mState = atoi(p + strlen("state=") + 1); 38 SupplicantStateChangeEvent::SupplicantStateChangeEvent(int state) : argument 40 mState = state;
|
H A D | SupplicantStatus.h | 29 SupplicantStatus(int state, int id, char *bssid, char *ssid);
|
H A D | IDhcpEventHandlers.h | 24 virtual void onDhcpStateChanged(Controller *c, int state) = 0;
|
H A D | NetworkManager.cpp | 136 void NetworkManager::onDhcpStateChanged(Controller *c, int state) { argument 142 DhcpState::toString(state, tmp2, sizeof(tmp2))); 144 switch(state) { 156 "DHCP state changed from %d (%s) -> %d (%s)", 159 state, 160 DhcpState::toString(state, tmp2, sizeof(tmp2))); 167 mLastDhcpState = state;
|
/system/core/libpixelflinger/ |
H A D | clear.cpp | 42 c->state.clear.dirty = GGL_STENCIL_BUFFER_BIT | 45 c->state.clear.depth = FIXED_ONE; 99 const uint32_t l = c->state.scissor.left; 100 const uint32_t t = c->state.scissor.top; 101 uint32_t w = c->state.scissor.right - l; 102 uint32_t h = c->state.scissor.bottom - t; 108 if (c->state.buffers.color.format == 0) 111 if (c->state.buffers.depth.format == 0) 114 if (c->state.buffers.stencil.format == 0) 118 if (c->state [all...] |
H A D | pixelflinger.cpp | 106 ggl_set_surface(c, &c->state.texture[tmu].surface, surface); 112 if (surface->format != c->state.buffers.color.format) 115 if (surface->width > c->state.buffers.coverageBufferSize) { 117 free(c->state.buffers.coverage); 118 c->state.buffers.coverage = (int16_t*)malloc(surface->width * 2); 119 c->state.buffers.coverageBufferSize = 120 c->state.buffers.coverage ? surface->width : 0; 122 ggl_set_surface(c, &(c->state.buffers.color), surface); 123 if (c->state.buffers.read.format == 0) { 124 ggl_set_surface(c, &(c->state [all...] |
H A D | raster.cpp | 44 c->state.raster.x = x; 45 c->state.raster.y = y; 59 surface_t* cb = &(c->state.buffers.color); 72 GGLint xd = gglFixedToIntRound(c->state.raster.x); 73 GGLint yd = gglFixedToIntRound(c->state.raster.y); 76 if (xd < GGLint(c->state.scissor.left)) { 77 GGLint offset = GGLint(c->state.scissor.left) - xd; 78 xd = GGLint(c->state.scissor.left); 82 if (yd < GGLint(c->state.scissor.top)) { 83 GGLint offset = GGLint(c->state [all...] |
H A D | picker.cpp | 39 const uint32_t enables = c->state.enables; 40 needs_t new_needs(c->state.needs); 44 new_needs.n |= GGL_BUILD_NEEDS(c->state.buffers.color.format, CB_FORMAT); 50 uint32_t n = GGL_BUILD_NEEDS(c->state.buffers.color.format, CB_FORMAT); 53 uint32_t src = c->state.blend.src; 54 uint32_t dst = c->state.blend.dst; 55 uint32_t src_alpha = c->state.blend.src_alpha; 56 uint32_t dst_alpha = c->state.blend.dst_alpha; 57 const GGLFormat& cbf = c->formats[ c->state.buffers.color.format ]; 84 if (c->state [all...] |
/system/media/mca/filterfw/java/android/filterfw/io/ |
H A D | TextGraphReader.java | 199 int state = STATE_COMMAND; 210 switch (state) { 214 state = STATE_IMPORT_PKG; 216 state = STATE_ADD_LIBRARY; 218 state = STATE_FILTER_CLASS; 220 state = STATE_SOURCE_FILTERNAME; 222 state = STATE_ASSIGNMENT; 224 state = STATE_EXTERNAL; 226 state = STATE_SETTING; 236 state [all...] |
/system/core/sh/ |
H A D | main.c | 96 * 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/media/wilhelm/src/itf/ |
H A D | IObject.c | 35 SLuint8 state; local 37 // check object state 39 state = thiz->mState; 40 switch (state) { 49 state = SL_RESULT_SUCCESS == result ? SL_OBJECT_STATE_REALIZED : 53 state = SL_OBJECT_STATE_REALIZED; 59 state = SL_OBJECT_STATE_UNREALIZED; 69 // mutex is locked, update state 70 thiz->mState = state; 79 (*callback)(&thiz->mItf, context, SL_OBJECT_EVENT_ASYNC_TERMINATION, result, state, NUL 89 SLuint8 state; local 178 SLuint8 state; local 233 SLuint8 state; local 293 SLuint8 state = thiz->mState; local 589 SLuint32 state = *--interfaceStateP; local [all...] |
H A D | IBufferQueue.c | 22 /** Determine the state of the audio player or audio recorder associated with a buffer queue. 28 SLuint32 state; local 31 state = ((CAudioPlayer *) thiz->mThis)->mPlay.mState; 34 state = ((CAudioRecorder *) thiz->mThis)->mRecord.mState; 39 state = SL_PLAYSTATE_STOPPED; 42 return state; 71 // set enqueue attribute if state is PLAYING and the first buffer is enqueued 128 SLBufferQueueState state; local 131 state.count = thiz->mState.count; 132 state [all...] |
/system/core/libmincrypt/ |
H A D | sha.c | 56 A = ctx->state[0]; 57 B = ctx->state[1]; 58 C = ctx->state[2]; 59 D = ctx->state[3]; 60 E = ctx->state[4]; 140 ctx->state[0] += A; 141 ctx->state[1] += B; 142 ctx->state[2] += C; 143 ctx->state[3] += D; 144 ctx->state[ [all...] |
/system/core/toolbox/ |
H A D | vmstat.c | 38 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...] |
H A D | netstat.c | 56 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));
|
/system/core/adb/ |
H A D | fdevent.c | 74 fde->state & FDE_READ ? 'R' : ' ', 75 fde->state & FDE_WRITE ? 'W' : ' ', 76 fde->state & FDE_ERROR ? 'E' : ' ', 163 active = (fde->state & FDE_EVENTMASK) != 0; 173 fde->state = (fde->state & FDE_STATEMASK) | events; 232 if(fde->state & FDE_PENDING) continue; 233 fde->state |= FDE_PENDING; 299 fde->state = (fde->state [all...] |
/system/core/include/mincrypt/ |
H A D | sha.h | 39 uint32_t state[5]; member in struct:SHA_CTX
|
/system/extras/ext4_utils/ |
H A D | sha1.h | 20 uint32_t state[5]; member in struct:__anon459
|
/system/media/wilhelm/tests/sandbox/ |
H A D | intbufq.c | 143 SLuint32 state; local 144 state = SL_PLAYSTATE_PLAYING; 145 result = (*playerPlay)->SetPlayState(playerPlay, state); 242 state = SL_PLAYSTATE_PAUSED; 245 state = SL_PLAYSTATE_STOPPED; 248 state = SL_PLAYSTATE_PLAYING; 250 result = (*playerPlay)->SetPlayState(playerPlay, state); 255 if (newstate != state) 256 printf("\rSetPlayState(%u) -> GetPlayState(%u)\r\n", (unsigned) state,
|