Home
last modified time | relevance | path

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

12345678910>>...27

/external/icu/icu4c/source/tools/toolutil/
Ducmstate.cpp188 ucm_addState(UCMStates *states, const char *s) { in ucm_addState() argument
191 if(states->countStates==MBCS_MAX_STATE_COUNT) { in ucm_addState()
196 error=parseState(s, states->stateTable[states->countStates], in ucm_addState()
197 &states->stateFlags[states->countStates]); in ucm_addState()
203 ++states->countStates; in ucm_addState()
209 UCMStates *states; in ucm_parseHeaderLine() local
213 states=&ucm->states; in ucm_parseHeaderLine()
267 states->conversionType=UCNV_DBCS; in ucm_parseHeaderLine()
269 states->conversionType = UCNV_SBCS; in ucm_parseHeaderLine()
271 states->conversionType = UCNV_MBCS; in ucm_parseHeaderLine()
[all …]
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/ads/
DAdPlaybackState.java52 @AdState public final int[] states; field in AdPlaybackState.AdGroup
66 int count, @AdState int[] states, @NullableType Uri[] uris, long[] durationsUs) { in AdGroup() argument
67 Assertions.checkArgument(states.length == uris.length); in AdGroup()
69 this.states = states; in AdGroup()
88 while (nextAdIndexToPlay < states.length) { in getNextAdIndexToPlay()
89 if (states[nextAdIndexToPlay] == AD_STATE_UNAVAILABLE in getNextAdIndexToPlay()
90 || states[nextAdIndexToPlay] == AD_STATE_AVAILABLE) { in getNextAdIndexToPlay()
114 && Arrays.equals(states, adGroup.states) in equals()
122 result = 31 * result + Arrays.hashCode(states); in hashCode()
133 Assertions.checkArgument(this.count == C.LENGTH_UNSET && states.length <= count); in withAdCount()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
DOpenIntToDoubleHashMap.java77 private byte[] states; field in OpenIntToDoubleHashMap
124 states = new byte[capacity]; in OpenIntToDoubleHashMap()
139 states = new byte[length]; in OpenIntToDoubleHashMap()
140 System.arraycopy(source.states, 0, states, 0, length); in OpenIntToDoubleHashMap()
186 if (states[index] == FREE) { in get()
191 for (int perturb = perturb(hash); states[index] != FREE; perturb >>= PERTURB_SHIFT) { in get()
216 if (states[index] == FREE) { in containsKey()
221 for (int perturb = perturb(hash); states[index] != FREE; perturb >>= PERTURB_SHIFT) { in containsKey()
259 return findInsertionIndex(keys, states, key, mask); in findInsertionIndex()
270 private static int findInsertionIndex(final int[] keys, final byte[] states, in findInsertionIndex() argument
[all …]
DOpenIntToFieldHashMap.java83 private byte[] states; field in OpenIntToFieldHashMap
135 states = new byte[capacity]; in OpenIntToFieldHashMap()
151 states = new byte[length]; in OpenIntToFieldHashMap()
152 System.arraycopy(source.states, 0, states, 0, length); in OpenIntToFieldHashMap()
198 if (states[index] == FREE) { in get()
203 for (int perturb = perturb(hash); states[index] != FREE; perturb >>= PERTURB_SHIFT) { in get()
228 if (states[index] == FREE) { in containsKey()
233 for (int perturb = perturb(hash); states[index] != FREE; perturb >>= PERTURB_SHIFT) { in containsKey()
271 return findInsertionIndex(keys, states, key, mask); in findInsertionIndex()
282 private static int findInsertionIndex(final int[] keys, final byte[] states, in findInsertionIndex() argument
[all …]
/external/libxml2/
DtestAutomata.c37 xmlAutomataStatePtr states[1000]; in testRegexpFile() local
42 states[i] = NULL; in testRegexpFile()
58 states[0] = xmlAutomataGetInitState(am); in testRegexpFile()
59 if (states[0] == NULL) { in testRegexpFile()
88 if (states[from] == NULL) in testRegexpFile()
89 states[from] = xmlAutomataNewState(am); in testRegexpFile()
97 if (states[to] == NULL) in testRegexpFile()
98 states[to] = xmlAutomataNewState(am); in testRegexpFile()
100 xmlAutomataNewTransition(am, states[from], states[to], in testRegexpFile()
112 if (states[from] == NULL) in testRegexpFile()
[all …]
Dpattern.c114 int *states; /* the array of step indexes */ member
150 xmlStepStatePtr states; member
464 xmlPatPushState(xmlStepStates *states, int step, xmlNodePtr node) { in xmlPatPushState() argument
465 if ((states->states == NULL) || (states->maxstates <= 0)) { in xmlPatPushState()
466 states->maxstates = 4; in xmlPatPushState()
467 states->nbstates = 0; in xmlPatPushState()
468 states->states = xmlMalloc(4 * sizeof(xmlStepState)); in xmlPatPushState()
470 else if (states->maxstates <= states->nbstates) { in xmlPatPushState()
473 tmp = (xmlStepStatePtr) xmlRealloc(states->states, in xmlPatPushState()
474 2 * states->maxstates * sizeof(xmlStepState)); in xmlPatPushState()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/events/
DCombinedEventsManager.java42 private final List<EventState> states; field in CombinedEventsManager
54 states = new ArrayList<EventState>(); in CombinedEventsManager()
72 states.add(new EventState(handler, maxCheckInterval, in addEventHandler()
84 for (EventState state : states) { in getEventsHandlers()
95 states.clear(); in clearEventsHandlers()
103 return states; in getEventsStates()
110 return states.isEmpty(); in isEmpty()
129 if (states.isEmpty()) { in evaluateStep()
139 for (EventState state : states) { in evaluateStep()
148 for (EventState state : states) { in evaluateStep()
[all …]
/external/deqp/modules/gles31/functional/
Des31fSamplerStateQueryTests.cpp116 } states[] = in init() local
170 for (int stateNdx = 0; stateNdx < DE_LENGTH_OF_ARRAY(states); ++stateNdx) in init()
173 if (!states[stateNdx].newInGLES31) in init()
176 if (isExtendedParamQuery(states[stateNdx].tester)) in init()
181 std::string() + states[stateNdx].name + verifierSuffix, in init()
182 states[stateNdx].desc, in init()
184 states[stateNdx].tester)); in init()
186 else if (isIsVectorQuery(states[stateNdx].tester)) in init()
190 std::string() + states[stateNdx].name + verifierSuffix, in init()
191 states[stateNdx].desc, in init()
[all …]
Des31fTextureStateQueryTests.cpp134 } states[] = in init() local
215 for (int stateNdx = 0; stateNdx < DE_LENGTH_OF_ARRAY(states); ++stateNdx) in init()
217 if (!isLegalTesterForTarget(textureTargets[targetNdx].target, states[stateNdx].tester)) in init()
221 if (!textureTargets[targetNdx].newInGLES31 && !states[stateNdx].newInGLES31) in init()
224 if (isExtendedParamQuery(states[stateNdx].tester)) in init()
229 std::string() + states[stateNdx].name + verifierSuffix, in init()
230 states[stateNdx].desc, in init()
233 states[stateNdx].tester)); in init()
235 else if (isIsVectorQuery(states[stateNdx].tester)) in init()
239 std::string() + states[stateNdx].name + verifierSuffix, in init()
[all …]
/external/tensorflow/tensorflow/python/keras/layers/
Dconvolutional_recurrent.py181 self.states = None
357 initial_state = self.states
364 if len(initial_state) != len(self.states):
365 raise ValueError('Layer has ' + str(len(self.states)) +
379 def step(inputs, states): argument
380 constants = states[-self._num_constants:]
381 states = states[:-self._num_constants]
382 return self.cell.call(inputs, states, constants=constants,
385 def step(inputs, states): argument
386 return self.cell.call(inputs, states, **kwargs)
[all …]
Drecurrent.py132 def call(self, inputs, states, constants=None, training=None, **kwargs): argument
136 nested_states = nest.pack_sequence_as(state_size, nest.flatten(states))
140 for cell, states in zip(self.cells, nested_states):
141 states = states if nest.is_sequence(states) else [states]
144 states = states[0] if len(states) == 1 and is_tf_rnn_cell else states
153 inputs, states = cell_call_fn(inputs, states,
156 inputs, states = cell_call_fn(inputs, states, **kwargs)
157 new_nested_states.append(states)
442 def states(self): member in RNN
448 @states.setter
[all …]
/external/icu/icu4c/source/common/
Drbbicst.pl33 $states{"pop"} = 255; # Add the "pop" to the list of defined state names.
66 if ($states{$state_name} != 0) {
69 $states{$state_name} = $num_states;
191 $states{"exit"} = 0; # Predefined state name, terminates state machine.
193 if ($states{$state_dest_state[$state]} == 0 && $state_dest_state[$state] ne "exit") {
197 if ($state_push_state[$state] ne "" && $states{$state_push_state[$state]} == 0) {
306 print " $states{$state_dest_state[$state]},";
313 print " $states{$state_push_state[$state]},";
415 print " $states{$state_dest_state[$state]},";
422 print " $states{$state_push_state[$state]},";
/external/icu/icu4c/source/i18n/
Dregexcst.pl32 $states{"pop"} = 255; # Add the "pop" to the list of defined state names.
65 if ($states{$state_name} != 0) {
68 $states{$state_name} = $num_states;
190 $states{"exit"} = 0; # Predefined state name, terminates state machine.
192 if ($states{$state_dest_state[$state]} == 0 && $state_dest_state[$state] ne "exit") {
196 if ($state_push_state[$state] ne "" && $states{$state_push_state[$state]} == 0) {
291 print " $states{$state_dest_state[$state]},";
298 print " $states{$state_push_state[$state]},";
/external/mesa3d/src/compiler/nir/
Dnir_search.c44 struct util_dynarray *states; member
56 nir_algebraic_automaton(nir_instr *instr, struct util_dynarray *states,
509 util_dynarray_num_elements(state->states, uint16_t)); in construct_value()
510 util_dynarray_append(state->states, uint16_t, 0); in construct_value()
511 nir_algebraic_automaton(&alu->instr, state->states, state->pass_op_table); in construct_value()
561 util_dynarray_num_elements(state->states, uint16_t)); in construct_value()
562 util_dynarray_append(state->states, uint16_t, 0); in construct_value()
563 nir_algebraic_automaton(cval->parent_instr, state->states, in construct_value()
663 struct util_dynarray *states, in nir_algebraic_update_automaton() argument
676 if (nir_algebraic_automaton(instr, states, pass_op_table)) { in nir_algebraic_update_automaton()
[all …]
/external/deqp/modules/gles3/functional/
Des3fTextureStateQueryTests.cpp90 } states[] = in init() local
119 for (int stateNdx = 0; stateNdx < DE_LENGTH_OF_ARRAY(states); ++stateNdx) in init()
121 if (!isLegalTesterForTarget(textureTargets[targetNdx].target, states[stateNdx].tester)) in init()
126 …std::string() + textureTargets[targetNdx].name + "_" + states[stateNdx].name + getVerifierSuffix(v… in init()
127 states[stateNdx].desc, in init()
130 states[stateNdx].tester))); in init()
Des3fSamplerStateQueryTests.cpp78 } states[] = in init() local
91 for (int stateNdx = 0; stateNdx < DE_LENGTH_OF_ARRAY(states); ++stateNdx) in init()
95 std::string() + states[stateNdx].name + getVerifierSuffix(verifier), in init()
96 states[stateNdx].desc, in init()
98 states[stateNdx].tester))); in init()
/external/deqp/android/cts/master/src/
Dvk-excluded-tests.txt2 dEQP-VK.pipeline.blend.format.a2r10g10b10_unorm_pack32.states.color_dc_dc_add_alpha_o_1msc_add-colo…
3 dEQP-VK.pipeline.blend.format.a2r10g10b10_unorm_pack32.states.color_sa_z_sub_alpha_ca_cc_sub-color_…
4 dEQP-VK.pipeline.blend.format.b5g5r5a1_unorm_pack16.states.color_1mcc_cc_min_alpha_sc_cc_min-color_…
5 dEQP-VK.pipeline.blend.format.b5g5r5a1_unorm_pack16.states.color_dc_dc_add_alpha_o_1msc_add-color_s…
6 dEQP-VK.pipeline.blend.format.b5g5r5a1_unorm_pack16.states.color_sa_z_sub_alpha_ca_cc_sub-color_sas…
7 dEQP-VK.pipeline.blend.format.r5g5b5a1_unorm_pack16.states.color_1mcc_cc_min_alpha_sc_cc_min-color_…
8 dEQP-VK.pipeline.blend.format.r5g5b5a1_unorm_pack16.states.color_dc_dc_add_alpha_o_1msc_add-color_s…
9 dEQP-VK.pipeline.blend.format.r5g5b5a1_unorm_pack16.states.color_sa_z_sub_alpha_ca_cc_sub-color_sas…
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/source/ads/
DAdPlaybackStateTest.java55 assertThat(state.adGroups[0].states[0]).isEqualTo(AdPlaybackState.AD_STATE_UNAVAILABLE); in setAdUriBeforeAdCount()
57 assertThat(state.adGroups[0].states[1]).isEqualTo(AdPlaybackState.AD_STATE_AVAILABLE); in setAdUriBeforeAdCount()
66 assertThat(state.adGroups[0].states[0]).isEqualTo(AdPlaybackState.AD_STATE_ERROR); in setAdErrorBeforeAdCount()
67 assertThat(state.adGroups[0].states[1]).isEqualTo(AdPlaybackState.AD_STATE_UNAVAILABLE); in setAdErrorBeforeAdCount()
88 assertThat(state.adGroups[0].states[1]).isEqualTo(AdPlaybackState.AD_STATE_UNAVAILABLE); in getFirstAdIndexToPlaySkipsPlayedAd()
89 assertThat(state.adGroups[0].states[2]).isEqualTo(AdPlaybackState.AD_STATE_AVAILABLE); in getFirstAdIndexToPlaySkipsPlayedAd()
101 assertThat(state.adGroups[0].states[1]).isEqualTo(AdPlaybackState.AD_STATE_UNAVAILABLE); in getFirstAdIndexToPlaySkipsSkippedAd()
102 assertThat(state.adGroups[0].states[2]).isEqualTo(AdPlaybackState.AD_STATE_AVAILABLE); in getFirstAdIndexToPlaySkipsSkippedAd()
/external/python/cpython2/Demo/tkinter/ttk/
Dwidget_state.py4 states = ['active', 'disabled', 'focus', 'pressed', 'selected', variable
7 for state in states[:]:
8 states.append("!" + state)
11 nostate = states[len(states) // 2:]
50 goodstates = [state for state in newstates if state in states]
/external/mesa3d/src/intel/vulkan/tests/
Dstate_pool_test_helper.h41 struct anv_state states[chunk_size]; in alloc_states() local
47 states[i] = anv_state_pool_alloc(job->pool, 16, 16); in alloc_states()
48 memset(states[i].map, 139, 16); in alloc_states()
49 ASSERT(states[i].offset != 0); in alloc_states()
53 anv_state_pool_free(job->pool, states[i]); in alloc_states()
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/parser/
DParserImpl.java125 private final ArrayStack<Production> states; field in ParserImpl
138 states = new ArrayStack<Production>(100); in ParserImpl()
201 states.push(new ParseDocumentEnd()); in produce()
231 states.push(new ParseDocumentEnd()); in produce()
237 if (!states.isEmpty()) { in produce()
238 throw new YAMLException("Unexpected end of stream. States left: " + states); in produce()
274 state = states.pop(); in produce()
378 state = states.pop(); in parseNode()
444 state = states.pop(); in parseNode()
470 state = states.pop(); in parseNode()
[all …]
/external/icu/icu4c/source/tools/makeconv/
Dmakeconv.cpp499 staticData->maxBytesPerChar=(int8_t)data->ucm->states.maxCharLength; in readHeader()
500 staticData->minBytesPerChar=(int8_t)data->ucm->states.minCharLength; in readHeader()
501 staticData->conversionType=data->ucm->states.conversionType; in readHeader()
549 if(data->ucm->states.outputType<0) { in readHeader()
550 data->ucm->states.outputType=(int8_t)data->ucm->states.maxCharLength-1; in readHeader()
593 baseStates=&data->ucm->states; in readFile()
644 UCMStates *states, *baseStates; in createConverter() local
658 states=&data->ucm->states; in createConverter()
683 !ucm_checkBaseExt(states, data->ucm->base, data->ucm->ext, data->ucm->ext, FALSE) in createConverter()
753 baseStates=&baseData.ucm->states; in createConverter()
[all …]
/external/aac/libSBRenc/src/
Dresampler.cpp301 FDKmemclear(DownSampler->downFilter.states, in FDKaacEnc_InitDownsampler()
302 sizeof(DownSampler->downFilter.states)); in FDKaacEnc_InitDownsampler()
354 FIXP_BQS(*states)[2] = downFilter->states; in AdvanceFilter() local
371 state1 = states[0][s1]; in AdvanceFilter()
372 state2 = states[0][s2]; in AdvanceFilter()
379 state1b = states[i + 1][s1]; in AdvanceFilter()
380 state2b = states[i + 1][s2]; in AdvanceFilter()
386 states[i + 1][s2] = y << 1; in AdvanceFilter()
388 states[i][s2] = input << 1; in AdvanceFilter()
/external/python/cpython3/Modules/_sha3/kcp/
DPlSnP-Fallback.inc50 #define stateWithIndex(i) ((unsigned char *)states+((i)*SnP_stateOffset))
71 void PlSnP_InitializeAll(void *states)
83 void PlSnP_AddByte(void *states, unsigned int instanceIndex, unsigned char byte, unsigned int offse…
92 void PlSnP_AddBytes(void *states, unsigned int instanceIndex, const unsigned char *data, unsigned i…
101 void PlSnP_AddLanesAll(void *states, const unsigned char *data, unsigned int laneCount, unsigned in…
115 void PlSnP_OverwriteBytes(void *states, unsigned int instanceIndex, const unsigned char *data, unsi…
124 void PlSnP_OverwriteLanesAll(void *states, const unsigned char *data, unsigned int laneCount, unsig…
138 void PlSnP_OverwriteWithZeroes(void *states, unsigned int instanceIndex, unsigned int byteCount)
147 void PlSnP_PermuteAll(void *states)
161 void PlSnP_PermuteAll_12rounds(void *states)
[all …]
/external/mesa3d/src/panfrost/bifrost/
Dgen_pack.py437 def pack_variant(opname, states): argument
439 pack_exprs = [[hex(state[1]["exact"][1])] for state in states]
452 staging = states[0][1].get("staging", "")
457 …offset += len(set(["attribute_index", "varying_index", "index"]) & set([x[0] for x in states[0][1]…
462 pack_sources(states[0][1].get("srcs", []), common_body, pack_exprs, offset)
465 for st in states:
477 for i, st in enumerate(states):
535 state_body = [[] for s in states]
537 for i, (_, st) in enumerate(states):
542 …state_conds = [compile_s_expr(st[0], imm_map, None) for st in states] if len(states) > 1 else [Non…
[all …]

12345678910>>...27