/third_party/boost/libs/test/example/ |
D | const_string_test.cpp | 35 const_string cs1( "test_string" ); in BOOST_AUTO_TEST_CASE() local 36 BOOST_CHECK_EQUAL( std::strcmp( cs1.data(), "test_string" ), 0 ); in BOOST_AUTO_TEST_CASE() 37 BOOST_CHECK_EQUAL( cs1.length(), std::strlen("test_string") ); in BOOST_AUTO_TEST_CASE() 43 const_string cs3( cs1 ); in BOOST_AUTO_TEST_CASE() 60 const_string cs1( "test_string" ); in BOOST_AUTO_TEST_CASE() local 61 BOOST_CHECK_EQUAL( std::strcmp( cs1.data(), "test_string" ), 0 ); in BOOST_AUTO_TEST_CASE() 63 BOOST_CHECK_EQUAL( cs1[(size_t)0], 't' ); in BOOST_AUTO_TEST_CASE() 64 BOOST_CHECK_EQUAL( cs1[(size_t)4], '_' ); in BOOST_AUTO_TEST_CASE() 65 BOOST_CHECK_EQUAL( cs1[cs1.length()-1], 'g' ); in BOOST_AUTO_TEST_CASE() 67 BOOST_CHECK_EQUAL( cs1[(size_t)0], cs1.at( 0 ) ); in BOOST_AUTO_TEST_CASE() [all …]
|
/third_party/boost/libs/test/doc/snippet/ |
D | const_string_test.cpp | 31 const_string cs1( "test_string" ); in BOOST_AUTO_TEST_CASE() local 32 BOOST_CHECK_EQUAL( std::strcmp( cs1.data(), "test_string" ), 0 ); in BOOST_AUTO_TEST_CASE() 33 BOOST_CHECK_EQUAL( cs1.length(), std::strlen("test_string") ); in BOOST_AUTO_TEST_CASE() 39 const_string cs3( cs1 ); in BOOST_AUTO_TEST_CASE() 40 BOOST_CHECK_EQUAL( std::strcmp( cs1.data(), "test_string" ), 0 ); in BOOST_AUTO_TEST_CASE() 56 const_string cs1( "test_string" ); in BOOST_AUTO_TEST_CASE() local 57 BOOST_CHECK_EQUAL( std::strcmp( cs1.data(), "test_string" ), 0 ); in BOOST_AUTO_TEST_CASE() 58 BOOST_CHECK_EQUAL( std::strcmp( cs1.data(), cs1 ), 0 ); in BOOST_AUTO_TEST_CASE() 60 BOOST_CHECK_EQUAL( cs1[(size_t)0], 't' ); in BOOST_AUTO_TEST_CASE() 61 BOOST_CHECK_EQUAL( cs1[(size_t)4], '_' ); in BOOST_AUTO_TEST_CASE() [all …]
|
D | snippet17.cpp | 20 const_string cs1( "test_string" ); // 1 // in __BOOST_AUTO_TEST_CASE__() local 21 __BOOST_TEST__( cs1[(size_t)0] == 't' ); in __BOOST_AUTO_TEST_CASE__() 22 __BOOST_TEST__( cs1[(size_t)4] == '_' ); in __BOOST_AUTO_TEST_CASE__() 23 __BOOST_TEST__( cs1[cs1.length()-1] == 'g' ); in __BOOST_AUTO_TEST_CASE__() 25 __BOOST_TEST__( cs1[(size_t)0] == cs1.at( 0 ) ); // 2 // in __BOOST_AUTO_TEST_CASE__() 26 __BOOST_TEST__( cs1[(size_t)2] == cs1.at( 5 ) ); in __BOOST_AUTO_TEST_CASE__() 27 __BOOST_TEST__( cs1.at( cs1.length() - 1 ) == 'g' ); in __BOOST_AUTO_TEST_CASE__() 29 BOOST_CHECK_THROW( cs1.at( cs1.length() ), std::out_of_range ); // 3 // in __BOOST_AUTO_TEST_CASE__()
|
D | snippet15.cpp | 23 const_string cs1( "test_string" ); // 3 // in __BOOST_AUTO_TEST_CASE__() local 24 __BOOST_TEST__( std::strcmp( cs1.data(), "test_string" ) == 0 ); in __BOOST_AUTO_TEST_CASE__() 25 __BOOST_TEST__( cs1.length() == std::strlen("test_string") ); in __BOOST_AUTO_TEST_CASE__() 31 const_string cs3( cs1 ); // 5 // in __BOOST_AUTO_TEST_CASE__()
|
/third_party/boost/libs/test/test/utils-ts/ |
D | algorithm-test.cpp | 53 const_string cs1( "test_string" ); in BOOST_AUTO_TEST_CASE() local 56 …TEST( TEST_SURROUND_EXPRESSION(utu::mismatch( cs1.begin(), cs1.end(), cs2.begin(), cs2.end() ).fir… in BOOST_AUTO_TEST_CASE() 59 …TEST( TEST_SURROUND_EXPRESSION(utu::mismatch( cs1.begin(), cs1.end(), cs2.begin(), cs2.end() ).fir… in BOOST_AUTO_TEST_CASE() 62 …TEST( TEST_SURROUND_EXPRESSION(utu::mismatch( cs1.begin(), cs1.end(), cs2.begin(), cs2.end() ).fir… in BOOST_AUTO_TEST_CASE() 66 …SURROUND_EXPRESSION(utu::mismatch( cs1.begin(), cs1.end(), cs2.begin(), cs2.end(), REF_FUN( predic… in BOOST_AUTO_TEST_CASE()
|
/third_party/gstreamer/gstreamer/tests/examples/controller/ |
D | audio-example.c | 20 GstControlSource *cs1, *cs2; in main() local 49 cs1 = gst_interpolation_control_source_new (); in main() 53 gst_direct_control_binding_new (GST_OBJECT_CAST (src), "volume", cs1)); in main() 59 g_object_set (cs1, "mode", GST_INTERPOLATION_MODE_LINEAR, NULL); in main() 63 tvcs = (GstTimedValueControlSource *) cs1; in main() 67 gst_object_unref (cs1); in main()
|
D | control-sources.c | 371 GstControlSource *cs1, *cs2; in test_chained_lfo() local 379 cs1 = gst_lfo_control_source_new (); in test_chained_lfo() 382 cs1)); in test_chained_lfo() 384 g_object_set (cs1, in test_chained_lfo() 391 gst_object_add_control_binding ((GstObject *) cs1, in test_chained_lfo() 392 gst_direct_control_binding_new ((GstObject *) cs1, "amplitude", cs2)); in test_chained_lfo() 432 gst_object_unref (cs1); in test_chained_lfo()
|
/third_party/grpc/src/core/ext/filters/client_channel/ |
D | config_selector.h | 78 static bool Equals(const ConfigSelector* cs1, const ConfigSelector* cs2) { in Equals() argument 79 if (cs1 == nullptr) return cs2 == nullptr; in Equals() 81 if (strcmp(cs1->name(), cs2->name()) != 0) return false; in Equals() 82 return cs1->Equals(cs2); in Equals()
|
/third_party/gstreamer/gstplugins_base/tests/icles/ |
D | audio-trickplay.c | 52 GstControlSource *cs1, *cs2; in main() local 128 cs1 = gst_interpolation_control_source_new (); in main() 132 gst_direct_control_binding_new (GST_OBJECT_CAST (src), "volume", cs1)); in main() 138 g_object_set (cs1, "mode", GST_INTERPOLATION_MODE_LINEAR, NULL); in main() 142 tvcs = (GstTimedValueControlSource *) cs1; in main() 146 gst_object_unref (cs1); in main()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | Normalizer.java | 2111 /*package*/ static int cmpEquivFold(CharSequence cs1, CharSequence cs2, int options) { in cmpEquivFold() argument 2161 limit1=cs1.length(); in cmpEquivFold() 2184 c1=cs1.charAt(s1++); in cmpEquivFold() 2191 cs1=stack1[level1].cs; in cmpEquivFold() 2192 } while(cs1==null); in cmpEquivFold() 2194 limit1=cs1.length(); in cmpEquivFold() 2244 if(s1!=limit1 && Character.isLowSurrogate(c=cs1.charAt(s1))) { in cmpEquivFold() 2249 if(0<=(s1-2) && Character.isHighSurrogate(c=cs1.charAt(s1-2))) { in cmpEquivFold() 2301 stack1[0].cs=cs1; in cmpEquivFold() 2315 cs1=fold1; in cmpEquivFold() [all …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
D | Normalizer.java | 2171 /*package*/ static int cmpEquivFold(CharSequence cs1, CharSequence cs2, int options) { in cmpEquivFold() argument 2221 limit1=cs1.length(); in cmpEquivFold() 2244 c1=cs1.charAt(s1++); in cmpEquivFold() 2251 cs1=stack1[level1].cs; in cmpEquivFold() 2252 } while(cs1==null); in cmpEquivFold() 2254 limit1=cs1.length(); in cmpEquivFold() 2304 if(s1!=limit1 && Character.isLowSurrogate(c=cs1.charAt(s1))) { in cmpEquivFold() 2309 if(0<=(s1-2) && Character.isHighSurrogate(c=cs1.charAt(s1-2))) { in cmpEquivFold() 2361 stack1[0].cs=cs1; in cmpEquivFold() 2375 cs1=fold1; in cmpEquivFold() [all …]
|
/third_party/weston/clients/ |
D | simple-im.c | 363 const struct compose_seq *cs1 = c1; 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() 373 || cs1->keys[i] == 0) in compare_compose_keys() 376 return cs1->keys[i] - cs2->keys[i]; in compare_compose_keys()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/hash/internal/ |
D | low_level_hash.cc | 65 uint64_t cs1 = Mix(c ^ salt[2], d ^ current_state); in LowLevelHash() local 66 current_state = (cs0 ^ cs1); in LowLevelHash()
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_linear_sampler.c | 533 __m128i s4s, t4s, cs0, cs1, ct0, ct1, tmp, si[4]; in fetch_bgra_clamp_linear() local 538 cs1 = _mm_add_epi16(s4s, one); in fetch_bgra_clamp_linear() 539 cs1 = _mm_min_epi16(_mm_max_epi16(cs1, zero), w4); in fetch_bgra_clamp_linear() 545 addr[1].m = _mm_add_epi32(tmp, cs1); in fetch_bgra_clamp_linear() 548 addr[3].m = _mm_add_epi32(tmp, cs1); in fetch_bgra_clamp_linear() 575 int cs1 = CLAMP(s0 + 1, 0, tex_width); in fetch_bgra_clamp_linear() 580 si1.ui[j] = data[ct0 * stride + cs1]; in fetch_bgra_clamp_linear() 582 si3.ui[j] = data[ct1 * stride + cs1]; in fetch_bgra_clamp_linear()
|
/third_party/gstreamer/gstreamer/tests/check/gst/ |
D | gstcontroller.c | 563 GstTestControlSource *cs1, *cs2; in GST_START_TEST() local 567 cs1 = gst_test_control_source_new (); in GST_START_TEST() 572 GST_CONTROL_SOURCE (cs1)); in GST_START_TEST() 581 gst_object_unref (cs1); in GST_START_TEST()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/ |
D | civil_time_test.cc | 200 constexpr civil_second cs1(2016, 1, 28, 17, 14, 12); in TEST() local 202 constexpr bool less = cs1 < cs2; in TEST() 209 constexpr civil_second cs1(2016, 1, 28, 17, 14, 12); in TEST() local 210 constexpr civil_second cs2 = cs1 + 50; in TEST() 220 constexpr civil_second cs1(2016, 1, 28, 17, 14, 12); in TEST() local 221 constexpr civil_second cs2 = cs1 - 50; in TEST()
|
/third_party/abseil-cpp/absl/time/internal/cctz/src/ |
D | civil_time_test.cc | 200 constexpr civil_second cs1(2016, 1, 28, 17, 14, 12); in TEST() local 202 constexpr bool less = cs1 < cs2; in TEST() 209 constexpr civil_second cs1(2016, 1, 28, 17, 14, 12); in TEST() local 210 constexpr civil_second cs2 = cs1 + 50; in TEST() 220 constexpr civil_second cs1(2016, 1, 28, 17, 14, 12); in TEST() local 221 constexpr civil_second cs2 = cs1 - 50; in TEST()
|
/third_party/flutter/skia/third_party/externals/icu/source/samples/ustring/ |
D | ustring.cpp | 555 static const char *cs1="such characters are safe 123 %-."; in demoUnicodeStringInit() local 558 u_charsToUChars(cs1, us1, 33); /* include the terminating NUL */ in demoUnicodeStringInit()
|
/third_party/icu/icu4c/source/samples/ustring/ |
D | ustring.cpp | 558 static const char *cs1="such characters are safe 123 %-."; in demoUnicodeStringInit() local 561 u_charsToUChars(cs1, us1, 33); /* include the terminating NUL */ in demoUnicodeStringInit()
|
/third_party/skia/third_party/externals/icu/source/samples/ustring/ |
D | ustring.cpp | 558 static const char *cs1="such characters are safe 123 %-."; in demoUnicodeStringInit() local 561 u_charsToUChars(cs1, us1, 33); /* include the terminating NUL */ in demoUnicodeStringInit()
|
/third_party/gstreamer/gstreamer/tests/check/libs/ |
D | controller.c | 847 GstControlSource *cs1, *cs2; in GST_START_TEST() local 854 cs1 = gst_interpolation_control_source_new (); in GST_START_TEST() 855 tvcs1 = (GstTimedValueControlSource *) cs1; in GST_START_TEST() 861 gst_direct_control_binding_new (GST_OBJECT (elem), "int", cs1))); in GST_START_TEST() 866 g_object_set (cs1, "mode", GST_INTERPOLATION_MODE_LINEAR, NULL); in GST_START_TEST() 958 gst_object_unref (cs1); in GST_START_TEST()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/charsetdet/ |
D | TestCharsetDetector.java | 121 for (String cs1 : defDisabled) { in TestConstruction() 122 if (cs1.equals(cs)) { in TestConstruction()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/charsetdet/ |
D | TestCharsetDetector.java | 118 for (String cs1 : defDisabled) { in TestConstruction() 119 if (cs1.equals(cs)) { in TestConstruction()
|
/third_party/gstreamer/gstplugins_base/tests/check/libs/ |
D | video.c | 530 guint cs0, cs1, cs2, cs3; in GST_START_TEST() local 574 cs1 = GST_VIDEO_INFO_COMP_WIDTH (&vinfo, 1) * in GST_START_TEST() 590 fail_if (cs1 > cs0, "cs1 (%d) should be <= cs0 (%d)", cs1, cs0); in GST_START_TEST() 595 fail_unless (cs0 + cs1 + cs2 + cs3 <= size); in GST_START_TEST() 598 fail_if (cs1 > cs0, "cs1 (%d) should be <= cs0 (%d)", cs1, cs0); in GST_START_TEST() 602 fail_unless (cs0 + cs1 + cs2 <= size, in GST_START_TEST() 604 cs0, cs1, cs2, size); in GST_START_TEST()
|
/third_party/boost/tools/build/src/build/ |
D | virtual_target.py | 204 cs1 = self.actual_ [actual_name].creating_subvariant () 206 cmt1 = cs1.main_target ()
|