Searched refs:ParseZramStat (Results 1 – 3 of 3) sorted by relevance
398 TEST_F(SystemMetricsTest, ParseZramStat) { in TEST_F() argument404 EXPECT_FALSE(ParseZramStat(invalid_input1, &swapinfo)); in TEST_F()405 EXPECT_FALSE(ParseZramStat(invalid_input2, &swapinfo)); in TEST_F()406 EXPECT_FALSE(ParseZramStat(invalid_input3, &swapinfo)); in TEST_F()410 EXPECT_TRUE(ParseZramStat(valid_input1, &swapinfo)); in TEST_F()
470 BASE_EXPORT bool ParseZramStat(StringPiece stat_data, SwapInfo* swap_info);
852 bool ParseZramStat(StringPiece stat_data, SwapInfo* swap_info) { in ParseZramStat() function946 if (!ParseZramStat(stat_data, swap_info)) { in GetSwapInfoImpl()