/freebsd-13-stable/contrib/libarchive/libarchive/ |
H A D | archive_check_magic.c | 104 write_all_states(char *buff, unsigned int states) argument 111 while ((lowbit = states & (1 + ~states)) != 0) { 112 states &= ~lowbit; /* Clear the low bit. */ 114 if (states != 0)
|
/freebsd-13-stable/sys/kern/ |
H A D | subr_prng.c | 41 pcg32u_random_t states[2]; member in struct:__anon14762 47 pcg32u_srandom_r(&state64->states[0], seed); 48 pcg32u_srandom_r(&state64->states[1], seed); 54 return ((((uint64_t)pcg32u_random_r(&state64->states[0])) << 32) | 55 pcg32u_random_r(&state64->states[1]));
|
/freebsd-13-stable/sys/dev/dpms/ |
H A D | dpms.c | 137 int error, states; local 139 error = dpms_get_supported_states(&states); 212 dpms_get_supported_states(int *states) argument 215 *states = 0; 216 return (dpms_call_bios(VBE_DPMS_GET_SUPPORTED_STATES, states));
|
/freebsd-13-stable/sys/dev/gpio/ |
H A D | gpioregulator.c | 63 struct gpioregulator_state *states; member in struct:gpioregulator_init_def 139 if (sc->def->states[n].val >= min_uvolt && 140 sc->def->states[n].val <= max_uvolt) { 141 state = &sc->def->states[n]; 179 if (sc->def->states[n].mask == mask) { 180 *uvolt = sc->def->states[n].val; 217 /* "states" property (required) */ 218 len = OF_getencprop_alloc_multi(node, "states", sizeof(*pstates), 221 device_printf(sc->dev, "invalid 'states' property\n"); 226 sc->init_def.states [all...] |
/freebsd-13-stable/usr.bin/top/ |
H A D | display.h | 19 void i_cpustates(int *states); 33 void u_cpustates(int *states);
|
H A D | display.c | 418 i_cpustates(int *states) argument 424 int *hstates = states; 446 value = *states++; 458 states = hstates; 459 memcpy(lcpustates, states, num_cpustates * sizeof(int) * num_cpus); 463 u_cpustates(int *states) argument 468 int *hstates = states; 487 if (*lp != *states) 494 value = *states; 507 states [all...] |
/freebsd-13-stable/sys/powerpc/cpufreq/ |
H A D | dfs.c | 145 int states; local 148 states = sc->dfs4 ? 3 : 2; 151 if (*count < states) 155 memset(sets, CPUFREQ_VAL_UNKNOWN, sizeof(*sets) * states); 163 *count = states;
|
/freebsd-13-stable/contrib/tcpdump/ |
H A D | print-hsrp.c | 50 /* HSRP states and associated names. */ 51 static const struct tok states[] = { variable in typeref:struct:tok 109 ND_PRINT((ndo, "state=%s ", tok2str(states, "Unknown (%d)", hp->hsrp_state)));
|
/freebsd-13-stable/usr.sbin/bsnmpd/modules/snmp_hostres/ |
H A D | hostres_processor_tbl.c | 67 long states[MAX_CPU_SAMPLES][CPUSTATES]; member in struct:processor_entry 113 /* Sum delta for all states. */ 115 delta += e->states[e->cur_sample_idx][i]; 116 delta -= e->states[oldest][i]; 123 usage = (double)(e->states[e->cur_sample_idx][CPUSTATES-1] - 124 e->states[oldest][CPUSTATES-1]) / delta; 144 e->states[e->cur_sample_idx][i] = cp_times[i];
|
/freebsd-13-stable/contrib/dialog/ |
H A D | checklist.c | 48 const char *states; member in struct:__anon520 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, 217 DLG_TRACE2S("states", states); 273 /* 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:__anon549 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, 214 /* we need at least two states */ 215 if (states == 0 || strlen(states) < 2) 216 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-13-stable/sys/compat/linuxkpi/common/src/ |
H A D | linux_work.c | 40 * Define all work struct states 136 static const uint8_t states[WORK_ST_MAX] __aligned(8) = { 147 switch (linux_update_state(&work->state, states)) { 219 static const uint8_t states[WORK_ST_MAX] __aligned(8) = { 230 switch (linux_update_state(&dwork->work.state, states)) { 264 static const uint8_t states[WORK_ST_MAX] __aligned(8) = { 289 switch (linux_update_state(&work->state, states)) { 342 static const uint8_t states[WORK_ST_MAX] __aligned(8) = { 351 switch (linux_update_state(&dwork->work.state, states)) { 369 static const uint8_t states[WORK_ST_MA [all...] |
/freebsd-13-stable/usr.bin/iscsictl/ |
H A D | iscsictl.c | 399 struct iscsi_session_state *states = NULL; local 408 states = realloc(states, 410 if (states == NULL) 415 isl.isl_pstates = states; 428 state = &states[i]; 481 struct iscsi_session_state *states = NULL; local 489 states = realloc(states, 491 if (states 645 struct iscsi_session_state *states = NULL; local [all...] |
/freebsd-13-stable/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-13-stable/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 | 81 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); [all...] |
/freebsd-13-stable/tests/sys/netpfil/pf/ |
H A D | pfsync.sh | 87 if ! jexec two pfctl -s states | grep icmp | grep 198.51.100.1 | \ 170 jexec two pfctl -s states 171 if ! jexec two pfctl -s states | grep icmp | grep 198.51.100.1 | \
|
H A D | killstate.sh | 35 atf_set descr 'Test killing states by IPv4 address' 107 atf_set descr 'Test killing states by IPv6 address' 179 atf_set descr 'Test killing states by label' 246 atf_set descr 'Test killing states with multiple labels by label' 324 atf_set descr 'Test killing states by route-to/reply-to address' 367 # Killing states with the relevant gateway does terminate our state 383 atf_set descr 'Test killing matching states' 428 # Expect two states 429 states=$(jexec alcatraz pfctl -s s | wc -l) 430 if [ $states [all...] |
/freebsd-13-stable/contrib/googletest/googlemock/src/ |
H A D | gmock-spec-builders.cc | 644 StateMap& states() { return states_; } function in class:__anon793::MockObjectRegistry 713 g_mock_object_registry.states()[mock_obj].leakable = true; 741 if (g_mock_object_registry.states().count(mock_obj) == 0) { 750 g_mock_object_registry.states()[mock_obj].function_mockers; 768 g_mock_object_registry.states()[mock_obj].function_mockers.insert(mocker); 778 MockObjectState& state = g_mock_object_registry.states()[mock_obj]; 802 g_mock_object_registry.states().begin(); 803 it != g_mock_object_registry.states().end(); ++it) { 808 g_mock_object_registry.states().erase(it); 820 if (g_mock_object_registry.states() [all...] |
/freebsd-13-stable/lib/libpfctl/ |
H A D | libpfctl.c | 731 pfctl_get_states(int dev, struct pfctl_states *states) argument 739 bzero(states, sizeof(*states)); 740 TAILQ_INIT(&states->states); 758 states->count = nvlist_get_number(nvl, "count"); 760 /* Are there any states? */ 761 if (states->count == 0) 764 if (nvlist_exists_nvlist_array(nvl, "states")) 765 slist = nvlist_get_nvlist_array(nvl, "states", 809 pfctl_free_states(struct pfctl_states *states) argument [all...] |
/freebsd-13-stable/lib/libc/regex/ |
H A D | regexec.c | 99 /* macros for manipulating states, small version */ 100 #define states long macro 101 #define states1 states /* for later use in regexec() decision */ 130 #undef states macro 152 /* macros for manipulating states, large version */ 153 #define states char * macro 183 /* multibyte character & large states version */
|
/freebsd-13-stable/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-13-stable/contrib/ntp/sntp/libevent/test/ |
H A D | test-ratelim.c | 106 struct client_state *states; variable in typeref:struct:client_state 342 states = calloc(cfg_n_connections, sizeof(struct client_state)); 343 if (bevs == NULL || states == NULL) { 353 write_on_connectedcb, &states[i]); 428 double persec = states[i].received; 430 total_received += states[i].received; 471 free(states);
|