/external/jemalloc_new/include/jemalloc/internal/ |
D | prng.h | 68 uint32_t ret, state0, state1; in prng_lg_range_u32() local 77 state1 = prng_state_next_u32(state0); in prng_lg_range_u32() 79 state1, ATOMIC_RELAXED, ATOMIC_RELAXED)); in prng_lg_range_u32() 81 state1 = prng_state_next_u32(state0); in prng_lg_range_u32() 82 atomic_store_u32(state, state1, ATOMIC_RELAXED); in prng_lg_range_u32() 84 ret = state1 >> (32 - lg_range); in prng_lg_range_u32() 91 uint64_t ret, state1; in prng_lg_range_u64() local 96 state1 = prng_state_next_u64(*state); in prng_lg_range_u64() 97 *state = state1; in prng_lg_range_u64() 98 ret = state1 >> (64 - lg_range); in prng_lg_range_u64() [all …]
|
/external/jemalloc/include/jemalloc/internal/ |
D | prng.h | 87 uint32_t ret, state1; in prng_lg_range_u32() local 97 state1 = prng_state_next_u32(state0); in prng_lg_range_u32() 98 } while (atomic_cas_uint32(state, state0, state1)); in prng_lg_range_u32() 100 state1 = prng_state_next_u32(*state); in prng_lg_range_u32() 101 *state = state1; in prng_lg_range_u32() 103 ret = state1 >> (32 - lg_range); in prng_lg_range_u32() 112 uint64_t ret, state1; in prng_lg_range_u64() local 117 state1 = prng_state_next_u64(*state); in prng_lg_range_u64() 118 *state = state1; in prng_lg_range_u64() 119 ret = state1 >> (64 - lg_range); in prng_lg_range_u64() [all …]
|
/external/webrtc/webrtc/common_audio/signal_processing/ |
D | resample_by_2_mips.c | 39 register int32_t state1 = filtState[1]; in WebRtcSpl_DownsampleBy2() local 77 : [state1] "r" (state1), [state5] "r" (state5) in WebRtcSpl_DownsampleBy2() 110 [state1] "+r" (state1), in WebRtcSpl_DownsampleBy2() 157 diff = in32 - state1; in WebRtcSpl_DownsampleBy2() 161 tmp2 = MUL_ACCUM_2(kResampleAllpass2[1], diff, state1); in WebRtcSpl_DownsampleBy2() 162 state1 = tmp1; in WebRtcSpl_DownsampleBy2() 186 diff = in32 - state1; in WebRtcSpl_DownsampleBy2() 190 tmp2 = MUL_ACCUM_2(kResampleAllpass2[1], diff, state1); in WebRtcSpl_DownsampleBy2() 191 state1 = tmp1; in WebRtcSpl_DownsampleBy2() 215 diff = in32 - state1; in WebRtcSpl_DownsampleBy2() [all …]
|
D | resample_by_2.c | 76 register int32_t state1 = filtState[1]; in WebRtcSpl_DownsampleBy2() local 87 diff = in32 - state1; in WebRtcSpl_DownsampleBy2() 91 tmp2 = MUL_ACCUM_2(kResampleAllpass2[1], diff, state1); in WebRtcSpl_DownsampleBy2() 92 state1 = tmp1; in WebRtcSpl_DownsampleBy2() 117 filtState[1] = state1; in WebRtcSpl_DownsampleBy2() 134 register int32_t state1 = filtState[1]; in WebRtcSpl_UpsampleBy2() local 145 diff = in32 - state1; in WebRtcSpl_UpsampleBy2() 149 tmp2 = MUL_ACCUM_1(kResampleAllpass1[1], diff, state1); in WebRtcSpl_UpsampleBy2() 150 state1 = tmp1; in WebRtcSpl_UpsampleBy2() 176 filtState[1] = state1; in WebRtcSpl_UpsampleBy2()
|
/external/v8/src/runtime/ |
D | runtime-maths.cc | 32 uint64_t state1 = 0; in RUNTIME_FUNCTION() local 37 state1 = double_to_uint64(cache->get_scalar(kState1Offset)); in RUNTIME_FUNCTION() 48 state1 = FLAG_random_seed; in RUNTIME_FUNCTION() 50 while (state0 == 0 || state1 == 0) { in RUNTIME_FUNCTION() 52 isolate->random_number_generator()->NextBytes(&state1, sizeof(state1)); in RUNTIME_FUNCTION() 62 base::RandomNumberGenerator::XorShift128(&state0, &state1); in RUNTIME_FUNCTION() 63 raw_cache->set(i, base::RandomNumberGenerator::ToDouble(state0, state1)); in RUNTIME_FUNCTION() 68 raw_cache->set(kState1Offset, uint64_to_double(state1)); in RUNTIME_FUNCTION()
|
/external/autotest/client/common_lib/ |
D | base_job_unittest.py | 535 state1 = base_job.job_state() 536 state1.set('ns1', 'var0', 50) 537 state1.set('ns2', 'var10', 100) 538 state1.write_to_file('transfer_file') 558 state1 = base_job.job_state() 559 state1.set('ns', 'var1', 'value1') 560 state1.write_to_file('to_be_read') 604 state1 = base_job.job_state() 605 state1.set_backing_file('second_file') 606 state1.set('ns0', 'var1x', 100) [all …]
|
/external/v8/src/base/utils/ |
D | random-number-generator.h | 111 static inline double ToDouble(uint64_t state0, uint64_t state1) { in ToDouble() argument 115 uint64_t random = ((state0 + state1) & kMantissaMask) | kExponentBits; in ToDouble() 120 static inline void XorShift128(uint64_t* state0, uint64_t* state1) { in XorShift128() argument 122 uint64_t s0 = *state1; in XorShift128() 128 *state1 = s1; in XorShift128()
|
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
D | filterbanks.c | 101 int32_t state1 = state[1]; in WebRtcIsacfix_HighpassFilterFixDec32C() local 127 [state1]"r"(state1) in WebRtcIsacfix_HighpassFilterFixDec32C() 134 b1 = WEBRTC_SPL_MUL_16_32_RSFT16(coefficient[7], state1) + in WebRtcIsacfix_HighpassFilterFixDec32C() 135 (WEBRTC_SPL_MUL_16_32_RSFT16(coefficient[6], state1) >> 16); in WebRtcIsacfix_HighpassFilterFixDec32C() 140 b2 = WEBRTC_SPL_MUL_16_32_RSFT16(coefficient[3], state1) + in WebRtcIsacfix_HighpassFilterFixDec32C() 141 (WEBRTC_SPL_MUL_16_32_RSFT16(coefficient[2], state1) >> 16); in WebRtcIsacfix_HighpassFilterFixDec32C() 150 state1 = state0; in WebRtcIsacfix_HighpassFilterFixDec32C() 154 state[1] = state1; in WebRtcIsacfix_HighpassFilterFixDec32C()
|
D | filterbanks_mips.c | 113 int32_t state1 = state[1]; in WebRtcIsacfix_HighpassFilterFixDec32MIPS() local 141 [state1] "r" (state1) in WebRtcIsacfix_HighpassFilterFixDec32MIPS()
|
/external/guice/core/test/com/google/inject/internal/ |
D | WeakKeySetTest.java | 108 TestState state1 = new TestState(); in testEviction_keyOverlap_2x() local 115 set.add(key1, state1, source1); in testEviction_keyOverlap_2x() 127 state1 = null; in testEviction_keyOverlap_2x() 156 TestState state1 = new TestState(); in testNoEviction_keyOverlap_2x() local 163 set.add(key1, state1, source1); in testNoEviction_keyOverlap_2x() 184 TestState state1 = new TestState(); in testEviction_keyAndSourceOverlap_null() local 190 set.add(key1, state1, source); in testEviction_keyAndSourceOverlap_null() 203 state1 = null; in testEviction_keyAndSourceOverlap_null() 227 TestState state1 = new TestState(); in testEviction_keyAndSourceOverlap_nonNull() local 233 set.add(key1, state1, source); in testEviction_keyAndSourceOverlap_nonNull() [all …]
|
/external/tensorflow/tensorflow/contrib/recurrent/python/ops/ |
D | recurrent.py | 339 state1, extras = self._cell_fn(theta, state0, inputs) 343 _AssertIsCompatible(state1, self._state) 345 return _Flatten([state1, extras]) 370 state1, extras = _Pack(fwd, [self._state, self._extras]) 372 acc_state = _Update(acc_state, state1, dev_t) 376 [theta, state1, inputs, acc_state, acc_extras]) 442 _, state1, _, acc_state, acc_extras = _Pack( 446 return _Flatten([acc_state, state1, acc_extras]) 633 state1, extras = cell_fn(theta, state0, inputs) 634 ys = _Flatten([state1]) [all …]
|
/external/curl/lib/ |
D | curl_sasl.c | 262 saslstate state1 = SASL_STOP; in Curl_sasl_start() local 282 state1 = SASL_EXTERNAL; in Curl_sasl_start() 295 state1 = SASL_GSSAPI; in Curl_sasl_start() 314 state1 = SASL_DIGESTMD5; in Curl_sasl_start() 319 state1 = SASL_CRAMMD5; in Curl_sasl_start() 327 state1 = SASL_NTLM; in Curl_sasl_start() 343 state1 = SASL_OAUTH2; in Curl_sasl_start() 356 state1 = SASL_OAUTH2; in Curl_sasl_start() 367 state1 = SASL_PLAIN; in Curl_sasl_start() 376 state1 = SASL_LOGIN; in Curl_sasl_start() [all …]
|
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | 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));
|
/external/tensorflow/tensorflow/contrib/recurrent/python/kernel_tests/ |
D | recurrent_test.py | 104 state1 = _ElmanState(h=h1) 105 return (state1, state1) 131 def ElmanOut(state1): argument 132 return _ElmanState(x=state1.h)
|
/external/libxaac/decoder/ |
D | ixheaacd_mps_poly_filt.c | 113 WORD32 *out1, *out2, *state1, *state2; in ixheaacd_mps_synt_out_calc_dec() local 116 state1 = state; in ixheaacd_mps_synt_out_calc_dec() 121 *out1++ = (WORD32)(((WORD64)(*state1++) * (*filter_coeff++)) >> 31); in ixheaacd_mps_synt_out_calc_dec() 126 state1 += (3 * resolution); in ixheaacd_mps_synt_out_calc_dec()
|
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
D | radeon_code.c | 87 unsigned rc_constants_add_state(struct rc_constant_list * c, unsigned state0, unsigned state1) in rc_constants_add_state() argument 95 c->Constants[index].u.State[1] == state1) in rc_constants_add_state() 104 constant.u.State[1] = state1; in rc_constants_add_state()
|
/external/aac/libSBRenc/src/ |
D | resampler.cpp | 369 FIXP_BQS state1, state2, state1b, state2b; in AdvanceFilter() local 371 state1 = states[0][s1]; in AdvanceFilter() 382 state0 = input + fMult(state1, coeff[B1]) + fMult(state2, coeff[B2]); in AdvanceFilter() 394 state1 = state1b; in AdvanceFilter()
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
D | AtomicBackoffTest.java | 75 AtomicBackoff.State state1 = backoff.getState(); in backoff_twiceForEquivalentState_noChange() local 77 state1.backoff(); in backoff_twiceForEquivalentState_noChange()
|
/external/wycheproof/java/com/google/security/wycheproof/ |
D | RandomUtil.java | 96 long state1 = nextState(state0); in getState() local 97 if ((state1 & 0xffffffff0000L) == l1) { in getState()
|
/external/u-boot/drivers/mmc/ |
D | sh_sdhi.c | 68 int state1 = 0, state2 = 0; in sh_sdhi_intr() local 70 state1 = sh_sdhi_readw(host, SDHI_INFO1); in sh_sdhi_intr() 73 debug("%s: state1 = %x, state2 = %x\n", __func__, state1, state2); in sh_sdhi_intr() 76 if (state1 & INFO1_CARD_IN) { in sh_sdhi_intr() 88 if (state1 & INFO1_CARD_RE) { in sh_sdhi_intr() 113 if (state1 & INFO1_RESP_END) { in sh_sdhi_intr() 140 if (state1 & INFO1_ACCESS_END) { in sh_sdhi_intr()
|
/external/webrtc/webrtc/libjingle/xmpp/ |
D | pubsubstateclient.h | 156 virtual bool StatesEqual(const C& state1, const C& state2) { in StatesEqual() argument 157 return state1 == state2; in StatesEqual()
|
/external/tensorflow/tensorflow/contrib/timeseries/python/timeseries/state_space_models/ |
D | kalman_filter_test.py | 390 state1 = kf.predict_state_mean(state0, transition_fn(3 * [1])) 391 state2 = kf.predict_state_mean(state1, transition_fn(3 * [1])) 395 self.assertAllClose(state1.eval()[0], batch_eval[0])
|
/external/tensorflow/tensorflow/contrib/training/python/training/ |
D | batch_sequences_with_states_test.py | 128 state1 = next_batch.state("state1") 130 state1_update = next_batch.save_state("state1", state1 + 1) 155 next_batch.context["sp_context"], state1, state2, next_batch.length, 197 next_batch.context["sp_context"], state1, state2, next_batch.length,
|
D | sequence_queueing_state_saver_test.py | 410 context1, context2, seq1, seq2, seq3, state1, state2, _, 456 self.assertAllClose(state1[i], expected_state1) 606 got_keys, input_index, context1, seq1, state1, _ = sess.run( 619 self.assertEqual(state1.shape, (batch_size_value,))
|
/external/python/cpython2/Lib/test/ |
D | test_random.py | 21 state1 = self.gen.getstate() 25 self.assertNotEqual(state1, state2) 46 state1 = self.gen.getstate() 49 self.assertNotEqual(state1, state2)
|