Home
last modified time | relevance | path

Searched refs:states (Results 1 – 25 of 216) sorted by relevance

123456789

/external/icu4c/tools/toolutil/
Ducmstate.c186 ucm_addState(UCMStates *states, const char *s) { in ucm_addState() argument
189 if(states->countStates==MBCS_MAX_STATE_COUNT) { in ucm_addState()
194 error=parseState(s, states->stateTable[states->countStates], in ucm_addState()
195 &states->stateFlags[states->countStates]); in ucm_addState()
201 ++states->countStates; in ucm_addState()
207 UCMStates *states; in ucm_parseHeaderLine() local
211 states=&ucm->states; in ucm_parseHeaderLine()
265 states->conversionType=UCNV_DBCS; in ucm_parseHeaderLine()
267 states->conversionType = UCNV_SBCS; in ucm_parseHeaderLine()
269 states->conversionType = UCNV_MBCS; in ucm_parseHeaderLine()
[all …]
Ducm.h103 UCMStates states; member
237 ucm_addState(UCMStates *states, const char *s);
240 ucm_processStates(UCMStates *states, UBool ignoreSISOCheck);
243 ucm_countChars(UCMStates *states,
266 ucm_optimizeStates(UCMStates *states,
/external/icu4c/common/
Dunorm_it.c44 uint32_t *states; member
93 uint32_t *states; in reallocArrays() local
97 states=(uint32_t *)uprv_malloc((capacity+1)*4+capacity*2); in reallocArrays()
98 if(states==NULL) { in reallocArrays()
102 chars=(UChar *)(states+(capacity+1)); in reallocArrays()
113 uprv_memcpy(states+delta+start, uni->states+start, (limit-start+1)*4); in reallocArrays()
121 uprv_memcpy(states+start, uni->states+start, (limit-start+1)*4); in reallocArrays()
126 uni->states=states; in reallocArrays()
132 moveContentsTowardStart(UCharIterator *api, UChar chars[], uint32_t states[], int32_t delta) { in moveContentsTowardStart() argument
140 while(srcIndex<limit && states[srcIndex]==UITER_NO_STATE) { in moveContentsTowardStart()
[all …]
Drbbicst.pl29 $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;
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]},";
309 print " $states{$state_push_state[$state]},";
409 print " $states{$state_dest_state[$state]},";
416 print " $states{$state_push_state[$state]},";
/external/webkit/Source/WebCore/inspector/front-end/
DStatusBarButton.js31 WebInspector.StatusBarButton = function(title, className, states) argument
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)
125 if (this.states !== 2)
/external/icu4c/i18n/
Dregexcst.pl30 $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;
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) {
287 print " $states{$state_dest_state[$state]},";
294 print " $states{$state_push_state[$state]},";
/external/hyphenation/
Dhyphen.c181 dict->states = hnj_realloc (dict->states, in hnj_get_state()
185 dict->states[dict->num_states].match = NULL; in hnj_get_state()
186 dict->states[dict->num_states].repl = NULL; in hnj_get_state()
187 dict->states[dict->num_states].fallback_state = -1; in hnj_get_state()
188 dict->states[dict->num_states].num_trans = 0; in hnj_get_state()
189 dict->states[dict->num_states].trans = NULL; in hnj_get_state()
200 num_trans = dict->states[state1].num_trans; in hnj_add_trans()
203 dict->states[state1].trans = hnj_malloc (sizeof(HyphenTrans)); in hnj_add_trans()
207 dict->states[state1].trans = hnj_realloc (dict->states[state1].trans, in hnj_add_trans()
211 dict->states[state1].trans[num_trans].ch = ch; in hnj_add_trans()
[all …]
/external/libxml2/
Dpattern.c111 int *states; /* the array of step indexes */ member
147 xmlStepStatePtr states; member
460 xmlPatPushState(xmlStepStates *states, int step, xmlNodePtr node) { in xmlPatPushState() argument
461 if ((states->states == NULL) || (states->maxstates <= 0)) { in xmlPatPushState()
462 states->maxstates = 4; in xmlPatPushState()
463 states->nbstates = 0; in xmlPatPushState()
464 states->states = xmlMalloc(4 * sizeof(xmlStepState)); in xmlPatPushState()
466 else if (states->maxstates <= states->nbstates) { in xmlPatPushState()
469 tmp = (xmlStepStatePtr) xmlRealloc(states->states, in xmlPatPushState()
470 2 * states->maxstates * sizeof(xmlStepState)); in xmlPatPushState()
[all …]
Drelaxng.c372 xmlRelaxNGStatesPtr states; /* the accumulated state list */ member
1052 xmlRelaxNGStatesPtr states, in xmlRelaxNGAddStatesUniq() argument
1058 if (states->nbState >= states->maxState) { in xmlRelaxNGAddStatesUniq()
1062 size = states->maxState * 2; in xmlRelaxNGAddStatesUniq()
1063 tmp = (xmlRelaxNGValidStatePtr *) xmlRealloc(states->tabState, in xmlRelaxNGAddStatesUniq()
1071 states->tabState = tmp; in xmlRelaxNGAddStatesUniq()
1072 states->maxState = size; in xmlRelaxNGAddStatesUniq()
1074 states->tabState[states->nbState++] = state; in xmlRelaxNGAddStatesUniq()
1090 xmlRelaxNGStatesPtr states, in xmlRelaxNGAddStates() argument
1098 if (states->nbState >= states->maxState) { in xmlRelaxNGAddStates()
[all …]
/external/webkit/Source/WebCore/platform/mac/
DThemeMac.mm137 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 …tic ThemeDrawState convertControlStatesToThemeDrawState(ThemeButtonKind kind, ControlStates states)
173 if (states & ReadOnlyState)
175 if (!(states & EnabledState))
179 if (states & PressedState) {
[all …]
/external/icu4c/tools/makeconv/
Dmakeconv.c495 staticData->maxBytesPerChar=(int8_t)data->ucm->states.maxCharLength; in readHeader()
496 staticData->minBytesPerChar=(int8_t)data->ucm->states.minCharLength; in readHeader()
497 staticData->conversionType=data->ucm->states.conversionType; in readHeader()
545 if(data->ucm->states.outputType<0) { in readHeader()
546 data->ucm->states.outputType=(int8_t)data->ucm->states.maxCharLength-1; in readHeader()
589 baseStates=&data->ucm->states; in readFile()
640 UCMStates *states, *baseStates; in createConverter() local
654 states=&data->ucm->states; in createConverter()
679 !ucm_checkBaseExt(states, data->ucm->base, data->ucm->ext, data->ucm->ext, FALSE) in createConverter()
749 baseStates=&baseData.ucm->states; in createConverter()
[all …]
Dgenmbcs.c197 sum=mbcsData->ucm->states.countToUCodeUnits; in MBCSStartMappings()
215 maxCharLength=mbcsData->ucm->states.maxCharLength; in MBCSStartMappings()
375 if(mbcsData->ucm->states.countStates==0) { in MBCSAddToUnicode()
381 if(length==2 && mbcsData->ucm->states.outputType==MBCS_OUTPUT_2_SISO) { in MBCSAddToUnicode()
391 entry=mbcsData->ucm->states.stateTable[state][bytes[i++]]; in MBCSAddToUnicode()
452 mbcsData->ucm->states.stateTable[state][bytes[i-1]]=entry; in MBCSAddToUnicode()
553 return (UBool)(1==ucm_countChars(&mbcsData->ucm->states, bytes, length)); in MBCSIsValid()
687 maxCharLength=mbcsData->ucm->states.maxCharLength; in MBCSAddFromUnicode()
689 if( mbcsData->ucm->states.outputType==MBCS_OUTPUT_2_SISO && in MBCSAddFromUnicode()
953 maxCharLength=mbcsData->ucm->states.maxCharLength; in MBCSAddTable()
[all …]
/external/webkit/Source/WebCore/platform/chromium/
DThemeChromiumMac.mm250 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 …tic ThemeDrawState convertControlStatesToThemeDrawState(ThemeButtonKind kind, ControlStates states)
291 if (states & ReadOnlyState)
293 if (!(states & EnabledState))
[all …]
DPlatformThemeChromiumGtk.cpp100 …rowButton(GraphicsContext* gc, const IntRect& rect, ArrowDirection direction, ControlStates states) in paintArrowButton() argument
118 if (states & PressedState) { in paintArrowButton()
122 } else if (states & HoverState) { in paintArrowButton()
184 if (states & EnabledState && !(states & ReadOnlyState)) in paintArrowButton()
/external/bison/src/
Dlalr.c90 transitions *sp = states[s]->transitions; in set_goto_map()
124 transitions *sp = states[s]->transitions; in set_goto_map()
130 to_state[k] = sp->states[i]->number; in set_goto_map()
183 transitions *sp = states[stateno]->transitions; in initialize_F()
241 symbol_number symbol1 = states[to_state[i]]->accessing_symbol; in build_relations()
249 state *s = states[from_state[i]]; in build_relations()
383 nLA += state_look_ahead_tokens_count (states[i]); in initialize_LA()
395 int count = state_look_ahead_tokens_count (states[i]); in initialize_LA()
398 states[i]->reductions->look_ahead_tokens = pLA; in initialize_LA()
417 reductions *reds = states[i]->reductions; in look_ahead_tokens_print()
[all …]
Dstate.h117 state *states[1]; member
126 (Transitions->states[Num]->accessing_symbol)
147 (Transitions->states[Num] = NULL)
150 (Transitions->states[Num] == NULL)
253 extern state **states;
Dconflicts.c318 set_conflicts (states[i], errors); in conflicts_solve()
322 if (!states[i]->errs) in conflicts_solve()
323 states[i]->errs = errs_new (0, 0); in conflicts_solve()
420 state *s = states[i]; in conflicts_output()
451 count += count_sr_conflicts (states[i]); in conflicts_total_count()
452 count += count_rr_conflicts (states[i], false); in conflicts_total_count()
483 src_total += count_sr_conflicts (states[i]); in conflicts_print()
484 rrc_total += count_rr_conflicts (states[i], true); in conflicts_print()
Dstate.c46 transitions *res = xmalloc (offsetof (transitions, states) + states_size); in transitions_new()
48 memcpy (res->states, the_states, states_size); in transitions_new()
66 return shifts->states[j]; in transitions_to()
356 state **states = NULL; variable
368 state_free (states[i]); in states_free()
369 free (states); in states_free()
/external/libxslt/libxslt/
Dpattern.c80 xsltStepStatePtr states; member
478 xsltPatPushState(xsltTransformContextPtr ctxt, xsltStepStates *states, in xsltPatPushState() argument
480 if ((states->states == NULL) || (states->maxstates <= 0)) { in xsltPatPushState()
481 states->maxstates = 4; in xsltPatPushState()
482 states->nbstates = 0; in xsltPatPushState()
483 states->states = xmlMalloc(4 * sizeof(xsltStepState)); in xsltPatPushState()
485 else if (states->maxstates <= states->nbstates) { in xsltPatPushState()
488 tmp = (xsltStepStatePtr) xmlRealloc(states->states, in xsltPatPushState()
489 2 * states->maxstates * sizeof(xsltStepState)); in xsltPatPushState()
496 states->states = tmp; in xsltPatPushState()
[all …]
/external/bluetooth/glib/docs/reference/glib/
DMakefile.am53 mainloop-states.gif
79 mainloop-states.fig \
80 mainloop-states.png \
81 mainloop-states.eps \
/external/chromium/testing/gmock/src/
Dgmock-spec-builders.cc567 StateMap& states() { return states_; } in states() function in testing::__anon0865642f0111::MockObjectRegistry
634 g_mock_object_registry.states()[mock_obj].leakable = true; in AllowLeak()
662 if (g_mock_object_registry.states().count(mock_obj) == 0) { in VerifyAndClearExpectationsLocked()
671 g_mock_object_registry.states()[mock_obj].function_mockers; in VerifyAndClearExpectationsLocked()
689 g_mock_object_registry.states()[mock_obj].function_mockers.insert(mocker); in Register()
699 MockObjectState& state = g_mock_object_registry.states()[mock_obj]; in RegisterUseByOnCallOrExpectCall()
723 g_mock_object_registry.states().begin(); in UnregisterLocked()
724 it != g_mock_object_registry.states().end(); ++it) { in UnregisterLocked()
729 g_mock_object_registry.states().erase(it); in UnregisterLocked()
741 if (g_mock_object_registry.states().count(mock_obj) == 0) { in ClearDefaultActionsLocked()
[all …]
/external/webkit/Source/WebCore/platform/android/
DPlatformTouchEventAndroid.cpp41 … windowPoints, TouchEventType type, const Vector<PlatformTouchPoint::State>& states, int metaState) in PlatformTouchEvent() argument
48 m_touchPoints.append(PlatformTouchPoint(ids[c], windowPoints[c], states[c])); in PlatformTouchEvent()
/external/freetype/src/psnames/
Dpsmodule.c254 FT_UInt *states ) in ps_check_extra_glyph_name() argument
264 if ( states[n] == 0 ) in ps_check_extra_glyph_name()
267 states[n] = 1; in ps_check_extra_glyph_name()
279 FT_UInt *states ) in ps_check_extra_glyph_unicode() argument
289 states[n] = 2; in ps_check_extra_glyph_unicode()
/external/llvm/lib/Support/
Dregengine.inc81 states st; /* current states */
82 states fresh; /* states for a fresh start */
83 states tmp; /* temporary */
84 states empty; /* empty set of states */
95 static states step(struct re_guts *, sopno, sopno, states, int, states);
107 static void print(struct match *, char *, states, int, FILE *);
686 states st = m->st;
687 states fresh = m->fresh;
688 states tmp = m->tmp;
771 states st = m->st;
[all …]
/external/srec/tools/thirdparty/OpenFst/fst/lib/
Drmepsilon.h211 vector<StateId> states; in RmEpsilon() local
215 states.push_back(i); in RmEpsilon()
223 states.resize(order.size()); in RmEpsilon()
225 states[order[i]] = i; in RmEpsilon()
240 states.push_back(j); in RmEpsilon()
246 while (!states.empty()) { in RmEpsilon()
247 StateId state = states.back(); in RmEpsilon()
248 states.pop_back(); in RmEpsilon()

123456789