Searched refs:GetCpuCountFromString (Results 1 – 3 of 3) sorted by relevance
33 static int GetCpuCountFromString(const char* s) { in GetCpuCountFromString() function
72 cpu_count = GetCpuCountFromString(line); in get_nprocs()
1090 ASSERT_EQ(0, GetCpuCountFromString(" ")); in TEST()1091 ASSERT_EQ(1, GetCpuCountFromString("0")); in TEST()1092 ASSERT_EQ(40, GetCpuCountFromString("0-39")); in TEST()1093 ASSERT_EQ(4, GetCpuCountFromString("0, 1-2, 4\n")); in TEST()