Home
last modified time | relevance | path

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

123

/third_party/glib/glib/tests/
Dstring.c83 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/
Dcollation_reverse.py3 def collate_reverse(string1, string2): argument
4 if string1 == string2:
6 elif string1 < string2:
/third_party/curl/tests/unit/
Dunit1601.c40 const char string2[] = "hello-you-fool"; variable
49 Curl_md5it(output, (const unsigned char *) string2, strlen(string2));
Dunit1610.c40 const char string2[] = "hello-you-fool"; variable
51 Curl_sha256it(output, (const unsigned char *) string2, strlen(string2));
Dunit1611.c40 const char string2[] = "hello-you-fool"; variable
50 Curl_md4it(output, (const unsigned char *) string2, strlen(string2));
Dunit1612.c42 const char string2[] = "hello-you-fool"; variable
57 (const unsigned char *) string2, strlen(string2),
/third_party/libcoap/include/coap3/
Dstr.h183 #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/
Dpolicy.c377 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/
Dtest_set_intersection.cpp48 char string2[] = "bccdfgh"; in BOOST_AUTO_TEST_CASE() local
49 bc::vector<bc::char_> set2(string2, string2 + 7, queue); in BOOST_AUTO_TEST_CASE()
Dtest_set_union.cpp49 char string2[] = "bccdfgh"; in BOOST_AUTO_TEST_CASE() local
50 bc::vector<bc::char_> set2(string2, string2 + 7, queue); in BOOST_AUTO_TEST_CASE()
Dtest_set_difference.cpp48 char string2[] = "bccdfgh"; in BOOST_AUTO_TEST_CASE() local
49 bc::vector<bc::char_> set2(string2, string2 + 7, queue); in BOOST_AUTO_TEST_CASE()
Dtest_set_symmetric_difference.cpp49 char string2[] = "bccdfgh"; in BOOST_AUTO_TEST_CASE() local
50 bc::vector<bc::char_> set2(string2, string2 + 7, queue); in BOOST_AUTO_TEST_CASE()
Dtest_includes.cpp47 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/
Dtest-context-data.c66 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/
Dtestglib.c1445 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/
Dgdbus-introspection.c171 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/
Dpo-gram-gen.y156 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/
Dnewcol.cpp48 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()
Doldcol.cpp49 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/
Dnewcol.cpp48 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()
Doldcol.cpp49 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/
Dnewcol.cpp48 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()
Doldcol.cpp49 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/
DCollationKanaTest.java191 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/
Dsoup-misc.c60 const char *string2 = v2; in soup_str_case_equal() local
62 return g_ascii_strcasecmp (string1, string2) == 0; in soup_str_case_equal()

123