Searched refs:cache_str (Results 1 – 3 of 3) sorted by relevance
/external/linux-kselftest/tools/testing/selftests/resctrl/ |
D | resctrlfs.c | 143 char cache_path[1024], cache_str[64]; in get_cache_size() local 164 if (fscanf(fp, "%s", cache_str) <= 0) { in get_cache_size() 172 length = (int)strlen(cache_str); in get_cache_size() 177 if ((cache_str[i] >= '0') && (cache_str[i] <= '9')) in get_cache_size() 179 *cache_size = *cache_size * 10 + (cache_str[i] - '0'); in get_cache_size() 181 else if (cache_str[i] == 'K') in get_cache_size() 185 else if (cache_str[i] == 'M') in get_cache_size()
|
/external/fmtlib/test/ |
D | format-impl-test.cc | 229 auto cache_str = fmt::format("{}", cache); in TEST() local 230 EXPECT_EQ(exact_str.size(), cache_str.size()); in TEST() 231 EXPECT_EQ(exact_str.substr(0, 15), cache_str.substr(0, 15)); in TEST() 232 int diff = cache_str[15] - exact_str[15]; in TEST() 244 auto cache_str = fmt::format("{}", cache); in TEST() local 245 EXPECT_EQ(exact_str.size(), cache_str.size()); in TEST() 246 EXPECT_EQ(exact_str.substr(0, 16), cache_str.substr(0, 16)); in TEST()
|
/external/python/cpython2/Objects/ |
D | typeobject.c | 5022 static PyObject *cache_str; \ 5023 return call_method(self, OPSTR, &cache_str, "()"); \ 5030 static PyObject *cache_str; \ 5031 return call_method(self, OPSTR, &cache_str, "(" ARGCODES ")", arg1); \ 5073 static PyObject *cache_str, *rcache_str; \ 5091 self, OPSTR, &cache_str, "(O)", other); \ 5112 static PyObject *cache_str; \ 5113 return call_method(self, OPSTR, &cache_str, \ 5454 static PyObject *cache_str; local 5455 return call_method(self, "__ipow__", &cache_str, "(" "O" ")", arg1);
|