Home
last modified time | relevance | path

Searched refs:str3 (Results 1 – 25 of 59) sorted by relevance

123

/third_party/boost/libs/algorithm/string/test/
Dtrim_test.cpp28 string str3(" "); in trim_test() local
38 BOOST_CHECK( trim_left_copy( str3 )=="" ); in trim_test()
39 BOOST_CHECK( trim_right_copy( str3 )=="" ); in trim_test()
40 BOOST_CHECK( trim_copy( str3 )=="" ); in trim_test()
91 str3 = " "; trim_left( str3 ); in trim_test()
92 BOOST_CHECK( str3=="" ); in trim_test()
93 str3 = " "; trim_right( str3 ); in trim_test()
94 BOOST_CHECK( str3=="" ); in trim_test()
95 str3 = " "; trim( str3 ); in trim_test()
96 BOOST_CHECK( str3=="" ); in trim_test()
[all …]
Dconv_test.cpp28 string str3(""); in conv_test() local
65 BOOST_CHECK( to_lower_copy( str3 )=="" ); in conv_test()
66 BOOST_CHECK( to_upper_copy( str3 )=="" ); in conv_test()
81 to_lower( str3 ); in conv_test()
82 BOOST_CHECK( str3=="" ); in conv_test()
83 to_upper( str3 ); in conv_test()
84 BOOST_CHECK( str3=="" ); in conv_test()
Dpredicate_test.cpp31 string str3(""); in predicate_test() local
90 BOOST_CHECK( equals( str3, string("") ) ); in predicate_test()
Dfind_test.cpp32 string str3(""); in find_test() local
254 nc_result=find_first( str3, string("abcd") ); in find_test()
259 cv_result=find_first( const_cast<const string&>(str3), string("abcd") ); in find_test()
Dsplit_test.cpp46 string str3("xx"); in iterator_test() local
155 str3, in iterator_test()
/third_party/boost/libs/spirit/test/karma/
Drepeat1.cpp72 std::string str3("aaa"); in main() local
74 BOOST_TEST(test("aaa", repeat(val(3), val(5))[char_], str3)); in main()
75 BOOST_TEST(!test("aaa", repeat(val(4), val(5))[char_], str3)); in main()
77 BOOST_TEST(test("aaa", repeat(val(3), val(inf))[char_], str3)); in main()
79 BOOST_TEST(!test("aaa", repeat(val(4), val(inf))[char_], str3)); in main()
90 std::string str3("aaa"); in main() local
92 BOOST_TEST(test("aaa", repeat(3, 5)[char_], str3)); in main()
93 BOOST_TEST(!test("aaa", repeat(4, 5)[char_], str3)); in main()
95 BOOST_TEST(test("aaa", repeat(3, inf)[char_], str3)); in main()
97 BOOST_TEST(!test("aaa", repeat(4, inf)[char_], str3)); in main()
[all …]
/third_party/node/test/js-native-api/test_string/
Dtest.js35 const str3 = '?!@#$%^&*()_+-=[]{}/.,<>\'"\\'; constant
36 assert.strictEqual(test_string.TestLatin1(str3), str3);
37 assert.strictEqual(test_string.TestUtf8(str3), str3);
38 assert.strictEqual(test_string.TestUtf16(str3), str3);
39 assert.strictEqual(test_string.TestLatin1Insufficient(str3), str3.slice(0, 3));
40 assert.strictEqual(test_string.TestUtf8Insufficient(str3), str3.slice(0, 3));
41 assert.strictEqual(test_string.TestUtf16Insufficient(str3), str3.slice(0, 3));
42 assert.strictEqual(test_string.Utf16Length(str3), 27);
43 assert.strictEqual(test_string.Utf8Length(str3), 27);
/third_party/boost/libs/interprocess/test/
Dvectorstream_test.cpp68 std::string str1, str2, str3("testline:"); in vectorstream_test() local
84 if((str1 != str2) || (str1 != str3)){ in vectorstream_test()
97 std::string str1, str2, str3("testline:"); in vectorstream_test() local
114 if((str1 != str2) || (str1 != str3)){ in vectorstream_test()
127 std::string str1, str2, str3("testline:"); in vectorstream_test() local
140 if((str1 != str2) || (str1 != str3)){ in vectorstream_test()
Dbufferstream_test.cpp43 std::string str1, str2, str3("testline:"); in bufferstream_test() local
67 if((str1 != str2) || (str1 != str3)){ in bufferstream_test()
/third_party/musl/libc-test/src/functionalext/supplement/string/
Dwcscmp.c89 wchar_t str3[] = L"A"; in wcscmp_0500() local
90 if (wcscmp(str1, str3) >= 0) { in wcscmp_0500()
93 if (wcscmp(str3, str1) <= 0) { in wcscmp_0500()
/third_party/mesa3d/src/util/tests/string_buffer/
Dstring_buffer_test.cpp45 const char *str3; member in string_buffer
58 str3 = "test1test2"; in SetUp()
90 EXPECT_TRUE(strcmp(buf->buf, str3) == 0); in TEST_F()
/third_party/libxml2/
Derror.c459 const char *str2, const char *str3, int int1, int col, in __xmlRaiseError() argument
593 if (str3 != NULL) in __xmlRaiseError()
594 to->str3 = (char *) xmlStrdup((const xmlChar *) str3); in __xmlRaiseError()
887 if (err->str3 != NULL) in xmlResetError()
888 xmlFree(err->str3); in xmlResetError()
958 char *message, *file, *str1, *str2, *str3; in xmlCopyError() local
967 str3 = (char *) xmlStrdup ((xmlChar *) from->str3); in xmlCopyError()
977 if (to->str3 != NULL) in xmlCopyError()
978 xmlFree(to->str3); in xmlCopyError()
992 to->str3 = str3; in xmlCopyError()
/third_party/gettext/gnulib-local/lib/libxml/
Derror.c488 const char *str2, const char *str3, int int1, int col, in __xmlRaiseError() argument
622 if (str3 != NULL) in __xmlRaiseError()
623 to->str3 = (char *) xmlStrdup((const xmlChar *) str3); in __xmlRaiseError()
916 if (err->str3 != NULL) in xmlResetError()
917 xmlFree(err->str3); in xmlResetError()
987 char *message, *file, *str1, *str2, *str3; in xmlCopyError() local
996 str3 = (char *) xmlStrdup ((xmlChar *) from->str3); in xmlCopyError()
1006 if (to->str3 != NULL) in xmlCopyError()
1007 xmlFree(to->str3); in xmlCopyError()
1021 to->str3 = str3; in xmlCopyError()
/third_party/ltp/testcases/kernel/syscalls/fmtmsg/
Dfmtmsg01.c63 char *str3 = "LTP:fmtmsg: LTP_TEST: LTP fmtmsg() test2 message, NOT an error"; variable
169 fread(buf, sizeof(buf[0]), strlen(str3), fp); in main()
170 if (strcmp(str3, buf) != 0) { in main()
171 fprintf(temp, "Expected string: %s\n", str3); in main()
/third_party/jerryscript/tests/jerry/
Dstring-surrogates-concat.js18 var str3 = "\udc00"; variable
20 var str_concat = str2 + str3;
/third_party/boost/libs/algorithm/string/example/
Dtrim_example.cpp24 string str3("123abs343"); in main() local
42 << "\"" << trim_copy_if( str3, is_digit() ) << "\"" << endl; in main()
/third_party/boost/libs/convert/example/
Dgetting_serious.cpp34 std::string const str3 = "123"; in example1() local
75 int i3 = convert<int>(str3, cnv).value_or(fallback_value); in example1()
76 int i4 = convert<int>(str3, cnv).value_or_eval(fallback_function); in example1()
/third_party/python/Lib/test/
Dtest_userstring.py51 str3 = ustr3('TEST')
52 self.assertEqual(fmt2 % str3, 'value is TEST')
/third_party/mesa3d/src/util/tests/hash_table/
Dcollision.c46 const char *str3 = strdup("test3"); in main() local
61 _mesa_hash_table_insert_pre_hashed(ht, bad_hash, str3, NULL); in main()
/third_party/icu/icu4c/source/test/intltest/
Dincaltst.cpp458 UnicodeString str3; in TestBuddhistFormat() local
459 fmt.format(otherDate, str3); in TestBuddhistFormat()
460 …t of " + escape(expected) + " - wanted " + aDate + " but got " + otherDate + ", " + escape(str3)); in TestBuddhistFormat()
536 UnicodeString str3; in TestJapaneseFormat() local
539 fmt.format(otherDate, str3); in TestJapaneseFormat()
540 …cted + " - wanted " + aDate + " but got " + " = " + otherDate + ", " + str3 + " = " + CalendarT… in TestJapaneseFormat()
562 UnicodeString str3; in TestJapaneseFormat() local
565 fmti.format(otherDate, str3); in TestJapaneseFormat()
567 otherDate + ", " + str3 + " = " + CalendarTest::calToStr(*cal2) ); in TestJapaneseFormat()
914 UnicodeString str3; in TestPersianFormat() local
[all …]
Dtchcfmt.h51 double v3, const char* str3);
/third_party/boost/libs/test/test/writing-test-ts/
Dtest_tools-test.cpp403 char const* str3 = "1test1"; in TEST_CASE() local
404 BOOST_CHECK_EQUAL( str1, str3+1 ); in TEST_CASE()
811 std::string str3 = "test2"; in TEST_CASE() local
817 BOOST_TEST( str1 == str3 ); in TEST_CASE()
818 BOOST_TEST( str3 == str2 ); in TEST_CASE()
820 BOOST_TEST( str3 == str4 ); in TEST_CASE()
826 BOOST_TEST( str3 < str1 ); in TEST_CASE()
/third_party/icu/icu4c/source/test/iotest/
Dstream.cpp58 UnicodeString str3 = UNICODE_STRING_SIMPLE("2"); in TestStream() local
97 …outTestStream << str1 << "\x20\x20" << str2 << str3 << "\x31\x20" << UTF8_NEW_LINE << str4 << ends; in TestStream()
/third_party/icu/icu4c/source/test/cintltst/
Dulistfmttest.c38 static const UChar str3[] = { 0x44,0x64,0x64,0x64,0 }; /* "Dddd" */ variable
40 static const UChar* strings[] = { str0, str1, str2, str3, str4 };
/third_party/cJSON/tests/
Dmisc_tests.c591 char *str3 = NULL; in cjson_delete_item_from_array_should_not_broken_list_structure() local
611 str3 = cJSON_PrintUnformatted(root); in cjson_delete_item_from_array_should_not_broken_list_structure()
612 TEST_ASSERT_EQUAL_STRING(expected_json3, str3); in cjson_delete_item_from_array_should_not_broken_list_structure()
613 free(str3); in cjson_delete_item_from_array_should_not_broken_list_structure()

123