/external/chromium/chrome/browser/sync/glue/ |
password_data_type_controller.h | 50 virtual State state() const; 58 void StartDone(StartResult result, State state); 59 void StartDoneImpl(StartResult result, State state); 65 void set_state(State state) { 67 state_ = state; 73 State state_ [all...] |
/external/chromium-trace/trace-viewer/src/ |
linux_perf_clock_parser_test.html | 23 'fout_apll state=500000000 cpu_id=0', 26 'fout_apll state=300000000 cpu_id=0', 29 'fout_apll state=400000000 cpu_id=0', 32 'fout_apll state=500000000 cpu_id=0', 35 'fout_apll state=800000000 cpu_id=0', 38 'fout_apll state=200000000 cpu_id=0', 41 'fout_apll state=300000000 cpu_id=0', 44 'fout_apll state=600000000 cpu_id=0', 47 'fout_apll state=200000000 cpu_id=0', 50 'fout_apll state=500000000 cpu_id=0' [all...] |
/tools/motodev/src/help/studio_help/src/topics/ |
u_save-ui-state.dita | 3 <reference id="u_save-ui-state" xml:lang="en-us"> 4 <title>Generate Save UI State code</title> 5 <shortdesc>Generates code to save and restore UI state for many of the views in a selected xml layout.</shortdesc> 18 <uicontrol>Generate Save UI State code</uicontrol> 23 <stentry>The project into which the state-saving code is to be added.</stentry> 27 <stentry>The Java class into which the state-saving code is to be added. This feature adds code to the 28 selected class's onPause() method that saves the state of the selected views. It also adds code to the 29 selected class's onResume() method to restore the saved state.</stentry> 33 <stentry>A read-only text field that indicates which layout file's state will be saved and restored by the 38 <stentry>A list of views for which state can be saved and restored. Select those views for which you want cod [all...] |
/frameworks/base/core/java/android/nfc/ |
NfcActivityManager.java | 47 final List<NfcApplicationState> mApps; // Application(s) that have NFC state. Usually one 48 final List<NfcActivityState> mActivities; // Activities that have NFC state 51 * NFC State associated with an {@link Application}. 103 * NFC state associated with an {@link Activity} 148 /** find activity state from mActivities */ 150 for (NfcActivityState state : mActivities) { 151 if (state.activity == activity) { 152 return state; 158 /** find or create activity state from mActivities */ 160 NfcActivityState state = findActivityState(activity) local 195 NfcActivityState state = getActivityState(activity); local 209 NfcActivityState state = getActivityState(activity); local 221 NfcActivityState state = getActivityState(activity); local 234 NfcActivityState state = getActivityState(activity); local 247 NfcActivityState state = getActivityState(activity); local 275 NfcActivityState state = findResumedActivityState(); local 296 NfcActivityState state = findResumedActivityState(); local 329 NfcActivityState state = findResumedActivityState(); local 353 NfcActivityState state = findActivityState(activity); local 365 NfcActivityState state = findActivityState(activity); local 385 NfcActivityState state = findActivityState(activity); local [all...] |
/external/antlr/antlr-3.4/runtime/C/src/ |
antlr3lexer.c | 72 antlr3LexerNew(ANTLR3_UINT32 sizeHint, pANTLR3_RECOGNIZER_SHARED_STATE state) 88 lexer->rec = antlr3BaseRecognizerNew(ANTLR3_TYPE_LEXER, sizeHint, state); 105 if (lexer->rec->state->tokSource == NULL) 107 lexer->rec->state->tokSource = (pANTLR3_TOKEN_SOURCE)ANTLR3_CALLOC(1, sizeof(ANTLR3_TOKEN_SOURCE)); 109 if (lexer->rec->state->tokSource == NULL) 116 lexer->rec->state->tokSource->super = lexer; 121 lexer->rec->state->tokSource->nextToken = nextToken; 122 lexer->rec->state->tokSource->strFactory = NULL; 124 lexer->rec->state->tokFactory = NULL; 149 specialT = &(lexer->rec->state->tokSource->eofToken) 220 pANTLR3_RECOGNIZER_SHARED_STATE state; local [all...] |
/development/tools/emulator/opengl/system/GLESv1_enc/ |
GLEncoder.cpp | 75 GLClientState* state = ctx->m_state; local 94 *ptr = state->getBoundTexture(GL_TEXTURE_2D); 98 *ptr = state->getBoundTexture(GL_TEXTURE_EXTERNAL_OES); 102 if (!state->getClientStateParameter<GLint>(param,ptr)) { 113 GLClientState* state = ctx->m_state; local 133 *ptr = (GLfloat)state->getBoundTexture(GL_TEXTURE_2D); 137 *ptr = (GLfloat)state->getBoundTexture(GL_TEXTURE_EXTERNAL_OES); 141 if (!state->getClientStateParameter<GLfloat>(param,ptr)) { 152 GLClientState* state = ctx->m_state; local 172 *ptr = state->getBoundTexture(GL_TEXTURE_2D) << 16 191 GLClientState* state = ctx->m_state; local 344 const GLClientState::VertexAttribState *state = ctx->m_state->getState(loc); local [all...] |
/external/easymock/src/org/easymock/internal/ |
MocksControl.java | 28 private IMocksControlState state;
field in class:MocksControl 44 return state;
49 state.assertRecordState();
60 state.assertRecordState();
76 state = new RecordState(behavior);
97 state.replay();
98 state = new ReplayState(behavior);
107 state.verify();
117 state.checkOrder(value);
125 state.makeThreadSafe(threadSafe); [all...] |
/external/webkit/Source/WebCore/bindings/generic/ |
BindingSecurity.h | 53 static bool canAccessFrame(State<Binding>*, Frame*, bool reportError); 57 static bool checkNodeSecurity(State<Binding>*, Node* target); 59 static bool allowPopUp(State<Binding>*); 60 static bool allowSettingFrameSrcToJavascriptUrl(State<Binding>*, HTMLFrameElementBase*, String value); 61 static bool allowSettingSrcToJavascriptURL(State<Binding>*, Element*, String name, String value); 63 static bool shouldAllowNavigation(State<Binding>*, Frame*); 72 static bool canAccessWindow(State<Binding>*, DOMWindow* target); 78 bool BindingSecurity<Binding>::canAccessWindow(State<Binding>* state, 81 DOMWindow* activeWindow = state->activeWindow() [all...] |
/external/chromium/chrome/common/extensions/docs/examples/api/idle/idle_simple/ |
history.html | 17 * Convert a state and time into a nice styled chunk of HTML. 19 function renderState(state, time) { 25 var col = (state == "active") ? 28 return "<b style='color: " + col + "'>" + state + "</b> " + str; 32 * Creates DOM and injects a rendered state into the page. 34 function renderItem(state, time, parent) { 36 dom_item.innerHTML = renderState(state, time); 43 <h2>Current state</h2> 53 <span id="idle-state"></span> 56 Last state change: <span id="idle-laststate"></span [all...] |
/external/markdown/markdown/ |
blockparser.py | 4 class State(list): 5 """ Track the current and nested state of the parser. 7 This utility class is used to track the state of the BlockParser and 9 a list. Each time a state is set, that state is appended to the end of the 10 list. Each time a state is reset, that state is removed from the end of 13 Therefore, each time a state is set for a nested block, that state must be 14 reset when we back out of that level of nesting or the state could b [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/ |
GLStateType.java | 17 package com.android.ide.eclipse.gltrace.state; 19 /** The type for each OpenGL State Property {@link IGLProperty}. */ 21 // Note: the indentation reflects the state hierarchy. 23 GL_STATE("OpenGL State Variables"), 24 GL_STATE_ES1("OpenGL ES 1.1 State"), 25 GL_STATE_ES2("OpenGL ES 2.0 State"), 51 VBO_COMPOSITE("Per VBO State"), 57 TRANSFORMATION_STATE("Transformation State"), 67 RASTERIZATION_STATE("Rasterization State"), 113 TEXTURE_STATE("Texture State"), [all...] |
/external/openfst/src/include/fst/ |
cache.h | 51 // void Free(S *state, StateId s); 69 S *state = mru_; local 71 state->Reset(); 72 return state; 77 void Free(S *state, StateId s) { 81 mru_ = state; 93 // must set the final weight even if the state is non-final to mark it as 104 typedef S State; 106 typedef typename State::Arc Arc; 113 using VectorFstBaseImpl<State>::NumStates 216 S *state = VectorFstBaseImpl<S>::GetState(s); local 229 S *state = ExtendState(s); local 238 S *state = ExtendState(s); local 260 S *state = ExtendState(s); local 267 S *state = ExtendState(s); local 289 S *state = ExtendState(s); local 294 S *state = ExtendState(s); local 309 S *state = ExtendState(s); local 326 const S *state = CheckState(s); local 337 const S *state = CheckState(s); local 347 const S *state = GetState(s); local 352 const S *state = GetState(s); local 357 const S *state = GetState(s); local 362 const S *state = GetState(s); local 368 const S *state = GetState(s); local 410 S* state = VectorFstBaseImpl<S>::GetState(s); local [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/ |
SimulatedGsmCallState.java | 31 enum State { 39 State (int value) {this.value = value;} 46 State state; field in class:CallInfo 51 CallInfo (boolean isMT, State state, boolean isMpty, String number) { 53 this.state = state; 66 return new CallInfo (false, State.DIALING, false, number); 71 return new CallInfo (true, State.INCOMING, false, number) [all...] |
/external/chromium/chrome/browser/metrics/ |
metrics_response.cc | 9 // State to pass around during SAX parsing. 27 SAXState* state = static_cast<SAXState*>(user_data); 32 state->interval = atoi(Char(attrs[i + 1])); 39 state->events = atoi(Char(attrs[i + 1])); 48 state->collectors |= MetricsResponse::COLLECTOR_DOCUMENT; 50 state->collectors |= MetricsResponse::COLLECTOR_PROFILE; 52 state->collectors |= MetricsResponse::COLLECTOR_WINDOW; 54 state->collectors |= MetricsResponse::COLLECTOR_UI; 72 SAXState state = {0}; local 74 valid_ = !xmlSAXUserParseMemory(&handler, &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/clang/test/SemaCXX/ |
constexpr-turing.cpp | 13 using State = Action[2]; 32 // Run turing machine 'tm' on tape 'tape' from state 'state'. Return number of 34 constexpr unsigned run(const State *tm, const Tape &tape, unsigned state) { 35 return state == halt ? 1 : 36 run(tm, move(update(tape, tm[state][tape.val].tape), 37 tm[state][tape.val].dir), 38 tm[state][tape.val].next) + 1; 41 // 3-state busy beaver. 14 steps [all...] |
/packages/apps/Mms/src/com/android/mms/transaction/ |
TransactionState.java | 25 * State into an intent, it should implement Parcelable interface. 50 * To represent the current state(or the result of processing) to the 51 * ones who wants to know the state. 53 * @return Current state of the Transaction. 60 * To set the state of transaction. This method is only invoked by 63 * @param state The current state of transaction. 65 synchronized void setState(int state) { 66 if ((state < INITIALIZED) && (state > FAILED)) [all...] |
/development/samples/TicTacToeLib/src/com/example/android/tictactoe/library/ |
GameActivity.java | 32 import com.example.android.tictactoe.library.GameView.State;
88 State player = mGameView.getCurrentPlayer();
89 if (player == State.UNKNOWN) {
90 player = State.fromInt(getIntent().getIntExtra(EXTRA_START_PLAYER, 1));
95 if (player == State.PLAYER2) {
98 if (player == State.WIN) {
104 private State selectTurn(State player) {
108 if (player == State.PLAYER1) {
112 } else if (player == State.PLAYER2) { [all...] |
/tools/build/testapps/tictactoe/lib/src/main/java/com/example/android/tictactoe/library/ |
GameActivity.java | 32 import com.example.android.tictactoe.library.GameView.State;
88 State player = mGameView.getCurrentPlayer();
89 if (player == State.UNKNOWN) {
90 player = State.fromInt(getIntent().getIntExtra(EXTRA_START_PLAYER, 1));
95 if (player == State.PLAYER2) {
98 if (player == State.WIN) {
104 private State selectTurn(State player) {
108 if (player == State.PLAYER1) {
112 } else if (player == State.PLAYER2) { [all...] |
/external/apache-http/src/org/apache/http/impl/auth/ |
NTLMScheme.java | 47 enum State { 58 private State state; field in class:NTLMScheme 67 this.state = State.UNINITIATED; 94 if (this.state == State.UNINITIATED) { 95 this.state = State.CHALLENGE_RECEIVED; 97 this.state = State.FAILED [all...] |
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
cache.h | 44 // This is a VectorFstBaseImpl container that holds a State similar to 50 // final weight even if the state is non-final to mark it as 65 typedef S State; 89 // Gets a state from its ID; state must exist. 97 // Gets a state from its ID; state must exist. 105 // Gets a state from its ID; return 0 if it doesn't exist. 115 // Gets a state from its ID; add it if necessary. 118 return cache_first_state_; // Return 1st cached state 165 S *state = ExtendState(s); local 171 S *state = ExtendState(s); local 177 S *state = ExtendState(s); local 199 S *state = ExtendState(s); local 208 const S *state = CheckState(s); local 219 const S *state = CheckState(s); local 229 const S *state = GetState(s); local 234 const S *state = GetState(s); local 239 const S *state = GetState(s); local 244 const S *state = GetState(s); local 250 const S *state = GetState(s); local 285 S* state = VectorFstBaseImpl<S>::GetState(s); local [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
CStringChecker.cpp | 60 void checkLiveSymbols(ProgramStateRef state, SymbolReaper &SR) const; 62 bool wantsRegionChangeUpdate(ProgramStateRef state) const; 65 checkRegionChanges(ProgramStateRef state, 79 ProgramStateRef state, 118 ProgramStateRef state, SVal V, QualType Ty); 120 static ProgramStateRef setCStringLength(ProgramStateRef state, 124 ProgramStateRef &state, 129 ProgramStateRef &state, 135 ProgramStateRef &state, 140 ProgramStateRef state, 989 ProgramStateRef state = C.getState(); local 1001 ProgramStateRef state = C.getState(); local 1013 ProgramStateRef state = C.getState(); local 1038 ProgramStateRef state = C.getState(); local 1123 ProgramStateRef state = C.getState(); local 1302 ProgramStateRef state = C.getState(); local 1655 ProgramStateRef state = C.getState(); local 1846 ProgramStateRef state = C.getState(); local [all...] |
/external/libppp/src/ |
deflate.c | 42 /* Our state */ 58 struct deflate_state *state = (struct deflate_state *)v; local 60 state->seqno = 0; 61 state->uncomp_rec = 0; 62 deflateReset(&state->cx); 72 struct deflate_state *state = (struct deflate_state *)v; local 98 *wp++ = state->seqno >> 8; 99 *wp++ = state->seqno & 0377; 100 log_Printf(LogDEBUG, "DeflateOutput: Seq %d\n", state->seqno); 101 state->seqno++ 190 struct deflate_state *state = (struct deflate_state *)v; local 201 struct deflate_state *state = (struct deflate_state *)v; local 339 struct deflate_state *state = (struct deflate_state *)v; local 491 struct deflate_state *state; local 514 struct deflate_state *state; local 538 struct deflate_state *state = (struct deflate_state *)v; local 547 struct deflate_state *state = (struct deflate_state *)v; local [all...] |
/external/webkit/Tools/android/flex-2.5.4a/ |
tblcmp.c | 43 /* bldtbl - build table entries for dfa state 46 * int state[numecs], statenum, totaltrans, comstate, comfreq; 47 * bldtbl( state, statenum, totaltrans, comstate, comfreq ); 49 * State is the statenum'th dfa state. It is indexed by equivalence class and 50 * gives the number of the state to enter for a given equivalence class. 51 * totaltrans is the total number of transitions out of the state. Comstate 52 * is that state which is the destination of the most transitions out of State. 53 * Comfreq is how many transitions there are out of State to Comstate [all...] |
/external/chromium/chrome/browser/ui/cocoa/toolbar/ |
toolbar_button_unittest.mm | 111 EXPECT_EQ(NSOffState, [button_ state]); 113 EXPECT_EQ(NSOffState, [button_ state]); 115 EXPECT_EQ(NSOffState, [button_ state]); 119 EXPECT_EQ(NSOffState, [button_ state]); 125 EXPECT_EQ(NSOffState, [button_ state]); 138 EXPECT_EQ(NSOffState, [button_ state]); 144 EXPECT_EQ(NSOffState, [button_ state]); 146 EXPECT_EQ(NSOffState, [button_ state]); 154 EXPECT_EQ(NSOffState, [button_ state]); 156 EXPECT_EQ(NSOffState, [button_ state]); [all...] |