/freebsd-current/sys/kern/ |
H A D | subr_prng.c | 38 pcg32u_random_t states[2]; member in struct:__anon543 44 pcg32u_srandom_r(&state64->states[0], seed); 45 pcg32u_srandom_r(&state64->states[1], seed); 51 return ((((uint64_t)pcg32u_random_r(&state64->states[0])) << 32) | 52 pcg32u_random_r(&state64->states[1]));
|
/freebsd-current/contrib/libarchive/libarchive/ |
H A D | archive_check_magic.c | 102 write_all_states(char *buff, unsigned int states) argument 109 while ((lowbit = states & (1 + ~states)) != 0) { 110 states &= ~lowbit; /* Clear the low bit. */ 112 if (states != 0)
|
/freebsd-current/sys/dev/dpms/ |
H A D | dpms.c | 132 int error, states; local 134 error = dpms_get_supported_states(&states); 207 dpms_get_supported_states(int *states) argument 210 *states = 0; 211 return (dpms_call_bios(VBE_DPMS_GET_SUPPORTED_STATES, states));
|
/freebsd-current/tests/sys/netpfil/pf/ |
H A D | sctp.py | 294 states = ToolsHelper.get_output("/sbin/pfctl -ss") 295 assert re.search(r"all sctp 192.0.2.1:.*192.0.2.3:1234", states) 296 assert re.search(r"all sctp 192.0.2.1:.*192.0.2.2:1234", states) 340 # Ensure we have the states we'd expect 341 states = ToolsHelper.get_output("/sbin/pfctl -ss") 342 assert re.search(r"all sctp 192.0.2.1:.*192.0.2.3:1234", states) 343 assert re.search(r"all sctp 192.0.2.10:.*192.0.2.3:1234", states) 360 states = ToolsHelper.get_output("/sbin/pfctl -ss") 361 assert re.search(r"all sctp 192.0.2.1:.*192.0.2.3:1234.*SHUTDOWN", states) 367 # Assign two addresses to each end, and check for the expected states [all...] |
H A D | syncookie.sh | 266 # Now syn flood to create many states 272 states=$(jexec alcatraz pfctl -ss | grep tcp) 273 if [ -n "$states" ]; 275 echo "$states" 312 # Now syn flood to create many states 319 states=$(jexec alcatraz pfctl -ss | grep tcp) 320 if [ -n "$states" ]; 322 echo "$states" 352 "set limit states 100" \ 367 # Now syn flood to create many states [all...] |
H A D | killstate.sh | 48 atf_set descr 'Test killing states by IPv4 address' 111 atf_set descr 'Test killing states by IPv6 address' 178 atf_set descr 'Test killing states by label' 242 atf_set descr 'Test killing states with multiple labels by label' 322 atf_set descr 'Test killing states by route-to/reply-to address' 364 # Killing states with the relevant gateway does terminate our state 380 atf_set descr 'Test killing matching states' 425 # Expect two states 426 states=$(jexec alcatraz pfctl -s s | grep 192.0.2.1 | wc -l) 427 if [ $states [all...] |
/freebsd-current/sys/dev/gpio/ |
H A D | gpioregulator.c | 58 struct gpioregulator_state *states; member in struct:gpioregulator_init_def 134 if (sc->def->states[n].val >= min_uvolt && 135 sc->def->states[n].val <= max_uvolt) { 136 state = &sc->def->states[n]; 174 if (sc->def->states[n].mask == mask) { 175 *uvolt = sc->def->states[n].val; 212 /* "states" property (required) */ 213 len = OF_getencprop_alloc_multi(node, "states", sizeof(*pstates), 216 device_printf(sc->dev, "invalid 'states' property\n"); 221 sc->init_def.states [all...] |
/freebsd-current/contrib/tcpdump/ |
H A D | print-hsrp.c | 51 /* HSRP states and associated names. */ 52 static const struct tok states[] = { variable in typeref:struct:tok 112 tok2str(states, "Unknown (%u)", GET_U_1(hp->hsrp_state)));
|
/freebsd-current/usr.bin/top/ |
H A D | display.h | 18 void i_cpustates(int *states); 32 void u_cpustates(int *states);
|
H A D | display.c | 416 i_cpustates(int *states) argument 422 int *hstates = states; 444 value = *states++; 456 states = hstates; 457 memcpy(lcpustates, states, num_cpustates * sizeof(int) * num_cpus); 461 u_cpustates(int *states) argument 466 int *hstates = states; 485 if (*lp != *states) 492 value = *states; 505 states [all...] |
/freebsd-current/sys/powerpc/cpufreq/ |
H A D | dfs.c | 141 int states; local 144 states = sc->dfs4 ? 3 : 2; 147 if (*count < states) 151 memset(sets, CPUFREQ_VAL_UNKNOWN, sizeof(*sets) * states); 159 *count = states;
|
/freebsd-current/sys/compat/linuxkpi/common/src/ |
H A D | linux_work.c | 38 * Define all work struct states 134 static const uint8_t states[WORK_ST_MAX] __aligned(8) = { 145 switch (linux_update_state(&work->state, states)) { 217 static const uint8_t states[WORK_ST_MAX] __aligned(8) = { 230 switch (linux_update_state(&dwork->work.state, states)) { 266 static const uint8_t states[WORK_ST_MAX] __aligned(8) = { 291 switch (linux_update_state(&work->state, states)) { 344 static const uint8_t states[WORK_ST_MAX] __aligned(8) = { 353 switch (linux_update_state(&dwork->work.state, states)) { 372 static const uint8_t states[WORK_ST_MA [all...] |
/freebsd-current/usr.sbin/bsnmpd/modules/snmp_hostres/ |
H A D | hostres_processor_tbl.c | 65 long states[MAX_CPU_SAMPLES][CPUSTATES]; member in struct:processor_entry 111 /* Sum delta for all states. */ 113 delta += e->states[e->cur_sample_idx][i]; 114 delta -= e->states[oldest][i]; 121 usage = (double)(e->states[e->cur_sample_idx][CPUSTATES-1] - 122 e->states[oldest][CPUSTATES-1]) / delta; 142 e->states[e->cur_sample_idx][i] = cp_times[i];
|
/freebsd-current/contrib/dialog/ |
H A D | checklist.c | 48 const char *states; member in struct:__anon442 59 const char *states, 82 states[item->state]); 111 data->states, 147 * to read the list item states back directly without putting them in the 148 * output buffer. It also provides for more than two states over which the 159 const char *states, 216 DLG_TRACE2S("states", states); 272 /* we need at least two states */ 56 print_item(ALL_DATA * data, WINDOW *win, DIALOG_LISTITEM * item, const char *states, int choice, int selected) argument 152 dlg_checklist(const char *title, const char *cprompt, int height, int width, int list_height, int item_no, DIALOG_LISTITEM * items, const char *states, int flag, int *current_item) argument [all...] |
H A D | treeview.c | 45 const char *states; member in struct:__anon472 55 const char *states, 79 states[item->state]); 114 data->states, 151 * to read the list item states back directly without putting them in the 162 const char *states, 213 /* we need at least two states */ 214 if (states == 0 || strlen(states) < 2) 215 states 53 print_item(ALL_DATA * data, DIALOG_LISTITEM * item, const char *states, int depths, int choice, int selected) argument 155 dlg_treeview(const char *title, const char *cprompt, int height, int width, int list_height, int item_no, DIALOG_LISTITEM * items, const char *states, int *depths, int flag, int *current_item) argument [all...] |
/freebsd-current/usr.bin/iscsictl/ |
H A D | iscsictl.c | 401 struct iscsi_session_state *states = NULL; local 410 states = realloc(states, 412 if (states == NULL) 417 isl.isl_pstates = states; 430 state = &states[i]; 483 struct iscsi_session_state *states = NULL; local 491 states = realloc(states, 493 if (states 655 struct iscsi_session_state *states = NULL; local [all...] |
/freebsd-current/contrib/llvm-project/llvm/lib/Support/ |
H A D | regexec.c | 56 /* macros for manipulating states, small version */ 57 /* FIXME: 'states' is assumed as 'long' on small version. */ 59 #define states states1 macro 85 #undef states macro 105 /* macros for manipulating states, large version */ 106 #define states char * macro
|
H A D | regengine.inc | 83 states st; /* current states */ 84 states fresh; /* states for a fresh start */ 85 states tmp; /* temporary */ 86 states empty; /* empty set of states */ 97 static states step(struct re_guts *, sopno, sopno, states, int, states); [all...] |
/freebsd-current/contrib/nvi/regex/ |
H A D | regexec.c | 60 /* macros for manipulating states, small version */ 61 #define states int macro 88 #undef states macro 108 /* macros for manipulating states, large version */ 109 #define states char * macro
|
H A D | engine.c | 79 states st; /* current states */ 80 states fresh; /* states for a fresh start */ 81 states tmp; /* temporary */ 82 states empty; /* empty set of states */ 96 static states step(struct re_guts *g, sopno start, sopno stop, states bef, int flag, RCHAR_T ch, states af [all...] |
/freebsd-current/contrib/googletest/googlemock/src/ |
H A D | gmock-spec-builders.cc | 539 StateMap& states() { return states_; } function in class:testing::__anon4::MockObjectRegistry 614 g_mock_object_registry.states()[mock_obj].leakable = true; 642 if (g_mock_object_registry.states().count(mock_obj) == 0) { 651 g_mock_object_registry.states()[mock_obj].function_mockers; 682 g_mock_object_registry.states()[mock_obj].function_mockers.insert(mocker); 692 MockObjectState& state = g_mock_object_registry.states()[mock_obj]; 713 g_mock_object_registry.states().begin(); 714 it != g_mock_object_registry.states().end(); ++it) { 719 g_mock_object_registry.states().erase(it); 731 if (g_mock_object_registry.states() [all...] |
/freebsd-current/crypto/openssh/ |
H A D | xmss_fast.h | 97 int xmssmt_keypair(unsigned char *pk, unsigned char *sk, bds_state *states, unsigned char *wots_sigs, xmssmt_params *params);
|
H A D | xmss_fast.c | 750 int xmssmt_keypair(unsigned char *pk, unsigned char *sk, bds_state *states, unsigned char *wots_sigs, xmssmt_params *params) argument 770 treehash_setup(pk, params->xmss_par.h, 0, states + i, sk+params->index_len, &(params->xmss_par), pk+n, addr); 775 treehash_setup(pk, params->xmss_par.h, 0, states + i, sk+params->index_len, &(params->xmss_par), pk+n, addr); 787 int xmssmt_sign(unsigned char *sk, bds_state *states, unsigned char *wots_sigs, unsigned char *sig_msg, unsigned long long *sig_msg_len, const unsigned char *msg, unsigned long long msglen, const xmssmt_params *params) argument 889 memcpy(sig_msg, states[0].auth, tree_h*n); 902 memcpy(sig_msg, states[i].auth, tree_h*n); 912 bds_state_update(&states[params->d], sk_seed, &(params->xmss_par), pub_seed, addr); 923 bds_round(&states[i], idx_leaf, sk_seed, &(params->xmss_par), pub_seed, addr); 925 updates = bds_treehash_update(&states[i], updates, sk_seed, &(params->xmss_par), pub_seed, addr); 929 if (i > 0 && updates > 0 && states[param [all...] |
/freebsd-current/sys/contrib/zstd/doc/educational_decoder/ |
H A D | zstd_decompress.c | 934 /// The combination of FSE states needed to decode sequences 1087 sequence_states_t states; local 1091 states.ll_table = ctx->ll_dtable; 1092 states.of_table = ctx->of_dtable; 1093 states.ml_table = ctx->ml_dtable; 1111 FSE_init_state(&states.ll_table, &states.ll_state, src, &bit_offset); 1112 FSE_init_state(&states.of_table, &states.of_state, src, &bit_offset); 1113 FSE_init_state(&states 1126 decode_sequence(sequence_states_t *const states, const u8 *const src, i64 *const offset) argument [all...] |
/freebsd-current/usr.bin/bluetooth/btsockstat/ |
H A D | btsockstat.c | 99 (((x) >= sizeof(states)/sizeof(states[0]))? "UNKNOWN" : states[(x)]) 321 static char const * const states[] = { local 425 static char const * const states[] = { local 490 static char const * const states[] = { local
|