Searched refs:pos (Results 1 – 10 of 10) sorted by relevance
/test/vts-testcase/kernel/loop/ |
D | vts_kernel_loopconfig_test.cpp | 57 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/ |
D | filter_utils.py | 99 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/ |
D | filter_utils.py | 99 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/ |
D | SocketTagUserSpace.cpp | 165 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/ |
D | extract_lsdump.py | 86 pos = tok.find('_', beg) + 1 87 return tok[:pos], tok[pos:]
|
/test/vts-testcase/security/avb/ |
D | VtsSecurityAvbTest.cpp | 594 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/ |
D | VtsCompilerUtils.cpp | 620 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/ |
D | file_based_encryption_tests.cpp | 904 off_t pos = static_cast<off_t>(lblk_with_dun_0 - block_count_1) * in TestEmmcOptimizedDunWraparound() local 906 ASSERT_EQ(data_size, pwrite(fd, buf_mem.get(), data_size, pos)) in TestEmmcOptimizedDunWraparound()
|
/test/vts/compilation_tools/vtsc/test/golden/DRIVER/ |
D | Bar.driver.cpp | 1164 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()
|
/test/mlts/benchmark/results/ |
D | Chart.bundle.min.js | 10 …pos: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
|