Searched refs:IsDigits (Results 1 – 9 of 9) sorted by relevance
| /developtools/profiler/device/plugins/native_daemon/test/unittest/common/native/ |
| D | utilities_test.cpp | 347 HWTEST_F(UtilitiesTest, IsDigits, TestSize.Level1) 349 EXPECT_EQ(IsDigits(""), false); 350 EXPECT_EQ(IsDigits("1"), true); 351 EXPECT_EQ(IsDigits("12"), true); 352 EXPECT_EQ(IsDigits("1a"), false); 353 EXPECT_EQ(IsDigits("a1"), false); 354 EXPECT_EQ(IsDigits("1a2"), false); 355 EXPECT_EQ(IsDigits("a1b"), false); 356 EXPECT_EQ(IsDigits("_1"), false); 357 EXPECT_EQ(IsDigits("1_"), false);
|
| /developtools/hiperf/test/unittest/common/native/ |
| D | utilities_test.cpp | 342 HWTEST_F(UtilitiesTest, IsDigits, TestSize.Level1) 344 EXPECT_EQ(IsDigits(""), false); 345 EXPECT_EQ(IsDigits("1"), true); 346 EXPECT_EQ(IsDigits("12"), true); 347 EXPECT_EQ(IsDigits("1a"), false); 348 EXPECT_EQ(IsDigits("a1"), false); 349 EXPECT_EQ(IsDigits("1a2"), false); 350 EXPECT_EQ(IsDigits("a1b"), false); 351 EXPECT_EQ(IsDigits("_1"), false); 352 EXPECT_EQ(IsDigits("1_"), false);
|
| D | subcommand_stat_test.cpp | 159 (IsDigits(tokens[0]) || std::regex_match(tokens[0], pattern))) { in EffectiveCounter() 184 if (tokens.size() > sizeLimit and IsDigits(tokens[0])) { in CounterValue()
|
| /developtools/hiperf/src/ |
| D | utilities.cpp | 214 bool IsDigits(const std::string &str) in IsDigits() function 585 if (!IsDigits(subDir)) { in CollectPidsByAppname() 631 if (!IsDigits(subDir)) { in GetAppPackagePid()
|
| D | subcommand_report.cpp | 125 if (!IsDigits(number) or number.front() == '-') { in VerifyDisplayOption() 132 if (!IsDigits(number) or number.front() == '-') { in VerifyDisplayOption()
|
| D | subcommand_record.cpp | 1809 if (!IsDigits(subDir)) { in SetHM()
|
| /developtools/profiler/device/plugins/native_daemon/include/ |
| D | utilities.h | 180 bool IsDigits(const std::string &str);
|
| /developtools/hiperf/include/ |
| D | utilities.h | 182 bool IsDigits(const std::string &str);
|
| /developtools/profiler/device/plugins/native_daemon/src/ |
| D | utilities.cpp | 158 bool IsDigits(const std::string &str) in IsDigits() function
|