HomeSort by relevance Sort by last modified time
    Searched refs:state1 (Results 1 - 25 of 105) sorted by null

1 2 3 4 5

  /external/v8/src/runtime/
runtime-maths.cc 34 uint64_t state1 = 0; local
39 state1 = double_to_uint64(cache->get_scalar(kState1Offset));
45 while (state0 == 0 || state1 == 0) {
47 isolate->random_number_generator()->NextBytes(&state1, sizeof(state1));
56 base::RandomNumberGenerator::XorShift128(&state0, &state1);
57 raw_cache->set(i, base::RandomNumberGenerator::ToDouble(state0, state1));
62 raw_cache->set(kState1Offset, uint64_to_double(state1));
  /external/jemalloc/include/jemalloc/internal/
prng.h 87 uint32_t ret, state1; local
97 state1 = prng_state_next_u32(state0);
98 } while (atomic_cas_uint32(state, state0, state1));
100 state1 = prng_state_next_u32(*state);
101 *state = state1;
103 ret = state1 >> (32 - lg_range);
112 uint64_t ret, state1; local
117 state1 = prng_state_next_u64(*state);
118 *state = state1;
119 ret = state1 >> (64 - lg_range)
127 size_t ret, state1; local
    [all...]
  /external/v8/src/base/utils/
random-number-generator.h 94 static inline double ToDouble(uint64_t state0, uint64_t state1) {
98 uint64_t random = ((state0 + state1) & kMantissaMask) | kExponentBits;
103 static inline void XorShift128(uint64_t* state0, uint64_t* state1) {
105 uint64_t s0 = *state1;
111 *state1 = s1;
  /external/webrtc/webrtc/common_audio/signal_processing/
resample_by_2_mips.c 39 register int32_t state1 = filtState[1]; local
72 "subu %[diff1], %[in321], %[state1] \n\t"
77 : [state1] "r" (state1), [state5] "r" (state5)
103 "addu %[tmp21], %[state1], %[tmp21] \n\t"
106 "addiu %[state1], %[tmp11], 0 \n\t"
110 [state1] "+r" (state1),
157 diff = in32 - state1;
161 tmp2 = MUL_ACCUM_2(kResampleAllpass2[1], diff, state1);
    [all...]
resample_by_2.c 76 register int32_t state1 = filtState[1]; local
87 diff = in32 - state1;
91 tmp2 = MUL_ACCUM_2(kResampleAllpass2[1], diff, state1);
92 state1 = tmp1;
117 filtState[1] = state1;
134 register int32_t state1 = filtState[1]; local
145 diff = in32 - state1;
149 tmp2 = MUL_ACCUM_1(kResampleAllpass1[1], diff, state1);
150 state1 = tmp1;
176 filtState[1] = state1;
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
QSFooter.java 72 default void disable(int state1, int state2, boolean animate) {}
  /cts/tests/tests/util/src/android/util/cts/
StateSetTest.java 158 int state1; local
161 state1 = 1;
162 assertTrue(StateSet.stateSetMatches(stateSpec8, state1));
164 state1 = 2;
165 assertFalse(StateSet.stateSetMatches(stateSpec8, state1));
168 assertFalse(StateSet.stateSetMatches(stateSpec8, state1));
  /packages/apps/Settings/src/com/android/settings/applications/
AppStateNotificationBridge.java 267 NotificationsSentState state1 = getNotificationsSentState(object1);
269 if (state1 == null && state2 != null) return -1;
270 if (state1 != null && state2 == null) return 1;
271 if (state1 != null && state2 != null) {
272 if (state1.lastSent < state2.lastSent) return 1;
273 if (state1.lastSent > state2.lastSent) return -1;
283 NotificationsSentState state1 = getNotificationsSentState(object1);
285 if (state1 == null && state2 != null) return -1;
286 if (state1 != null && state2 == null) return 1;
287 if (state1 != null && state2 != null)
    [all...]
  /device/google/contexthub/lib/nanohub/
rsa.c 23 static bool biModIterative(uint32_t *num, const uint32_t *denum, uint32_t *tmp, uint32_t *state1, uint32_t *state2, uint32_t step)
27 uint32_t bitsh = *state1, limbsh = *state2;
107 *state1 = bitsh;
168 const uint32_t* rsaPubOpIterative(struct RsaState* state, const uint32_t *a, const uint32_t *c, uint32_t *state1, uint32_t *state2, uint32_t *stepP)
193 if (biModIterative(state->tmpA, c, state->tmpB, state1, state2, gigastepSubstep - RSA_LEN)) { //MOD is done
217 uint32_t state1 = 0, state2 = 0, step = 0, ns = 0; local
220 ret = rsaPubOpIterative(state, a, c, &state1, &state2, &step);
231 uint32_t state1 = 0, state2 = 0, step; local
233 for (step = 0; !biModIterative(num, denum, tmp, &state1, &state2, step); step++);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/util/
Utils.java 72 public void disable(int state1, int state2, boolean animate) {
73 final boolean disabled = ((state1 & mMask1) != 0) || ((state2 & mMask2) != 0);
  /external/autotest/client/common_lib/
base_job_unittest.py 536 state1 = base_job.job_state()
537 state1.set('ns1', 'var0', 50)
538 state1.set('ns2', 'var10', 100)
539 state1.write_to_file('transfer_file')
559 state1 = base_job.job_state()
560 state1.set('ns', 'var1', 'value1')
561 state1.write_to_file('to_be_read')
605 state1 = base_job.job_state()
606 state1.set_backing_file('second_file')
607 state1.set('ns0', 'var1x', 100
    [all...]
  /external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
filterbanks.c 101 int32_t state1 = state[1]; local
114 "smmulr %[b2], %[tmp_coeff1], %[state1]\n\t"
118 "smmulr %[b1], %[tmp_coeff1], %[state1]\n\t"
127 [state1]"r"(state1)
134 b1 = WEBRTC_SPL_MUL_16_32_RSFT16(coefficient[7], state1) +
135 (WEBRTC_SPL_MUL_16_32_RSFT16(coefficient[6], state1) >> 16);
140 b2 = WEBRTC_SPL_MUL_16_32_RSFT16(coefficient[3], state1) +
141 (WEBRTC_SPL_MUL_16_32_RSFT16(coefficient[2], state1) >> 16);
150 state1 = state0
    [all...]
filterbanks_mips.c 113 int32_t state1 = state[1]; local
127 "sra %[state1_hi], %[state1], 16 \n\t"
129 "andi %[state1_lo], %[state1], 0xFFFF \n\t"
141 [state1] "r" (state1)
  /frameworks/base/cmds/statsd/tests/condition/
StateTracker_test.cpp 57 int state1 = 1001; local
67 makeUidProcStateEvent(uid1, state1, &event);
98 makeUidProcStateEvent(uid2, state1, &event3);
  /device/google/contexthub/lib/include/nanohub/
rsa.h 39 const uint32_t* rsaPubOpIterative(struct RsaState* state, const uint32_t *a, const uint32_t *c, uint32_t *state1, uint32_t *state2, uint32_t *stepP);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
CollapsedStatusBarFragment.java 147 public void disable(int state1, int state2, boolean animate) {
148 state1 = adjustDisableFlags(state1);
150 final int diff1 = state1 ^ old1;
151 mDisabled1 = state1;
153 if ((state1 & DISABLE_SYSTEM_INFO) != 0) {
162 if ((state1 & DISABLE_NOTIFICATION_ICONS) != 0) {
171 if ((state1 & DISABLE_CLOCK) != 0) {
  /external/guice/core/test/com/google/inject/internal/
WeakKeySetTest.java 110 TestState state1 = new TestState(); local
117 set.add(key1, state1, source1);
129 state1 = null;
158 TestState state1 = new TestState(); local
165 set.add(key1, state1, source1);
186 TestState state1 = new TestState(); local
192 set.add(key1, state1, source);
205 state1 = null;
229 TestState state1 = new TestState(); local
235 set.add(key1, state1, source)
275 TestState state1 = new TestState(); local
    [all...]
  /external/mesa3d/src/gallium/drivers/r300/compiler/
radeon_code.c 87 unsigned rc_constants_add_state(struct rc_constant_list * c, unsigned state0, unsigned state1)
95 c->Constants[index].u.State[1] == state1)
104 constant.u.State[1] = state1;
  /cts/tests/tests/print/src/android/print/cts/
PrintJobStateTransitionsTest.java 146 public PrintJobStateTransitionsTest(int state1, int state2, int state3) {
147 mState1 = state1;
246 for (final int state1 : STATES) {
250 if (state1 == state2 && state2 == state3) {
255 if (state1 == PrintJobInfo.STATE_QUEUED) {
259 parameters.add(new Object[]{state1, state2, state3});
  /external/wycheproof/java/com/google/security/wycheproof/
RandomUtil.java 96 long state1 = nextState(state0); local
97 if ((state1 & 0xffffffff0000L) == l1) {
  /frameworks/base/tools/locked_region_code_injection/src/lockedregioncodeinjection/
LockTargetStateAnalysis.java 97 LockTargetState state1 = (LockTargetState) v1; local
100 List<LockTarget> newList = new ArrayList<>(state1.getTargets());
  /external/curl/lib/
curl_sasl.c 263 saslstate state1 = SASL_STOP; local
283 state1 = SASL_EXTERNAL;
296 state1 = SASL_GSSAPI;
316 state1 = SASL_DIGESTMD5;
321 state1 = SASL_CRAMMD5;
329 state1 = SASL_NTLM;
342 state1 = SASL_OAUTH2;
355 state1 = SASL_OAUTH2;
366 state1 = SASL_LOGIN;
375 state1 = SASL_PLAIN
    [all...]
  /external/aac/libSBRenc/src/
resampler.cpp 369 FIXP_BQS state1, state2, state1b, state2b; local
371 state1 = states[0][s1];
382 state0 = input + fMult(state1, coeff[B1]) + fMult(state2, coeff[B2]);
394 state1 = state1b;
  /external/libxaac/decoder/
ixheaacd_mps_poly_filt.c 114 WORD32 *out1, *out2, *state1, *state2; local
117 state1 = state;
122 *out1++ = (WORD32)(((WORD64)(*state1++) * (*filter_coeff++)) >> 31);
127 state1 += (3 * resolution);
  /external/protobuf/java/core/src/test/java/com/google/protobuf/
IsValidUtf8TestUtil.java 285 int state1 = Utf8.partialIsValidUtf8(Utf8.COMPLETE, bytes, 0, i);
286 int state2 = Utf8.partialIsValidUtf8(state1, bytes, i, j);
289 System.out.printf("state=%04x %04x %04x i=%d j=%d%n", state1, state2, state3, i, j);
305 assertEquals(state1, x.partialIsValidUtf8(Utf8.COMPLETE, 0, i));
306 assertEquals(state1, x.substring(0, i).partialIsValidUtf8(Utf8.COMPLETE, 0, i));
307 assertEquals(state2, x.partialIsValidUtf8(state1, i, j - i));
308 assertEquals(state2, x.substring(i, j).partialIsValidUtf8(state1, 0, j - i));

Completed in 619 milliseconds

1 2 3 4 5