Home
last modified time | relevance | path

Searched refs:GetCpuCountFromString (Results 1 – 3 of 3) sorted by relevance

/bionic/libc/private/
Dget_cpu_count_from_string.h33 static int GetCpuCountFromString(const char* s) { in GetCpuCountFromString() function
/bionic/libc/bionic/
Dsysinfo.cpp72 cpu_count = GetCpuCountFromString(line); in get_nprocs()
/bionic/tests/
Dunistd_test.cpp1090 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()