/third_party/glib/glib/tests/ |
D | string.c | 83 GString *string1, *string2; in test_string_new() local 86 string2 = g_string_new (NULL); in test_string_new() 89 g_assert (string2 != NULL); in test_string_new() 91 g_assert (strlen (string2->str) == string2->len); in test_string_new() 92 g_assert (string2->len == 0); in test_string_new() 94 g_assert_cmpstr ("", ==, string2->str); in test_string_new() 97 g_string_free (string2, TRUE); in test_string_new() 100 string2 = g_string_new_len ("foobar", 3); in test_string_new() 104 g_assert_cmpstr (string2->str, ==, "foo"); in test_string_new() 105 g_assert_cmpint (string2->len, ==, 3); in test_string_new() [all …]
|
/third_party/python/Doc/includes/sqlite3/ |
D | collation_reverse.py | 3 def collate_reverse(string1, string2): argument 4 if string1 == string2: 6 elif string1 < string2:
|
/third_party/curl/tests/unit/ |
D | unit1601.c | 40 const char string2[] = "hello-you-fool"; variable 49 Curl_md5it(output, (const unsigned char *) string2, strlen(string2));
|
D | unit1610.c | 40 const char string2[] = "hello-you-fool"; variable 51 Curl_sha256it(output, (const unsigned char *) string2, strlen(string2));
|
D | unit1611.c | 40 const char string2[] = "hello-you-fool"; variable 50 Curl_md4it(output, (const unsigned char *) string2, strlen(string2));
|
D | unit1612.c | 42 const char string2[] = "hello-you-fool"; variable 57 (const unsigned char *) string2, strlen(string2),
|
/third_party/libcoap/include/coap3/ |
D | str.h | 183 #define coap_string_equal(string1,string2) \ argument 184 ((string1)->length == (string2)->length && ((string1)->length == 0 || \ 185 ((string1)->s && (string2)->s && \ 186 memcmp((string1)->s, (string2)->s, (string1)->length) == 0)))
|
/third_party/libwebsockets/lib/secure-streams/ |
D | policy.c | 377 goto string2; in lws_ss_policy_parser_cb() 445 goto string2; in lws_ss_policy_parser_cb() 472 goto string2; in lws_ss_policy_parser_cb() 476 goto string2; in lws_ss_policy_parser_cb() 484 goto string2; in lws_ss_policy_parser_cb() 488 goto string2; in lws_ss_policy_parser_cb() 492 goto string2; in lws_ss_policy_parser_cb() 496 goto string2; in lws_ss_policy_parser_cb() 613 goto string2; in lws_ss_policy_parser_cb() 617 goto string2; in lws_ss_policy_parser_cb() [all …]
|
/third_party/boost/libs/compute/test/ |
D | test_set_intersection.cpp | 48 char string2[] = "bccdfgh"; in BOOST_AUTO_TEST_CASE() local 49 bc::vector<bc::char_> set2(string2, string2 + 7, queue); in BOOST_AUTO_TEST_CASE()
|
D | test_set_union.cpp | 49 char string2[] = "bccdfgh"; in BOOST_AUTO_TEST_CASE() local 50 bc::vector<bc::char_> set2(string2, string2 + 7, queue); in BOOST_AUTO_TEST_CASE()
|
D | test_set_difference.cpp | 48 char string2[] = "bccdfgh"; in BOOST_AUTO_TEST_CASE() local 49 bc::vector<bc::char_> set2(string2, string2 + 7, queue); in BOOST_AUTO_TEST_CASE()
|
D | test_set_symmetric_difference.cpp | 49 char string2[] = "bccdfgh"; in BOOST_AUTO_TEST_CASE() local 50 bc::vector<bc::char_> set2(string2, string2 + 7, queue); in BOOST_AUTO_TEST_CASE()
|
D | test_includes.cpp | 47 char string2[] = "bccdf"; in BOOST_AUTO_TEST_CASE() local 48 bc::vector<bc::char_> set2(string2, string2 + 5, queue); in BOOST_AUTO_TEST_CASE()
|
/third_party/jerryscript/tests/unit-core/ |
D | test-context-data.c | 66 const char *string2 = "item2"; variable 72 *((const char **) user_data_p) = string2; in test_context_data2_new() 79 TEST_ASSERT ((*(const char **) user_data_p) == string2); in test_context_data2_free()
|
/third_party/glib/tests/ |
D | testglib.c | 1445 GString *string1, *string2; in gstring_tests() local 1452 string2 = g_string_new (""); in gstring_tests() 1462 g_string_printf (string2, "%s|%0100d|%s|%s|%0*d|%*.*f|%10000.10000f", in gstring_tests() 1469 g_string_printf (string2, "%s|%0100d|%s|%s|%0*d|%*.*f|%100.100f", in gstring_tests() 1478 g_printerr ("string2 length = %lu...\n", (gulong)string2->len); in gstring_tests() 1479 string2->str[70] = '\0'; in gstring_tests() 1481 g_printerr ("first 70 chars:\n%s\n", string2->str); in gstring_tests() 1482 string2->str[141] = '\0'; in gstring_tests() 1484 g_printerr ("next 70 chars:\n%s\n", string2->str+71); in gstring_tests() 1485 string2->str[212] = '\0'; in gstring_tests() [all …]
|
/third_party/glib/gio/tests/ |
D | gdbus-introspection.c | 171 GString *string2; in test_generate() local 207 string2 = g_string_new (""); in test_generate() 208 g_dbus_node_info_generate_xml (info2, 2, string2); in test_generate() 210 g_assert_cmpstr (string->str, ==, string2->str); in test_generate() 212 g_string_free (string2, TRUE); in test_generate()
|
/third_party/gettext/gettext-tools/src/ |
D | po-gram-gen.y | 156 char *string2 = string_list_concat_destroy (&$2.stringlist); variable 163 do_callback_message ($1.ctxt, string2, &$1.pos, NULL, 171 free (string2); 177 char *string2 = string_list_concat_destroy (&$2.stringlist); variable 183 do_callback_message ($1.ctxt, string2, &$1.pos, $3.string, 191 free (string2);
|
/third_party/icu/icu4c/source/samples/legacy/ |
D | newcol.cpp | 48 int compare_current(const void *string1, const void *string2) { in compare_current() argument 50 …UCollationResult res = ucol_strcoll(compareCollator, (UChar *) string1, -1, (UChar *) string2, -1); in compare_current()
|
D | oldcol.cpp | 49 int compare_legacy(const void *string1, const void *string2) { in compare_legacy() argument 51 …UCollationResult res = ucol_strcoll(compareCollator, (UChar *) string1, -1, (UChar *) string2, -1); in compare_legacy()
|
/third_party/skia/third_party/externals/icu/source/samples/legacy/ |
D | newcol.cpp | 48 int compare_current(const void *string1, const void *string2) { in compare_current() argument 50 …UCollationResult res = ucol_strcoll(compareCollator, (UChar *) string1, -1, (UChar *) string2, -1); in compare_current()
|
D | oldcol.cpp | 49 int compare_legacy(const void *string1, const void *string2) { in compare_legacy() argument 51 …UCollationResult res = ucol_strcoll(compareCollator, (UChar *) string1, -1, (UChar *) string2, -1); in compare_legacy()
|
/third_party/flutter/skia/third_party/externals/icu/source/samples/legacy/ |
D | newcol.cpp | 48 int compare_current(const void *string1, const void *string2) { in compare_current() argument 50 …UCollationResult res = ucol_strcoll(compareCollator, (UChar *) string1, -1, (UChar *) string2, -1); in compare_current()
|
D | oldcol.cpp | 49 int compare_legacy(const void *string1, const void *string2) { in compare_legacy() argument 51 …UCollationResult res = ucol_strcoll(compareCollator, (UChar *) string1, -1, (UChar *) string2, -1); in compare_legacy()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/ |
D | CollationKanaTest.java | 191 String string2 = new String(tmp2); in TestCommonCharacters() local 196 result = rb.compare(string1, string2); in TestCommonCharacters() 199 key2 = rb.getCollationKey(string2); in TestCommonCharacters()
|
/third_party/libsoup/libsoup/ |
D | soup-misc.c | 60 const char *string2 = v2; in soup_str_case_equal() local 62 return g_ascii_strcasecmp (string1, string2) == 0; in soup_str_case_equal()
|