/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...] |
/frameworks/base/telephony/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...] |
/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...] |
/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 | 43 void checkLiveSymbols(const GRState *state, SymbolReaper &SR) const; 45 bool wantsRegionChangeUpdate(const GRState *state) const; 47 const GRState *checkRegionChanges(const GRState *state, 60 const GRState *state, 91 const GRState *state, SVal V, QualType Ty); 93 static const GRState *setCStringLength(const GRState *state, 96 const GRState *&state, 99 SVal getCStringLength(CheckerContext &C, const GRState *&state, 104 const GRState *&state, 109 const GRState *state, 917 const GRState *state = C.getState(); local 926 const GRState *state = C.getState(); local 935 const GRState *state = C.getState(); local 954 const GRState *state = C.getState(); local 1029 const GRState *state = C.getState(); local 1194 const GRState *state = C.getState(); local 1517 const GRState *state = C.getState(); local 1643 const GRState *state = C.getState(); local 1692 const GRState *state = C.getState(); local 1802 const GRState *state = C.getState(); 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...] |
/external/elfutils/libelf/ |
elf32_newphdr.c | 60 if (unlikely (elf->state.ELFW(elf,LIBELFBITS).ehdr == NULL)) 71 if (elf->state.ELFW(elf,LIBELFBITS).phdr != NULL) 73 if (elf->state.ELFW(elf,LIBELFBITS).phdr_flags & ELF_F_MALLOCED) 74 free (elf->state.ELFW(elf,LIBELFBITS).phdr); 77 elf->state.ELFW(elf,LIBELFBITS).phdr = NULL; 79 elf->state.ELFW(elf,LIBELFBITS).ehdr->e_phnum = 0; 81 elf->state.ELFW(elf,LIBELFBITS).ehdr->e_phentsize = 84 elf->state.ELFW(elf,LIBELFBITS).phdr_flags |= ELF_F_DIRTY; 91 else if (elf->state.ELFW(elf,LIBELFBITS).ehdr->e_phnum != count 92 || elf->state.ELFW(elf,LIBELFBITS).phdr == NULL [all...] |
/external/skia/src/animator/ |
SkDisplayEvents.cpp | 37 bool SkEvents::doEvent(SkAnimateMaker& maker, SkDisplayEvent::Kind kind, SkEventState* state) { 44 if (state && state->fDisplayable) 45 state->fDisplayable->SkDisplayable::dump(&maker); 56 movie->doEvent(kind, state); 58 SkDisplayable* displayable = state ? state->fDisplayable : NULL; 59 int keyCode = state ? state->fCode : 0; 74 if (state == NULL || state->fDisable == 0) [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
DriverCall.java | 29 public enum State { 36 // If you add a state, make sure to look for the switch() 42 public State state; // May be null if unavail field in class:DriverCall 60 // index,isMT,state,mode,isMpty(,number,TOA)? 66 ret.state = stateFromCLCC(p.nextInt()); 107 + state + "," 118 public static State 119 stateFromCLCC(int state) throws ATParseEx { 120 switch(state) { [all...] |
/external/guava/src/com/google/common/util/concurrent/ |
ForwardingService.java | 35 /*@Override*/ public Future<State> start() { 39 /*@Override*/ public State state() { method in class:ForwardingService 40 return delegate().state(); 43 /*@Override*/ public Future<State> stop() { 47 /*@Override*/ public State startAndWait() { 51 /*@Override*/ public State stopAndWait() {
|
/external/webrtc/src/common_audio/signal_processing_library/main/source/ |
resample_by_2_internal.h | 27 WebRtc_Word32 *state); 30 WebRtc_Word32 *out, WebRtc_Word32 *state); 33 WebRtc_Word32 *out, WebRtc_Word32 *state); 36 WebRtc_Word32 *state); 39 WebRtc_Word16 *out, WebRtc_Word32 *state); 42 WebRtc_Word32* out, WebRtc_Word32* state); 45 WebRtc_Word32* state);
|
/frameworks/base/core/java/android/text/method/ |
MetaKeyKeyListener.java | 28 * This base class encapsulates the behavior for tracking the state of 29 * meta keys such as SHIFT, ALT and SYM as well as the pseudo-meta state of selecting text. 31 * Key listeners that care about meta state should inherit from this class; 34 * This class provides two mechanisms for tracking meta state that can be used 39 * {@link #getMetaState(long)} operate on a meta key state bit mask.</li> 41 * {@link #getMetaState(CharSequence, int)} operate on meta key state flags stored 43 * meta key state of the text editor; they do not carry any positional information.</li> 51 * When key modifiers are toggled into a latched or locked state, the state 53 * meta state integer managed by the client. These latched or locked modifier 287 int state = content.getSpanFlags(what); local [all...] |
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ |
ConnectivityManagerMobileTest.java | 32 import android.net.NetworkInfo.State; 73 if (!cmActivity.waitForNetworkState(ConnectivityManager.TYPE_MOBILE, State.CONNECTED, 111 // Enable Wi-Fi to avoid initial UNKNOWN state 122 State.DISCONNECTED, ConnectivityManagerTestActivity.LONG_TIMEOUT)); 124 State.CONNECTED, ConnectivityManagerTestActivity.LONG_TIMEOUT)); 135 networkInfo.getState(), NetworkState.DO_NOTHING, State.CONNECTED); 138 NetworkState.DO_NOTHING, State.DISCONNECTED); 147 // validate state and broadcast 149 Log.v(LOG_TAG, "the state for WIFI is changed"); 152 assertTrue("state validation fail", false) [all...] |
/external/qemu/distrib/sdl-1.2.12/src/events/ |
SDL_active.c | 52 int SDL_PrivateAppActive(Uint8 gain, Uint8 state) 57 /* Modify the current state with the given mask */ 59 new_state = (SDL_appstate | state); 61 new_state = (SDL_appstate & ~state); 64 /* Drop events that don't change state */ 69 /* Update internal active state */ 79 event.active.state = state; 87 if ( (state & SDL_APPINPUTFOCUS) && !gain ) {
|
/frameworks/base/libs/rs/ |
rsMesh.cpp | 24 mHal.state.primitives = NULL; 25 mHal.state.primitivesCount = 0; 26 mHal.state.vertexBuffers = NULL; 27 mHal.state.vertexBuffersCount = 0; 35 mHal.state.primitivesCount = primitivesCount; 36 mHal.state.primitives = new Primitive_t *[mHal.state.primitivesCount]; 37 for (uint32_t i = 0; i < mHal.state.primitivesCount; i ++) { 38 mHal.state.primitives[i] = new Primitive_t; 40 mHal.state.vertexBuffersCount = vertexBuffersCount [all...] |
/external/icu4c/test/testdata/ |
test5.ucm | 16 <icu:state> 0, 1:1, 5-9, ff 17 <icu:state> 2:2, 3, 7, 4.p, a-d.u 18 <icu:state> a-f.p
|
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/lexer/ |
Lexer.java | 12 protected State state = State.CONTENT; field in class:Lexer 69 @SuppressWarnings("hiding") int[][][] gotoTable = Lexer.gotoTable[this.state.id()]; 70 @SuppressWarnings("hiding") int[] accept = Lexer.accept[this.state.id()]; 167 switch(state.id()) 169 case 0: state = State.CONTENT; break; 182 switch(state.id()) 184 case 3: state = State.COMMENT; break [all...] |
/external/kernel-headers/original/linux/mmc/ |
card.h | 59 unsigned int state; /* (our) card state */ member in struct:mmc_card 73 #define mmc_card_present(c) ((c)->state & MMC_STATE_PRESENT) 74 #define mmc_card_dead(c) ((c)->state & MMC_STATE_DEAD) 75 #define mmc_card_bad(c) ((c)->state & MMC_STATE_BAD) 76 #define mmc_card_sd(c) ((c)->state & MMC_STATE_SDCARD) 77 #define mmc_card_readonly(c) ((c)->state & MMC_STATE_READONLY) 79 #define mmc_card_set_present(c) ((c)->state |= MMC_STATE_PRESENT) 80 #define mmc_card_set_dead(c) ((c)->state |= MMC_STATE_DEAD) 81 #define mmc_card_set_bad(c) ((c)->state |= MMC_STATE_BAD [all...] |
/external/llvm/test/CodeGen/Generic/ |
pr2625.ll | 6 %state = alloca { i32, { i32 } }* ; <{ i32, { i32 } }**> [#uses=2] 7 store { i32, { i32 } }* %0, { i32, { i32 } }** %state 10 load { i32, { i32 } }** %state ; <{ i32, { i32 } }*>:1 [#uses=1]
|