Home
last modified time | relevance | path

Searched refs:Rest (Results 1 – 25 of 72) sorted by relevance

123

/external/catch2/include/internal/
Dcatch_type_traits.hpp20 template <typename T, typename... Rest>
21 inline constexpr auto is_unique<T, Rest...> = std::bool_constant<
22 (!std::is_same_v<T, Rest> && ...) && is_unique<Rest...>
29 template <typename T0, typename T1, typename... Rest>
30 struct is_unique<T0, T1, Rest...> : std::integral_constant
33 && is_unique<T0, Rest...>::value
34 && is_unique<T1, Rest...>::value
Dcatch_meta.hpp34 , typename...Rest
36 struct append< L1<E1...>, L2<E2...>, Rest...> {
37 using type = typename append< L1<E1..., E2...>, Rest... >::type;
/external/clang/test/CXX/temp/temp.arg/temp.arg.template/
Dp3-0x.cpp5 template <template <class, class...> class TT, class T1, class... Rest>
6 struct eval<TT<T1, Rest...>> { };
21 template<int I, int J, int ...Rest> struct X0a;
22 template<int ...Rest> struct X0b;
32 template<int I, int J, int ...Rest> struct X1a;
33 template<long I, long ...Rest> struct X1b;
/external/clang/test/CXX/temp/temp.decls/temp.variadic/
Dpartial-ordering.cpp34 template<typename T1, typename T2, typename ...Rest>
35 int &f0(T1, T2, Rest...);
45 template<typename T1, typename T2, typename ...Rest>
46 int &f1(T1, T2, Rest...);
55 template<typename T1, typename T2, typename ...Rest>
56 int &f2(T1, T2, Rest...);
Dmetafunctions.cpp98 template<int First, int ...Rest>
99 struct sum<First, Rest...> {
100 static const int value = First + sum<Rest...>::value;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DDataLayout.cpp247 StringRef &Rest = Split.second; // The rest of the string. in parseSpecifier() local
251 Split = split(Rest, ':'); in parseSpecifier()
252 Rest = Split.second; in parseSpecifier()
257 } while (!Rest.empty()); in parseSpecifier()
283 if (Rest.empty()) in parseSpecifier()
286 Split = split(Rest, ':'); in parseSpecifier()
292 if (Rest.empty()) in parseSpecifier()
295 Split = split(Rest, ':'); in parseSpecifier()
307 if (!Rest.empty()) { in parseSpecifier()
308 Split = split(Rest, ':'); in parseSpecifier()
[all …]
/external/llvm/lib/IR/
DDataLayout.cpp235 StringRef &Rest = Split.second; // The rest of the string. in parseSpecifier() local
258 if (Rest.empty()) in parseSpecifier()
261 Split = split(Rest, ':'); in parseSpecifier()
267 if (Rest.empty()) in parseSpecifier()
270 Split = split(Rest, ':'); in parseSpecifier()
278 if (!Rest.empty()) { in parseSpecifier()
279 Split = split(Rest, ':'); in parseSpecifier()
311 if (Rest.empty()) in parseSpecifier()
314 Split = split(Rest, ':'); in parseSpecifier()
322 if (!Rest.empty()) { in parseSpecifier()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ProfileData/
DSampleProfReader.cpp119 StringRef Rest = Input.substr(n1 + 2); in ParseLine() local
120 if (Rest[0] >= '0' && Rest[0] <= '9') { in ParseLine()
122 size_t n3 = Rest.find(' '); in ParseLine()
124 if (Rest.getAsInteger(10, NumSamples)) in ParseLine()
127 if (Rest.substr(0, n3).getAsInteger(10, NumSamples)) in ParseLine()
143 n3 += Rest.substr(n3).find_first_not_of(' '); in ParseLine()
144 Rest = Rest.substr(n3); in ParseLine()
145 n3 = Rest.find_first_of(':'); in ParseLine()
153 StringRef AfterColon = Rest.substr(n3 + 1); in ParseLine()
155 Target = Rest.substr(0, n3); in ParseLine()
[all …]
/external/skia/src/core/
DSkRecordPattern.h85 template <typename First, typename... Rest>
88 bool operator()(T* ptr) { return First()(ptr) || Or<Rest...>()(ptr); } in operator()
118 template <typename First, typename... Rest>
119 class Pattern<First, Rest...> {
171 Pattern<Rest...> fRest;
/external/skqp/src/core/
DSkRecordPattern.h85 template <typename First, typename... Rest>
88 bool operator()(T* ptr) { return First()(ptr) || Or<Rest...>()(ptr); } in operator()
118 template <typename First, typename... Rest>
119 class Pattern<First, Rest...> {
171 Pattern<Rest...> fRest;
/external/llvm/lib/ProfileData/
DSampleProfReader.cpp108 StringRef Rest = Input.substr(n1 + 2); in ParseLine() local
109 if (Rest[0] >= '0' && Rest[0] <= '9') { in ParseLine()
111 size_t n3 = Rest.find(' '); in ParseLine()
113 if (Rest.getAsInteger(10, NumSamples)) in ParseLine()
116 if (Rest.substr(0, n3).getAsInteger(10, NumSamples)) in ParseLine()
120 n3 += Rest.substr(n3).find_first_not_of(' '); in ParseLine()
121 Rest = Rest.substr(n3); in ParseLine()
122 n3 = Rest.find(' '); in ParseLine()
123 StringRef pair = Rest; in ParseLine()
125 pair = Rest.substr(0, n3); in ParseLine()
[all …]
/external/llvm/tools/llvm-ar/
Dllvm-ar.cpp745 StringRef CommandStr, Rest; in runMRIScript() local
746 std::tie(CommandStr, Rest) = Line.split(' '); in runMRIScript()
747 Rest = Rest.trim(); in runMRIScript()
748 if (!Rest.empty() && Rest.front() == '"' && Rest.back() == '"') in runMRIScript()
749 Rest = Rest.drop_front().drop_back(); in runMRIScript()
760 auto BufOrErr = MemoryBuffer::getFile(Rest, -1, false); in runMRIScript()
778 addMember(NewMembers, Rest); in runMRIScript()
786 ArchiveName = Rest; in runMRIScript()
/external/google-benchmark/src/
Dstring_util.h25 template <class First, class... Rest>
26 inline std::ostream& StrCatImp(std::ostream& out, First&& f, Rest&&... rest) { in StrCatImp()
28 return StrCatImp(out, std::forward<Rest>(rest)...); in StrCatImp()
/external/libcxx/utils/google-benchmark/src/
Dstring_util.h25 template <class First, class... Rest>
26 inline std::ostream& StrCatImp(std::ostream& out, First&& f, Rest&&... rest) { in StrCatImp()
28 return StrCatImp(out, std::forward<Rest>(rest)...); in StrCatImp()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-ar/
Dllvm-ar.cpp794 StringRef CommandStr, Rest; in runMRIScript() local
795 std::tie(CommandStr, Rest) = Line.split(' '); in runMRIScript()
796 Rest = Rest.trim(); in runMRIScript()
797 if (!Rest.empty() && Rest.front() == '"' && Rest.back() == '"') in runMRIScript()
798 Rest = Rest.drop_front().drop_back(); in runMRIScript()
810 auto BufOrErr = MemoryBuffer::getFile(Rest, -1, false); in runMRIScript()
828 addMember(NewMembers, Rest); in runMRIScript()
836 ArchiveName = Rest; in runMRIScript()
839 StringRef Name = sys::path::filename(Rest); in runMRIScript()
/external/pdfium/third_party/lcms/src/
Dcmsintrp.c701 cmsS15Fixed16Number c0, c1, c2, c3, Rest; in TetrahedralInterp16() local
745 Rest = c1 * rx + c2 * ry + c3 * rz + 0x8001; in TetrahedralInterp16()
746 *Output++ = (cmsUInt16Number) c0 + ((Rest + (Rest>>16))>>16); in TetrahedralInterp16()
759 Rest = c1 * rx + c2 * ry + c3 * rz + 0x8001; in TetrahedralInterp16()
760 *Output++ = (cmsUInt16Number) c0 + ((Rest + (Rest>>16))>>16); in TetrahedralInterp16()
773 Rest = c1 * rx + c2 * ry + c3 * rz + 0x8001; in TetrahedralInterp16()
774 *Output++ = (cmsUInt16Number) c0 + ((Rest + (Rest>>16))>>16); in TetrahedralInterp16()
789 Rest = c1 * rx + c2 * ry + c3 * rz + 0x8001; in TetrahedralInterp16()
790 *Output++ = (cmsUInt16Number) c0 + ((Rest + (Rest>>16))>>16); in TetrahedralInterp16()
803 Rest = c1 * rx + c2 * ry + c3 * rz + 0x8001; in TetrahedralInterp16()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/DebugInfo/CodeView/
DTypeIndexDiscoveryTest.cpp116 TypeIndex TI, Indices &&... Rest) const { in checkTypeReferencesImpl()
121 std::forward<Indices>(Rest)...); in checkTypeReferencesImpl()
142 template <typename RecType, typename... Rest>
143 void writeFieldListImpl(RecType &&Record, Rest &&... Records) { in writeFieldListImpl()
145 writeFieldListImpl(std::forward<Rest>(Records)...); in writeFieldListImpl()
151 template <typename RecType, typename... Rest>
152 void writeTypeRecordsImpl(RecType &&Record, Rest &&... Records) { in writeTypeRecordsImpl()
154 writeTypeRecordsImpl(std::forward<Rest>(Records)...); in writeTypeRecordsImpl()
160 template <typename RecType, typename... Rest>
161 void writeSymbolRecordsImpl(RecType &&Record, Rest &&... Records) { in writeSymbolRecordsImpl()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-lto2/
Dllvm-lto2.cpp161 StringRef Rest = R; in run() local
163 std::tie(FileName, Rest) = Rest.split(','); in run()
164 if (Rest.empty()) { in run()
168 std::tie(SymbolName, Rest) = Rest.split(','); in run()
170 for (char C : Rest) { in run()
/external/llvm/lib/DebugInfo/CodeView/
DRecordSerialization.cpp163 StringRef Rest; in consume() local
164 std::tie(Item, Rest) = getBytesAsCharacters(Data).split('\0'); in consume()
169 Data = ArrayRef<uint8_t>(Rest.bytes_begin(), Rest.bytes_end()); in consume()
/external/libcxx/test/support/
Dpoisoned_hash_helper.hpp207 template <class First, class ...Rest>
208 struct TypeList<First, Rest...> {
212 return TypeList<Rest...>::template assertTrait<Trait, Expect>(); in assertTrait()
218 TypeList<Rest...>::template applyTrait<Trait>(); in applyTrait()
/external/llvm/utils/FileCheck/
DFileCheck.cpp741 StringRef Rest = Buffer.drop_front(Prefix.size() + 1); in FindCheckType() local
742 if (Rest.startswith("NEXT:")) in FindCheckType()
745 if (Rest.startswith("SAME:")) in FindCheckType()
748 if (Rest.startswith("NOT:")) in FindCheckType()
751 if (Rest.startswith("DAG:")) in FindCheckType()
754 if (Rest.startswith("LABEL:")) in FindCheckType()
758 if (Rest.startswith("DAG-NOT:") || Rest.startswith("NOT-DAG:") || in FindCheckType()
759 Rest.startswith("NEXT-NOT:") || Rest.startswith("NOT-NEXT:") || in FindCheckType()
760 Rest.startswith("SAME-NOT:") || Rest.startswith("NOT-SAME:")) in FindCheckType()
814 StringRef Rest = Buffer.drop_front(PrefixLoc); in FindFirstCandidateMatch() local
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/utils/FileCheck/
DFileCheck.cpp812 StringRef Rest = Buffer.drop_front(Prefix.size() + 1); in FindCheckType() local
813 if (Rest.startswith("NEXT:")) in FindCheckType()
816 if (Rest.startswith("SAME:")) in FindCheckType()
819 if (Rest.startswith("NOT:")) in FindCheckType()
822 if (Rest.startswith("DAG:")) in FindCheckType()
825 if (Rest.startswith("LABEL:")) in FindCheckType()
828 if (Rest.startswith("EMPTY:")) in FindCheckType()
832 if (Rest.startswith("DAG-NOT:") || Rest.startswith("NOT-DAG:") || in FindCheckType()
833 Rest.startswith("NEXT-NOT:") || Rest.startswith("NOT-NEXT:") || in FindCheckType()
834 Rest.startswith("SAME-NOT:") || Rest.startswith("NOT-SAME:") || in FindCheckType()
[all …]
/external/clang/test/CXX/stmt.stmt/stmt.select/stmt.if/
Dp2.cpp8 template <typename T, typename... Rest> void g(T &&p, Rest &&... rs) { in g()
/external/v8/src/compiler/
Dfunctional-list.h53 FunctionalList Rest() const { in Rest() function
72 hint.Rest() == *this) { in PushFront()
/external/clang/lib/Frontend/Rewrite/
DInclusionRewriter.cpp272 StringRef Rest = TextToWrite; in OutputContentUpTo() local
273 while (!Rest.empty()) { in OutputContentUpTo()
275 std::tie(LineText, Rest) = Rest.split(LocalEOL); in OutputContentUpTo()
278 if (!Rest.empty()) in OutputContentUpTo()

123