Home
last modified time | relevance | path

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

/commonlibrary/c_utils/base/test/benchmarktest/string_benchmark_test/
H A Dstring_benchmark_test.cpp606 string str8Value = "hello world!"; in BENCHMARK_F() local
608 u16string str16Value = Str8ToStr16(str8Value); in BENCHMARK_F()
632 string str8Value = "1234567890!@#$%^&*()."; in BENCHMARK_F() local
634 u16string str16Value = Str8ToStr16(str8Value); in BENCHMARK_F()
639 AssertEqual(COMPARE_STRING_RESULT, str8Result.compare(str8Value), in BENCHMARK_F()
640 "str8Result.compare(str8Value) did not equal 0 as expected.", state); in BENCHMARK_F()
649 string str8Value = "1234567890!@#$%^&*().qazxswedcvfr,./;']["; in BENCHMARK_F() local
651 u16string str16Value = Str8ToStr16(str8Value); in BENCHMARK_F()
656 AssertEqual(COMPARE_STRING_RESULT, str8Result.compare(str8Value), in BENCHMARK_F()
657 "str8Result.compare(str8Value) di in BENCHMARK_F()
[all...]
/commonlibrary/c_utils/base/test/unittest/common/
H A Dutils_string_test.cpp498 string str8Value = "hello world!"; in HWTEST_F() local
500 u16string str16Value = Str8ToStr16(str8Value); in HWTEST_F()
517 string str8Value = "1234567890!@#$%^&*()."; in HWTEST_F() local
519 u16string str16Value = Str8ToStr16(str8Value); in HWTEST_F()
523 EXPECT_EQ(0, str8Result.compare(str8Value)); in HWTEST_F()
528 string str8Value = "1234567890!@#$%^&*().qazxswedcvfr,./;']["; in HWTEST_F() local
530 u16string str16Value = Str8ToStr16(str8Value); in HWTEST_F()
534 EXPECT_EQ(0, str8Result.compare(str8Value)); in HWTEST_F()
/commonlibrary/c_utils/base/src/
H A Dstring_ex.cpp271 string str8Value; in Str16ToStr8() local
272 if (!String16ToString8(str16, str8Value)) { in Str16ToStr8()
276 return str8Value; in Str16ToStr8()

Completed in 4 milliseconds