Searched refs:ZERO_VALUE (Results 1 - 4 of 4) sorted by relevance
/foundation/ability/form_fwk/services/src/ |
H A D | form_util.cpp | 40 constexpr int ZERO_VALUE = 0; member 260 if (strLength == ZERO_VALUE) { in ConvertStringToInt64() 261 int64Value = ZERO_VALUE; in ConvertStringToInt64() 268 if (strInfo.substr(ZERO_VALUE, ZERO_VALUE + 1) != "-") { // maximum: 9223372036854775807 in ConvertStringToInt64() 273 int maxSubValue = std::stoi(strInfo.substr(ZERO_VALUE, ZERO_VALUE + 1)); in ConvertStringToInt64() 279 int64_t subValue = std::stoll(strInfo.substr(ZERO_VALUE + 1, INT_64_LENGTH - 1)); in ConvertStringToInt64() 298 int64_t subValue = std::stoll(strInfo.substr(ZERO_VALUE + 2, INT_64_LENGTH - 1)); in ConvertStringToInt64()
|
/foundation/ability/form_fwk/frameworks/js/napi/formUtil/ |
H A D | napi_form_util.cpp | 40 constexpr int ZERO_VALUE = 0; member 247 if (strLength == ZERO_VALUE) { in ConvertStringToInt64() 248 int64Value = ZERO_VALUE; in ConvertStringToInt64() 255 if (strInfo.substr(ZERO_VALUE, ZERO_VALUE + 1) != "-") { // maximum: 9223372036854775807 in ConvertStringToInt64() 260 int maxSubValue = std::stoi(strInfo.substr(ZERO_VALUE, ZERO_VALUE + 1)); in ConvertStringToInt64() 266 int64_t subValue = std::stoll(strInfo.substr(ZERO_VALUE + 1, INT_64_LENGTH - 1)); in ConvertStringToInt64() 285 int64_t subValue = std::stoll(strInfo.substr(ZERO_VALUE + 2, INT_64_LENGTH - 1)); in ConvertStringToInt64()
|
/foundation/communication/netmanager_ext/test/vpnmanager/unittest/conn_vpn_manager_test/ |
H A D | net_conn_service_test.cpp | 50 const int32_t ZERO_VALUE = 0; member 857 EXPECT_EQ(ret, ZERO_VALUE); in HWTEST_F()
|
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_manager_test/ |
H A D | net_conn_service_test.cpp | 51 const int32_t ZERO_VALUE = 0; member 858 EXPECT_EQ(ret, ZERO_VALUE); in HWTEST_F()
|
Completed in 8 milliseconds