/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/pgen2/ |
grammar.py | 47 states -- a list of DFAs, where each DFA is a list of 48 states, each state is a list of arcs, and each 52 Final states are represented by a special arc of 56 pairs, where DFA is an item from the states list 79 self.states = [] 109 new.states = self.states[:] 120 print "states" 121 pprint(self.states)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/pgen2/ |
grammar.py | 47 states -- a list of DFAs, where each DFA is a list of 48 states, each state is a list of arcs, and each 52 Final states are represented by a special arc of 56 pairs, where DFA is an item from the states list 79 self.states = [] 109 new.states = self.states[:] 120 print "states" 121 pprint(self.states)
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
StateListDrawableTest.java | 24 int[] states = {R.attr.state_pressed}; local 25 stateListDrawable.addState(states, drawable); 28 Drawable drawableForState = shadow.getDrawableForState(states);
|
/external/bison/src/ |
state.h | 33 A core represents one state. States are numbered in the NUMBER 35 state 0 and NSTATES is the number of states. (FIXME: This sentence 51 lookahead token alone). When the states are generated, these 56 contains a vector of numbers of the states that transitions can go 57 to. The accessing_symbol fields of those states' cores say what 68 states should explicitly be errors (for implementing %nonassoc). 91 | Numbering states. | 114 state *states[1]; member in struct:__anon2788 119 TRANSITIONS->states[Num]? Can be a token (amongst which the error 123 (Transitions->states[Num]->accessing_symbol [all...] |
state.c | 44 transitions *res = xmalloc (offsetof (transitions, states) + states_size); 46 memcpy (res->states, the_states, states_size); 64 return shifts->states[j]; 114 | States. | 169 transitions_new (s->transitions->num, s->transitions->states); 303 /* Initial capacity of states hash table. */ 308 /* Two states are equal if they have the same core items. */ 349 | Create the states hash table. | 364 | Free the states hash table, not the states. 452 state **states = NULL; variable [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
HolographicViewHelper.java | 41 * Generate the pressed/focused states if necessary. 51 StateListDrawable states = new StateListDrawable(); local 52 states.addState(new int[] {android.R.attr.state_pressed}, outlineD); 53 states.addState(new int[] {android.R.attr.state_focused}, outlineD); 54 states.addState(new int[] {}, originalD); 55 v.setImageDrawable(states); 60 * Invalidates the pressed/focused states.
|
/external/chromium_org/third_party/WebKit/Source/core/platform/mac/ |
ThemeMac.mm | 155 static void updateStates(NSCell* cell, ControlStates states) 161 bool pressed = states & PressedState; 167 bool enabled = states & EnabledState; 174 bool focused = states & FocusState; 181 bool indeterminate = (states & IndeterminateState); 182 bool checked = states & CheckedState; 191 static ThemeDrawState convertControlStatesToThemeDrawState(ThemeButtonKind kind, ControlStates states) 193 if (states & ReadOnlyState) 195 if (!(states & EnabledState)) 199 if (states & PressedState) [all...] |
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/ |
BlockingStateListener.java | 35 * requested type arrives. Unobserved states are states that have occurred since 122 * Total number of reachable states 200 * Wait until the one of the desired states is observed, checking all 205 * @param states Set of desired states to observe a transition to. 209 * @throws TimeoutRuntimeException if none of the states is observed before timeout. 212 public int waitForAnyOfStates(Collection<Integer> states, final long timeout) { 219 appendStates(s, states); 232 if (states.contains(nextState)) break [all...] |
/external/aac/libSBRenc/src/ |
resampler.cpp | 314 FDKmemclear(DownSampler->downFilter.states, sizeof(DownSampler->downFilter.states)); 374 FIXP_BQS (*states)[2] = downFilter->states; 393 state1 = states[0][s1]; 394 state2 = states[0][s2]; 401 /* Load merged states (from next section) */ 402 state1b = states[i+1][s1]; 403 state2b = states[i+1][s2]; 409 states[i+1][s2] = y<<1 [all...] |
resampler.h | 108 FIXP_BQS states[MAXNR_SECTIONS+1][2]; /*! state buffer */ member in struct:__anon2667
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
StatusBarButton.js | 98 * @param {number=} states 100 WebInspector.StatusBarButton = function(title, className, states) 114 this.states = states; 115 if (!states) 116 this.states = 2; 118 if (states == 2) 167 if (this.states === 2) 179 if (this.states !== 2) 180 throw("Only used toggled when there are 2 states, otherwise, use state") [all...] |
/external/hyphenation/ |
hyphen.c | 181 dict->states = hnj_realloc (dict->states, 185 dict->states[dict->num_states].match = NULL; 186 dict->states[dict->num_states].repl = NULL; 187 dict->states[dict->num_states].fallback_state = -1; 188 dict->states[dict->num_states].num_trans = 0; 189 dict->states[dict->num_states].trans = NULL; 200 num_trans = dict->states[state1].num_trans; 203 dict->states[state1].trans = hnj_malloc (sizeof(HyphenTrans)); 207 dict->states[state1].trans = hnj_realloc (dict->states[state1].trans [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
CdmaServiceStateTracker.java | 340 String states[] = (String[])ar.result; local 347 if (states.length > 9) { 349 if (states[4] != null) { 350 baseStationId = Integer.parseInt(states[4]); 352 if (states[5] != null) { 353 baseStationLatitude = Integer.parseInt(states[5]); 355 if (states[6] != null) { 356 baseStationLongitude = Integer.parseInt(states[6]); 363 if (states[8] != null) { 364 systemId = Integer.parseInt(states[8]) 564 String states[]; local [all...] |
/frameworks/base/core/java/android/bluetooth/ |
BluetoothProfile.java | 146 * states. 148 * <p> If none of the devices match any of the given states, 153 * @param states Array of states. States can be one of 158 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states);
|
IBluetoothA2dp.aidl | 31 List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states);
|
IBluetoothMap.aidl | 33 List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states);
|
/frameworks/base/core/java/android/text/method/ |
KeyListener.java | 82 * Remove the given shift states from the edited text. 84 public void clearMetaKeyState(View view, Editable content, int states);
|
/external/chromium_org/third_party/libxml/src/ |
pattern.c | 108 int nbState; /* number of states in the automata */ 109 int maxState; /* allocated number of states */ 111 int *states; /* the array of step indexes */ member in struct:_xmlStreamCtxt 147 xmlStepStatePtr states; member in struct:_xmlStepStates 460 xmlPatPushState(xmlStepStates *states, int step, xmlNodePtr node) { 461 if ((states->states == NULL) || (states->maxstates <= 0)) { 462 states->maxstates = 4; 463 states->nbstates = 0 497 xmlStepStates states = {0, 0, NULL}; \/* \/\/ may require backtrack *\/ local [all...] |
/external/libxml2/ |
pattern.c | 108 int nbState; /* number of states in the automata */ 109 int maxState; /* allocated number of states */ 111 int *states; /* the array of step indexes */ member in struct:_xmlStreamCtxt 147 xmlStepStatePtr states; member in struct:_xmlStepStates 460 xmlPatPushState(xmlStepStates *states, int step, xmlNodePtr node) { 461 if ((states->states == NULL) || (states->maxstates <= 0)) { 462 states->maxstates = 4; 463 states->nbstates = 0 497 xmlStepStates states = {0, 0, NULL}; \/* \/\/ may require backtrack *\/ local [all...] |
/external/tcpdump/ |
print-hsrp.c | 55 /* HSRP states and associated names. */ 56 static struct tok states[] = { variable in typeref:struct:tok 114 printf("state=%s ", tok2str(states, "Unknown (%d)", hp->hsrp_state));
|
/frameworks/base/core/java/android/app/ |
ActivityGroup.java | 33 private static final String STATES_KEY = "android:states"; 53 Bundle states = savedInstanceState != null local 55 mLocalActivityManager.dispatchCreate(states);
|
/external/chromium_org/third_party/icu/source/tools/makeconv/ |
makeconv.c | 495 staticData->maxBytesPerChar=(int8_t)data->ucm->states.maxCharLength; 496 staticData->minBytesPerChar=(int8_t)data->ucm->states.minCharLength; 497 staticData->conversionType=data->ucm->states.conversionType; 545 if(data->ucm->states.outputType<0) { 546 data->ucm->states.outputType=(int8_t)data->ucm->states.maxCharLength-1; 589 baseStates=&data->ucm->states; 640 UCMStates *states, *baseStates; local 654 states=&data->ucm->states; [all...] |
/external/icu4c/tools/makeconv/ |
makeconv.c | 495 staticData->maxBytesPerChar=(int8_t)data->ucm->states.maxCharLength; 496 staticData->minBytesPerChar=(int8_t)data->ucm->states.minCharLength; 497 staticData->conversionType=data->ucm->states.conversionType; 545 if(data->ucm->states.outputType<0) { 546 data->ucm->states.outputType=(int8_t)data->ucm->states.maxCharLength-1; 589 baseStates=&data->ucm->states; 640 UCMStates *states, *baseStates; local 654 states=&data->ucm->states; [all...] |
/external/jmonkeyengine/engine/src/test/jme3test/app/ |
TestIDList.java | 153 StateCol[] states = new StateCol[20]; local 154 for (int i = 0; i < states.length; i++) 155 states[i] = new StateCol(); 159 for (int i = 0; i < states.length; i++){ 160 setState(states[i]);
|
/packages/apps/Settings/src/com/android/settings/ |
Display.java | 44 String[] states = new String[3]; local 46 states[0] = r.getString(R.string.small_font); 47 states[1] = r.getString(R.string.medium_font); 48 states[2] = r.getString(R.string.large_font); 50 android.R.layout.simple_spinner_item, states);
|