/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));
|
/bionic/libc/regex/ |
regexec.c | 55 /* macros for manipulating states, small version */ 56 #define states long macro 57 #define states1 states /* for later use in regexec() decision */ 83 #undef states macro 103 /* macros for manipulating states, large version */ 104 #define states char * macro
|
/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...] |
state.c | 46 transitions *res = xmalloc (offsetof (transitions, states) + states_size); 48 memcpy (res->states, the_states, states_size); 66 return shifts->states[j]; 116 | States. | 254 /* Initial capacity of states hash table. */ 259 /* Two states are equal if they have the same core items. */ 300 | Create the states hash table. | 315 | Free the states hash table, not the states. | 355 /* All the decorated states, indexed by the state number. * 356 state **states = NULL; variable [all...] |
/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);
|
/frameworks/base/libs/surfaceflinger_client/ |
ISurfaceComposerClient.cpp | 117 virtual status_t setState(int32_t count, const layer_state_t* states) 123 states[i].write(data); 196 layer_state_t* states = new layer_state_t[count]; local 198 states[i].read(data); 199 status_t err = setState(count, states); 200 delete [] states;
|
/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);
|
/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/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...] |
/external/chromium/third_party/icu/source/tools/toolutil/ |
ucm.h | 103 UCMStates states; member in struct:UCMFile 175 * Check the validity of mappings against a base table's states; 237 ucm_addState(UCMStates *states, const char *s); 240 ucm_processStates(UCMStates *states); 243 ucm_countChars(UCMStates *states, 264 /* finalize and optimize states after the toUnicode mappings are processed */ 266 ucm_optimizeStates(UCMStates *states,
|
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/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...] |
/external/icu4c/tools/toolutil/ |
ucm.h | 103 UCMStates states; member in struct:UCMFile 175 * Check the validity of mappings against a base table's states; 237 ucm_addState(UCMStates *states, const char *s); 240 ucm_processStates(UCMStates *states, UBool ignoreSISOCheck); 243 ucm_countChars(UCMStates *states, 264 /* finalize and optimize states after the toUnicode mappings are processed */ 266 ucm_optimizeStates(UCMStates *states,
|
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...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
StateListDrawable.java | 146 int[] states = new int[numAttrs]; local 153 states[j++] = attrs.getAttributeBooleanValue(i, false) 158 states = StateSet.trimStateSet(states, j); 175 mStateListState.addStateSet(states, dr); 186 * Gets the number of states contained in this drawable. 188 * @return The number of states contained in this drawable.
|
/frameworks/base/libs/utils/ |
BufferedTextOutput.cpp | 84 Vector<sp<BufferedTextOutput::BufferState> > states; member in struct:android::BufferedTextOutput::ThreadState 266 while (ts->states.size() <= (size_t)mIndex) ts->states.add(NULL); 267 BufferState* bs = ts->states[mIndex].get(); 270 ts->states.editItemAt(mIndex) = new BufferState(mIndex); 271 bs = ts->states[mIndex].get();
|
/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...] |
genmbcs.c | 38 /* toUnicode (state table in ucm->states) */ 197 sum=mbcsData->ucm->states.countToUCodeUnits; 215 maxCharLength=mbcsData->ucm->states.maxCharLength; 375 if(mbcsData->ucm->states.countStates==0) { 381 if(length==2 && mbcsData->ucm->states.outputType==MBCS_OUTPUT_2_SISO) { 391 entry=mbcsData->ucm->states.stateTable[state][bytes[i++]]; 452 mbcsData->ucm->states.stateTable[state][bytes[i-1]]=entry; 553 return (UBool)(1==ucm_countChars(&mbcsData->ucm->states, bytes, length)); 687 maxCharLength=mbcsData->ucm->states.maxCharLength; 689 if( mbcsData->ucm->states.outputType==MBCS_OUTPUT_2_SISO & 1326 UCMStates *states; local [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...] |
genmbcs.c | 38 /* toUnicode (state table in ucm->states) */ 197 sum=mbcsData->ucm->states.countToUCodeUnits; 215 maxCharLength=mbcsData->ucm->states.maxCharLength; 375 if(mbcsData->ucm->states.countStates==0) { 381 if(length==2 && mbcsData->ucm->states.outputType==MBCS_OUTPUT_2_SISO) { 391 entry=mbcsData->ucm->states.stateTable[state][bytes[i++]]; 452 mbcsData->ucm->states.stateTable[state][bytes[i-1]]=entry; 553 return (UBool)(1==ucm_countChars(&mbcsData->ucm->states, bytes, length)); 687 maxCharLength=mbcsData->ucm->states.maxCharLength; 689 if( mbcsData->ucm->states.outputType==MBCS_OUTPUT_2_SISO & 1326 UCMStates *states; local [all...] |
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
rmepsilon.h | 128 slist<StateId> visited_states_; // List of visited states 209 // States sorted in topological order when (acyclic) or generic 211 vector<StateId> states; local 215 states.push_back(i); 223 states.resize(order.size()); 225 states[order[i]] = i; 240 states.push_back(j); 246 while (!states.empty()) { 247 StateId state = states.back(); 248 states.pop_back() [all...] |
/frameworks/base/core/java/android/net/http/ |
Connection.java | 54 private static final String[] states = {"SEND", "READ", "DRAIN", "DONE"}; field in class:Connection 171 states[state] + " pipe " + pipe.size());
|
/packages/apps/Contacts/src/com/android/contacts/ |
TextHighlightingAnimation.java | 185 int[] states = ds.drawableState; local 186 if (states != null) { 187 int count = states.length; 189 switch (states[i]) {
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
ClipDrawableTest.java | 336 int[] states = new int[] {1, 2, 3}; local 337 assertFalse(mockClipDrawable.onStateChange(states)); 338 assertEquals(states, mockDrawable.getState());
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
InputModeSwitcher.java | 207 * Maximum toggle states for a soft keyboard. 365 * Used to store all other toggle states for the current input mode. 370 * Number of states to toggle. 738 int states[] = mToggleStates.mKeyStates; local 748 // Chinese and Chinese symbol are always the default states, 754 states[statesNum] = mToggleStateSmiley; 762 states[statesNum] = mToggleStateEnLower; 765 states[statesNum] = mToggleStateEnUpper; 769 states[statesNum] = mToggleStateEnSym1; 772 states[statesNum] = mToggleStateEnSym2 [all...] |