/freebsd-9.3-release/contrib/libucl/src/ |
H A D | xxhash.c | 269 void* state = XXH32_init(seed); 270 XXH32_update(state, input, len); 271 return XXH32_digest(state); 319 struct XXH_state32_t * state = (struct XXH_state32_t *) state_in; local 320 state->seed = seed; 321 state->v1 = seed + PRIME32_1 + PRIME32_2; 322 state->v2 = seed + PRIME32_2; 323 state->v3 = seed + 0; 324 state->v4 = seed - PRIME32_1; 325 state 333 void* state = XXH_malloc (sizeof(struct XXH_state32_t)); local 341 struct XXH_state32_t * state = (struct XXH_state32_t *) state_in; local 417 struct XXH_state32_t * state = (struct XXH_state32_t *) state_in; local [all...] |
/freebsd-9.3-release/etc/rc.d/ |
H A D | zvol | 22 while read state name; do 23 case "${state}" in 35 while read state name; do 36 case "${state}" in
|
/freebsd-9.3-release/lib/libutil/ |
H A D | property.c | 78 enum { LOOK, COMMENT, NAME, VALUE, MVALUE, COMMIT, FILL, STOP } state, last_state; local 83 state = last_state = LOOK; 84 while (state != STOP) { 85 if (state != COMMIT) { 87 last_state = state; 88 state = FILL; 92 switch(state) { 99 state = STOP; 102 * Restore the state from before the fill (which will be 104 * if we were part-way through eg., a VALUE state, whe [all...] |
/freebsd-9.3-release/contrib/bind9/lib/isc/ |
H A D | lfsr.c | 34 isc_lfsr_init(isc_lfsr_t *lfsr, isc_uint32_t state, unsigned int bits, argument 42 lfsr->state = state; 51 if (lfsr->state == 0) 52 lfsr->state = 0xffffffffU >> (32 - lfsr->bits); 56 * Return the next state of the lfsr. 63 * If the previous state is zero, we must fill it with something 66 * First, give the reseed function a crack at it. If the state is 69 if (lfsr->state == 0) { 72 if (lfsr->state [all...] |
/freebsd-9.3-release/sys/dev/isci/scil/ |
H A D | sati_write_and_verify.c | 86 * state for a sati_write_and_verify_10 translation. 97 if(sequence->state == SATI_SEQUENCE_STATE_INITIAL) 100 sequence->state = SATI_SEQUENCE_STATE_INCOMPLETE; 103 else if(sequence->state == SATI_SEQUENCE_STATE_INCOMPLETE) 106 sequence->state = SATI_SEQUENCE_STATE_AWAIT_RESPONSE; 110 //SATI sequence is in the wrong state 131 * state for a sati_write_and_verify_12 translation. 142 if(sequence->state == SATI_SEQUENCE_STATE_INITIAL) 145 sequence->state = SATI_SEQUENCE_STATE_INCOMPLETE; 148 else if(sequence->state [all...] |
/freebsd-9.3-release/sys/kern/ |
H A D | kern_clocksource.c | 62 int cpu_can_deep_sleep = 0; /* C3 state is available. */ 80 #define ET_HW_LOCK(state) \ 83 mtx_lock_spin(&(state)->et_hw_mtx); \ 88 #define ET_HW_UNLOCK(state) \ 91 mtx_unlock_spin(&(state)->et_hw_mtx); \ 163 struct pcpu_state *state; local 168 state = DPCPU_PTR(timerstate); 169 now = state->now; 185 struct pcpu_state *state; local 204 state 271 struct pcpu_state *state; local 306 struct pcpu_state *state; local 343 struct pcpu_state *state; local 414 struct pcpu_state *state; local 486 struct pcpu_state *state; local 522 struct pcpu_state *state; local 618 struct pcpu_state *state; local 710 struct pcpu_state *state; local 774 struct pcpu_state *state; local 807 struct pcpu_state *state; local 833 struct pcpu_state *state; local 870 struct pcpu_state *state; local [all...] |
/freebsd-9.3-release/contrib/ntp/lib/isc/ |
H A D | lfsr.c | 34 isc_lfsr_init(isc_lfsr_t *lfsr, isc_uint32_t state, unsigned int bits, argument 42 lfsr->state = state; 51 if (lfsr->state == 0) 52 lfsr->state = 0xffffffffU >> (32 - lfsr->bits); 56 * Return the next state of the lfsr. 63 * If the previous state is zero, we must fill it with something 66 * First, give the reseed function a crack at it. If the state is 69 if (lfsr->state == 0) { 72 if (lfsr->state [all...] |
/freebsd-9.3-release/usr.sbin/ppp/ |
H A D | pred.c | 58 #define HASH(state, x) state->hash = (state->hash << 4) ^ (x) 67 compress(struct pred1_state *state, u_char *source, u_char *dest, int len) argument 77 if (state->dict[state->hash] == *source) { 80 state->dict[state->hash] = *source; 83 HASH(state, *source++); 92 SyncTable(struct pred1_state *state, u_cha argument 101 decompress(struct pred1_state *state, u_char *source, u_char *dest, int len) argument 129 struct pred1_state *state = (struct pred1_state *)v; local 136 struct pred1_state *state = (struct pred1_state *)v; local 145 struct pred1_state *state = (struct pred1_state *)v; local 156 struct pred1_state *state; local 166 struct pred1_state *state; local 177 struct pred1_state *state = (struct pred1_state *)v; local 219 struct pred1_state *state = (struct pred1_state *)v; local [all...] |
/freebsd-9.3-release/usr.sbin/sysinstall/ |
H A D | dhcp.c | 46 enum { P_NOSTMT, P_NOSTMT1, P_STMT, P_STMTLINE } state; local 53 state = P_NOSTMT; 55 switch (state) { 57 state = P_NOSTMT1; 74 state = P_STMT; 81 state = P_NOSTMT; 88 state = P_STMT; 104 state = P_STMT; 108 state = P_STMTLINE; 113 state [all...] |
/freebsd-9.3-release/contrib/groff/src/preproc/soelim/ |
H A D | soelim.cpp | 171 enum { START, MIDDLE, HAD_DOT, HAD_s, HAD_so, HAD_l, HAD_lf } state = START; local 176 switch (state) { 179 state = HAD_DOT; 184 state = START; 187 state = MIDDLE; 194 state = START; 199 state = HAD_s; 201 state = HAD_l; 207 state = START; 210 state [all...] |
/freebsd-9.3-release/sys/contrib/octeon-sdk/ |
H A D | cvmx-debug.c | 158 static inline void cvmx_debug_update_state(cvmx_debug_state_t state) argument 160 memcpy(cvmx_debug_globals->state, &state, sizeof(cvmx_debug_state_t)); 165 cvmx_debug_state_t state; local 166 memcpy(&state, cvmx_debug_globals->state, sizeof(cvmx_debug_state_t)); 167 return state; 183 static inline int __cvmx_debug_in_focus(cvmx_debug_state_t state, unsigned core) argument 185 return state.focus_core == core; 272 cvmx_debug_state_t state; local 401 cvmx_debug_active_core(cvmx_debug_state_t state, int core) argument 507 cvmx_debug_state_t state = cvmx_debug_get_state(); local 914 cvmx_debug_stop_core(cvmx_debug_state_t state, unsigned core, cvmx_debug_register_t *debug_reg, int proxy) argument 936 cvmx_debug_set_focus_core(cvmx_debug_state_t *state, int core) argument 944 cvmx_debug_may_elect_as_focus_core(cvmx_debug_state_t *state, int core, cvmx_debug_register_t *debug_reg) argument 983 cvmx_debug_state_t state; local 991 cvmx_debug_delay_focus_core(cvmx_debug_state_t state, unsigned core, cvmx_debug_register_t *debug_reg) argument 1014 cvmx_debug_delay_isr_core(unsigned core, uint32_t depc, int single_stepped_exc_only, cvmx_debug_state_t state) argument 1037 cvmx_debug_state_t state = cvmx_debug_get_state(); local 1299 cvmx_debug_state_t state; local 1334 cvmx_debug_state_t state; local 1388 cvmx_debug_state_t state; local [all...] |
H A D | cvmx-usb.h | 87 * the disabled state until the operating system is ready. 101 * In the single CPU state it is normally enough to disable 134 * with the callback. Use this for any state information you 172 * with the callback. Use this for any state information you 205 * Also keep in mind that usb transactions contain state 432 * called on every usb interrupt. It will read the usb state, 528 uint32_t connect_change : 1; /**< 1 = Device connected state changed since the last set status call */ 575 * USB state internal data. The contents of this structure 587 * - state = USB device state populate [all...] |
/freebsd-9.3-release/sys/ddb/ |
H A D | db_ps.c | 69 * pid ppid pgrp uid state wmesg wchan cmd 84 char state[9]; local 95 db_printf(" pid ppid pgrp uid state wmesg wchan cmd\n"); 97 db_printf(" pid ppid pgrp uid state wmesg wchan cmd\n"); 114 /* Determine our primary process state. */ 118 state[0] = 'T'; 123 * the state of the thread with the 127 * in a sane state we use '?' for our 128 * primary state. 148 state[ 220 char state[9], wprefix; local [all...] |
/freebsd-9.3-release/contrib/ncurses/ncurses/widechar/ |
H A D | lib_unget_wch.c | 49 _nc_wcrtomb(char *target, wchar_t source, mbstate_t * state) 58 result = wcsrtombs(NULL, &tempp, 0, state); 60 result = wcrtomb(target, source, state); 71 mbstate_t state; local 77 init_mb(state); 78 length = _nc_wcrtomb(0, wch, &state); 85 init_mb(state); 86 wcrtomb(string, wch, &state);
|
/freebsd-9.3-release/contrib/ofed/management/opensm/complib/ |
H A D | cl_spinlock.c | 46 p_spinlock->state = CL_UNINITIALIZED; 59 p_spinlock->state = CL_INITIALIZED; 66 CL_ASSERT(cl_is_state_valid(p_spinlock->state)); 68 if (p_spinlock->state == CL_INITIALIZED) { 69 p_spinlock->state = CL_UNINITIALIZED; 74 p_spinlock->state = CL_UNINITIALIZED; 80 CL_ASSERT(p_spinlock->state == CL_INITIALIZED); 88 CL_ASSERT(p_spinlock->state == CL_INITIALIZED);
|
/freebsd-9.3-release/contrib/ofed/management/opensm/include/complib/ |
H A D | cl_passivelock.h | 67 * situations where the caller cannot be put into a waiting state. 97 cl_state_t state; member in struct:_cl_plock 104 * state 105 * Records the current state of the lock, such as initialized, 117 * The cl_plock_construct function initializes the state of a 126 p_lock->state = CL_UNINITIALIZED; 132 * [in] Pointer to a cl_plock_t structure whose state to initialize. 160 p_lock->state = CL_DESTROYING; 162 p_lock->state = CL_DESTROYED; 168 * [in] Pointer to a cl_plock_t structure whose state t [all...] |
/freebsd-9.3-release/contrib/wpa/src/crypto/ |
H A D | sha1_i.h | 19 u32 state[5]; member in struct:SHA1Context 27 void SHA1Transform(u32 state[5], const unsigned char buffer[64]);
|
/freebsd-9.3-release/contrib/xz/src/liblzma/check/ |
H A D | check.c | 92 check->state.crc32 = 0; 98 check->state.crc64 = 0; 123 check->state.crc32 = lzma_crc32(buf, size, check->state.crc32); 129 check->state.crc64 = lzma_crc64(buf, size, check->state.crc64); 153 check->buffer.u32[0] = conv32le(check->state.crc32); 159 check->buffer.u64[0] = conv64le(check->state.crc64);
|
/freebsd-9.3-release/lib/libc/gen/ |
H A D | _once_stub.c | 41 if (once_control->state == PTHREAD_DONE_INIT) 44 once_control->state = PTHREAD_DONE_INIT;
|
/freebsd-9.3-release/sys/crypto/rc4/ |
H A D | rc4.h | 49 extern void rc4_init(struct rc4_state *state, const u_char *key, int keylen); 50 extern void rc4_crypt(struct rc4_state *state,
|
/freebsd-9.3-release/sys/ia64/acpica/ |
H A D | acpi_wakeup.c | 37 acpi_sleep_machdep(struct acpi_softc *sc, int state) argument 43 acpi_wakeup_machdep(struct acpi_softc *sc, int state, argument
|
/freebsd-9.3-release/contrib/xz/src/common/ |
H A D | tuklib_mbstr_width.c | 33 mbstate_t state; 34 memset(&state, 0, sizeof(state)); 43 const size_t ret = mbrtowc(&wc, str + i, len - i, &state); 56 // Require that the string ends in the initial shift state. 59 if (!mbsinit(&state))
|
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
H A D | BuiltinFunctionChecker.cpp | 34 ProgramStateRef state = C.getState(); local 50 SVal X = state->getSVal(*(CE->arg_begin()), LCtx); 51 C.addTransition(state->BindExpr(CE, LCtx, X)); 65 state->getSVal(*(CE->arg_begin()), LCtx).castAs<DefinedOrUnknownSVal>(); 70 svalBuilder.evalEQ(state, Extent, Size); 71 state = state->assume(extentMatchesSizeArg, true); 72 assert(state && "The region should not have any previous constraints"); 74 C.addTransition(state->BindExpr(CE, LCtx, loc::MemRegionVal(R))); 91 C.addTransition(state [all...] |
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ |
H A D | SimpleConstraintManager.h | 36 ProgramStateRef assume(ProgramStateRef state, DefinedSVal Cond, 39 ProgramStateRef assume(ProgramStateRef state, NonLoc Cond, bool Assumption); 41 ProgramStateRef assumeSymRel(ProgramStateRef state, 54 virtual ProgramStateRef assumeSymNE(ProgramStateRef state, SymbolRef sym, 58 virtual ProgramStateRef assumeSymEQ(ProgramStateRef state, SymbolRef sym, 62 virtual ProgramStateRef assumeSymLT(ProgramStateRef state, SymbolRef sym, 66 virtual ProgramStateRef assumeSymGT(ProgramStateRef state, SymbolRef sym, 70 virtual ProgramStateRef assumeSymLE(ProgramStateRef state, SymbolRef sym, 74 virtual ProgramStateRef assumeSymGE(ProgramStateRef state, SymbolRef sym, 87 ProgramStateRef assumeAux(ProgramStateRef state, [all...] |
/freebsd-9.3-release/lib/libc/stdlib/ |
H A D | random.c | 48 * rand()/srand() like interface, this package also has a special state info 52 * that much state information. Good sizes for the amount of state 53 * information are 32, 64, 128, and 256 bytes. The state can be switched by 55 * with initstate(). By default, the package runs with 128 bytes of state 57 * congruential generator. If the amount of state information is less than 60 * Internally, the state information is treated as an array of uint32_t's; the 62 * integer); the remainder of the array is the state information for the 63 * R.N.G. Thus, 32 bytes of state information will give 7 ints worth of 64 * state informatio 212 static uint32_t *state = &randtbl[1]; variable [all...] |