/third_party/glib/glib/tests/ |
D | string.c | 83 GString *string1, *string2; in test_string_new() local 85 string1 = g_string_new ("hi pete!"); in test_string_new() 88 g_assert (string1 != NULL); in test_string_new() 90 g_assert (strlen (string1->str) == string1->len); in test_string_new() 93 g_assert_cmpstr ("hi pete!", ==, string1->str); in test_string_new() 96 g_string_free (string1, TRUE); in test_string_new() 99 string1 = g_string_new_len ("foo", -1); in test_string_new() 102 g_assert_cmpstr (string1->str, ==, "foo"); in test_string_new() 103 g_assert_cmpint (string1->len, ==, 3); in test_string_new() 107 g_string_free (string1, TRUE); in test_string_new() [all …]
|
/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/glib/tests/ |
D | testglib.c | 1445 GString *string1, *string2; in gstring_tests() local 1451 string1 = g_string_new ("hi pete!"); in gstring_tests() 1454 g_assert (strcmp ("hi pete!", string1->str) == 0); in gstring_tests() 1457 g_string_append_c (string1, 'a'+(i%26)); in gstring_tests() 1466 string1->str, in gstring_tests() 1473 string1->str, in gstring_tests() 1491 g_string_free (string1, TRUE); in gstring_tests() 1495 string1 = g_string_new ("firsthalf"); in gstring_tests() 1496 g_string_append (string1, "lasthalf"); in gstring_tests() 1497 g_assert (strcmp (string1->str, "firsthalflasthalf") == 0); in gstring_tests() [all …]
|
/third_party/boost/tools/build/src/engine/ |
D | parse.cpp | 91 OBJECT * string1, in parse_make() argument 101 p->string1 = string1; in parse_make() 134 if ( p->string1 ) in parse_free() 135 object_free( p->string1 ); in parse_free()
|
D | parse.h | 62 OBJECT * string1; member 75 OBJECT * string, OBJECT * string1, int num );
|
/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 | 39 const char string1[] = "1"; variable 44 Curl_md5it(output, (const unsigned char *) string1, strlen(string1));
|
D | unit1610.c | 39 const char string1[] = "1"; variable 44 Curl_sha256it(output, (const unsigned char *) string1, strlen(string1));
|
D | unit1611.c | 39 const char string1[] = "1"; variable 44 Curl_md4it(output, (const unsigned char *) string1, strlen(string1));
|
D | unit1612.c | 41 const char string1[] = "1"; variable 48 (const unsigned char *) string1, strlen(string1),
|
/third_party/jerryscript/tests/unit-core/ |
D | test-context-data.c | 31 const char *string1 = "item1"; variable 37 *((const char **) user_data_p) = string1; in test_context_data1_new() 44 TEST_ASSERT ((*(const char **) user_data_p) == string1); in test_context_data1_free() 53 TEST_ASSERT ((*(const char **) user_data_p) == string1); in test_context_data1_finalize()
|
/third_party/boost/libs/compute/test/ |
D | test_set_intersection.cpp | 45 char string1[] = "abcccdddeeff"; in BOOST_AUTO_TEST_CASE() local 46 bc::vector<bc::char_> set1(string1, string1 + 12, queue); in BOOST_AUTO_TEST_CASE()
|
D | test_set_union.cpp | 46 char string1[] = "abcccdddeeff"; in BOOST_AUTO_TEST_CASE() local 47 bc::vector<bc::char_> set1(string1, string1 + 12, queue); in BOOST_AUTO_TEST_CASE()
|
D | test_set_difference.cpp | 45 char string1[] = "abcccdddeeff"; in BOOST_AUTO_TEST_CASE() local 46 bc::vector<bc::char_> set1(string1, string1 + 12, queue); in BOOST_AUTO_TEST_CASE()
|
D | test_set_symmetric_difference.cpp | 46 char string1[] = "abcccdddeeff"; in BOOST_AUTO_TEST_CASE() local 47 bc::vector<bc::char_> set1(string1, string1 + 12, queue); in BOOST_AUTO_TEST_CASE()
|
D | test_includes.cpp | 44 char string1[] = "abcccdddeeff"; in BOOST_AUTO_TEST_CASE() local 45 bc::vector<bc::char_> set1(string1, string1 + 12, queue); in BOOST_AUTO_TEST_CASE()
|
/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/boost/libs/interprocess/test/ |
D | string_test.cpp | 41 bool operator ()(const Str1 &string1, const Str2 &string2) const in operator ()() 43 if(string1.size() != string2.size()) in operator ()() 46 (string1.c_str(), string2.c_str(), (std::size_t)string1.size()) == 0; in operator ()()
|
/third_party/glib/glib/ |
D | gtestutils.c | 975 const gchar *string1, in g_test_log() argument 1000 if (string1[0] != 0) in g_test_log() 1001 g_print ("# Start of %s tests\n", string1); in g_test_log() 1012 if (string1[0] != 0) in g_test_log() 1013 g_print ("# End of %s tests\n", string1); in g_test_log() 1036 g_print ("%s %d %s", ok, test_run_count, string1); in g_test_log() 1059 g_print ("ok %d %s # SKIP\n", test_run_count, string1); in g_test_log() 1063 g_print ("# min perf: %s\n", string1); in g_test_log() 1065 g_print ("(MINPERF:%s)\n", string1); in g_test_log() 1069 g_print ("# max perf: %s\n", string1); in g_test_log() [all …]
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/ |
D | CollationKanaTest.java | 190 String string1 = new String(tmp1); in TestCommonCharacters() local 196 result = rb.compare(string1, string2); in TestCommonCharacters() 198 key1 = rb.getCollationKey(string1); in TestCommonCharacters()
|