Home
last modified time | relevance | path

Searched refs:state2 (Results 1 – 25 of 65) sorted by relevance

123

/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
DDataTruncationTest.java45 String state2 = "Data truncation"; in testDataTruncationintbooleanbooleanintint() local
46 String[] theFinalStates2 = { state2, state2, state2, state2, state2, in testDataTruncationintbooleanbooleanintint()
47 state2, state2 }; in testDataTruncationintbooleanbooleanintint()
128 String state2 = "Data truncation"; in testGetIndex() local
129 String[] theFinalStates2 = { state2, state2, state2, state2, state2, in testGetIndex()
130 state2, state2 }; in testGetIndex()
200 String state2 = "Data truncation"; in testGetParameter() local
201 String[] theFinalStates2 = { state2, state2, state2, state2, state2, in testGetParameter()
202 state2, state2 }; in testGetParameter()
272 String state2 = "Data truncation"; in testGetRead() local
[all …]
/external/webrtc/webrtc/common_audio/signal_processing/
Dresample_by_2_mips.c40 register int32_t state2 = filtState[2]; in WebRtcSpl_DownsampleBy2() local
111 [state2] "+r" (state2), in WebRtcSpl_DownsampleBy2()
140 [state2] "+r" (state2), [diff2] "=&r" (diff2), in WebRtcSpl_DownsampleBy2()
160 diff = tmp1 - state2; in WebRtcSpl_DownsampleBy2()
164 state3 = MUL_ACCUM_2(kResampleAllpass2[2], diff, state2); in WebRtcSpl_DownsampleBy2()
165 state2 = tmp2; in WebRtcSpl_DownsampleBy2()
189 diff = tmp1 - state2; in WebRtcSpl_DownsampleBy2()
193 state3 = MUL_ACCUM_2(kResampleAllpass2[2], diff, state2); in WebRtcSpl_DownsampleBy2()
194 state2 = tmp2; in WebRtcSpl_DownsampleBy2()
218 diff = tmp1 - state2; in WebRtcSpl_DownsampleBy2()
[all …]
Dresample_by_2.c77 register int32_t state2 = filtState[2]; in WebRtcSpl_DownsampleBy2() local
90 diff = tmp1 - state2; in WebRtcSpl_DownsampleBy2()
94 state3 = MUL_ACCUM_2(kResampleAllpass2[2], diff, state2); in WebRtcSpl_DownsampleBy2()
95 state2 = tmp2; in WebRtcSpl_DownsampleBy2()
118 filtState[2] = state2; in WebRtcSpl_DownsampleBy2()
135 register int32_t state2 = filtState[2]; in WebRtcSpl_UpsampleBy2() local
148 diff = tmp1 - state2; in WebRtcSpl_UpsampleBy2()
152 state3 = MUL_ACCUM_2(kResampleAllpass1[2], diff, state2); in WebRtcSpl_UpsampleBy2()
153 state2 = tmp2; in WebRtcSpl_UpsampleBy2()
177 filtState[2] = state2; in WebRtcSpl_UpsampleBy2()
/external/autotest/client/common_lib/
Dbase_job_unittest.py539 state2 = base_job.job_state()
540 self.assertRaises(KeyError, state2.get, 'ns1', 'var0')
541 self.assertRaises(KeyError, state2.get, 'ns2', 'var10')
542 state2.read_from_file('transfer_file')
543 self.assertEqual(50, state2.get('ns1', 'var0'))
544 self.assertEqual(100, state2.get('ns2', 'var10'))
561 state2 = base_job.job_state()
562 state2.set_backing_file('backing_file')
563 state2.set('ns', 'var2', 'value2')
564 state2.read_from_file('to_be_read')
[all …]
/external/guice/core/test/com/google/inject/internal/
DWeakKeySetTest.java109 TestState state2 = new TestState(); in testEviction_keyOverlap_2x() local
118 set.add(key2, state2, source2); in testEviction_keyOverlap_2x()
143 state2 = null; in testEviction_keyOverlap_2x()
157 TestState state2 = new TestState(); in testNoEviction_keyOverlap_2x() local
166 set.add(key2, state2, source2); in testNoEviction_keyOverlap_2x()
185 TestState state2 = new TestState(); in testEviction_keyAndSourceOverlap_null() local
193 set.add(key2, state2, source); in testEviction_keyAndSourceOverlap_null()
215 state2 = null; in testEviction_keyAndSourceOverlap_null()
228 TestState state2 = new TestState(); in testEviction_keyAndSourceOverlap_nonNull() local
236 set.add(key2, state2, source); in testEviction_keyAndSourceOverlap_nonNull()
[all …]
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DIsValidUtf8TestUtil.java286 int state2 = Utf8.partialIsValidUtf8(state1, bytes, i, j);
287 int state3 = Utf8.partialIsValidUtf8(state2, bytes, j, numBytes);
289 System.out.printf("state=%04x %04x %04x i=%d j=%d%n", state1, state2, state3, i, j);
307 assertEquals(state2, x.partialIsValidUtf8(state1, i, j - i));
308 assertEquals(state2, x.substring(i, j).partialIsValidUtf8(state1, 0, j - i));
309 assertEquals(state3, x.partialIsValidUtf8(state2, j, numBytes - j));
310 assertEquals(state3, x.substring(j, numBytes).partialIsValidUtf8(state2, 0, numBytes - j));
/external/lzma/Java/SevenZip/Compression/LZMA/
DEncoder.java854 int state2 = Base.StateUpdateChar(state); in GetOptimum() local
858 …SevenZip.Compression.RangeCoder.Encoder.GetPrice1(_isMatch[(state2 << Base.kNumPosStatesBitsMax) +… in GetOptimum()
859 SevenZip.Compression.RangeCoder.Encoder.GetPrice1(_isRep[state2]); in GetOptimum()
865 0, lenTest2, state2, posStateNext); in GetOptimum()
914 int state2 = Base.StateUpdateRep(state); in GetOptimum() local
919 …SevenZip.Compression.RangeCoder.Encoder.GetPrice0(_isMatch[(state2 << Base.kNumPosStatesBitsMax) +… in GetOptimum()
924 state2 = Base.StateUpdateChar(state2); in GetOptimum()
926 …nCharPrice + SevenZip.Compression.RangeCoder.Encoder.GetPrice1(_isMatch[(state2 << Base.kNumPosSta… in GetOptimum()
927 …RepMatchPrice = nextMatchPrice + SevenZip.Compression.RangeCoder.Encoder.GetPrice1(_isRep[state2]); in GetOptimum()
934 int curAndLenPrice = nextRepMatchPrice + GetRepPrice(0, lenTest2, state2, posStateNext); in GetOptimum()
[all …]
/external/lzma/CS/7zip/Compress/LZMA/
DLzmaEncoder.cs854 Base.State state2 = state; in GetOptimum()
855 state2.UpdateChar(); in GetOptimum()
858 _isMatch[(state2.Index << Base.kNumPosStatesBitsMax) + posStateNext].GetPrice1() + in GetOptimum()
859 _isRep[state2.Index].GetPrice1(); in GetOptimum()
865 0, lenTest2, state2, posStateNext); in GetOptimum()
914 Base.State state2 = state; in GetOptimum()
915 state2.UpdateRep(); in GetOptimum()
919 _isMatch[(state2.Index << Base.kNumPosStatesBitsMax) + posStateNext].GetPrice0() + in GetOptimum()
924 state2.UpdateChar(); in GetOptimum()
926 …UInt32 nextMatchPrice = curAndLenCharPrice + _isMatch[(state2.Index << Base.kNumPosStatesBitsMax) … in GetOptimum()
[all …]
/external/libxaac/decoder/
Dixheaacd_mps_poly_filt.c113 WORD32 *out1, *out2, *state1, *state2; in ixheaacd_mps_synt_out_calc_dec() local
117 state2 = state + (3 * resolution); in ixheaacd_mps_synt_out_calc_dec()
122 *out2++ = (WORD32)(((WORD64)(*state2++) * (*filter_coeff++)) >> 31); in ixheaacd_mps_synt_out_calc_dec()
127 state2 += (3 * resolution); in ixheaacd_mps_synt_out_calc_dec()
/external/aac/libSBRenc/src/
Dresampler.cpp369 FIXP_BQS state1, state2, state1b, state2b; in AdvanceFilter() local
372 state2 = states[0][s2]; in AdvanceFilter()
382 state0 = input + fMult(state1, coeff[B1]) + fMult(state2, coeff[B2]); in AdvanceFilter()
395 state2 = state2b; in AdvanceFilter()
/external/curl/lib/
Dcurl_sasl.c263 saslstate state2 = SASL_FINAL; in Curl_sasl_start() local
296 state2 = SASL_GSSAPI_TOKEN; in Curl_sasl_start()
328 state2 = SASL_NTLM_TYPE2MSG; in Curl_sasl_start()
344 state2 = SASL_OAUTH2_RESP; in Curl_sasl_start()
377 state2 = SASL_LOGIN_PASSWD; in Curl_sasl_start()
395 state(sasl, conn, resp ? state2 : state1); in Curl_sasl_start()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DAtomicBackoffTest.java76 AtomicBackoff.State state2 = backoff.getState(); in backoff_twiceForEquivalentState_noChange() local
78 state2.backoff(); in backoff_twiceForEquivalentState_noChange()
/external/u-boot/drivers/mmc/
Dsh_sdhi.c68 int state1 = 0, state2 = 0; in sh_sdhi_intr() local
71 state2 = sh_sdhi_readw(host, SDHI_INFO2); in sh_sdhi_intr()
73 debug("%s: state1 = %x, state2 = %x\n", __func__, state1, state2); in sh_sdhi_intr()
102 if (state2 & INFO2_ALL_ERR) { in sh_sdhi_intr()
122 if (state2 & INFO2_BRE_ENABLE) { in sh_sdhi_intr()
131 if (state2 & INFO2_BWE_ENABLE) { in sh_sdhi_intr()
Dsh_mmcif.c139 u32 state1, state2; in sh_mmcif_error_manage() local
146 state2 = sh_mmcif_read(&host->regs->ce_host_sts2); in sh_mmcif_error_manage()
171 if (state2 & STS2_CRC_ERR) in sh_mmcif_error_manage()
173 else if (state2 & STS2_TIMEOUT_ERR) in sh_mmcif_error_manage()
/external/python/cpython2/Lib/test/
Dtest_random.py24 state2 = self.gen.getstate()
25 self.assertNotEqual(state1, state2)
48 state2 = self.gen.getstate() # s/b distinct from state1
49 self.assertNotEqual(state1, state2)
52 self.assertNotEqual(state2, state3)
/external/webrtc/webrtc/libjingle/xmpp/
Dpubsubstateclient.h156 virtual bool StatesEqual(const C& state1, const C& state2) { in StatesEqual() argument
157 return state1 == state2; in StatesEqual()
/external/tensorflow/tensorflow/contrib/training/python/training/
Dbatch_sequences_with_states_test.py129 state2 = next_batch.state("state2")
131 state2_update = next_batch.save_state("state2", state2 - 1)
155 next_batch.context["sp_context"], state1, state2, next_batch.length,
197 next_batch.context["sp_context"], state1, state2, next_batch.length,
Dsequence_queueing_state_saver_test.py410 context1, context2, seq1, seq2, seq3, state1, state2, _,
457 self.assertAllEqual(state2[i], expected_state2)
/external/boringssl/src/crypto/test/
Dabi_test.cc97 CallerState state2 = state; in RunTrampoline() local
98 crypto_word_t ret = abi_test_trampoline(func, &state2, argv, argc, unwind); in RunTrampoline()
106 ForEachMismatch(state, state2, [&](const char *reg) { in RunTrampoline()
/external/libevent/test/
Dregress_ssl.c371 int state2 = is_open ? BUFFEREVENT_SSL_OPEN :BUFFEREVENT_SSL_ACCEPTING; in open_ssl_bufevs() local
377 base, fd_pair[1], ssl2, state2, flags); in open_ssl_bufevs()
382 base, underlying_pair[1], ssl2, state2, flags); in open_ssl_bufevs()
/external/apache-commons-bcel/src/examples/Mini/
DMiniParserTokenManager.java41 static private void jjCheckNAddTwoStates(int state1, int state2) in jjCheckNAddTwoStates() argument
44 jjCheckNAdd(state2); in jjCheckNAddTwoStates()
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_code.h98 unsigned rc_constants_add_state(struct rc_constant_list * c, unsigned state1, unsigned state2);
/external/lzma/C/
DLzmaEnc.c1580 unsigned state2 = kLiteralNextStates[state]; in GetOptimum() local
1582 UInt32 price = litPrice + GetPrice_Rep_0(p, state2, posState2); in GetOptimum()
1673 unsigned state2 = kRepNextStates[state]; in GetOptimum() local
1676 + GET_PRICE_0(p->isMatch[state2][posState2]) in GetOptimum()
1681 state2 = kState_LitAfterRep; in GetOptimum()
1685 price += GetPrice_Rep_0(p, state2, posState2); in GetOptimum()
1802 unsigned state2 = kMatchNextStates[state]; in GetOptimum() local
1805 price += GET_PRICE_0(p->isMatch[state2][posState2]); in GetOptimum()
1810 state2 = kState_LitAfterMatch; in GetOptimum()
1813 price += GetPrice_Rep_0(p, state2, posState2); in GetOptimum()
/external/tensorflow/tensorflow/contrib/timeseries/python/timeseries/state_space_models/
Dkalman_filter_test.py391 state2 = kf.predict_state_mean(state1, transition_fn(3 * [1]))
396 self.assertAllClose(state2.eval()[2], batch_eval[2])
/external/lzma/DOC/
Dlzma-specification.txt961 The decoder calculates "state2" variable value to select exact variable from
965 unsigned state2 = (state << kNumPosBitsMax) + posState;
970 IsMatch[state2] decode
978 IsRep0Long[state2] decode
992 If the value "0" was decoded with IsMatch[state2] decoding, we have "LITERAL" type.
1015 If the value "1" was decoded with IsMatch[state2] decoding,

123