Home
last modified time | relevance | path

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

/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/opencv/cv/src/
Dcvstereogc.cpp105 static void icvInitStereoTabs( CvStereoGCState2* state2 ) in icvInitStereoTabs() argument
107 int i, K = state2->K; in icvInitStereoTabs()
110 state2->dataCostFuncTab[i] = MIN(i*DENOMINATOR - K, 0); in icvInitStereoTabs()
113 state2->smoothnessR[i] = MIN(abs(i-CUTOFF), state2->interactionRadius); in icvInitStereoTabs()
118state2->smoothnessGrayDiff[i] = diff < state2->Ithreshold ? state2->lambda1 : state2->lambda2; in icvInitStereoTabs()
525 static int64 icvComputeEnergy( const CvStereoGCState* state, const CvStereoGCState2* state2, in icvComputeEnergy() argument
530 const int* dtab = state2->dataCostFuncTab; in icvComputeEnergy()
531 int maxR = state2->interactionRadius; in icvComputeEnergy()
532 const int* stabR = state2->smoothnessR + CUTOFF; in icvComputeEnergy()
533 const int* stabI = state2->smoothnessGrayDiff + 255; in icvComputeEnergy()
[all …]
/external/autotest/client/common_lib/
Dbase_job_unittest.py533 state2 = base_job.job_state()
534 self.assertRaises(KeyError, state2.get, 'ns1', 'var0')
535 self.assertRaises(KeyError, state2.get, 'ns2', 'var10')
536 state2.read_from_file('transfer_file')
537 self.assertEqual(50, state2.get('ns1', 'var0'))
538 self.assertEqual(100, state2.get('ns2', 'var10'))
555 state2 = base_job.job_state()
556 state2.set_backing_file('backing_file')
557 state2.set('ns', 'var2', 'value2')
558 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/aac/libSBRenc/src/
Dresampler.cpp391 FIXP_BQS state1, state2, state1b, state2b; in AdvanceFilter() local
394 state2 = states[0][s2]; in AdvanceFilter()
405 state0 = input + fMult(state1, coeff[B1]) + fMult(state2, coeff[B2]); in AdvanceFilter()
418 state2 = state2b; in AdvanceFilter()
433 FIXP_BQS state1, state2; in AdvanceFilter()
438 state2 = states[i][s2]; in AdvanceFilter()
440 state0 = input - fMult(state1, coeff[A1]) - fMult(state2, coeff[A2]); in AdvanceFilter()
441 y = state0 + fMult(state1, coeff[B1]) + fMult(state2, coeff[B2]); in AdvanceFilter()
/external/protobuf/java/src/test/java/com/google/protobuf/
DIsValidUtf8TestUtil.java243 int state2 = Utf8.partialIsValidUtf8(state1, bytes, i, j);
244 int state3 = Utf8.partialIsValidUtf8(state2, bytes, j, numBytes);
247 state1, state2, state3, i, j);
271 assertEquals(state2,
273 assertEquals(state2,
276 x.partialIsValidUtf8(state2, j, numBytes - j));
279 .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/libweave/src/states/
Dstate_change_queue_unittest.cc44 const std::string state2 = in TEST_F() local
49 *CreateDictionaryValue(state2))); in TEST_F()
56 EXPECT_JSON_EQ(state2, *changes[1].changed_properties); in TEST_F()
/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/libgdx/gdx/src/com/badlogic/gdx/utils/compression/lzma/
DEncoder.java754 int state2 = Base.StateUpdateChar(state); in GetOptimum() local
759 .GetPrice1(_isMatch[(state2 << Base.kNumPosStatesBitsMax) + posStateNext]) in GetOptimum()
760 + com.badlogic.gdx.utils.compression.rangecoder.Encoder.GetPrice1(_isRep[state2]); in GetOptimum()
765 int curAndLenPrice = nextRepMatchPrice + GetRepPrice(0, lenTest2, state2, posStateNext); in GetOptimum()
805 int state2 = Base.StateUpdateRep(state); in GetOptimum() local
811 .GetPrice0(_isMatch[(state2 << Base.kNumPosStatesBitsMax) + posStateNext]) in GetOptimum()
814 state2 = Base.StateUpdateChar(state2); in GetOptimum()
818 .GetPrice1(_isMatch[(state2 << Base.kNumPosStatesBitsMax) + posStateNext]); in GetOptimum()
820 + com.badlogic.gdx.utils.compression.rangecoder.Encoder.GetPrice1(_isRep[state2]); in GetOptimum()
827 int curAndLenPrice = nextRepMatchPrice + GetRepPrice(0, lenTest2, state2, posStateNext); in GetOptimum()
[all …]
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Collision/
Db2Collision.cpp88 void b2GetPointStates(b2PointState state1[b2_maxManifoldPoints], b2PointState state2[b2_maxManifold… in b2GetPointStates()
94 state2[i] = b2_nullState; in b2GetPointStates()
119 state2[i] = b2_addState; in b2GetPointStates()
125 state2[i] = b2_persistState; in b2GetPointStates()
Db2Collision.h136 void b2GetPointStates(b2PointState state1[b2_maxManifoldPoints], b2PointState state2[b2_maxManifold…
/external/curl/lib/
Dcurl_sasl.c266 saslstate state2 = SASL_FINAL; in Curl_sasl_start() local
295 state2 = SASL_GSSAPI_TOKEN; in Curl_sasl_start()
327 state2 = SASL_NTLM_TYPE2MSG; in Curl_sasl_start()
339 state2 = SASL_OAUTH2_RESP; in Curl_sasl_start()
363 state2 = SASL_LOGIN_PASSWD; in Curl_sasl_start()
390 state(sasl, conn, resp ? state2 : state1); in Curl_sasl_start()
/external/lzma/C/
DLzmaEnc.c1294 UInt32 state2 = kLiteralNextStates[state]; in GetOptimum() local
1297 GET_PRICE_1(p->isMatch[state2][posStateNext]) + in GetOptimum()
1298 GET_PRICE_1(p->isRep[state2]); in GetOptimum()
1306 curAndLenPrice = nextRepMatchPrice + GetRepPrice(p, 0, lenTest2, state2, posStateNext); in GetOptimum()
1365 UInt32 state2 = kRepNextStates[state]; in GetOptimum() local
1369 GET_PRICE_0(p->isMatch[state2][posStateNext]) + in GetOptimum()
1372 state2 = kLiteralNextStates[state2]; in GetOptimum()
1375 GET_PRICE_1(p->isMatch[state2][posStateNext]) + in GetOptimum()
1376 GET_PRICE_1(p->isRep[state2]); in GetOptimum()
1385 … curAndLenPrice = nextRepMatchPrice + GetRepPrice(p, 0, lenTest2, state2, posStateNext); in GetOptimum()
[all …]
/external/v8/src/crankshaft/
Dhydrogen-check-elimination.cc54 static State StateMerge(State state1, State state2) { in StateMerge()
55 if (state1 == state2) return state1; in StateMerge()
56 if ((state1 == CHECKED && state2 == CHECKED_STABLE) || in StateMerge()
57 (state2 == CHECKED && state1 == CHECKED_STABLE)) { in StateMerge()
60 DCHECK((state1 == CHECKED_STABLE && state2 == UNCHECKED_STABLE) || in StateMerge()
61 (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/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/DOC/
Dlzma-specification.txt960 The decoder calculates "state2" variable value to select exact variable from
964 unsigned state2 = (state << kNumPosBitsMax) + posState;
969 IsMatch[state2] decode
977 IsRep0Long[state2] decode
991 If the value "0" was decoded with IsMatch[state2] decoding, we have "LITERAL" type.
1014 If the value "1" was decoded with IsMatch[state2] decoding,
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/collision/
DCollision.java99 public static final void getPointStates(final PointState[] state1, final PointState[] state2, in getPointStates() argument
104 state2[i] = PointState.NULL_STATE; in getPointStates()
125 state2[i] = PointState.ADD_STATE; in getPointStates()
129 state2[i] = PointState.PERSIST_STATE; in getPointStates()
/external/libxml2/
Drelaxng.c669 xmlRelaxNGValidStatePtr state2);
1347 xmlRelaxNGValidStatePtr state2) in xmlRelaxNGEqualValidState() argument
1351 if ((state1 == NULL) || (state2 == NULL)) in xmlRelaxNGEqualValidState()
1353 if (state1 == state2) in xmlRelaxNGEqualValidState()
1355 if (state1->node != state2->node) in xmlRelaxNGEqualValidState()
1357 if (state1->seq != state2->seq) in xmlRelaxNGEqualValidState()
1359 if (state1->nbAttrLeft != state2->nbAttrLeft) in xmlRelaxNGEqualValidState()
1361 if (state1->nbAttrs != state2->nbAttrs) in xmlRelaxNGEqualValidState()
1363 if (state1->endvalue != state2->endvalue) in xmlRelaxNGEqualValidState()
1365 if ((state1->value != state2->value) && in xmlRelaxNGEqualValidState()
[all …]
/external/libweave/src/
Dcomponent_manager_unittest.cc943 auto state2 = CreateDictionaryValue(kState2); in TEST_F() local
944 ASSERT_TRUE(manager_.SetStateProperties("comp1", *state2, nullptr)); in TEST_F()
/external/icu/icu4c/source/test/cintltst/
Dcmsccoll.c4143 uint32_t state2[2] = { 0, 0 }; in TestHiragana() local
4176 keySize2 = ucol_nextSortKeyPart(ucol, &uiter2, state2, sortKey2, SORTKEYLEN, &status); in TestHiragana()