Home
last modified time | relevance | path

Searched refs:str16Value (Results 1 - 3 of 3) sorted by relevance

/commonlibrary/c_utils/base/test/unittest/common/
H A Dutils_string_test.cpp500 u16string str16Value = Str8ToStr16(str8Value); in HWTEST_F() local
501 EXPECT_EQ(0, str16Result.compare(str16Value)); in HWTEST_F()
505 str16Value = Str8ToStr16(str8Result); in HWTEST_F()
506 EXPECT_EQ(0, str16Result.compare(str16Value)); in HWTEST_F()
511 str16Value = Str8ToStr16(str8Result); in HWTEST_F()
512 EXPECT_EQ(0, str16Result.compare(str16Value)); in HWTEST_F()
519 u16string str16Value = Str8ToStr16(str8Value); in HWTEST_F() local
520 EXPECT_EQ(0, str16Result.compare(str16Value)); in HWTEST_F()
522 string str8Result = Str16ToStr8(str16Value); in HWTEST_F()
530 u16string str16Value in HWTEST_F() local
539 u16string str16Value = u"你好"; HWTEST_F() local
553 u16string str16Value = u"某某技术有限公司"; HWTEST_F() local
567 u16string str16Value = u"hello world!"; HWTEST_F() local
581 u16string str16Value = u"1234567890!@#$%^&*()."; HWTEST_F() local
[all...]
/commonlibrary/c_utils/base/test/benchmarktest/string_benchmark_test/
H A Dstring_benchmark_test.cpp608 u16string str16Value = Str8ToStr16(str8Value); in BENCHMARK_F() local
609 AssertEqual(COMPARE_STRING_RESULT, str16Result.compare(str16Value), in BENCHMARK_F()
610 "str16Result.compare(str16Value) did not equal 0 as expected.", state); in BENCHMARK_F()
614 str16Value = Str8ToStr16(str8Result); in BENCHMARK_F()
615 AssertEqual(COMPARE_STRING_RESULT, str16Result.compare(str16Value), in BENCHMARK_F()
616 "str16Result.compare(str16Value) did not equal 0 as expected.", state); in BENCHMARK_F()
621 str16Value = Str8ToStr16(str8Result); in BENCHMARK_F()
622 AssertEqual(COMPARE_STRING_RESULT, str16Result.compare(str16Value), in BENCHMARK_F()
623 "str16Result.compare(str16Value) did not equal 0 as expected.", state); in BENCHMARK_F()
634 u16string str16Value in BENCHMARK_F() local
651 u16string str16Value = Str8ToStr16(str8Value); BENCHMARK_F() local
[all...]
/commonlibrary/c_utils/base/src/
H A Dstring_ex.cpp261 u16string str16Value; in Str8ToStr16() local
262 if (!String8ToString16(str, str16Value)) { in Str8ToStr16()
266 return str16Value; in Str8ToStr16()

Completed in 3 milliseconds