Searched refs:iValue (Results 1 - 3 of 3) sorted by relevance
/commonlibrary/c_utils/base/test/benchmarktest/string_benchmark_test/ |
H A D | string_benchmark_test.cpp | 511 int iValue = 0; in BENCHMARK_F() local 512 bool result = StrToInt(strValue, iValue); in BENCHMARK_F() 514 AssertEqual(iValue, STRTOINT01_INT_VALUE, "iValue did not equal 12345 as expected.", state); in BENCHMARK_F() 517 result = StrToInt(strValue, iValue); in BENCHMARK_F() 528 int iValue = 0; in BENCHMARK_F() local 529 bool result = StrToInt(strValue, iValue); in BENCHMARK_F() 531 AssertEqual(iValue, STRTOINT02_INT_VALUE, "iValue did not equal -12345 as expected.", state); in BENCHMARK_F() 534 result = StrToInt(strValue, iValue); in BENCHMARK_F() 561 int iValue = 0; BENCHMARK_F() local [all...] |
/commonlibrary/c_utils/base/test/unittest/common/ |
H A D | utils_string_test.cpp | 428 int iValue = 0; in HWTEST_F() local 429 bool result = StrToInt(strValue, iValue); in HWTEST_F() 431 EXPECT_EQ(iValue, 12345); in HWTEST_F() 434 result = StrToInt(strValue, iValue); in HWTEST_F() 441 int iValue = 0; in HWTEST_F() local 442 bool result = StrToInt(strValue, iValue); in HWTEST_F() 444 EXPECT_EQ(iValue, -12345); in HWTEST_F() 447 result = StrToInt(strValue, iValue); in HWTEST_F() 451 result = StrToInt(strvalue2, iValue); in HWTEST_F() 466 int iValue in HWTEST_F() local [all...] |
/commonlibrary/c_utils/base/include/ |
H A D | string_ex.h | 108 * @param iValue Indicates the input data. 112 inline std::string ToString(T iValue) in ToString() argument 114 return std::to_string(iValue); in ToString()
|
Completed in 3 milliseconds