Home
last modified time | relevance | path

Searched refs:pos (Results 1 – 10 of 10) 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-testcase/kernel/ltp/testcase/tools/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/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.py87 pos = tok.find('_', beg) + 1
88 return tok[:pos], tok[pos:]
/test/vts-testcase/security/avb/
DVtsSecurityAvbTest.cpp594 static size_t NextWord(const std::string &str, size_t *pos) { in NextWord() argument
596 size_t start = str.find_first_not_of(whitespaces, *pos); in NextWord()
600 *pos = str.find_first_of(whitespaces, start); in NextWord()
601 if (*pos == std::string::npos) { in NextWord()
602 *pos = str.size(); in NextWord()
/test/vts/compilation_tools/vtsc/
DVtsCompilerUtils.cpp620 const auto pos = component_name.find_last_of(" "); in GetComponentName() local
621 if (pos != std::string::npos) { in GetComponentName()
622 component_name = component_name.substr(pos + 1); in GetComponentName()
/test/vts-testcase/kernel/encryption/
Dfile_based_encryption_tests.cpp896 off_t pos = static_cast<off_t>(lblk_with_dun_0 - block_count_1) * in TestEmmcOptimizedDunWraparound() local
898 ASSERT_EQ(data_size, pwrite(fd, buf_mem.get(), data_size, pos)) in TestEmmcOptimizedDunWraparound()
/test/vts/compilation_tools/vtsc/test/golden/DRIVER/
DBar.driver.cpp1165 size_t pre = 0; size_t pos = 0; in CallFunction() local
1168 while((pos=file_name.find_first_of('/', pre)) != string::npos){ in CallFunction()
1169 dir = file_name.substr(0, pos++); in CallFunction()
1170 pre = pos; in CallFunction()
/test/mlts/benchmark/results/
DChart.bundle.min.js10pos:0},{time:i,pos:1}];var a,r,o,s,l,u=[],d=[e];for(a=0,r=t.length;a<r;++a)(s=t[a])>e&&s<i&&d.push… property