Searched refs:sv (Results 1 – 8 of 8) sorted by relevance
/art/libartbase/base/ |
D | string_view_cpp20.h | 27 inline bool StartsWith(std::string_view sv, std::string_view prefix) { in StartsWith() argument 29 return sv.substr(0u, prefix.size()) == prefix; in StartsWith() 31 return sv.starts_with(prefix); in StartsWith() 35 inline bool EndsWith(std::string_view sv, std::string_view suffix) { in EndsWith() argument 37 return sv.size() >= suffix.size() && sv.substr(sv.size() - suffix.size()) == suffix; in EndsWith() 39 return sv.ends_with(suffix); in EndsWith()
|
D | stl_util.h | 331 SplitStringIter(size_t index, char split, std::string_view sv) in SplitStringIter() 332 : cur_index_(index), split_on_(split), sv_(sv) {} in SplitStringIter() 374 inline IterationRange<SplitStringIter> SplitString(std::string_view sv, char target) { in SplitString() argument 375 return MakeIterationRange(SplitStringIter(0, target, sv), in SplitString() 376 SplitStringIter(std::string_view::npos, target, sv)); in SplitString()
|
D | utils_test.cc | 46 void Split(const char* arr, char s, std::vector<std::string_view>* sv) { in Split() argument 47 Split<std::string_view>(std::string_view(arr), s, sv); in Split()
|
/art/test/461-get-reference-vreg/ |
D | get_reference_vreg_jni.cc | 29 bool IsFrameCompiledAndNonDebuggable(const art::StackVisitor* sv) { in IsFrameCompiledAndNonDebuggable() argument 30 return sv->GetCurrentShadowFrame() == nullptr && in IsFrameCompiledAndNonDebuggable() 31 sv->GetCurrentOatQuickMethodHeader()->IsOptimized() && in IsFrameCompiledAndNonDebuggable() 35 void CheckOptimizedOutRegLiveness(const art::StackVisitor* sv, in CheckOptimizedOutRegLiveness() argument 42 if (IsFrameCompiledAndNonDebuggable(sv)) { in CheckOptimizedOutRegLiveness() 43 CHECK_EQ(sv->GetVReg(m, dex_reg, vreg_kind, &value), false); in CheckOptimizedOutRegLiveness() 45 CHECK(sv->GetVReg(m, dex_reg, vreg_kind, &value)); in CheckOptimizedOutRegLiveness()
|
/art/cmdline/ |
D | cmdline_parser.h | 173 ArgumentBuilder<TArg>& WithMetavar(const char* sv) { in WithMetavar() 174 argument_info_.metavar_ = sv; in WithMetavar() 178 ArgumentBuilder<TArg>& WithHelp(const char* sv) { in WithHelp() 179 argument_info_.help_ = sv; in WithHelp() 338 UntypedArgumentBuilder& WithHelp(const char* sv) { in WithHelp() 339 SetHelp(sv); in WithHelp() 343 UntypedArgumentBuilder& WithCategory(const char* sv) { in WithCategory() 344 SetCategory(sv); in WithCategory() 348 UntypedArgumentBuilder& WithMetavar(const char* sv) { in WithMetavar() 349 SetMetavar(sv); in WithMetavar() [all …]
|
/art/odrefresh/ |
D | odr_fs_utils.cc | 100 struct statvfs sv; in GetFreeSpace() local 101 if (statvfs(path.c_str(), &sv) != 0) { in GetFreeSpace() 105 *bytes = sv.f_bfree * sv.f_bsize; in GetFreeSpace()
|
/art/compiler/optimizing/ |
D | reference_type_propagation_test.cc | 321 auto succ_blocks = MakeTransformRange(range, [&](const auto& sv) { return alg.Get(sv); }); in RunVisitListTest() argument 413 MakeTransformRange(succ_blk_names, [&](const auto& sv) { return alg.Get(sv); }); in RunVisitListTest() argument
|
D | optimizing_unit_test.h | 183 HBasicBlock* Get(const std::string_view& sv) const { in Get() argument 184 return name_to_block_.Get(sv); in Get()
|