/freebsd-11-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-11-stable/contrib/top/ |
H A D | display.h | 20 void i_cpustates(int *states); 34 void u_cpustates(int *states);
|
H A D | display.c | 444 * *_cpustates(states, names) - print the cpu state percentages 457 static char *long_tag = "CPU states: "; 477 i_cpustates(states) 479 int *states; 507 value = *states++; 519 memcpy(lcpustates, states, num_cpustates * sizeof(int) * num_cpus); 523 u_cpustates(states) 525 int *states; 549 if (*lp != *states) 556 value = *states; [all...] |
/freebsd-11-stable/sys/dev/dpms/ |
H A D | dpms.c | 135 int error, states; local 137 error = dpms_get_supported_states(&states); 210 dpms_get_supported_states(int *states) argument 213 *states = 0; 214 return (dpms_call_bios(VBE_DPMS_GET_SUPPORTED_STATES, states));
|
/freebsd-11-stable/sys/compat/linuxkpi/common/src/ |
H A D | linux_work.c | 38 * Define all work struct states 132 static const uint8_t states[WORK_ST_MAX] __aligned(8) = { 143 switch (linux_update_state(&work->state, states)) { 168 static const uint8_t states[WORK_ST_MAX] __aligned(8) = { 179 switch (linux_update_state(&dwork->work.state, states)) { 213 static const uint8_t states[WORK_ST_MAX] __aligned(8) = { 238 switch (linux_update_state(&work->state, states)) { 291 static const uint8_t states[WORK_ST_MAX] __aligned(8) = { 300 switch (linux_update_state(&dwork->work.state, states)) { 318 static const uint8_t states[WORK_ST_MA [all...] |
/freebsd-11-stable/sys/powerpc/cpufreq/ |
H A D | dfs.c | 144 int states; local 147 states = sc->dfs4 ? 3 : 2; 150 if (*count < states) 154 memset(sets, CPUFREQ_VAL_UNKNOWN, sizeof(*sets) * states); 160 *count = states;
|
/freebsd-11-stable/gnu/usr.bin/grep/ |
H A D | dfa.h | 76 states of the DFA are those that would have 332 dfa_state *states; /* States of the dfa. */ member in struct:dfa 333 int sindex; /* Index for adding new states. */ 334 int salloc; /* Number of states currently allocated. */ 357 int **trans; /* Transition tables for states that can 376 #define ACCEPTING(s, r) ((r).states[s].constraint) 381 SUCCEEDS_IN_CONTEXT((dfa).states[state].constraint, \ 387 #define FIRST_MATCHING_REGEXP(state, dfa) (-(dfa).states[state].first_end)
|
H A D | dfa.c | 1496 if (hash != d->states[i].hash || s->nelem != d->states[i].elems.nelem 1497 || newline != d->states[i].newline || letter != d->states[i].letter) 1501 != d->states[i].elems.elems[j].constraint 1502 || s->elems[j].index != d->states[i].elems.elems[j].index) 1509 REALLOC_IF_NECESSARY(d->states, dfa_state, d->salloc, d->sindex); 1510 d->states[i].hash = hash; 1511 MALLOC(d->states[i].elems.elems, position, s->nelem); 1512 copy(s, &d->states[ [all...] |
/freebsd-11-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)));
|
H A D | print-pfsync.c | 363 const char *states[] = PFUDPS_NAMES; local 365 ND_PRINT((ndo, " %s:%s", states[src->state], states[dst->state])); 369 const char *states[] = PFOTHERS_NAMES; local 371 ND_PRINT((ndo, " %s:%s", states[src->state], states[dst->state]));
|
/freebsd-11-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-11-stable/contrib/dialog/ |
H A D | checklist.c | 48 const char *states; member in struct:__anon932 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, 256 /* we need at least two states */ 257 if (states == 0 || strlen(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:__anon960 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-11-stable/usr.bin/iscsictl/ |
H A D | iscsictl.c | 396 struct iscsi_session_state *states = NULL; local 405 states = realloc(states, 407 if (states == NULL) 412 isl.isl_pstates = states; 425 state = &states[i]; 478 struct iscsi_session_state *states = NULL; local 486 states = realloc(states, 488 if (states 632 struct iscsi_session_state *states = NULL; local [all...] |
/freebsd-11-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-11-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-11-stable/lib/libc/regex/ |
H A D | regexec.c | 97 /* macros for manipulating states, small version */ 98 #define states long macro 99 #define states1 states /* for later use in regexec() decision */ 128 #undef states macro 150 /* macros for manipulating states, large version */ 151 #define states char * macro 181 /* multibyte character & large states version */
|
H A D | engine.c | 90 states st; /* current states */ 91 states fresh; /* states for a fresh start */ 92 states tmp; /* temporary */ 93 states empty; /* empty set of states */ 107 static states step(struct re_guts *g, sopno start, sopno stop, states bef, wint_t ch, states af [all...] |
/freebsd-11-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);
|
/freebsd-11-stable/sys/dev/cxgb/ulp/iw_cxgb/ |
H A D | iw_cxgb_cm.c | 90 static char *states[] = { variable 238 CTR3(KTR_IW_CXGB, "%s - %s -> %s", __FUNCTION__, states[epc->state], states[new]); 262 CTR3(KTR_IW_CXGB, "%s ep %p state %s", __FUNCTION__, epc, states[state_read(epc)]); 280 CTR4(KTR_IW_CXGB, "%s ep %p so %p state %s", __FUNCTION__, epc, epc->so, states[epc->state]); 294 CTR4(KTR_IW_CXGB, "%s ep %p so %p state %s", __FUNCTION__, epc, epc->so, states[epc->state]); 305 CTR4(KTR_IW_CXGB, "%s ep %p so %p state %s", __FUNCTION__, ep, ep->com.so, states[ep->com.state]); 431 CTR4(KTR_IW_CXGB, "%s ep %p so %p state %s", __FUNCTION__, ep, ep->com.so, states[ep->com.state]); 447 CTR4(KTR_IW_CXGB, "%s ep %p so %p state %s", __FUNCTION__, ep, ep->com.so, states[ep->com.state]); 461 CTR4(KTR_IW_CXGB, "%s ep %p so %p state %s", __FUNCTION__, ep, ep->com.so, states[e [all...] |
/freebsd-11-stable/sbin/pfctl/ |
H A D | pf_print_state.c | 295 const char *states[] = PFUDPS_NAMES; local 297 printf(" %s:%s\n", states[src->state], states[dst->state]); 306 const char *states[] = PFOTHERS_NAMES; local 308 printf(" %s:%s\n", states[src->state], states[dst->state]);
|
/freebsd-11-stable/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
|
/freebsd-11-stable/sys/dev/ath/ath_hal/ar5416/ |
H A D | ar5416_misc.c | 621 if (check->states & dcu_chain_state) { 635 if (check->states & dcu_complete_state) { 639 if (check->states & qcu_stitch_state) { 643 if (check->states & qcu_fetch_state) { 647 if (check->states & qcu_complete_state) { 651 return (found_states == check->states); 662 .states = dcu_chain_state 669 .states = qcu_stitch_state
|