Searched refs:state (Results 51 - 57 of 57) sorted by last modified time

123

/bionic/libc/upstream-netbsd/android/include/sys/
H A Dsha1.h19 uint32_t state[5]; member in struct:__anon1014
/bionic/libc/upstream-netbsd/common/lib/libc/hash/sha1/
H A Dsha1.c150 void SHA1Transform(uint32_t state[5], const uint8_t buffer[64]) argument
160 _DIAGASSERT(state != 0);
169 /* Copy context->state[] to working vars */
170 a = state[0];
171 b = state[1];
172 c = state[2];
173 d = state[3];
174 e = state[4];
205 /* Add the working vars back into context.state[] */
206 state[
[all...]
/bionic/libc/upstream-netbsd/common/lib/libc/stdlib/
H A Drandom.c76 * rand()/srand() like interface, this package also has a special state info
80 * that much state information. Good sizes for the amount of state
81 * information are 32, 64, 128, and 256 bytes. The state can be switched by
83 * with initstate(). By default, the package runs with 128 bytes of state
85 * congruential generator. If the amount of state information is less than
88 * Internally, the state information is treated as an array of ints; the
90 * integer); the remainder of the array is the state information for the
91 * R.N.G. Thus, 32 bytes of state information will give 7 ints worth of
92 * state informatio
248 static int *state = &randtbl[1]; variable
[all...]
/bionic/libc/upstream-openbsd/lib/libc/stdio/
H A Dfmemopen.c27 struct state { struct
38 struct state *st = v;
51 struct state *st = v;
73 struct state *st = v;
108 struct state *st = v;
119 struct state *st;
H A Dopen_memstream.c29 struct state { struct
41 struct state *st = v;
78 struct state *st = v;
106 struct state *st = v;
116 struct state *st;
H A Dopen_wmemstream.c30 struct state { struct
37 mbstate_t mbs; /* conversion state of the stream */
43 struct state *st = v;
82 struct state *st = v;
102 * XXX Clearing mbs here invalidates shift state for state-
116 struct state *st = v;
126 struct state *st;
/bionic/tests/
H A Dstring_test.cpp222 // Calculate input lengths and fill state.len with them.
256 StringTestState<char> state(SMALL);
257 for (size_t i = 1; i < state.n; i++) {
258 for (state.BeginIterations(); state.HasNextIteration(); state.NextIteration()) {
259 memset(state.ptr2, '\2', state.MAX_LEN);
260 state.ptr2[state
[all...]

Completed in 347 milliseconds

123