/external/chromium/third_party/icu/source/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/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/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...] |
/frameworks/base/core/java/android/util/ |
StateSet.java | 25 * one or more of those states. 55 * prohibited (if negative) {@link android.view.View} states. 56 * @param stateSet an array of {@link android.view.View} states 74 // We use negative values to indicate must-NOT-match states. 82 // We've reached the end of states to match. 87 // Continue checking other must-not-match states. 94 // Continue checking other other must-match states. 103 // We've reached the end of states to match and we didn't 115 * prohibited (if negative) {@link android.view.View} states. 131 // We use negative values to indicate must-NOT-match states [all...] |
/external/chromium/third_party/icu/source/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/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/chromium/third_party/icu/source/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...] |
/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 | 64 int[][] states = new int[][] { new int[0], new int[0] }; local 66 ColorStateList csl = new ColorStateList(states, colors); 103 int[][] states = new int[][] { new int[0], new int[0] }; local 105 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); 145 int[][] states = new int[][] { new int[0], new int[0] }; local 147 ColorStateList csl = new ColorStateList(states, colors); 168 int[][] states = new int[][] { new int[0], new int[0] }; local 170 ColorStateList csl = new ColorStateList(states, colors) 188 int[][] states = new int[][] { new int[0], new int[0] }; local 202 int[][] states = new int[][] { new int[0], new int[0] }; local 220 int[][] states = new int[][] { new int[0], new int[0] }; local [all...] |
/external/webkit/WebCore/platform/chromium/ |
ThemeChromiumMac.mm | 241 static void updateStates(NSCell* cell, ControlStates states) 247 bool pressed = states & PressedState; 253 bool enabled = states & EnabledState; 259 bool focused = states & FocusState; 265 bool indeterminate = (states & IndeterminateState); 266 bool checked = states & CheckedState; 273 bool windowInactive = (states & WindowInactiveState); 326 static NSButtonCell *checkbox(ControlStates states, const IntRect& zoomedRect, float zoomFactor) 340 // Update the various states we respond to. 341 updateStates(checkboxCell, states); [all...] |
/external/webkit/WebCore/platform/mac/ |
ThemeMac.mm | 95 static void updateStates(NSCell* cell, ControlStates states) 101 bool pressed = states & PressedState; 107 bool enabled = states & EnabledState; 113 bool focused = states & FocusState; 119 bool indeterminate = (states & IndeterminateState); 120 bool checked = states & CheckedState; 176 static NSButtonCell *checkbox(ControlStates states, const IntRect& zoomedRect, float zoomFactor) 190 // Update the various states we respond to. 191 updateStates(checkboxCell, states); 197 static void paintCheckbox(ControlStates states, GraphicsContext* context, const IntRect& zoomedRect, float zoomFactor, ScrollView* scrollView [all...] |
/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:__anon1460 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...] |
/frameworks/base/core/java/android/text/method/ |
KeyListener.java | 76 * Remove the given shift states from the edited text. 78 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/bluetooth/glib/docs/reference/glib/ |
Makefile.am | 53 mainloop-states.gif 79 mainloop-states.fig \ 80 mainloop-states.png \ 81 mainloop-states.eps \
|
/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 | 30 private static final String STATES_KEY = "android:states"; 50 Bundle states = savedInstanceState != null local 52 mLocalActivityManager.dispatchCreate(states);
|
/packages/apps/Gallery3D/src/com/cooliris/media/ |
BaseCancelable.java | 38 * When the task stop, it must be end with one of the following states: 63 private boolean isInStates(int states) { 64 return (states & mState) != 0;
|
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/ |
CdmaServiceStateTracker.java | 358 String states[] = (String[])ar.result; local 365 if (states.length > 9) { 367 if (states[4] != null) { 368 baseStationId = Integer.parseInt(states[4]); 370 if (states[5] != null) { 371 baseStationLatitude = Integer.parseInt(states[5]); 373 if (states[6] != null) { 374 baseStationLongitude = Integer.parseInt(states[6]); 381 if (states[8] != null) { 382 systemId = Integer.parseInt(states[8]) 632 String states[]; local [all...] |
/external/chromium/third_party/icu/source/tools/makeconv/ |
makeconv.c | 487 staticData->maxBytesPerChar=(int8_t)data->ucm->states.maxCharLength; 488 staticData->minBytesPerChar=(int8_t)data->ucm->states.minCharLength; 489 staticData->conversionType=data->ucm->states.conversionType; 537 if(data->ucm->states.outputType<0) { 538 data->ucm->states.outputType=(int8_t)data->ucm->states.maxCharLength-1; 581 baseStates=&data->ucm->states; 632 UCMStates *states, *baseStates; local 646 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...] |
/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);
|