/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
phase_dispersion.cpp | 160 int16 i, j, state; local 173 state = 0; 177 state = 1; 181 state = 2; 193 if (state < 2) 195 state++; 211 state = 0; 213 if (state > *prev_state + 1) 215 state--; 220 *prev_state = state; [all...] |
/external/bison/src/ |
state.h | 1 /* Type definitions for the finite state machine for Bison. 23 finite state machine that parses the specified grammar. This 27 Each state of the machine is described by a set of items -- 30 state. These symbols at these items are the allowable inputs that 33 A core represents one state. States are numbered in the NUMBER 34 field. When generate_states is finished, the starting state is 35 state 0 and NSTATES is the number of states. (FIXME: This sentence 36 is no longer true: A transition to a state whose state number is 38 and FIRST_STATE points to the first one (state 0) 105 typedef struct state state; typedef in typeref:struct:state 198 struct state struct [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/ |
WebGLVertexArrayObjectOES.cpp | 79 VertexAttribState& state = m_vertexAttribState[i]; local 80 if (state.bufferBinding) 81 state.bufferBinding->onDetached(context3d); 100 VertexAttribState& state = m_vertexAttribState[index]; local 104 if (state.bufferBinding) 105 state.bufferBinding->onDetached(context()->graphicsContext3D()); 107 state.bufferBinding = buffer; 108 state.bytesPerElement = bytesPerElement; 109 state.size = size; 110 state.type = type 125 VertexAttribState& state = m_vertexAttribState[i]; local 135 VertexAttribState& state = m_vertexAttribState[index]; local [all...] |
/hardware/qcom/audio/legacy/alsa_sound/ |
AudioPolicyManagerALSA.cpp | 49 void AudioPolicyManager::setPhoneState(int state) { 50 ALOGV("setPhoneState() state %d", state); 52 if (state < 0 || state >= AudioSystem::NUM_MODES) { 53 ALOGW("setPhoneState() invalid state %d", state); 57 if (state == mPhoneState) { 58 ALOGW("setPhoneState() setting same state %d", state); [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
u_dump_state.c | 295 util_dump_rasterizer_state(FILE *stream, const struct pipe_rasterizer_state *state) 297 if(!state) { 304 util_dump_member(stream, bool, state, flatshade); 305 util_dump_member(stream, bool, state, light_twoside); 306 util_dump_member(stream, bool, state, clamp_vertex_color); 307 util_dump_member(stream, bool, state, clamp_fragment_color); 308 util_dump_member(stream, uint, state, front_ccw); 309 util_dump_member(stream, uint, state, cull_face); 310 util_dump_member(stream, uint, state, fill_front); 311 util_dump_member(stream, uint, state, fill_back) [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_dump_state.c | 295 util_dump_rasterizer_state(FILE *stream, const struct pipe_rasterizer_state *state) 297 if(!state) { 304 util_dump_member(stream, bool, state, flatshade); 305 util_dump_member(stream, bool, state, light_twoside); 306 util_dump_member(stream, bool, state, clamp_vertex_color); 307 util_dump_member(stream, bool, state, clamp_fragment_color); 308 util_dump_member(stream, uint, state, front_ccw); 309 util_dump_member(stream, uint, state, cull_face); 310 util_dump_member(stream, uint, state, fill_front); 311 util_dump_member(stream, uint, state, fill_back) [all...] |
/external/guava/guava/src/com/google/common/util/concurrent/ |
AbstractService.java | 22 import com.google.common.util.concurrent.Service.State; // javadoc needs this 48 * The internal state, which equals external state unless 51 private State state = State.NEW; field in class:AbstractService 85 public final ListenableFuture<State> start() { 88 if (state == State.NEW) { 89 state = State.STARTING 225 public final State state() { method in class:AbstractService [all...] |
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/ |
Lexer.js | 6 org.antlr.runtime.Lexer = function(input, state) { 7 if (state) { 8 org.antlr.runtime.Lexer.superclass.constructor.call(this, state); 17 // reset all recognizer state variables 22 if ( !org.antlr.lang.isValue(this.state) ) { 23 return; // no shared state work to do 25 this.state.token = null; 26 this.state.type = org.antlr.runtime.Token.INVALID_TOKEN_TYPE; 27 this.state.channel = org.antlr.runtime.Token.DEFAULT_CHANNEL; 28 this.state.tokenStartCharIndex = -1 [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/ |
GuidelinePainter.java | 50 GuidelineHandler state = (GuidelineHandler) feedback.userData; local 52 for (INode dragged : state.mDraggedNodes) { 60 Set<INode> horizontalDeps = state.mHorizontalDeps; 61 Set<INode> verticalDeps = state.mVerticalDeps; 69 if (state.mDraggedNodes.contains(n)) { 77 if (state.mBounds != null) { 78 if (state instanceof MoveHandler) { 82 if (state.haveSuggestions()) { 88 gc.drawRect(state.mBounds); 92 int y = state.mBounds.y + feedback.dragBaseline [all...] |
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/ |
StyleBuilderCustom.cpp | 89 static Length clipConvertToLength(StyleResolverState& state, CSSPrimitiveValue* value) 91 return value->convertToLength<FixedConversion | PercentConversion | AutoConversion>(state.cssToLengthConversionData()); 94 void StyleBuilderFunctions::applyInitialCSSPropertyClip(StyleResolverState& state) 96 state.style()->setClip(Length(), Length(), Length(), Length()); 97 state.style()->setHasClip(false); 100 void StyleBuilderFunctions::applyInheritCSSPropertyClip(StyleResolverState& state) 102 RenderStyle* parentStyle = state.parentStyle(); 104 return applyInitialCSSPropertyClip(state); 105 state.style()->setClip(parentStyle->clipTop(), parentStyle->clipRight(), parentStyle->clipBottom(), parentStyle->clipLeft()); 106 state.style()->setHasClip(true) [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
Lexer.cs | 54 public Lexer(ICharStream input, RecognizerSharedState state) 55 : base(state) { 63 if (state.text != null) { 64 return state.text; 66 return input.Substring(state.tokenStartCharIndex, CharIndex - state.tokenStartCharIndex); 70 state.text = value; 92 base.Reset(); // reset all recognizer state variables 93 // wack Lexer state variables 97 if (state == null) [all...] |
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
Lexer.cs | 58 public Lexer( ICharStream input, RecognizerSharedState state ) 59 : base(state) 70 if ( state.text != null ) 72 return state.text; 74 return input.Substring( state.tokenStartCharIndex, CharIndex - state.tokenStartCharIndex ); 79 state.text = value; 108 base.Reset(); // reset all recognizer state variables 109 // wack Lexer state variables 114 if ( state == null [all...] |
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
reweight.h | 31 // distributive when reweighting towards the initial state and right 34 // An arc of weight w, with an origin state of potential p and 35 // destination state of potential q, is reweighted by p\wq when 36 // reweighting towards the initial state and by pw/q when reweighting 54 LOG(FATAL) << "Reweight: Reweighting to the initial state requires " 61 typename Arc::StateId state = sit.Value(); local 62 for (MutableArcIterator< MutableFst<Arc> > ait(fst, state); 66 if ((potential[state] == Weight::Zero()) || 70 && (potential[state] != Weight::Zero())) 72 potential[state], DIVIDE_LEFT) 90 typename Arc::StateId state = fst->Start(); local 111 typename Arc::StateId state = fst->AddState(); local [all...] |
/device/generic/goldfish/opengl/shared/OpenglCodecCommon/ |
GLClientState.h | 64 bool enableDirty; // true if any enable state has changed since last draw 85 void enable(int location, int state); 132 * These functions manipulate GL state which interacts with the 269 const GLClientState::VertexAttribState *state = getState(GLClientState::VERTEX_LOCATION); local 270 *ptr = state->size; 275 const GLClientState::VertexAttribState *state = getState(GLClientState::VERTEX_LOCATION); local 276 *ptr = state->type; 281 const GLClientState::VertexAttribState *state = getState(GLClientState::VERTEX_LOCATION); local 282 *ptr = state->stride; 287 const GLClientState::VertexAttribState *state = getState(GLClientState::COLOR_LOCATION) local 293 const GLClientState::VertexAttribState *state = getState(GLClientState::COLOR_LOCATION); local 299 const GLClientState::VertexAttribState *state = getState(GLClientState::COLOR_LOCATION); local 305 const GLClientState::VertexAttribState *state = getState(GLClientState::NORMAL_LOCATION); local 311 const GLClientState::VertexAttribState *state = getState(GLClientState::NORMAL_LOCATION); local 317 const GLClientState::VertexAttribState *state = getState(getActiveTexture() + GLClientState::TEXCOORD0_LOCATION); local 323 const GLClientState::VertexAttribState *state = getState(getActiveTexture() + GLClientState::TEXCOORD0_LOCATION); local 329 const GLClientState::VertexAttribState *state = getState(getActiveTexture() + GLClientState::TEXCOORD0_LOCATION); local 335 const GLClientState::VertexAttribState *state = getState(GLClientState::POINTSIZE_LOCATION); local 341 const GLClientState::VertexAttribState *state = getState(GLClientState::POINTSIZE_LOCATION); local 347 const GLClientState::VertexAttribState *state = getState(GLClientState::MATRIXINDEX_LOCATION); local 353 const GLClientState::VertexAttribState *state = getState(GLClientState::MATRIXINDEX_LOCATION); local 359 const GLClientState::VertexAttribState *state = getState(GLClientState::MATRIXINDEX_LOCATION); local 365 const GLClientState::VertexAttribState *state = getState(GLClientState::WEIGHT_LOCATION); local 371 const GLClientState::VertexAttribState *state = getState(GLClientState::WEIGHT_LOCATION); local 377 const GLClientState::VertexAttribState *state = getState(GLClientState::WEIGHT_LOCATION); local 383 const GLClientState::VertexAttribState *state = getState(GLClientState::VERTEX_LOCATION); local 389 const GLClientState::VertexAttribState *state = getState(GLClientState::NORMAL_LOCATION); local 395 const GLClientState::VertexAttribState *state = getState(GLClientState::COLOR_LOCATION); local 401 const GLClientState::VertexAttribState *state = getState(getActiveTexture()+GLClientState::TEXCOORD0_LOCATION); local 407 const GLClientState::VertexAttribState *state = getState(GLClientState::POINTSIZE_LOCATION); local 413 const GLClientState::VertexAttribState *state = getState(GLClientState::MATRIXINDEX_LOCATION); local 419 const GLClientState::VertexAttribState *state = getState(GLClientState::WEIGHT_LOCATION); local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/ |
sp_state_shader.c | 78 /* draw's fs state */ 125 struct sp_fragment_shader *state = CALLOC_STRUCT(sp_fragment_shader); local 132 state->shader.tokens = tgsi_dup_tokens(templ->tokens); 134 /* draw's fs state */ 135 state->draw_shader = draw_create_fragment_shader(softpipe->draw, 136 &state->shader); 137 if (!state->draw_shader) { 138 FREE((void *) state->shader.tokens); 139 FREE(state); 143 return state; 151 struct sp_fragment_shader *state = (struct sp_fragment_shader *) fs; local 179 struct sp_fragment_shader *state = fs; local 210 struct sp_vertex_shader *state; local 259 struct sp_vertex_shader *state = (struct sp_vertex_shader *) vs; local 272 struct sp_geometry_shader *state; local 325 struct sp_geometry_shader *state = local [all...] |
/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_state_shader.c | 78 /* draw's fs state */ 125 struct sp_fragment_shader *state = CALLOC_STRUCT(sp_fragment_shader); local 132 state->shader.tokens = tgsi_dup_tokens(templ->tokens); 134 /* draw's fs state */ 135 state->draw_shader = draw_create_fragment_shader(softpipe->draw, 136 &state->shader); 137 if (!state->draw_shader) { 138 FREE((void *) state->shader.tokens); 139 FREE(state); 143 return state; 151 struct sp_fragment_shader *state = (struct sp_fragment_shader *) fs; local 179 struct sp_fragment_shader *state = fs; local 210 struct sp_vertex_shader *state; local 259 struct sp_vertex_shader *state = (struct sp_vertex_shader *) vs; local 272 struct sp_geometry_shader *state; local 325 struct sp_geometry_shader *state = local [all...] |
/sdk/emulator/opengl/shared/OpenglCodecCommon/ |
GLClientState.h | 64 bool enableDirty; // true if any enable state has changed since last draw 85 void enable(int location, int state); 132 * These functions manipulate GL state which interacts with the 269 const GLClientState::VertexAttribState *state = getState(GLClientState::VERTEX_LOCATION); local 270 *ptr = state->size; 275 const GLClientState::VertexAttribState *state = getState(GLClientState::VERTEX_LOCATION); local 276 *ptr = state->type; 281 const GLClientState::VertexAttribState *state = getState(GLClientState::VERTEX_LOCATION); local 282 *ptr = state->stride; 287 const GLClientState::VertexAttribState *state = getState(GLClientState::COLOR_LOCATION) local 293 const GLClientState::VertexAttribState *state = getState(GLClientState::COLOR_LOCATION); local 299 const GLClientState::VertexAttribState *state = getState(GLClientState::COLOR_LOCATION); local 305 const GLClientState::VertexAttribState *state = getState(GLClientState::NORMAL_LOCATION); local 311 const GLClientState::VertexAttribState *state = getState(GLClientState::NORMAL_LOCATION); local 317 const GLClientState::VertexAttribState *state = getState(getActiveTexture() + GLClientState::TEXCOORD0_LOCATION); local 323 const GLClientState::VertexAttribState *state = getState(getActiveTexture() + GLClientState::TEXCOORD0_LOCATION); local 329 const GLClientState::VertexAttribState *state = getState(getActiveTexture() + GLClientState::TEXCOORD0_LOCATION); local 335 const GLClientState::VertexAttribState *state = getState(GLClientState::POINTSIZE_LOCATION); local 341 const GLClientState::VertexAttribState *state = getState(GLClientState::POINTSIZE_LOCATION); local 347 const GLClientState::VertexAttribState *state = getState(GLClientState::MATRIXINDEX_LOCATION); local 353 const GLClientState::VertexAttribState *state = getState(GLClientState::MATRIXINDEX_LOCATION); local 359 const GLClientState::VertexAttribState *state = getState(GLClientState::MATRIXINDEX_LOCATION); local 365 const GLClientState::VertexAttribState *state = getState(GLClientState::WEIGHT_LOCATION); local 371 const GLClientState::VertexAttribState *state = getState(GLClientState::WEIGHT_LOCATION); local 377 const GLClientState::VertexAttribState *state = getState(GLClientState::WEIGHT_LOCATION); local 383 const GLClientState::VertexAttribState *state = getState(GLClientState::VERTEX_LOCATION); local 389 const GLClientState::VertexAttribState *state = getState(GLClientState::NORMAL_LOCATION); local 395 const GLClientState::VertexAttribState *state = getState(GLClientState::COLOR_LOCATION); local 401 const GLClientState::VertexAttribState *state = getState(getActiveTexture()+GLClientState::TEXCOORD0_LOCATION); local 407 const GLClientState::VertexAttribState *state = getState(GLClientState::POINTSIZE_LOCATION); local 413 const GLClientState::VertexAttribState *state = getState(GLClientState::MATRIXINDEX_LOCATION); local 419 const GLClientState::VertexAttribState *state = getState(GLClientState::WEIGHT_LOCATION); local [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
CStringChecker.cpp | 62 void checkLiveSymbols(ProgramStateRef state, SymbolReaper &SR) const; 64 bool wantsRegionChangeUpdate(ProgramStateRef state) const; 67 checkRegionChanges(ProgramStateRef state, 81 ProgramStateRef state, 122 ProgramStateRef state, SVal V, QualType Ty); 124 static ProgramStateRef setCStringLength(ProgramStateRef state, 128 ProgramStateRef &state, 133 ProgramStateRef &state, 139 ProgramStateRef &state, 144 ProgramStateRef state, 977 ProgramStateRef state = C.getState(); local 989 ProgramStateRef state = C.getState(); local 1001 ProgramStateRef state = C.getState(); local 1026 ProgramStateRef state = C.getState(); local 1111 ProgramStateRef state = C.getState(); local 1284 ProgramStateRef state = C.getState(); local 1637 ProgramStateRef state = C.getState(); local 1888 ProgramStateRef state = C.getState(); local [all...] |
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
Lexer.as | 39 public function Lexer(input:CharStream = null, state:RecognizerSharedState = null) { 40 super(state); 45 super.reset(); // reset all recognizer state variables 46 // wack Lexer state variables 50 if ( state==null ) { 51 return; // no shared state work to do 53 state.token = null; 54 state.type = TokenConstants.INVALID_TOKEN_TYPE; 55 state.channel = TokenConstants.DEFAULT_CHANNEL; 56 state.tokenStartCharIndex = -1 [all...] |
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
Lexer.java | 46 public Lexer(CharStream input, RecognizerSharedState state) { 47 super(state); 52 super.reset(); // reset all recognizer state variables 53 // wack Lexer state variables 57 if ( state==null ) { 58 return; // no shared state work to do 60 state.token = null; 61 state.type = Token.INVALID_TOKEN_TYPE; 62 state.channel = Token.DEFAULT_CHANNEL; 63 state.tokenStartCharIndex = -1 [all...] |
/external/libnfc-nxp/src/ |
phLlcNfc_StateMachine.c | 19 * \brief Llc state machine implemenatation. 63 switch(psLlcCtxt->state) 70 psLlcCtxt->state = changeStateTo; 79 psLlcCtxt->state = changeStateTo; 88 psLlcCtxt->state = changeStateTo; 97 psLlcCtxt->state = changeStateTo; 107 psLlcCtxt->state = changeStateTo; 117 psLlcCtxt->state = changeStateTo; 126 psLlcCtxt->state = changeStateTo; 133 psLlcCtxt->state = changeStateTo [all...] |
/dalvik/hit/src/com/android/hit/ |
Main.java | 37 State state = (new HprofParser(dis)).parse(); local 41 testClassesQuery(state); 42 testAllClassesQuery(state); 43 testFindInstancesOf(state); 44 testFindAllInstancesOf(state); 50 private static void testClassesQuery(State state) { 57 Map<String, Set<ClassObj>> someClasses = Queries.classes(state, x); 70 private static void testAllClassesQuery(State state) [all...] |
/external/chromium/net/tools/flip_server/ |
spdy_ssl.cc | 26 void InitSSL(SSLState* state, 38 state->ssl_method = SSLv23_method(); 39 state->ssl_ctx = SSL_CTX_new(state->ssl_method); 40 if (!state->ssl_ctx) { 45 SSL_CTX_set_options(state->ssl_ctx, 47 if (SSL_CTX_use_certificate_chain_file(state->ssl_ctx, 52 if (SSL_CTX_use_PrivateKey_file(state->ssl_ctx, 58 if (!SSL_CTX_check_private_key(state->ssl_ctx)) { 63 SSL_CTX_set_next_protos_advertised_cb(state->ssl_ctx [all...] |
/external/chromium_org/net/tools/flip_server/ |
spdy_ssl.cc | 32 void InitSSL(SSLState* state, 44 state->ssl_method = SSLv23_method(); 47 state->ssl_ctx = SSL_CTX_new(const_cast<SSL_METHOD*>(state->ssl_method)); 48 if (!state->ssl_ctx) { 53 SSL_CTX_set_options(state->ssl_ctx, 55 if (SSL_CTX_use_certificate_chain_file(state->ssl_ctx, 61 state->ssl_ctx, ssl_key_name.c_str(), SSL_FILETYPE_PEM) <= 0) { 65 if (!SSL_CTX_check_private_key(state->ssl_ctx)) { 71 state->ssl_ctx, ssl_set_npn_callback, NULL) [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
lpc.cpp | 100 state = pointer to pointer of state data of type lpcState 117 This function initializes the state data for the LPC module. 135 if (state == (lpcState **) NULL){ 139 *state = NULL; 143 // fprintf(stderr, "lpc_init: can not malloc state structure\n"); 157 *state = s; 179 [State any special notes, constraints or cautions for users of this function] 183 Word16 lpc_init(lpcState **state) 187 if (state == (lpcState **) NULL [all...] |