/external/ppp/pppd/ |
fsm.c | 2 * fsm.c - {Link, IP} Control Protocol Finite State Machine. 77 * Initialize fsm state. 83 f->state = INITIAL; 101 switch( f->state ){ 103 f->state = CLOSED; 108 f->state = STOPPED; 112 f->state = REQSENT; 117 FSMDEBUG(("%s: Up event in state %d!", PROTO_NAME(f), f->state)); 131 switch( f->state ){ [all...] |
/external/chromium_org/third_party/icu/source/tools/genrb/ |
parse.c | 95 ParseResourceFunction(ParseState* state, char *tag, uint32_t startline, const struct UString* comment, UErrorCode *status); 97 static struct SResource *parseResource(ParseState* state, char *tag, const struct UString *comment, UErrorCode *status); 113 initLookahead(ParseState* state, UCHARBUF *buf, UErrorCode *status) 123 state->lookaheadPosition = 0; 124 state->buffer = buf; 130 state->lookahead[i].type = getNextToken(state->buffer, &state->lookahead[i].value, &state->lookahead[i].line, &state->lookahead[i].comment, status) 2026 ParseState state; local [all...] |
/external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/ |
Lexer.pm | 26 # reset all recognizer state variables 29 # wack Lexer state variables 35 if (defined $self->state) { 36 $self->state->token(undef); 37 $self->state->type(ANTLR::Runtime::Token->INVALID_TOKEN_TYPE); 38 $self->state->channel(ANTLR::Runtime::Token->DEFAULT_CHANNEL); 39 $self->state->token_start_char_index(-1); 40 $self->state->token_start_char_position_in_line(-1); 41 $self->state->start_line(-1); 42 $self->state->text(undef) [all...] |
/external/chromium_org/third_party/opus/src/silk/ |
stereo_LR_to_MS.c | 37 stereo_enc_state *state, /* I/O State */ 71 silk_memcpy( mid, state->sMid, 2 * sizeof( opus_int16 ) ); 72 silk_memcpy( side, state->sSide, 2 * sizeof( opus_int16 ) ); 73 silk_memcpy( state->sMid, &mid[ frame_length ], 2 * sizeof( opus_int16 ) ); 74 silk_memcpy( state->sSide, &side[ frame_length ], 2 * sizeof( opus_int16 ) ); 101 pred_Q13[ 0 ] = silk_stereo_find_predictor( &LP_ratio_Q14, LP_mid, LP_side, &state->mid_side_amp_Q0[ 0 ], frame_length, smooth_coef_Q16 ); 102 pred_Q13[ 1 ] = silk_stereo_find_predictor( &HP_ratio_Q14, HP_mid, HP_side, &state->mid_side_amp_Q0[ 2 ], frame_length, smooth_coef_Q16 ); 131 state->smth_width_Q14 = (opus_int16)silk_SMLAWB( state->smth_width_Q14, width_Q14 - state->smth_width_Q14, smooth_coef_Q16 ) [all...] |
/external/chromium_org/chrome/browser/chromeos/input_method/ |
browser_state_monitor_unittest.cc | 26 void SetState(InputMethodManager::State new_state) { 31 base::Callback<void(InputMethodManager::State new_state)> AsCallback() { 39 InputMethodManager::State state() const { function in class:chromeos::input_method::__anon4291::MockObserver 44 InputMethodManager::State state_; 56 // Check the initial state of the |mock_observer| and |monitor| objects. 58 EXPECT_EQ(InputMethodManager::STATE_LOGIN_SCREEN, mock_observer.state()); 59 EXPECT_EQ(InputMethodManager::STATE_LOGIN_SCREEN, monitor.state()); 86 // Check if the state of the |mock_observer_| as well as the |monitor| are 90 mock_observer_.state()); [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/ |
svga_state_need_swtnl.c | 87 svga->state.sw.ve_format[i] = svga_translate_vertex_format(svga->curr.velems->velem[i].src_format); 88 if (svga->state.sw.ve_format[i] == SVGA3D_DECLTYPE_MAX) { 95 if (need_swvfetch != svga->state.sw.need_swvfetch) { 96 svga->state.sw.need_swvfetch = need_swvfetch; 166 if (need_pipeline != svga->state.sw.need_pipeline) { 167 svga->state.sw.need_pipeline = need_pipeline; 172 if (0 && svga->state.sw.need_pipeline) 173 debug_printf("sw.need_pipeline = %d\n", svga->state.sw.need_pipeline); 200 svga->state.sw.need_swvfetch = FALSE; 201 svga->state.sw.need_pipeline = FALSE [all...] |
/external/mesa3d/src/gallium/drivers/svga/ |
svga_state_need_swtnl.c | 87 svga->state.sw.ve_format[i] = svga_translate_vertex_format(svga->curr.velems->velem[i].src_format); 88 if (svga->state.sw.ve_format[i] == SVGA3D_DECLTYPE_MAX) { 95 if (need_swvfetch != svga->state.sw.need_swvfetch) { 96 svga->state.sw.need_swvfetch = need_swvfetch; 166 if (need_pipeline != svga->state.sw.need_pipeline) { 167 svga->state.sw.need_pipeline = need_pipeline; 172 if (0 && svga->state.sw.need_pipeline) 173 debug_printf("sw.need_pipeline = %d\n", svga->state.sw.need_pipeline); 200 svga->state.sw.need_swvfetch = FALSE; 201 svga->state.sw.need_pipeline = FALSE [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowMediaRecorder.java | 15 // Recording machine state, as per: 25 private int state; field in class:ShadowMediaRecorder 49 state = STATE_INITIAL; 60 state = STATE_DATA_SOURCE_CONFIGURED; 76 state = STATE_INITIALIZED; 107 state = STATE_DATA_SOURCE_CONFIGURED; 113 state = STATE_DATA_SOURCE_CONFIGURED; 119 state = STATE_DATA_SOURCE_CONFIGURED; 125 state = STATE_DATA_SOURCE_CONFIGURED; 136 state = STATE_DATA_SOURCE_CONFIGURED [all...] |
/dalvik/vm/ |
Profile.cpp | 507 MethodTraceState* state = &gDvm.methodTrace; local 511 dvmLockMutex(&state->startStopLock); 512 while (state->traceEnabled != 0) { 514 dvmUnlockMutex(&state->startStopLock); 516 dvmLockMutex(&state->startStopLock); 526 state->buf = (u1*) malloc(bufferSize); 527 if (state->buf == NULL) { 533 state->traceFile = fopen(traceFileName, "w"); 535 state->traceFile = fdopen(traceFd, "w"); 537 if (state->traceFile == NULL) 698 const MethodTraceState* state = &gDvm.methodTrace; local 714 MethodTraceState* state = &gDvm.methodTrace; local 935 MethodTraceState* state = &gDvm.methodTrace; local [all...] |
/bootable/recovery/edify/ |
expr.c | 35 char* Evaluate(State* state, Expr* expr) { 36 Value* v = expr->fn(expr->name, state, expr->argc, expr->argv); 39 ErrorAbort(state, "expecting string, got value type %d", v->type); 48 Value* EvaluateValue(State* state, Expr* expr) { 49 return expr->fn(expr->name, state, expr->argc, expr->argv); 67 Value* ConcatFn(const char* name, State* state, int argc, Expr* argv[]) { 79 strings[i] = Evaluate(state, argv[i]) [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
SimpleConstraintManager.cpp | 68 ProgramStateRef SimpleConstraintManager::assume(ProgramStateRef state, 72 return assume(state, *NV, Assumption); 73 return assume(state, Cond.castAs<Loc>(), Assumption); 76 ProgramStateRef SimpleConstraintManager::assume(ProgramStateRef state, Loc cond, 78 state = assumeAux(state, cond, assumption); 80 return SU->processAssume(state, cond, assumption); 81 return state; 84 ProgramStateRef SimpleConstraintManager::assumeAux(ProgramStateRef state, 89 return state; [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/cm/ |
coffeescript.js | 40 function tokenBase(stream, state) { 43 var scopeOffset = state.scopes[0].offset; 54 dedent(stream, state); 72 state.tokenize = longComment; 73 return state.tokenize(stream, state); 124 state.tokenize = tokenFactory(stream.current(), 'string'); 125 return state.tokenize(stream, state); 130 state.tokenize = tokenFactory(stream.current(), 'string-2') [all...] |
/external/chromium_org/third_party/mesa/src/src/glsl/ |
main.cpp | 143 struct _mesa_glsl_parse_state *state = local 147 state->error = glcpp_preprocess(state, &source, &state->info_log, 148 state->extensions, ctx->API) != 0; 150 if (!state->error) { 151 _mesa_glsl_lexer_ctor(state, source); 152 _mesa_glsl_parse(state); 153 _mesa_glsl_lexer_dtor(state); 157 foreach_list_const(n, &state->translation_unit) [all...] |
/external/elfutils/libdwfl/ |
argp-std.c | 115 parse_opt (int key, char *arg, struct argp_state *state) 122 argp_failure (state, EXIT_FAILURE, 0, "%s: %s", 125 argp_failure (state, EXIT_FAILURE, errnum, "%s", msg); 141 Dwfl *dwfl = state->hook; 147 state->hook = dwfl; 157 state->hook = dwfl; 162 argp_error (state, "%s", 170 if (state->hook == NULL) 176 state->hook = dwfl; 183 if (state->hook == NULL [all...] |
/external/mesa3d/src/glsl/ |
main.cpp | 143 struct _mesa_glsl_parse_state *state = local 147 state->error = glcpp_preprocess(state, &source, &state->info_log, 148 state->extensions, ctx->API) != 0; 150 if (!state->error) { 151 _mesa_glsl_lexer_ctor(state, source); 152 _mesa_glsl_parse(state); 153 _mesa_glsl_lexer_dtor(state); 157 foreach_list_const(n, &state->translation_unit) [all...] |
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
prune.h | 37 // If non-zero, passes in pre-computed shortest distance from initial state 92 for (StateId state = 0; state < ns; ++state) { 93 if (less(ceiling, Times((*idistance)[state], (*fdistance)[state]))) { 94 dead.push_back(state); 97 for (MutableArcIterator< MutableFst<Arc> > it(fst, state); 102 Weight weight = Times(Times((*idistance)[state], arc.weight), 109 if (less(ceiling, Times((*idistance)[state], fst->Final(state))) 180 StateId state = sit.Value(); local [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/scopes/ |
SymbolTableLexer.m | 49 self = [super initWithCharStream:anInput State:[[ANTLRRecognizerSharedState newANTLRRecognizerSharedStateWithRuleLen:12+1] retain]]; 86 state.type = _type; 87 state.channel = _channel; 118 state.type = _type; 119 state.channel = _channel; 150 state.type = _type; 151 state.channel = _channel; 182 state.type = _type; 183 state.channel = _channel; 215 state.type = _type [all...] |
/frameworks/av/cmds/stagefright/ |
codec.cpp | 111 CodecState *state = local 114 state->mNumBytesDecoded = 0; 115 state->mNumBuffersDecoded = 0; 116 state->mIsAudio = isAudio; 118 state->mCodec = MediaCodec::CreateByType( 121 CHECK(state->mCodec != NULL); 123 err = state->mCodec->configure( 130 state->mSignalledInputEOS = false; 131 state->mSawOutputEOS = false; 139 CodecState *state = &stateByTrack.editValueAt(i) local 163 CodecState *state = &stateByTrack.editValueFor(trackIndex); local 198 CodecState *state = &stateByTrack.editValueAt(i); local 227 CodecState *state = &stateByTrack.editValueAt(i); local 239 CodecState *state = &stateByTrack.editValueAt(i); local 289 CodecState *state = &stateByTrack.editValueAt(i); local [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkBitmapProcState_procs.h | 93 #define CHECKSTATE(state) SkASSERT(state.fBitmap->config() == SkBitmap::kARGB_8888_Config); \ 94 SkASSERT(state.fAlphaScale == 256) 105 #define CHECKSTATE(state) SkASSERT(state.fBitmap->config() == SkBitmap::kARGB_8888_Config); \ 106 SkASSERT(state.fAlphaScale < 256) 107 #define PREAMBLE(state) unsigned alphaScale = state.fAlphaScale 124 #define CHECKSTATE(state) SkASSERT(state.fBitmap->config() == SkBitmap::kRGB_565_Config); [all...] |
/external/qemu/distrib/sdl-1.2.15/src/audio/ |
SDL_wave.c | 44 struct MS_ADPCM_decodestate state[2]; member in struct:MS_ADPCM_decoder 81 static Sint32 MS_ADPCM_nibble(struct MS_ADPCM_decodestate *state, 92 new_sample = ((state->iSamp1 * coeff[0]) + 93 (state->iSamp2 * coeff[1]))/256; 95 new_sample += state->iDelta * (nybble-0x10); 97 new_sample += state->iDelta * nybble; 105 delta = ((Sint32)state->iDelta * adaptive[nybble])/256; 109 state->iDelta = (Uint16)delta; 110 state->iSamp2 = state->iSamp1 117 struct MS_ADPCM_decodestate *state[2]; local 222 struct IMA_ADPCM_decodestate state[2]; member in struct:IMA_ADPCM_decoder 325 struct IMA_ADPCM_decodestate *state; local [all...] |
/external/skia/src/core/ |
SkBitmapProcState_procs.h | 93 #define CHECKSTATE(state) SkASSERT(state.fBitmap->config() == SkBitmap::kARGB_8888_Config); \ 94 SkASSERT(state.fAlphaScale == 256) 105 #define CHECKSTATE(state) SkASSERT(state.fBitmap->config() == SkBitmap::kARGB_8888_Config); \ 106 SkASSERT(state.fAlphaScale < 256) 107 #define PREAMBLE(state) unsigned alphaScale = state.fAlphaScale 124 #define CHECKSTATE(state) SkASSERT(state.fBitmap->config() == SkBitmap::kRGB_565_Config); [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i915/ |
i915_texstate.c | 130 /* Recalculate all state from scratch. Perhaps not the most 144 GLuint *state = i915->state.Tex[unit], format, pitch; local 149 memset(state, 0, sizeof(*state)); 153 if (i915->state.tex_buffer[unit] != NULL) { 154 drm_intel_bo_unreference(i915->state.tex_buffer[unit]); 155 i915->state.tex_buffer[unit] = NULL; 167 i915->state.tex_buffer[unit] = intelObj->mt->region->bo; 168 i915->state.tex_offset[unit] = intelObj->mt->offset [all...] |
i830_vtbl.c | 134 GLuint mcs = (i830->state.Tex[i][I830_TEXREG_MCS] & 163 if (mcs != i830->state.Tex[i][I830_TEXREG_MCS]) { 165 i830->state.Tex[i][I830_TEXREG_MCS] = mcs; 178 if (v0 != i830->state.Ctx[I830_CTXREG_VF] || 179 v2 != i830->state.Ctx[I830_CTXREG_VF2] || 180 mcsb1 != i830->state.Ctx[I830_CTXREG_MCSB1] || 187 * buffered vertices reliant on the old state: 197 i830->state.Ctx[I830_CTXREG_VF] = v0; 198 i830->state.Ctx[I830_CTXREG_VF2] = v2; 199 i830->state.Ctx[I830_CTXREG_MCSB1] = mcsb1 420 struct i830_hw_state *state = &i830->state; local 623 struct i830_hw_state *state = &i830->state; local [all...] |
/external/chromium_org/v8/src/ |
v8threads.cc | 69 // get the saved state for this thread and restore it. 142 // not archived at all. If that is the case we put the state storage we 157 // Make sure that the preemption thread cannot modify the thread state while 173 ThreadState* state = per_thread->thread_state(); local 174 char* from = state->data(); 185 if (state->terminate_on_restore()) { 187 state->set_terminate_on_restore(false); 189 state->set_id(ThreadId::Invalid()); 190 state->Unlink(); 191 state->LinkInto(ThreadState::FREE_LIST) 317 ThreadState* state = GetFreeThreadState(); local 332 ThreadState* state = lazily_archived_thread_state_; local [all...] |
/external/mesa3d/src/mesa/drivers/dri/i915/ |
i915_texstate.c | 130 /* Recalculate all state from scratch. Perhaps not the most 144 GLuint *state = i915->state.Tex[unit], format, pitch; local 149 memset(state, 0, sizeof(*state)); 153 if (i915->state.tex_buffer[unit] != NULL) { 154 drm_intel_bo_unreference(i915->state.tex_buffer[unit]); 155 i915->state.tex_buffer[unit] = NULL; 167 i915->state.tex_buffer[unit] = intelObj->mt->region->bo; 168 i915->state.tex_offset[unit] = intelObj->mt->offset [all...] |