/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/ |
http_header_util.py | 61 def peek(state, pos=0): 64 if state.head + pos >= len(state.data): 67 return state.data[state.head + pos] 70 def consume(state, amount=1): 75 if state.head + amount > len(state.data): 78 result = state.data[state.head:state.head + amount [all...] |
/external/skia/src/animator/ |
SkDisplayEvents.cpp | 29 bool SkEvents::doEvent(SkAnimateMaker& maker, SkDisplayEvent::Kind kind, SkEventState* state) { 36 if (state && state->fDisplayable) 37 state->fDisplayable->SkDisplayable::dump(&maker); 48 movie->doEvent(kind, state); 50 SkDisplayable* displayable = state ? state->fDisplayable : NULL; 51 int keyCode = state ? state->fCode : 0; 66 if (state == NULL || state->fDisable == 0) [all...] |
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ |
ConnectivityManagerMobileTest.java | 22 import android.net.NetworkInfo.State; 69 if (!cmActivity.waitForNetworkState(ConnectivityManager.TYPE_MOBILE, State.CONNECTED, 121 // Enable Wi-Fi to avoid initial UNKNOWN state 129 State.DISCONNECTED, ConnectivityManagerTestActivity.LONG_TIMEOUT)); 131 State.CONNECTED, ConnectivityManagerTestActivity.LONG_TIMEOUT)); 139 networkInfo.getState(), NetworkState.DO_NOTHING, State.CONNECTED); 142 NetworkState.DO_NOTHING, State.DISCONNECTED); 147 // validate state and broadcast 149 log("the state for WIFI is changed"); 152 assertTrue("state validation fail", false) [all...] |
/frameworks/opt/telephony/src/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/webrtc/src/common_audio/signal_processing/ |
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/wifi/java/android/net/wifi/ |
StateChangeResult.java | 20 * Stores supplicant state change information passed from WifiMonitor to 21 * a state machine. WifiStateMachine, SupplicantStateTracker and WpsStateMachine 22 * are example state machines that handle it. 27 SupplicantState state) { 28 this.state = state; 37 SupplicantState state; field in class:StateChangeResult
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/transforms/ |
IStateTransform.java | 17 package com.android.ide.eclipse.gltrace.state.transforms; 19 import com.android.ide.eclipse.gltrace.state.IGLProperty; 22 * This interface encapsulates a single change to the GL state. GL Calls that affect 23 * multiple state variables would use a list of these state transformations. 26 /** Apply this transformation on the given state. */ 29 /** Revert this transformation from the given 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...] |
/external/libsepol/src/ |
expand.c | 52 static void expand_state_init(expand_state_t * state) 54 memset(state, 0, sizeof(expand_state_t)); 80 expand_state_t *state; local 84 state = (expand_state_t *) data; 91 if (!is_id_enabled(id, state->base, SYM_TYPES)) { 96 if (state->verbose) 97 INFO(state->handle, "copying type or attribute %s", id); 101 ERR(state->handle, "Out of memory!"); 107 ERR(state->handle, "Out of memory!"); 115 new_type->s.value = ++state->out->p_types.nprim 149 expand_state_t *state; local 230 expand_state_t *state; local 367 expand_state_t *state; local 447 expand_state_t *state; local 476 expand_state_t *state = (expand_state_t *) data; local 506 expand_state_t *state = (expand_state_t *) data; local 536 expand_state_t *state = (expand_state_t *) data; local 574 expand_state_t *state; local 652 expand_state_t *state = (expand_state_t *) data; local 677 expand_state_t *state; local 741 expand_state_t *state; local 891 expand_state_t *state; local 1004 expand_state_t *state; local 1062 expand_state_t *state = (expand_state_t *) data; local 1114 expand_state_t *state = (expand_state_t *) data; local 2209 expand_state_t *state = ptr; local 2668 expand_state_t state; local 2795 expand_state_t state; local [all...] |
/external/guava/guava/src/com/google/common/util/concurrent/ |
ForwardingService.java | 37 @Override public ListenableFuture<State> start() { 41 @Override public State state() { method in class:ForwardingService 42 return delegate().state(); 45 @Override public ListenableFuture<State> stop() { 49 @Override public State startAndWait() { 53 @Override public State stopAndWait() { 67 protected State standardStartAndWait() { 77 protected State standardStopAndWait() {
|
AbstractIdleService.java | 37 /* use AbstractService for state management */ 40 executor(State.STARTING).execute(new Runnable() { 54 executor(State.STOPPING).execute(new Runnable() { 82 * @param state {@link Service.State#STARTING} or 83 * {@link Service.State#STOPPING}, used by the default implementation for 86 protected Executor executor(final State state) { 90 new Thread(command, getServiceName() + " " + state).start(); 96 return getServiceName() + " [" + state() + "]" [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/fuzzy/ |
Fuzzy.m | 49 self = [super initWithCharStream:anInput State:[[ANTLRRecognizerSharedState newANTLRRecognizerSharedStateWithRuleLen:30+1] retain]]; 89 state.token = nil; 90 state.channel = ANTLRTokenChannelDefault; 91 state.tokenStartCharIndex = input.index; 92 state.tokenStartCharPositionInLine = input.charPositionInLine; 93 state.tokenStartLine = input.line; 94 state.text = nil; 97 state.backtracking = 1; /* means we won't throw slow exception */ 98 state.failed = NO; 100 state.backtracking = 0 [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]
|
/external/zlib/src/ |
gzclose.c | 15 gz_statep state; local 19 state = (gz_statep)file; 21 return state->mode == GZ_READ ? gzclose_r(file) : gzclose_w(file);
|
/frameworks/base/core/java/android/net/wimax/ |
WimaxManagerConstants.java | 17 * enabling, disabling, or unknown. One extra provides this state as an int. 18 * Another extra provides the previous state, if available. 30 * Broadcast intent action indicating that Wimax state has been changed 31 * state could be scanning, connecting, connected, disconnecting, disconnected 32 * initializing, initialized, unknown and ready. One extra provides this state as an int. 33 * Another extra provides the previous state, if available. 46 * The lookup key for an int that indicates whether Wimax state is 54 * The lookup key for an int that indicates whether state of Wimax 80 * Indicatates Wimax is in idle state. 90 * Indicatates wimax state is unknown [all...] |
/frameworks/rs/ |
rsFBOCache.cpp | 28 mHal.state.colorTargetsCount = 1; 29 mHal.state.colorTargets = new Allocation*[mHal.state.colorTargetsCount]; 30 mColorTargets = new ObjectBaseRef<Allocation>[mHal.state.colorTargetsCount]; 35 delete[] mHal.state.colorTargets; 48 if (slot >= mHal.state.colorTargetsCount) { 53 if (!(a->getIsTexture() || (a->mHal.state.usageFlags & RS_ALLOCATION_USAGE_IO_OUTPUT))) { 59 mHal.state.colorTargets[slot] = a; 71 mHal.state.depthTarget = a; 76 for (uint32_t i = 0; i < mHal.state.colorTargetsCount; i ++) [all...] |
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
HasAttribute.java | 53 boolean state; 57 state = testNode.hasAttribute("domestic"); 58 assertFalse("throw_False", state); 66 // boolean state; 70 // state = testNode.hasAttribute("street"); 71 // assertTrue("throw_True", state); 77 boolean state; 81 state = testNode.hasAttribute("nomatch"); 82 assertFalse("throw_False", state); 88 boolean state; [all...] |
/external/icu4c/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/icu4c/tools/toolutil/ |
ucmstate.c | 16 * This file handles ICU .ucm file state information as part of the ucm module. 32 /* MBCS state handling ------------------------------------------------------ */ 35 * state table row grammar (ebnf-style): 40 * (initial state (default for state 0), output is all surrogate pairs) 46 * (unassigned, state change only, surrogate pair, illegal) 50 parseState(const char *s, int32_t state[256], uint32_t *pFlags) { 55 /* initialize the state: all illegal with U+ffff */ 57 state[i]=MBCS_ENTRY_FINAL(0, MBCS_STATE_ILLEGAL, 0xffff); 77 /* empty state row: all-illegal * 333 int32_t entry, sum, state, cell, count; local 425 int32_t entry, state, cell, count; local 900 int32_t state, savings; local 928 int32_t state, cell, entry; local 976 uint8_t state; local [all...] |
/external/doclava/src/com/google/doclava/parser/ |
JavaParser.java | 434 public JavaParser(TokenStream input, int port, RecognizerSharedState state) { 435 super(input, state); 436 this.state.ruleMemo = new HashMap[381+1]; 450 this.state.ruleMemo = new HashMap[381+1]; 474 if ( state.backtracking>0 && alreadyParsedRule(input, 1) ) { return ; } 525 state._fsp--; 526 if (state.failed) return ; 538 state._fsp--; 539 if (state.failed) return ; 575 state._fsp-- [all...] |
/external/chromium/chrome/browser/autofill/crypto/ |
rc4_decryptor.h | 50 uint8 state[kKeyDataSize]; member in struct:RC4Decryptor::Rc4Key 64 uint8* state; local 67 state = &key_.state[0]; 69 state[counter] = static_cast<uint8>(counter); 74 index2 = (key_data[index1] + state[counter] + index2) % kKeyDataSize; 75 SwapByte(&state[counter], &state[index2]); 83 uint8* state; local 88 state = &key_.state[0] [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
GSMPhoneTest.java | 94 ServiceState state; local 99 state = (ServiceState) ((AsyncResult) msg.obj).result; 100 } while (state.getState() != ServiceState.STATE_IN_SERVICE); 140 // IDLE state 142 assertEquals(PhoneConstants.State.IDLE, mGSMPhone.getState()); 147 assertEquals(Call.State.IDLE, mGSMPhone.getRingingCall().getState()); 148 assertEquals(Call.State.IDLE, mGSMPhone.getForegroundCall().getState()); 149 assertEquals(Call.State.IDLE, mGSMPhone.getBackgroundCall().getState()); 161 assertEquals(PhoneConstants.State.OFFHOOK, mGSMPhone.getState()); 166 assertEquals(PhoneConstants.State.OFFHOOK, mGSMPhone.getState()) [all...] |