Home
last modified time | relevance | path

Searched refs:IsDigits (Results 1 – 9 of 9) sorted by relevance

/developtools/profiler/device/plugins/native_daemon/test/unittest/common/native/
Dutilities_test.cpp347 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/
Dutilities_test.cpp342 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);
Dsubcommand_stat_test.cpp159 (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/
Dutilities.cpp214 bool IsDigits(const std::string &str) in IsDigits() function
585 if (!IsDigits(subDir)) { in CollectPidsByAppname()
631 if (!IsDigits(subDir)) { in GetAppPackagePid()
Dsubcommand_report.cpp125 if (!IsDigits(number) or number.front() == '-') { in VerifyDisplayOption()
132 if (!IsDigits(number) or number.front() == '-') { in VerifyDisplayOption()
Dsubcommand_record.cpp1809 if (!IsDigits(subDir)) { in SetHM()
/developtools/profiler/device/plugins/native_daemon/include/
Dutilities.h180 bool IsDigits(const std::string &str);
/developtools/hiperf/include/
Dutilities.h182 bool IsDigits(const std::string &str);
/developtools/profiler/device/plugins/native_daemon/src/
Dutilities.cpp158 bool IsDigits(const std::string &str) in IsDigits() function