Home
last modified time | relevance | path

Searched refs:states (Results 1 - 25 of 176) sorted by relevance

12345678

/third_party/icu/icu4c/source/tools/toolutil/
H A Ducmstate.cpp156 /* adjust "final valid" states according to the state flags */ in parseState()
188 ucm_addState(UCMStates *states, const char *s) { in ucm_addState() argument
191 if(states->countStates==MBCS_MAX_STATE_COUNT) { in ucm_addState()
192 fprintf(stderr, "ucm error: too many states (maximum %u)\n", 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
334 sumUpStates(UCMStates *states) sumUpStates() argument
426 ucm_processStates(UCMStates *states, UBool ignoreSISOCheck) ucm_processStates() argument
616 compactToUnicode2(UCMStates *states, uint16_t **pUnicodeCodeUnits, _MBCSToUFallback *toUFallbacks, int32_t countToUFallbacks, UBool verbose) compactToUnicode2() argument
843 findUnassigned(UCMStates *states, uint16_t *unicodeCodeUnits, _MBCSToUFallback *toUFallbacks, int32_t countToUFallbacks, int32_t state, int32_t offset, uint32_t b) findUnassigned() argument
900 compactToUnicodeHelper(UCMStates *states, uint16_t *unicodeCodeUnits, _MBCSToUFallback *toUFallbacks, int32_t countToUFallbacks) compactToUnicodeHelper() argument
929 ucm_optimizeStates(UCMStates *states, uint16_t **pUnicodeCodeUnits, _MBCSToUFallback *toUFallbacks, int32_t countToUFallbacks, UBool verbose) ucm_optimizeStates() argument
978 ucm_countChars(UCMStates *states, const uint8_t *bytes, int32_t length) ucm_countChars() argument
[all...]
/third_party/node/deps/icu-small/source/tools/toolutil/
H A Ducmstate.cpp156 /* adjust "final valid" states according to the state flags */ in parseState()
188 ucm_addState(UCMStates *states, const char *s) { in ucm_addState() argument
191 if(states->countStates==MBCS_MAX_STATE_COUNT) { in ucm_addState()
192 fprintf(stderr, "ucm error: too many states (maximum %u)\n", 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
334 sumUpStates(UCMStates *states) sumUpStates() argument
426 ucm_processStates(UCMStates *states, UBool ignoreSISOCheck) ucm_processStates() argument
616 compactToUnicode2(UCMStates *states, uint16_t **pUnicodeCodeUnits, _MBCSToUFallback *toUFallbacks, int32_t countToUFallbacks, UBool verbose) compactToUnicode2() argument
843 findUnassigned(UCMStates *states, uint16_t *unicodeCodeUnits, _MBCSToUFallback *toUFallbacks, int32_t countToUFallbacks, int32_t state, int32_t offset, uint32_t b) findUnassigned() argument
900 compactToUnicodeHelper(UCMStates *states, uint16_t *unicodeCodeUnits, _MBCSToUFallback *toUFallbacks, int32_t countToUFallbacks) compactToUnicodeHelper() argument
929 ucm_optimizeStates(UCMStates *states, uint16_t **pUnicodeCodeUnits, _MBCSToUFallback *toUFallbacks, int32_t countToUFallbacks, UBool verbose) ucm_optimizeStates() argument
978 ucm_countChars(UCMStates *states, const uint8_t *bytes, int32_t length) ucm_countChars() argument
[all...]
/third_party/skia/third_party/externals/icu/source/tools/toolutil/
H A Ducmstate.cpp156 /* adjust "final valid" states according to the state flags */ in parseState()
188 ucm_addState(UCMStates *states, const char *s) { in ucm_addState() argument
191 if(states->countStates==MBCS_MAX_STATE_COUNT) { in ucm_addState()
192 fprintf(stderr, "ucm error: too many states (maximum %u)\n", 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
334 sumUpStates(UCMStates *states) sumUpStates() argument
426 ucm_processStates(UCMStates *states, UBool ignoreSISOCheck) ucm_processStates() argument
616 compactToUnicode2(UCMStates *states, uint16_t **pUnicodeCodeUnits, _MBCSToUFallback *toUFallbacks, int32_t countToUFallbacks, UBool verbose) compactToUnicode2() argument
843 findUnassigned(UCMStates *states, uint16_t *unicodeCodeUnits, _MBCSToUFallback *toUFallbacks, int32_t countToUFallbacks, int32_t state, int32_t offset, uint32_t b) findUnassigned() argument
900 compactToUnicodeHelper(UCMStates *states, uint16_t *unicodeCodeUnits, _MBCSToUFallback *toUFallbacks, int32_t countToUFallbacks) compactToUnicodeHelper() argument
929 ucm_optimizeStates(UCMStates *states, uint16_t **pUnicodeCodeUnits, _MBCSToUFallback *toUFallbacks, int32_t countToUFallbacks, UBool verbose) ucm_optimizeStates() argument
978 ucm_countChars(UCMStates *states, const uint8_t *bytes, int32_t length) ucm_countChars() argument
[all...]
/third_party/vk-gl-cts/modules/gles31/functional/
H A 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[stateNd in init()
[all...]
H A 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()
220 // for old targets, check only new states 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[stateNd in init()
[all...]
/third_party/mesa3d/src/gallium/frontends/d3d10umd/
H A DRasterizer.cpp59 struct pipe_viewport_state states[PIPE_MAX_VIEWPORTS]; in SetViewports() local
75 states[i].scale[0] = half_width; in SetViewports()
76 states[i].scale[1] = -half_height; in SetViewports()
77 states[i].scale[2] = depth; in SetViewports()
79 states[i].translate[0] = half_width + x; in SetViewports()
80 states[i].translate[1] = half_height + y; in SetViewports()
81 states[i].translate[2] = z; in SetViewports()
84 memset(states + NumViewports, 0, in SetViewports()
88 states); in SetViewports()
112 struct pipe_scissor_state states[PIPE_MAX_VIEWPORT in SetScissorRects() local
[all...]
/third_party/mesa3d/src/compiler/nir/
H A Dnir_search.c44 struct util_dynarray *states; member
57 nir_algebraic_automaton(nir_instr *instr, struct util_dynarray *states,
511 util_dynarray_num_elements(state->states, uint16_t)); in construct_value()
512 util_dynarray_append(state->states, uint16_t, 0); in construct_value()
513 nir_algebraic_automaton(&alu->instr, state->states, state->pass_op_table); in construct_value()
562 util_dynarray_num_elements(state->states, uint16_t)); in construct_value()
563 util_dynarray_append(state->states, uint16_t, 0); in construct_value()
564 nir_algebraic_automaton(cval->parent_instr, state->states, in construct_value()
654 struct util_dynarray *states, in add_uses_to_worklist()
660 if (nir_algebraic_automaton(use_src->parent_instr, states, pass_op_tabl in add_uses_to_worklist()
652 add_uses_to_worklist(nir_instr *instr, nir_instr_worklist *worklist, struct util_dynarray *states, const struct per_op_table *pass_op_table) add_uses_to_worklist() argument
666 nir_algebraic_update_automaton(nir_instr *new_instr, nir_instr_worklist *algebraic_worklist, struct util_dynarray *states, const struct per_op_table *pass_op_table) nir_algebraic_update_automaton() argument
689 nir_replace_instr(nir_builder *build, nir_alu_instr *instr, struct hash_table *range_ht, struct util_dynarray *states, const nir_algebraic_table *table, const nir_search_expression *search, const nir_search_value *replace, nir_instr_worklist *algebraic_worklist) nir_replace_instr() argument
812 nir_algebraic_automaton(nir_instr *instr, struct util_dynarray *states, const struct per_op_table *pass_op_table) nir_algebraic_automaton() argument
863 nir_algebraic_instr(nir_builder *build, nir_instr *instr, struct hash_table *range_ht, const bool *condition_flags, const nir_algebraic_table *table, struct util_dynarray *states, nir_instr_worklist *worklist) nir_algebraic_instr() argument
917 struct util_dynarray states = {0}; nir_algebraic_impl() local
[all...]
H A Dnir_opt_preamble.c75 /* Per-definition array of states */
76 def_state *states; member
102 return ctx->states[src->ssa->index].can_move; in can_move_src()
297 def_state *state = &ctx->states[ctx->def->index]; in update_src_value()
298 def_state *src_state = &ctx->states[src->ssa->index]; in update_src_value()
346 ctx.states = calloc(impl->ssa_alloc, sizeof(*ctx.states)); in nir_opt_preamble()
355 def_state *state = &ctx.states[def->index]; in nir_opt_preamble()
381 def_state *state = &ctx.states[def->index]; in nir_opt_preamble()
391 if (!use_def || !ctx.states[use_de in nir_opt_preamble()
[all...]
/third_party/python/Lib/tkinter/test/test_ttk/
H A Dtest_style.py40 for states in ['active'], [('active',)]:
41 with self.subTest(states=states):
42 style.map('TButton', background=[(*states, 'white')])
49 # Multiple states
50 for states in ['pressed', '!disabled'], ['pressed !disabled'], [('pressed', '!disabled')]:
51 with self.subTest(states=states):
52 style.map('TButton', background=[(*states, 'black')])
60 for states i
[all...]
/third_party/PyYAML/lib/yaml/
H A Dparser.py85 self.states = []
91 self.states = []
151 self.states.append(self.parse_document_end)
179 self.states.append(self.parse_document_end)
185 assert not self.states
212 self.state = self.states.pop()
277 self.state = self.states.pop()
336 self.state = self.states.pop()
362 self.state = self.states.pop()
385 self.states
[all...]
/third_party/alsa-lib/src/pcm/
H A Dpcm_adpcm.c77 snd_pcm_adpcm_state_t *states);
85 snd_pcm_adpcm_state_t *states; member
221 snd_pcm_adpcm_state_t *states) in snd_pcm_adpcm_decode()
228 for (channel = 0; channel < channels; ++channel, ++states) { in snd_pcm_adpcm_decode()
251 sample = adpcm_decoder(v, states); in snd_pcm_adpcm_decode()
274 snd_pcm_adpcm_state_t *states) in snd_pcm_adpcm_encode()
282 for (channel = 0; channel < channels; ++channel, ++states) { in snd_pcm_adpcm_encode()
305 v = adpcm_encoder(sample, states); in snd_pcm_adpcm_encode()
441 assert(!adpcm->states); in snd_pcm_adpcm_hw_params()
442 adpcm->states in snd_pcm_adpcm_hw_params()
215 snd_pcm_adpcm_decode(const snd_pcm_channel_area_t *dst_areas, snd_pcm_uframes_t dst_offset, const snd_pcm_channel_area_t *src_areas, snd_pcm_uframes_t src_offset, unsigned int channels, snd_pcm_uframes_t frames, unsigned int putidx, snd_pcm_adpcm_state_t *states) snd_pcm_adpcm_decode() argument
268 snd_pcm_adpcm_encode(const snd_pcm_channel_area_t *dst_areas, snd_pcm_uframes_t dst_offset, const snd_pcm_channel_area_t *src_areas, snd_pcm_uframes_t src_offset, unsigned int channels, snd_pcm_uframes_t frames, unsigned int getidx, snd_pcm_adpcm_state_t *states) snd_pcm_adpcm_encode() argument
[all...]
/third_party/mesa3d/src/panfrost/bifrost/
H A Dbi_packer.c.py197 % for (pack_exprs, s_body, _) in states:
201 % for i, (pack_exprs, s_body, cond) in enumerate(states):
212 def pack_variant(opname, states):
214 pack_exprs = [[hex(state[1]["exact"][1])] for state in states]
216 # Computations which need to be done to encode first, across states
220 # String -> { String -> Uint }. This can be shared across states since
226 # constant across states.
227 staging = states[0][1].get("staging", "")
232 pack_sources(states[0][1].get("srcs", []), common_body, pack_exprs, offset, opname[0] == '*')
235 for st in states
[all...]
/third_party/vk-gl-cts/modules/gles3/functional/
H A 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()
H A 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(verifier), in init()
127 states[stateNdx].desc, in init()
130 states[stateNdx].tester))) in init()
/third_party/icu/icu4c/source/i18n/
H A 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;
164 # We read all states first, before writing anything, so that the state numbers
165 # for the destination states are all available to be written.
187 # Check that all of the destination states have been defined
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) {
285 print " {doNOP, 0, 0, 0, true}\n"; # State 0 is a dummy. Real states star
[all...]
/third_party/node/deps/icu-small/source/i18n/
H A 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;
164 # We read all states first, before writing anything, so that the state numbers
165 # for the destination states are all available to be written.
187 # Check that all of the destination states have been defined
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) {
285 print " {doNOP, 0, 0, 0, true}\n"; # State 0 is a dummy. Real states star
[all...]
/third_party/skia/third_party/externals/icu/source/i18n/
H A 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;
164 # We read all states first, before writing anything, so that the state numbers
165 # for the destination states are all available to be written.
187 # Check that all of the destination states have been defined
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) {
285 print " {doNOP, 0, 0, 0, TRUE}\n"; # State 0 is a dummy. Real states star
[all...]
/third_party/icu/icu4c/source/tools/makeconv/
H A 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()
[all...]
/third_party/skia/third_party/externals/icu/source/tools/makeconv/
H A 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()
[all...]
/third_party/mesa3d/src/intel/vulkan/tests/
H A 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()
H A Dstate_pool_free_list_only.c50 /* Grab and return enough states that the state pool test below won't in main()
54 struct anv_state states[NUM_THREADS * STATES_PER_THREAD]; in main() local
56 states[i] = anv_state_pool_alloc(&state_pool, 16, 16); in main()
57 ASSERT(states[i].offset != 0); in main()
61 anv_state_pool_free(&state_pool, states[i]); in main()
/third_party/skia/src/sksl/lex/
H A DMain.cpp114 size_t states = 0; in writeCPP() local
116 states = std::max(states, row.size()); in writeCPP()
118 out << "using State = " << (states <= 256 ? "uint8_t" : "uint16_t") << ";\n"; in writeCPP()
130 WriteTransitionTable(out, dfa, states); in writeCPP()
132 out << "static const int8_t kAccepts[" << states << "] = {"; in writeCPP() local
133 for (size_t i = 0; i < states; ++i) { in writeCPP()
/third_party/icu/icu4c/source/common/
H A 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;
165 # We read all states first, before writing anything, so that the state numbers
166 # for the destination states are all available to be written.
188 # Check that all of the destination states have been defined
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{
[all...]
/third_party/node/deps/icu-small/source/common/
H A 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;
165 # We read all states first, before writing anything, so that the state numbers
166 # for the destination states are all available to be written.
188 # Check that all of the destination states have been defined
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{
[all...]
/third_party/skia/third_party/externals/icu/source/common/
H A 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;
165 # We read all states first, before writing anything, so that the state numbers
166 # for the destination states are all available to be written.
188 # Check that all of the destination states have been defined
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{
[all...]

Completed in 14 milliseconds

12345678