Home
last modified time | relevance | path

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

1234567891011

/openbsd/sys/dev/pci/drm/
H A Ddrm_blend.c448 struct drm_plane_state **states; in drm_atomic_helper_crtc_normalize_zpos() local
456 states = kmalloc_array(total_planes, sizeof(*states), GFP_KERNEL); in drm_atomic_helper_crtc_normalize_zpos()
457 if (!states) in drm_atomic_helper_crtc_normalize_zpos()
471 states[n++] = plane_state; in drm_atomic_helper_crtc_normalize_zpos()
476 sort(states, n, sizeof(*states), drm_atomic_state_zpos_cmp, NULL); in drm_atomic_helper_crtc_normalize_zpos()
479 plane = states[i]->plane; in drm_atomic_helper_crtc_normalize_zpos()
481 states[i]->normalized_zpos = i; in drm_atomic_helper_crtc_normalize_zpos()
488 kfree(states); in drm_atomic_helper_crtc_normalize_zpos()
/openbsd/gnu/usr.bin/perl/
H A Dregcomp_trie.c90 if ( trie->states[ state ].wordnum ) { in S_dump_trie()
167 if ( ! trie->states[ state ].wordnum ) { in S_dump_trie_interim_list()
171 trie->states[ state ].wordnum in S_dump_trie_interim_list()
880 trie->states = (reg_trie_state *) in Perl_make_trie()
974 trie->states = (reg_trie_state *) in Perl_make_trie()
1110 trie->states = (reg_trie_state *) in Perl_make_trie()
1304 trie->states = (reg_trie_state *) in Perl_make_trie()
1626 U32 base = trie->states[ 1 ].trans.base; in Perl_construct_ahocorasick_from_trie()
1657 Copy( trie->states, aho->states, numstates, reg_trie_state ); in Perl_construct_ahocorasick_from_trie()
1690 if ( !aho->states[ ch_state ].wordnum && aho->states[ fail_state ].wordnum ) in Perl_construct_ahocorasick_from_trie()
[all …]
/openbsd/sys/dev/ofw/
H A Dofw_regulator.c363 uint32_t *gpio, *gpios, *states; in regulator_gpio_get() local
378 states = malloc(slen, M_TEMP, M_WAITOK); in regulator_gpio_get()
395 if (states[2 * i + 1] == idx) { in regulator_gpio_get()
396 value = states[2 * i]; in regulator_gpio_get()
404 free(states, M_TEMP, slen); in regulator_gpio_get()
413 uint32_t *gpio, *gpios, *states; in regulator_gpio_set() local
443 states = malloc(slen, M_TEMP, M_WAITOK); in regulator_gpio_set()
450 if (states[2 * i] < min || states[2 * i] > max) in regulator_gpio_set()
452 if (states[2 * i] == value) { in regulator_gpio_set()
453 idx = states[2 * i + 1]; in regulator_gpio_set()
[all …]
/openbsd/usr.sbin/rpki-client/
H A Drsync.c52 static TAILQ_HEAD(, rsync) states = TAILQ_HEAD_INITIALIZER(states);
197 TAILQ_INSERT_TAIL(&states, s, entry); in rsync_new()
203 TAILQ_REMOVE(&states, s, entry); in rsync_free()
301 TAILQ_FOREACH(s, &states, entry) { in proc_rsync()
327 TAILQ_FOREACH(s, &states, entry) in proc_rsync()
389 TAILQ_FOREACH(s, &states, entry) in proc_rsync()
402 TAILQ_FOREACH_SAFE(s, &states, entry, ns) { in proc_rsync()
H A Drrdp.c76 static TAILQ_HEAD(, rrdp) states = TAILQ_HEAD_INITIALIZER(states);
205 TAILQ_INSERT_TAIL(&states, s, entry); in rrdp_new()
214 TAILQ_REMOVE(&states, s, entry); in rrdp_free()
238 TAILQ_FOREACH(s, &states, entry) in rrdp_get()
552 TAILQ_FOREACH(s, &states, entry) { in proc_rrdp()
610 TAILQ_FOREACH_SAFE(s, &states, entry, ns) { in proc_rrdp()
/openbsd/sys/dev/
H A Dsoftraid_raid1.c196 int states[SR_MAX_STATES]; in sr_raid1_set_vol_state() local
213 states[i] = 0; in sr_raid1_set_vol_state()
222 states[s]++; in sr_raid1_set_vol_state()
225 if (states[BIOC_SDONLINE] == nd) in sr_raid1_set_vol_state()
227 else if (states[BIOC_SDONLINE] == 0) in sr_raid1_set_vol_state()
229 else if (states[BIOC_SDSCRUB] != 0) in sr_raid1_set_vol_state()
231 else if (states[BIOC_SDREBUILD] != 0) in sr_raid1_set_vol_state()
233 else if (states[BIOC_SDOFFLINE] != 0) in sr_raid1_set_vol_state()
/openbsd/gnu/llvm/llvm/include/llvm/TableGen/
H A DAutomaton.td15 // generic finite-state automaton over a set of actions and states.
23 // Q: A set of possible states.
26 // F: The set of final (accepting) states.
28 // Because generating all possible states is tedious, we instead define the
29 // transition function only and crawl all reachable states starting from the
32 // We define F = S, that is, all valid states are accepting.
40 // Instead of defining all possible states (which would be cumbersome), the user
53 // sequence of states traversed to accept that input.
/openbsd/regress/usr.sbin/ospfd/
H A DClient.pm283 my @states = ref($state) eq 'ARRAY' ? @$state : ( $state || () );
284 for (my $i = 0; $i < @states; $i++) {
286 %{$isms[$i]} = (%{$isms[$i]}, %{$states[$i]});
287 if ($states[$i]{dd_bits}) {
288 send_dd($states[$i]);
289 delete $states[$i]{dd_bits};
/openbsd/gnu/usr.bin/gcc/gcc/config/h8300/
H A Dlib1funcs.asm753 ; 16b * 16b = 48 states
754 ; 16b * 32b = 72 states
755 ; 32b * 32b = 92 states
761 mulxu r0,er2 ; (22 states)
764 beq L_skip1 ; ( 4 states)
765 mulxu r1,er3 ; (22 states)
766 add.w r3,e2 ; ( 2 states)
770 beq L_skip2 ; ( 4 states)
771 mulxu r0,er3 ; (22 states)
772 add.w r3,e2 ; ( 2 states)
[all …]
/openbsd/usr.bin/ssh/
H A Dxmss_fast.c884 memcpy(sig_msg, states[0].auth, tree_h*n); in xmssmt_sign()
897 memcpy(sig_msg, states[i].auth, tree_h*n); in xmssmt_sign()
907 bds_state_update(&states[params->d], sk_seed, &(params->xmss_par), pub_seed, addr); in xmssmt_sign()
918 bds_round(&states[i], idx_leaf, sk_seed, &(params->xmss_par), pub_seed, addr); in xmssmt_sign()
924 if (i > 0 && updates > 0 && states[params->d + i].next_leaf < (1ULL << h)) { in xmssmt_sign()
931 memcpy(&tmp, states+params->d + i, sizeof(bds_state)); in xmssmt_sign()
932 memcpy(states+params->d + i, states + i, sizeof(bds_state)); in xmssmt_sign()
933 memcpy(states + i, &tmp, sizeof(bds_state)); in xmssmt_sign()
942 states[params->d + i].stackoffset = 0; in xmssmt_sign()
943 states[params->d + i].next_leaf = 0; in xmssmt_sign()
[all …]
/openbsd/lib/libc/regex/
H A Dengine.c81 states st; /* current states */
83 states tmp; /* temporary */
84 states empty; /* empty set of states */
96 static states step(struct re_guts *, sopno, sopno, states, int, states);
677 states st = m->st; in fast()
678 states fresh = m->fresh; in fast()
679 states tmp = m->tmp; in fast()
766 states st = m->st; in slow()
767 states empty = m->empty; in slow()
768 states tmp = m->tmp; in slow()
[all …]
H A Dregexec.c56 #define states long macro
57 #define states1 states /* for later use in regexec() decision */
83 #undef states
104 #define states char * macro
/openbsd/gnu/gcc/gcc/config/h8300/
H A Dlib1funcs.asm789 ; 16b * 16b = 48 states
790 ; 16b * 32b = 72 states
791 ; 32b * 32b = 92 states
797 mulxu r0,er2 ; (22 states)
800 beq L_skip1 ; ( 4 states)
801 mulxu r1,er3 ; (22 states)
802 add.w r3,e2 ; ( 2 states)
806 beq L_skip2 ; ( 4 states)
807 mulxu r0,er3 ; (22 states)
808 add.w r3,e2 ; ( 2 states)
[all …]
/openbsd/regress/sbin/pfctl/
H A Dpf22.in4 set limit states 500
5 set limit {states 1000,frags 1000}
H A Dpf22.ok5 set limit states 500
6 set limit states 1000
H A Dpf55.in8 set limit { states 4522, frags 43556 }
15 set limit states 43254
H A Dpf55.ok18 set limit states 4522
25 set limit states 43254
/openbsd/usr.bin/top/
H A Ddisplay.c296 i_procstates(int total, int *states, int threads) in i_procstates() argument
309 states, procstate_names); in i_procstates()
376 int64_t *states; in i_cpustates() local
391 states = ostates + (CPUSTATES * cpu); in i_cpustates()
396 values[i++] += *states++; in i_cpustates()
429 states = ostates + (CPUSTATES * cpu); in i_cpustates()
439 value = *states++; in i_cpustates()
/openbsd/usr.sbin/tcpdump/
H A Dpf_print_state.c267 const char *states[] = PFUDPS_NAMES; in print_state() local
269 printf(" %s:%s", states[src->state], states[dst->state]); in print_state()
273 const char *states[] = PFOTHERS_NAMES; in print_state() local
275 printf(" %s:%s", states[src->state], states[dst->state]); in print_state()
/openbsd/sys/dev/pci/drm/amd/pm/
H A Damdgpu_pm.c394 if (pm == data.states[i]) in amdgpu_get_pp_cur_state()
460 state = data.states[idx]; in amdgpu_set_pp_force_state()
1943 *states = ATTR_STATE_UNSUPPORTED; in ss_power_attr_update()
1954 *states = ATTR_STATE_UNSUPPORTED; in ss_bias_attr_update()
1957 *states = ATTR_STATE_UNSUPPORTED; in ss_bias_attr_update()
1960 *states = ATTR_STATE_UNSUPPORTED; in ss_bias_attr_update()
2011 *states = ATTR_STATE_UNSUPPORTED; in default_attr_update()
2019 *states = ATTR_STATE_UNSUPPORTED; in default_attr_update()
2028 *states = ATTR_STATE_UNSUPPORTED; in default_attr_update()
2030 *states = ATTR_STATE_SUPPORTED; in default_attr_update()
[all …]
/openbsd/sbin/pfctl/
H A Dpf_print_state.c299 const char *states[] = PFUDPS_NAMES; in print_state() local
301 printf(" %s:%s\n", states[src->state], states[dst->state]); in print_state()
305 const char *states[] = PFOTHERS_NAMES; in print_state() local
307 printf(" %s:%s\n", states[src->state], states[dst->state]); in print_state()
/openbsd/sys/arch/powerpc64/dev/
H A Dopal.c343 uint64_t *states; in opal_configure_idle_states() local
353 slen = count * sizeof(states[0]); in opal_configure_idle_states()
356 states = malloc(slen, M_DEVBUF, M_WAITOK); in opal_configure_idle_states()
361 if (OF_getpropint64array(node, prop, states, slen) == slen) { in opal_configure_idle_states()
369 opal_found_stop_state(sc, states[i]); in opal_configure_idle_states()
376 free(states, M_DEVBUF, slen); in opal_configure_idle_states()
/openbsd/gnu/usr.bin/perl/cpan/Test-Harness/lib/TAP/
H A DParser.pm1153 my %states;
1264 %states = (
1337 for my $name ( keys %states ) {
1340 my $st = { %state_globals, %{ $states{$name} } };
1352 $states{$name} = $st;
1355 return \%states;
/openbsd/gnu/llvm/llvm/lib/Support/
H A Dregengine.inc83 states st; /* current states */
84 states fresh; /* states for a fresh start */
86 states empty; /* empty set of states */
97 static states step(struct re_guts *, sopno, sopno, states, int, states);
728 states st = m->st;
730 states tmp = m->tmp;
836 states st = m->st;
838 states tmp = m->tmp;
912 static states
916 states bef, /* states reachable before */
[all …]
H A Dregexec.c59 #define states states1 macro
85 #undef states
106 #define states char * macro

1234567891011