Home
last modified time | relevance | path

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

12

/third_party/boost/libs/test/test/utils-ts/
Dalgorithm-test.cpp54 const_string cs2( "test_stream" ); in BOOST_AUTO_TEST_CASE() local
56 …BOOST_TEST( TEST_SURROUND_EXPRESSION(utu::mismatch( cs1.begin(), cs1.end(), cs2.begin(), cs2.end()… in BOOST_AUTO_TEST_CASE()
58 cs2 = "trest"; in BOOST_AUTO_TEST_CASE()
59 …BOOST_TEST( TEST_SURROUND_EXPRESSION(utu::mismatch( cs1.begin(), cs1.end(), cs2.begin(), cs2.end()… in BOOST_AUTO_TEST_CASE()
61 cs2 = "test_string_klmn"; in BOOST_AUTO_TEST_CASE()
62 …BOOST_TEST( TEST_SURROUND_EXPRESSION(utu::mismatch( cs1.begin(), cs1.end(), cs2.begin(), cs2.end()… in BOOST_AUTO_TEST_CASE()
64 cs2 = "TeSt_liNk"; in BOOST_AUTO_TEST_CASE()
66 …TEST_SURROUND_EXPRESSION(utu::mismatch( cs1.begin(), cs1.end(), cs2.begin(), cs2.end(), REF_FUN( p… in BOOST_AUTO_TEST_CASE()
/third_party/gstreamer/gstreamer/tests/examples/controller/
Daudio-example.c20 GstControlSource *cs1, *cs2; in main() local
50 cs2 = gst_interpolation_control_source_new (); in main()
55 gst_direct_control_binding_new (GST_OBJECT_CAST (src), "freq", cs2)); in main()
60 g_object_set (cs2, "mode", GST_INTERPOLATION_MODE_LINEAR, NULL); in main()
69 tvcs = (GstTimedValueControlSource *) cs2; in main()
74 gst_object_unref (cs2); in main()
Dcontrol-sources.c371 GstControlSource *cs1, *cs2; in test_chained_lfo() local
389 cs2 = gst_lfo_control_source_new (); in test_chained_lfo()
392 gst_direct_control_binding_new ((GstObject *) cs1, "amplitude", cs2)); in test_chained_lfo()
394 g_object_set (cs2, in test_chained_lfo()
433 gst_object_unref (cs2); in test_chained_lfo()
/third_party/boost/libs/test/example/
Dconst_string_test.cpp40 const_string cs2( s ); in BOOST_AUTO_TEST_CASE() local
41 BOOST_CHECK_EQUAL( std::strcmp( cs2.data(), "test_string" ), 0 ); in BOOST_AUTO_TEST_CASE()
135 const_string cs2( "test_string" ); in BOOST_AUTO_TEST_CASE() local
137 cs1.swap( cs2 ); in BOOST_AUTO_TEST_CASE()
139 BOOST_CHECK_EQUAL( std::strcmp( cs2.data(), "test" ), 0 ); in BOOST_AUTO_TEST_CASE()
145 const_string cs2( "test_string" ); in BOOST_AUTO_TEST_CASE() local
150 BOOST_CHECK_EQUAL( cs1, cs2 ); in BOOST_AUTO_TEST_CASE()
158 BOOST_CHECK( cs1 != cs2 ); in BOOST_AUTO_TEST_CASE()
/third_party/grpc/src/core/ext/filters/client_channel/
Dconfig_selector.h78 static bool Equals(const ConfigSelector* cs1, const ConfigSelector* cs2) { in Equals() argument
79 if (cs1 == nullptr) return cs2 == nullptr; in Equals()
80 if (cs2 == nullptr) return false; in Equals()
81 if (strcmp(cs1->name(), cs2->name()) != 0) return false; in Equals()
82 return cs1->Equals(cs2); in Equals()
/third_party/boost/libs/test/doc/snippet/
Dconst_string_test.cpp36 const_string cs2( s ); in BOOST_AUTO_TEST_CASE() local
37 BOOST_CHECK_EQUAL( std::strcmp( cs2.data(), "test_string" ), 0 ); in BOOST_AUTO_TEST_CASE()
134 const_string cs2( "test_string" ); in BOOST_AUTO_TEST_CASE() local
136 cs1.swap( cs2 ); in BOOST_AUTO_TEST_CASE()
138 BOOST_CHECK_EQUAL( std::strcmp( cs2.data(), "test" ), 0 ); in BOOST_AUTO_TEST_CASE()
144 const_string cs2( "test_string" ); in BOOST_AUTO_TEST_CASE() local
149 BOOST_CHECK_EQUAL( cs1, cs2 ); in BOOST_AUTO_TEST_CASE()
157 BOOST_CHECK( cs1 != cs2 ); in BOOST_AUTO_TEST_CASE()
Dsnippet15.cpp28 const_string cs2( s ); in __BOOST_AUTO_TEST_CASE__() local
29 __BOOST_TEST__( std::strcmp( cs2.data(), "test_string" ) == 0 ); in __BOOST_AUTO_TEST_CASE__()
/third_party/skia/resources/sksl/shared/
DArrayNarrowingConversions.sksl17 const short cs2[2] = short[2](1, 2);
21 return (i2 == s2 && f2 == h2 && ci2 == cs2 && cf2 == ch2 && i2 == cs2 && h2 == cf2)
/third_party/gstreamer/gstplugins_base/tests/icles/
Daudio-trickplay.c52 GstControlSource *cs1, *cs2; in main() local
129 cs2 = gst_interpolation_control_source_new (); in main()
134 gst_direct_control_binding_new (GST_OBJECT_CAST (src), "freq", cs2)); in main()
139 g_object_set (cs2, "mode", GST_INTERPOLATION_MODE_LINEAR, NULL); in main()
148 tvcs = (GstTimedValueControlSource *) cs2; in main()
153 gst_object_unref (cs2); in main()
/third_party/skia/resources/sksl/runtime/
DArrayNarrowingConversions.rts17 const mediump int cs2[2] = int [2](1, 2);
21 return (i2 == s2 && f2 == h2 && ci2 == cs2 && cf2 == ch2 && i2 == cs2 && h2 == cf2)
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNormalizer.java2111 /*package*/ static int cmpEquivFold(CharSequence cs1, CharSequence cs2, int options) { in cmpEquivFold() argument
2163 limit2=cs2.length(); in cmpEquivFold()
2207 c2=cs2.charAt(s2++); in cmpEquivFold()
2214 cs2=stack2[level2].cs; in cmpEquivFold()
2215 } while(cs2==null); in cmpEquivFold()
2217 limit2=cs2.length(); in cmpEquivFold()
2260 if(s2!=limit2 && Character.isLowSurrogate(c=cs2.charAt(s2))) { in cmpEquivFold()
2265 if(0<=(s2-2) && Character.isHighSurrogate(c=cs2.charAt(s2-2))) { in cmpEquivFold()
2293 c2=cs2.charAt(s2-1); in cmpEquivFold()
2349 stack2[0].cs=cs2; in cmpEquivFold()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DNormalizer.java2171 /*package*/ static int cmpEquivFold(CharSequence cs1, CharSequence cs2, int options) { in cmpEquivFold() argument
2223 limit2=cs2.length(); in cmpEquivFold()
2267 c2=cs2.charAt(s2++); in cmpEquivFold()
2274 cs2=stack2[level2].cs; in cmpEquivFold()
2275 } while(cs2==null); in cmpEquivFold()
2277 limit2=cs2.length(); in cmpEquivFold()
2320 if(s2!=limit2 && Character.isLowSurrogate(c=cs2.charAt(s2))) { in cmpEquivFold()
2325 if(0<=(s2-2) && Character.isHighSurrogate(c=cs2.charAt(s2-2))) { in cmpEquivFold()
2353 c2=cs2.charAt(s2-1); in cmpEquivFold()
2409 stack2[0].cs=cs2; in cmpEquivFold()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/
Dcivil_time_test.cc201 constexpr civil_second cs2(2016, 1, 28, 17, 14, 13); in TEST() local
202 constexpr bool less = cs1 < cs2; in TEST()
210 constexpr civil_second cs2 = cs1 + 50; in TEST() local
211 static_assert(cs2.year() == 2016, "Addition.year"); in TEST()
212 static_assert(cs2.month() == 1, "Addition.month"); in TEST()
213 static_assert(cs2.day() == 28, "Addition.day"); in TEST()
214 static_assert(cs2.hour() == 17, "Addition.hour"); in TEST()
215 static_assert(cs2.minute() == 15, "Addition.minute"); in TEST()
216 static_assert(cs2.second() == 2, "Addition.second"); in TEST()
221 constexpr civil_second cs2 = cs1 - 50; in TEST() local
[all …]
/third_party/abseil-cpp/absl/time/internal/cctz/src/
Dcivil_time_test.cc201 constexpr civil_second cs2(2016, 1, 28, 17, 14, 13); in TEST() local
202 constexpr bool less = cs1 < cs2; in TEST()
210 constexpr civil_second cs2 = cs1 + 50; in TEST() local
211 static_assert(cs2.year() == 2016, "Addition.year"); in TEST()
212 static_assert(cs2.month() == 1, "Addition.month"); in TEST()
213 static_assert(cs2.day() == 28, "Addition.day"); in TEST()
214 static_assert(cs2.hour() == 17, "Addition.hour"); in TEST()
215 static_assert(cs2.minute() == 15, "Addition.minute"); in TEST()
216 static_assert(cs2.second() == 2, "Addition.second"); in TEST()
221 constexpr civil_second cs2 = cs1 - 50; in TEST() local
[all …]
/third_party/weston/clients/
Dsimple-im.c364 const struct compose_seq *cs2 = c2; in compare_compose_keys() local
367 for (i = 0; cs1->keys[i] != 0 && cs2->keys[i] != 0; i++) { in compare_compose_keys()
368 if (cs1->keys[i] != cs2->keys[i]) in compare_compose_keys()
369 return cs1->keys[i] - cs2->keys[i]; in compare_compose_keys()
372 if (cs1->keys[i] == cs2->keys[i] in compare_compose_keys()
376 return cs1->keys[i] - cs2->keys[i]; in compare_compose_keys()
/third_party/ffmpeg/libavfilter/
Dsignature_lookup.c535 CoarseSignature *cs, *cs2; in lookup_signatures() local
541 cs2 = second->coarsesiglist; in lookup_signatures()
551 if (find_next_coarsecandidate(sc, second->coarsesiglist, &cs, &cs2, 1) == 0) in lookup_signatures()
556 cs->first->index, cs2->first->index); in lookup_signatures()
559 infos = get_matching_parameters(ctx, sc, cs->first, cs2->first); in lookup_signatures()
577 … } while (find_next_coarsecandidate(sc, second->coarsesiglist, &cs, &cs2, 0) && !bestmatch.whole); in lookup_signatures()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
Dregcomp.c1154 cset *cs2; in freezeset() local
1158 for (cs2 = &p->g->sets[0]; cs2 < top; cs2++) in freezeset()
1159 if (cs2->hash == h && cs2 != cs) { in freezeset()
1162 if (!!CHIN(cs2, i) != !!CHIN(cs, i)) in freezeset()
1168 if (cs2 < top) { /* found one */ in freezeset()
1170 cs = cs2; in freezeset()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
Dregcomp.c1282 cset *cs2; in freezeset() local
1286 for (cs2 = &p->g->sets[0]; cs2 < top; cs2++) in freezeset()
1287 if (cs2->hash == h && cs2 != cs) { in freezeset()
1290 if (!!CHIN(cs2, i) != !!CHIN(cs, i)) in freezeset()
1296 if (cs2 < top) { /* found one */ in freezeset()
1298 cs = cs2; in freezeset()
/third_party/icu/icu4c/source/test/intltest/
Dtransrt.cpp688 UnicodeString cs2; in test2() local
689 Normalizer::decompose(srcStr, FALSE, 0, cs2, status); in test2()
694 UnicodeString targ2 = cs2; in test2()
697 logNotCanonical("Source-Target", srcStr, targ,cs2, targ2); in test2()
736 UnicodeString cs2; in test2() local
737 Normalizer::decompose(srcStr, FALSE, 0, cs2, status); in test2()
742 UnicodeString targ2 = cs2; in test2()
745 logNotCanonical("Source-Target", srcStr, targ, cs2,targ2); in test2()
/third_party/gstreamer/gstreamer/tests/check/gst/
Dgstcontroller.c563 GstTestControlSource *cs1, *cs2; in GST_START_TEST() local
568 cs2 = gst_test_control_source_new (); in GST_START_TEST()
576 GST_CONTROL_SOURCE (cs2)); in GST_START_TEST()
582 gst_object_unref (cs2); in GST_START_TEST()
/third_party/flutter/skia/third_party/externals/icu/source/samples/ustring/
Dustring.cpp557 static char cs2[40]; in demoUnicodeStringInit() local
559 u_UCharsToChars(us1, cs2, 33); in demoUnicodeStringInit()
562 cs2); in demoUnicodeStringInit()
/third_party/icu/icu4c/source/samples/ustring/
Dustring.cpp560 static char cs2[40]; in demoUnicodeStringInit() local
562 u_UCharsToChars(us1, cs2, 33); in demoUnicodeStringInit()
565 cs2); in demoUnicodeStringInit()
/third_party/skia/third_party/externals/icu/source/samples/ustring/
Dustring.cpp560 static char cs2[40]; in demoUnicodeStringInit() local
562 u_UCharsToChars(us1, cs2, 33); in demoUnicodeStringInit()
565 cs2); in demoUnicodeStringInit()
/third_party/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DRoundTripTest.java1431 String cs2 = Normalizer.normalize(cs, Normalizer.NFD); in checkSourceTargetSingles() local
1432 String targ2 = sourceToTarget.transliterate(cs2); in checkSourceTargetSingles()
1434 … logNotCanonical("" + getSourceTarget(transliteratorID) + "", cs, targ, cs2, targ2); in checkSourceTargetSingles()
1486 String cs2 = Normalizer.normalize(cs, Normalizer.NFD); in checkSourceTargetDoubles()
1487 String targ2 = sourceToTarget.transliterate(cs2); in checkSourceTargetDoubles()
1489 … logNotCanonical("" + getSourceTarget(transliteratorID) + "", cs, targ, cs2, targ2); in checkSourceTargetDoubles()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/translit/
DRoundTripTest.java1434 String cs2 = Normalizer.normalize(cs, Normalizer.NFD); in checkSourceTargetSingles() local
1435 String targ2 = sourceToTarget.transliterate(cs2); in checkSourceTargetSingles()
1437 … logNotCanonical("" + getSourceTarget(transliteratorID) + "", cs, targ, cs2, targ2); in checkSourceTargetSingles()
1489 String cs2 = Normalizer.normalize(cs, Normalizer.NFD); in checkSourceTargetDoubles()
1490 String targ2 = sourceToTarget.transliterate(cs2); in checkSourceTargetDoubles()
1492 … logNotCanonical("" + getSourceTarget(transliteratorID) + "", cs, targ, cs2, targ2); in checkSourceTargetDoubles()

12