Home
last modified time | relevance | path

Searched refs:pos (Results 1 – 7 of 7) sorted by relevance

/test/vts-testcase/kernel/loop/
Dvts_kernel_loopconfig_test.cpp57 auto pos = minCountStr.find("="); in TEST_F() local
58 ASSERT_NE(pos, std::string::npos); in TEST_F()
59 ASSERT_GE(minCountStr.length(), pos + 1); in TEST_F()
61 int minCountValue = std::stoi(minCountStr.substr(pos + 1)); in TEST_F()
/test/vts/utils/python/common/
Dfilter_utils.py99 pos = len(item)
102 pos = len(item) - len(const.SUFFIX_32BIT)
103 if item[pos - 1] == "_":
104 pos = pos - 1
106 result.append(item[:pos] + appendix + item[pos:])
/test/vts-testcase/kernel/api/qtaguid/
DSocketTagUserSpace.cpp165 std::size_t pos = std::string::npos; in checkTag() local
167 pos = ctrl_data.find(buff); in checkTag()
168 if (pos != std::string::npos) break; in checkTag()
170 return pos != std::string::npos; in checkTag()
188 std::size_t pos = std::string::npos; in checkStats() local
190 pos = stats_data.find(buff); in checkStats()
191 if (pos != std::string::npos) { in checkStats()
192 std::string match_data = stats_data.substr(pos); in checkStats()
195 return pos != std::string::npos; in checkStats()
198 return pos != std::string::npos; in checkStats()
/test/vts-testcase/vndk/golden/
Dextract_lsdump.py66 pos = tok.find('_', beg) + 1
67 return tok[:pos], tok[pos:]
/test/vts-testcase/security/avb/
DVtsSecurityAvbTest.cpp503 static size_t NextWord(const std::string &str, size_t *pos) { in NextWord() argument
505 size_t start = str.find_first_not_of(whitespaces, *pos); in NextWord()
509 *pos = str.find_first_of(whitespaces, start); in NextWord()
510 if (*pos == std::string::npos) { in NextWord()
511 *pos = str.size(); in NextWord()
/test/vts/compilation_tools/vtsc/
DVtsCompilerUtils.cpp619 const auto pos = component_name.find_last_of(" "); in GetComponentName() local
620 if (pos != std::string::npos) { in GetComponentName()
621 component_name = component_name.substr(pos + 1); in GetComponentName()
/test/vts/compilation_tools/vtsc/test/golden/DRIVER/
DBar.driver.cpp1164 size_t pre = 0; size_t pos = 0; in CallFunction() local
1167 while((pos=file_name.find_first_of('/', pre)) != string::npos){ in CallFunction()
1168 dir = file_name.substr(0, pos++); in CallFunction()
1169 pre = pos; in CallFunction()