/external/libcxx/test/std/strings/basic.string/string.cons/ |
T_size_size.pass.cpp | 28 template <class S, class SV> 30 test(SV sv, std::size_t pos, std::size_t n) 35 if (pos <= sv.size()) 37 S s2(sv, static_cast<Size>(pos), static_cast<Size>(n)); 39 assert(pos <= sv.size()); 40 std::size_t rlen = std::min(sv.size() - pos, n); 42 assert(T::compare(s2.data(), sv.data() + pos, rlen) == 0); 51 S s2(sv, static_cast<Size>(pos), static_cast<Size>(n)); 56 assert(pos > sv.size()) 163 SV sv = "EFGH"; local [all...] |
/external/libcxx/test/std/strings/basic.string/string.modifiers/string_replace/ |
iter_iter_string_view.pass.cpp | 13 // replace(const_iterator i1, const_iterator i2, basic_string_view<charT,traits> sv); 22 template <class S, class SV> 24 test(S s, typename S::size_type pos1, typename S::size_type n1, SV sv, S expected) 30 s.replace(first, last, sv); 33 typename S::size_type rlen = sv.size(); 37 template <class S, class SV> 40 test(S(""), 0, 0, SV(""), S("")); 41 test(S(""), 0, 0, SV("12345"), S("12345")); 42 test(S(""), 0, 0, SV("1234567890"), S("1234567890")) [all...] |
size_size_string_view.pass.cpp | 13 // replace(size_type pos1, size_type n1, basic_string_view<charT,traits> sv); 23 template <class S, class SV> 25 test(S s, typename S::size_type pos1, typename S::size_type n1, SV sv, S expected) 31 s.replace(pos1, n1, sv); 35 typename S::size_type rlen = sv.size(); 43 s.replace(pos1, n1, sv); 55 template <class S, class SV> 58 test(S(""), 0, 0, SV(""), S("")); 59 test(S(""), 0, 0, SV("12345"), S("12345")) [all...] |
size_size_T_size_size.pass.cpp | 26 template <class S, class SV> 29 SV sv, typename S::size_type pos2, typename S::size_type n2, 33 static_assert((!std::is_same<S, SV>::value), ""); 37 static_assert(sizeof(SizeT) == sizeof(typename SV::size_type), ""); 41 if (pos1 <= old_size && pos2 <= sv.size()) 43 s.replace(pos1, n1, sv, pos2, n2); 47 SizeT rlen = std::min<SizeT>(n2, sv.size() - pos2); 55 s.replace(pos1, n1, sv, pos2, n2); 60 assert(pos1 > old_size || pos2 > sv.size()) 6002 SV sv = "EFGH"; local [all...] |
/external/libcxx/test/std/strings/string.view/string.view.ops/ |
compare.size_size_sv_pointer_size.pass.cpp | [all...] |
compare.size_size_sv_size_size.pass.cpp | [all...] |
/external/llvm/lib/Target/Hexagon/ |
BitTracker.cpp | 119 const BT::BitValue &SV = RC[Start]; 122 if (!IsRef && V == SV) 124 if (IsRef && SV.Type == BT::BitValue::Ref && V.RefI.Reg == SV.RefI.Reg) { 126 SeqRef = (V.RefI.Pos == SV.RefI.Pos+1); 127 ConstRef = (V.RefI.Pos == SV.RefI.Pos); 129 if (SeqRef && V.RefI.Pos == SV.RefI.Pos+(i-Start)) 131 if (ConstRef && V.RefI.Pos == SV.RefI.Pos) 140 OS << "]:" << SV; 143 if (SV.Type == BT::BitValue::Ref && SeqRef [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/ |
BitTracker.cpp | 129 const BT::BitValue &SV = RC[Start]; 132 if (!IsRef && V == SV) 134 if (IsRef && SV.Type == BT::BitValue::Ref && V.RefI.Reg == SV.RefI.Reg) { 136 SeqRef = (V.RefI.Pos == SV.RefI.Pos+1); 137 ConstRef = (V.RefI.Pos == SV.RefI.Pos); 139 if (SeqRef && V.RefI.Pos == SV.RefI.Pos+(i-Start)) 141 if (ConstRef && V.RefI.Pos == SV.RefI.Pos) 150 OS << "]:" << SV; 153 if (SV.Type == BT::BitValue::Ref && SeqRef [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
SimpleConstraintManager.cpp | 131 nonloc::SymbolVal SV = Cond.castAs<nonloc::SymbolVal>(); 132 SymbolRef sym = SV.getSymbol(); 136 if (!SV.isExpression()) {
|
PathDiagnostic.cpp | [all...] |
/external/libcxx/test/std/strings/basic.string/string.modifiers/string_insert/ |
size_T_size_size.pass.cpp | 24 template <class S, class SV> 26 test(S s, typename S::size_type pos1, SV sv, typename S::size_type pos2, 29 static_assert((!std::is_same<S, SV>::value), ""); 32 if (pos1 <= old_size && pos2 <= sv.size()) 34 s.insert(pos1, sv, pos2, n); 43 s.insert(pos1, sv, pos2, n); 48 assert(pos1 > old_size || pos2 > sv.size()); 55 template <class S, class SV> 57 test_npos(S s, typename S::size_type pos1, SV sv, typename S::size_type pos2, S expected 1811 SV sv = "EFGH"; local [all...] |
/external/libcxx/test/std/strings/basic.string/string.ops/string_compare/ |
size_size_T_size_size.pass.cpp | 35 template <class S, class SV> 38 SV sv, typename S::size_type pos2, typename S::size_type n2, int x) 40 static_assert((!std::is_same<S, SV>::value), ""); 41 if (pos1 <= s.size() && pos2 <= sv.size()) 42 assert(sign(s.compare(pos1, n1, sv, pos2, n2)) == sign(x)); 48 TEST_IGNORE_NODISCARD s.compare(pos1, n1, sv, pos2, n2); 53 assert(pos1 > s.size() || pos2 > sv.size()); 59 template <class S, class SV> 62 SV sv, typename S::size_type pos2, int x 5972 SV sv = "CDEF"; local [all...] |
/external/llvm/lib/Target/WebAssembly/ |
WebAssemblyISelLowering.cpp | 680 const Value *SV = cast<SrcValueSDNode>(Op.getOperand(2))->getValue(); 685 MachinePointerInfo(SV), false, false, 0);
|
/external/clang/lib/Analysis/ |
UninitializedValues.cpp | 614 unsigned &SV = SuccsVisited[Pred->getBlockID()]; 615 if (!SV) { 622 ++SV; 625 if (++SV == Pred->succ_size())
|
/external/llvm/lib/Transforms/Scalar/ |
Scalarizer.cpp | 306 ValueVector &SV = Scattered[Op]; 307 if (!SV.empty()) { 308 for (unsigned I = 0, E = SV.size(); I != E; ++I) { 309 Value *V = SV[I]; 319 SV = CV; 320 Gathered.push_back(GatherList::value_type(Op, &SV));
|
/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/ |
MBlazeISelLowering.cpp | 643 const Value *SV = cast<SrcValueSDNode>(Op.getOperand(2))->getValue(); 645 MachinePointerInfo(SV), [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARC/ |
ARCISelLowering.cpp | 743 const Value *SV = cast<SrcValueSDNode>(Op.getOperand(2))->getValue(); 745 MachinePointerInfo(SV));
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/ |
WebAssemblyISelLowering.cpp | [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
Scalarizer.cpp | 340 ValueVector &SV = Scattered[Op]; 341 if (!SV.empty()) { 342 for (unsigned I = 0, E = SV.size(); I != E; ++I) { 343 Value *V = SV[I]; 353 SV = CV; 354 Gathered.push_back(GatherList::value_type(Op, &SV));
|
/external/clang/lib/Lex/ |
Pragma.cpp | [all...] |
/external/llvm/lib/IR/ |
AutoUpgrade.cpp | [all...] |
/external/llvm/lib/Target/Lanai/ |
LanaiISelLowering.cpp | [all...] |
/external/llvm/lib/Target/MSP430/ |
MSP430ISelLowering.cpp | [all...] |
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
InlineSpiller.cpp | 368 SibValueInfo &SV = SVI->second; 369 if (!SV.SpillMBB) 370 SV.SpillMBB = LIS.getMBBFromIndex(SV.SpillVNI->def); 373 << SVI->first->id << '@' << SVI->first->def << ":\t" << SV); 375 assert(SV.hasDef() && "Propagating undefined value"); 379 bool PropSpill = !DisableHoisting && !isRegToSpill(SV.SpillReg); 395 DepSV.DefMI = SV.DefMI; 396 DepSV.DefByOrigPHI = SV.DefByOrigPHI; 401 if (!SV.AllDefsAreReloads && DepSV.AllDefsAreReloads) [all...] |
/external/swiftshader/third_party/LLVM/lib/Target/Sparc/ |
SparcISelLowering.cpp | [all...] |