Home
last modified time | relevance | path

Searched refs:sv (Results 1 – 2 of 2) sorted by relevance

/art/libartbase/base/
Dstring_view_cpp20.h30 inline bool StartsWith(std::string_view sv, std::string_view prefix) { in StartsWith() argument
31 return sv.substr(0u, prefix.size()) == prefix; in StartsWith()
34 inline bool EndsWith(std::string_view sv, std::string_view suffix) { in EndsWith() argument
35 return sv.size() >= suffix.size() && sv.substr(sv.size() - suffix.size()) == suffix; in EndsWith()
/art/test/461-get-reference-vreg/
Dget_reference_vreg_jni.cc29 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()