Home
last modified time | relevance | path

Searched refs:string1 (Results 1 – 25 of 63) sorted by relevance

123

/third_party/glib/glib/tests/
Dstring.c83 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/
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/glib/tests/
Dtestglib.c1445 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/
Dparse.cpp91 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()
Dparse.h62 OBJECT * string1; member
75 OBJECT * string, OBJECT * string1, int num );
/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.c39 const char string1[] = "1"; variable
44 Curl_md5it(output, (const unsigned char *) string1, strlen(string1));
Dunit1610.c39 const char string1[] = "1"; variable
44 Curl_sha256it(output, (const unsigned char *) string1, strlen(string1));
Dunit1611.c39 const char string1[] = "1"; variable
44 Curl_md4it(output, (const unsigned char *) string1, strlen(string1));
Dunit1612.c41 const char string1[] = "1"; variable
48 (const unsigned char *) string1, strlen(string1),
/third_party/jerryscript/tests/unit-core/
Dtest-context-data.c31 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/
Dtest_set_intersection.cpp45 char string1[] = "abcccdddeeff"; in BOOST_AUTO_TEST_CASE() local
46 bc::vector<bc::char_> set1(string1, string1 + 12, queue); in BOOST_AUTO_TEST_CASE()
Dtest_set_union.cpp46 char string1[] = "abcccdddeeff"; in BOOST_AUTO_TEST_CASE() local
47 bc::vector<bc::char_> set1(string1, string1 + 12, queue); in BOOST_AUTO_TEST_CASE()
Dtest_set_difference.cpp45 char string1[] = "abcccdddeeff"; in BOOST_AUTO_TEST_CASE() local
46 bc::vector<bc::char_> set1(string1, string1 + 12, queue); in BOOST_AUTO_TEST_CASE()
Dtest_set_symmetric_difference.cpp46 char string1[] = "abcccdddeeff"; in BOOST_AUTO_TEST_CASE() local
47 bc::vector<bc::char_> set1(string1, string1 + 12, queue); in BOOST_AUTO_TEST_CASE()
Dtest_includes.cpp44 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/
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/boost/libs/interprocess/test/
Dstring_test.cpp41 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/
Dgtestutils.c975 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/
DCollationKanaTest.java190 String string1 = new String(tmp1); in TestCommonCharacters() local
196 result = rb.compare(string1, string2); in TestCommonCharacters()
198 key1 = rb.getCollationKey(string1); in TestCommonCharacters()

123