/external/icu4c/tools/toolutil/ |
ucmstate.c | 154 /* adjust "final valid" states according to the state flags */ 186 ucm_addState(UCMStates *states, const char *s) { 189 if(states->countStates==MBCS_MAX_STATE_COUNT) { 190 fprintf(stderr, "ucm error: too many states (maximum %u)\n", MBCS_MAX_STATE_COUNT); 194 error=parseState(s, states->stateTable[states->countStates], 195 &states->stateFlags[states->countStates]); 201 ++states->countStates; 207 UCMStates *states; local [all...] |
/external/webkit/Source/WebCore/inspector/front-end/ |
StatusBarButton.js | 31 WebInspector.StatusBarButton = function(title, className, states) 45 this.states = states; 46 if (!states) 47 this.states = 2; 49 if (states == 2) 101 if (this.states === 2) { 118 if (this.states !== 2) 119 throw("Only used toggled when there are 2 states, otherwise, use state"); 125 if (this.states !== 2 [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/tool/templates/dot/ |
dot.stg | 33 dfa(decisionRanks,states,edges,rankdir,startState,useBox) ::= << 37 <states; separator="\n"> 42 nfa(decisionRanks,states,edges,rankdir,startState) ::= << 46 <states; separator="\n"> 51 decision_rank(states) ::= << 52 {rank=same; rankdir=TB; <states; separator="; ">}
|
/external/jmonkeyengine/engine/src/core/com/jme3/app/state/ |
AppStateManager.java | 69 * List holding the attached app states that are pending
71 * the running app states.
76 * Holds the active states once they are initialized.
78 private final SafeArrayList<AppState> states = new SafeArrayList<AppState>(AppState.class);
field in class:AppStateManager 81 * List holding the detached app states that are pending
87 // synchronized separately.... but always on the states list. This
99 synchronized (states){
105 synchronized (states){
111 synchronized (states){
112 return states.getArray(); [all...] |
/frameworks/base/core/java/android/util/ |
StateSet.java | 25 * one or more of those states. 57 * prohibited (if negative) {@link android.view.View} states. 58 * @param stateSet an array of {@link android.view.View} states 76 // We use negative values to indicate must-NOT-match states. 84 // We've reached the end of states to match. 89 // Continue checking other must-not-match states. 96 // Continue checking other other must-match states. 105 // We've reached the end of states to match and we didn't 117 * prohibited (if negative) {@link android.view.View} states. 133 // We use negative values to indicate must-NOT-match states [all...] |
/external/icu4c/common/ |
unorm_it.c | 37 * chars and states either use the static buffers 40 * They are parallel arrays with states[] holding the getState() values 44 uint32_t *states; member in struct:UNormIterator 49 * api.limit: one past the last valid character in chars[], but states[limit] is valid 93 uint32_t *states; local 97 states=(uint32_t *)uprv_malloc((capacity+1)*4+capacity*2); 98 if(states==NULL) { 102 chars=(UChar *)(states+(capacity+1)); 113 uprv_memcpy(states+delta+start, uni->states+start, (limit-start+1)*4) [all...] |
rbbicst.pl | 29 $states{"pop"} = 255; # Add the "pop" to the list of defined state names. 62 if ($states{$state_name} != 0) { 65 $states{$state_name} = $num_states; 161 # We read all states first, before writing anything, so that the state numbers 162 # for the destination states are all available to be written. 184 # Check that all of the destination states have been defined 187 $states{"exit"} = 0; # Predefined state name, terminates state machine. 189 if ($states{$state_dest_state[$state]} == 0 && $state_dest_state[$state] ne "exit") { 193 if ($state_push_state[$state] ne "" && $states{$state_push_state[$state]} == 0) { 302 print " $states{$state_dest_state[$state]}," [all...] |
/external/icu4c/i18n/ |
regexcst.pl | 30 $states{"pop"} = 255; # Add the "pop" to the list of defined state names. 63 if ($states{$state_name} != 0) { 66 $states{$state_name} = $num_states; 162 # We read all states first, before writing anything, so that the state numbers 163 # for the destination states are all available to be written. 185 # Check that all of the destination states have been defined 188 $states{"exit"} = 0; # Predefined state name, terminates state machine. 190 if ($states{$state_dest_state[$state]} == 0 && $state_dest_state[$state] ne "exit") { 194 if ($state_push_state[$state] ne "" && $states{$state_push_state[$state]} == 0) { 278 print " {doNOP, 0, 0, 0, TRUE}\n"; # State 0 is a dummy. Real states start with index = 1 [all...] |
/cts/tests/tests/text/src/android/text/style/cts/ |
TextAppearanceSpanTest.java | 32 int[][] states = new int[][] { new int[0], new int[0] }; local 34 ColorStateList csl = new ColorStateList(states, colors); 69 int[][] states = new int[][] { new int[0], new int[0] }; local 71 ColorStateList csl = new ColorStateList(states, colors); 78 int[][] states = new int[][] { new int[0], new int[0] }; local 80 ColorStateList csl = new ColorStateList(states, colors); 100 int[][] states = new int[][] { new int[0], new int[0] }; local 102 ColorStateList csl = new ColorStateList(states, colors); 118 int[][] states = new int[][] { new int[0], new int[0] }; local 120 ColorStateList csl = new ColorStateList(states, colors) 133 int[][] states = new int[][] { new int[0], new int[0] }; local 142 int[][] states = new int[][] { new int[0], new int[0] }; local 154 int[][] states = new int[][] { new int[0], new int[0] }; local [all...] |
/external/jmonkeyengine/engine/src/test/jme3test/input/combomoves/ |
ComboMove.java | 67 private List<ComboMoveState> states = new ArrayList<ComboMoveState>(); field in class:ComboMove 125 states.add(new ComboMoveState(pressed, unpressed, timeElapsed)); 132 return states.get(num); 136 return states.size();
|
/external/webkit/Source/WebCore/platform/android/ |
PlatformTouchEventAndroid.cpp | 41 PlatformTouchEvent::PlatformTouchEvent(const Vector<int>& ids, const Vector<IntPoint>& windowPoints, TouchEventType type, const Vector<PlatformTouchPoint::State>& states, int metaState) 49 m_touchPoints.append(PlatformTouchPoint(ids[c], windowPoints[c], states[c]));
|
/frameworks/base/core/java/android/bluetooth/ |
IBluetoothA2dp.aidl | 31 List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states);
|
IBluetoothPan.aidl | 33 List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states);
|
BluetoothProfile.java | 130 * states. 132 * <p> If none of the devices match any of the given states, 137 * @param states Array of states. States can be one of 142 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states);
|
/external/bison/src/ |
state.h | 35 A core represents one state. States are numbered in the NUMBER 37 state 0 and NSTATES is the number of states. (FIXME: This sentence 53 look-ahead token alone). When the states are generated, these 58 contains a vector of numbers of the states that transitions can go 59 to. The accessing_symbol fields of those states' cores say what 71 states should explicitly be errors (for implementing %nonassoc). 94 | Numbering states. | 117 state *states[1]; member in struct:__anon1890 122 TRANSITIONS->states[Num]? Can be a token (amongst which the error 126 (Transitions->states[Num]->accessing_symbol [all...] |
lalr.c | 90 transitions *sp = states[s]->transitions; 124 transitions *sp = states[s]->transitions; 130 to_state[k] = sp->states[i]->number; 183 transitions *sp = states[stateno]->transitions; 241 symbol_number symbol1 = states[to_state[i]]->accessing_symbol; 249 state *s = states[from_state[i]]; 383 nLA += state_look_ahead_tokens_count (states[i]); 395 int count = state_look_ahead_tokens_count (states[i]); 398 states[i]->reductions->look_ahead_tokens = pLA; 417 reductions *reds = states[i]->reductions [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/webkit/Source/WebCore/platform/chromium/ |
ThemeChromiumMac.mm | 250 static void updateStates(NSCell* cell, ControlStates states) 256 bool pressed = states & PressedState; 262 bool enabled = states & EnabledState; 268 bool focused = states & FocusState; 274 bool indeterminate = (states & IndeterminateState); 275 bool checked = states & CheckedState; 282 bool windowInactive = (states & WindowInactiveState); 289 static ThemeDrawState convertControlStatesToThemeDrawState(ThemeButtonKind kind, ControlStates states) 291 if (states & ReadOnlyState) 293 if (!(states & EnabledState) [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:__anon1814
|
/external/webkit/Source/WebCore/platform/mac/ |
ThemeMac.mm | 137 static void updateStates(NSCell* cell, ControlStates states) 143 bool pressed = states & PressedState; 149 bool enabled = states & EnabledState; 155 bool focused = states & FocusState; 161 bool indeterminate = (states & IndeterminateState); 162 bool checked = states & CheckedState; 171 static ThemeDrawState convertControlStatesToThemeDrawState(ThemeButtonKind kind, ControlStates states) 173 if (states & ReadOnlyState) 175 if (!(states & EnabledState)) 179 if (states & PressedState) [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/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/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));
|