Home
last modified time | relevance | path

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

12

/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.py540 state2 = base_job.job_state()
541 self.assertRaises(KeyError, state2.get, 'ns1', 'var0')
542 self.assertRaises(KeyError, state2.get, 'ns2', 'var10')
543 state2.read_from_file('transfer_file')
544 self.assertEqual(50, state2.get('ns1', 'var0'))
545 self.assertEqual(100, state2.get('ns2', 'var10'))
562 state2 = base_job.job_state()
563 state2.set_backing_file('backing_file')
564 state2.set('ns', 'var2', 'value2')
565 state2.read_from_file('to_be_read')
[all …]
/external/guice/core/test/com/google/inject/internal/
DWeakKeySetTest.java111 TestState state2 = new TestState(); in testEviction_keyOverlap_2x() local
120 set.add(key2, state2, source2); in testEviction_keyOverlap_2x()
145 state2 = null; in testEviction_keyOverlap_2x()
159 TestState state2 = new TestState(); in testNoEviction_keyOverlap_2x() local
168 set.add(key2, state2, source2); in testNoEviction_keyOverlap_2x()
187 TestState state2 = new TestState(); in testEviction_keyAndSourceOverlap_null() local
195 set.add(key2, state2, source); in testEviction_keyAndSourceOverlap_null()
217 state2 = null; in testEviction_keyAndSourceOverlap_null()
230 TestState state2 = new TestState(); in testEviction_keyAndSourceOverlap_nonNull() local
238 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.c114 WORD32 *out1, *out2, *state1, *state2; in ixheaacd_mps_synt_out_calc_dec() local
118 state2 = state + (3 * resolution); in ixheaacd_mps_synt_out_calc_dec()
123 *out2++ = (WORD32)(((WORD64)(*state2++) * (*filter_coeff++)) >> 31); in ixheaacd_mps_synt_out_calc_dec()
128 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.c264 saslstate state2 = SASL_FINAL; in Curl_sasl_start() local
297 state2 = SASL_GSSAPI_TOKEN; in Curl_sasl_start()
330 state2 = SASL_NTLM_TYPE2MSG; in Curl_sasl_start()
343 state2 = SASL_OAUTH2_RESP; in Curl_sasl_start()
367 state2 = SASL_LOGIN_PASSWD; in Curl_sasl_start()
394 state(sasl, conn, resp ? state2 : state1); in Curl_sasl_start()
/external/lzma/C/
DLzmaEnc.c1344 UInt32 state2 = kLiteralNextStates[state]; in GetOptimum() local
1347 GET_PRICE_1(p->isMatch[state2][posStateNext]) + in GetOptimum()
1348 GET_PRICE_1(p->isRep[state2]); in GetOptimum()
1356 curAndLenPrice = nextRepMatchPrice + GetRepPrice(p, 0, lenTest2, state2, posStateNext); in GetOptimum()
1415 UInt32 state2 = kRepNextStates[state]; in GetOptimum() local
1419 GET_PRICE_0(p->isMatch[state2][posStateNext]) + in GetOptimum()
1422 state2 = kLiteralNextStates[state2]; in GetOptimum()
1425 GET_PRICE_1(p->isMatch[state2][posStateNext]) + in GetOptimum()
1426 GET_PRICE_1(p->isRep[state2]); in GetOptimum()
1435 … curAndLenPrice = nextRepMatchPrice + GetRepPrice(p, 0, lenTest2, state2, posStateNext); in GetOptimum()
[all …]
/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/v8/src/crankshaft/
Dhydrogen-check-elimination.cc55 static State StateMerge(State state1, State state2) { in StateMerge()
56 if (state1 == state2) return state1; in StateMerge()
57 if ((state1 == CHECKED && state2 == CHECKED_STABLE) || in StateMerge()
58 (state2 == CHECKED && state1 == CHECKED_STABLE)) { in StateMerge()
61 DCHECK((state1 == CHECKED_STABLE && state2 == UNCHECKED_STABLE) || in StateMerge()
62 (state2 == CHECKED_STABLE && state1 == UNCHECKED_STABLE)); in StateMerge()
/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()
Dhangoutpubsubclient.cc99 virtual bool StatesEqual(const bool& state1, const bool& state2) { in StatesEqual() argument
/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/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/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_code.h98 unsigned rc_constants_add_state(struct rc_constant_list * c, unsigned state1, unsigned state2);
/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,
/external/python/cpython3/Lib/test/
Dtest_random.py26 state2 = self.gen.getstate()
27 self.assertNotEqual(state1, state2)
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/generated/com/github/javaparser/
DASTParserTokenManager.java2546 private void jjCheckNAddTwoStates(int state1, int state2) in jjCheckNAddTwoStates() argument
2549 jjCheckNAdd(state2); in jjCheckNAddTwoStates()
/external/libxml2/
Drelaxng.c670 xmlRelaxNGValidStatePtr state2);
1348 xmlRelaxNGValidStatePtr state2) in xmlRelaxNGEqualValidState() argument
1352 if ((state1 == NULL) || (state2 == NULL)) in xmlRelaxNGEqualValidState()
1354 if (state1 == state2) in xmlRelaxNGEqualValidState()
1356 if (state1->node != state2->node) in xmlRelaxNGEqualValidState()
1358 if (state1->seq != state2->seq) in xmlRelaxNGEqualValidState()
1360 if (state1->nbAttrLeft != state2->nbAttrLeft) in xmlRelaxNGEqualValidState()
1362 if (state1->nbAttrs != state2->nbAttrs) in xmlRelaxNGEqualValidState()
1364 if (state1->endvalue != state2->endvalue) in xmlRelaxNGEqualValidState()
1366 if ((state1->value != state2->value) && in xmlRelaxNGEqualValidState()
[all …]

12