Home
last modified time | relevance | path

Searched refs:Ns (Results 1 – 25 of 75) sorted by relevance

123

/external/llvm-project/llvm/unittests/ADT/
DSimpleIListTest.cpp420 Node Ns[10]; in TEST() local
423 L1.push_back(Ns[0]); in TEST()
424 L1.push_back(Ns[3]); in TEST()
425 L1.push_back(Ns[4]); in TEST()
426 L1.push_back(Ns[8]); in TEST()
429 L2.push_back(Ns[1]); in TEST()
430 L2.push_back(Ns[2]); in TEST()
431 L2.push_back(Ns[5]); in TEST()
432 L2.push_back(Ns[6]); in TEST()
433 L2.push_back(Ns[7]); in TEST()
[all …]
DBumpPtrListTest.cpp51 int Ns[] = {1, 3, 9, 5, 7}; in TEST() local
52 for (const int N : Ns) in TEST()
57 for (int N : Ns) in TEST()
62 for (int N : llvm::reverse(Ns)) { in TEST()
72 int Ns[] = {1, 3, 9, 5, 7}; in TEST() local
73 for (const int N : Ns) in TEST()
78 for (int N : Ns) in TEST()
83 for (int N : llvm::reverse(Ns)) { in TEST()
92 int Ns[] = {1, 3, 9, 5, 7}; in TEST() local
93 for (const int N : Ns) { in TEST()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DSTLExtras.h559 template <size_t... Ns> value_type deref(std::index_sequence<Ns...>) const {
560 return value_type(*std::get<Ns>(iterators)...);
563 template <size_t... Ns>
564 decltype(iterators) tup_inc(std::index_sequence<Ns...>) const {
565 return std::tuple<Iters...>(std::next(std::get<Ns>(iterators))...);
568 template <size_t... Ns>
569 decltype(iterators) tup_dec(std::index_sequence<Ns...>) const {
570 return std::tuple<Iters...>(std::prev(std::get<Ns>(iterators))...);
608 template <size_t... Ns>
610 std::index_sequence<Ns...>) const {
[all …]
/external/libchrome/base/
Dtuple.h47 template <typename ObjT, typename Method, typename Tuple, size_t... Ns>
51 std::index_sequence<Ns...>) { in DispatchToMethodImpl() argument
52 (obj->*method)(std::get<Ns>(std::forward<Tuple>(args))...); in DispatchToMethodImpl()
66 template <typename Function, typename Tuple, size_t... Ns>
69 std::index_sequence<Ns...>) { in DispatchToFunctionImpl() argument
70 (*function)(std::get<Ns>(std::forward<Tuple>(args))...); in DispatchToFunctionImpl()
Dbind.h113 template <size_t... Ns,
117 struct AssertBindArgsValidity<std::index_sequence<Ns...>,
121 : AssertConstructible<Ns, Args, std::decay_t<Args>, Unwrapped, Params>... {
/external/llvm-project/llvm/include/llvm/ADT/
DSTLExtras.h628 template <size_t... Ns> value_type deref(std::index_sequence<Ns...>) const {
629 return value_type(*std::get<Ns>(iterators)...);
632 template <size_t... Ns>
633 decltype(iterators) tup_inc(std::index_sequence<Ns...>) const {
634 return std::tuple<Iters...>(std::next(std::get<Ns>(iterators))...);
637 template <size_t... Ns>
638 decltype(iterators) tup_dec(std::index_sequence<Ns...>) const {
639 return std::tuple<Iters...>(std::prev(std::get<Ns>(iterators))...);
677 template <size_t... Ns>
679 std::index_sequence<Ns...>) const {
[all …]
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DForwardDeclarationNamespaceCheck.cpp109 std::string Ns; in getNameOfNamespace() local
110 llvm::raw_string_ostream OStream(Ns); in getNameOfNamespace()
113 return Ns.empty() ? "(global)" : Ns; in getNameOfNamespace()
/external/libchrome/ipc/
Dipc_message_templates.h23 template <typename Tuple, size_t... Ns>
24 auto TupleForwardImpl(Tuple&& tuple, std::index_sequence<Ns...>) -> decltype(
25 std::forward_as_tuple(std::get<Ns>(std::forward<Tuple>(tuple))...)) {
26 return std::forward_as_tuple(std::get<Ns>(std::forward<Tuple>(tuple))...);
58 size_t... Ns>
63 std::index_sequence<Ns...>) { in DispatchToMethodImpl() argument
64 (obj->*method)(parameter, std::get<Ns>(std::forward<Tuple>(tuple))...); in DispatchToMethodImpl()
/external/flac/src/libFLAC/
Dwindow.c242 FLAC__int32 Ns, Ne, n, i; in FLAC__window_punchout_tukey() local
250 Ns = (FLAC__int32)(p / 2.0f * start_n); in FLAC__window_punchout_tukey()
253 for (n = 0, i = 1; n < Ns && n < L; n++, i++) in FLAC__window_punchout_tukey()
254 window[n] = (FLAC__real)(0.5f - 0.5f * cosf(M_PI * i / Ns)); in FLAC__window_punchout_tukey()
255 for (; n < start_n-Ns && n < L; n++) in FLAC__window_punchout_tukey()
257 for (i = Ns; n < start_n && n < L; n++, i--) in FLAC__window_punchout_tukey()
258 window[n] = (FLAC__real)(0.5f - 0.5f * cosf(M_PI * i / Ns)); in FLAC__window_punchout_tukey()
/external/llvm-project/clang/test/SemaTemplate/
Dsizeof-pack.cpp3 template<int &...Ns> int f() { in f()
4 return sizeof...(Ns); in f()
Ddeduction-guide.cpp8 template<Ts ...Ns, T *...Ps> A(X<Ps...>, Ts (*...qs)[Ns]);
/external/clang/test/SemaCXX/
Dqualified-id-lookup.cpp2 namespace Ns { namespace
9 namespace Ns { namespace
19 int y = Ns::Enumerator;
/external/llvm-project/clang/test/SemaCXX/
Dqualified-id-lookup.cpp2 namespace Ns { namespace
9 namespace Ns { namespace
19 int y = Ns::Enumerator;
/external/llvm-project/llvm/utils/TableGen/
DDirectiveEmitter.cpp190 for (auto Ns : Namespaces) in EmitDirectivesDecl() local
191 OS << "namespace " << Ns << " {\n"; in EmitDirectivesDecl()
233 for (auto Ns : llvm::reverse(Namespaces)) in EmitDirectivesDecl() local
234 OS << "} // namespace " << Ns << "\n"; in EmitDirectivesDecl()
445 for (auto Ns : Namespaces) in GenerateDirectiveClauseSets() local
446 OS << "namespace " << Ns << " {\n"; in GenerateDirectiveClauseSets()
465 for (auto Ns : llvm::reverse(Namespaces)) in GenerateDirectiveClauseSets() local
466 OS << "} // namespace " << Ns << "\n"; in GenerateDirectiveClauseSets()
675 for (auto Ns : Namespaces) in EmitDirectivesImpl() local
676 OS << "using namespace " << Ns << ";\n"; in EmitDirectivesImpl()
/external/llvm-project/clang/test/CXX/temp/temp.decls/temp.variadic/
Dp5.cpp432 template<int ...Ns> void g() { in g()
433 f(T<Ns>()...); in g()
434 f(S<T<Ns>>::value...); in g()
435 f(vt<T<Ns>>...); in g()
/external/clang/test/CXX/temp/temp.decls/temp.variadic/
Dp5.cpp432 template<int ...Ns> void g() { in g()
433 f(T<Ns>()...); in g()
434 f(S<T<Ns>>::value...); in g()
435 f(vt<T<Ns>>...); in g()
/external/angle/src/libANGLE/renderer/vulkan/shaders/src/
DConvertVertex.comp12 // Ns components, each Bs bytes
36 // floor(c / Ns) * Ss + mod(c, Ns) * Bs
118 uint Ns; // Number of source components in one vertex attribute
138 #define Ns params.Ns
205 if (component >= Ns && component < 3)
242 if (component >= Ns && component == 3)
/external/fmtlib/include/fmt/
Dranges.h132 template <typename T, size_t N, T... Ns>
133 struct make_integer_sequence : make_integer_sequence<T, N - 1, N - 1, Ns...> {};
134 template <typename T, T... Ns>
135 struct make_integer_sequence<T, 0, Ns...> : integer_sequence<T, Ns...> {};
/external/perfetto/src/trace_processor/importers/json/
Djson_tracker_unittest.cc27 TEST(JsonTrackerTest, Ns) { in TEST() argument
/external/llvm-project/llvm/lib/WindowsManifest/
DWindowsManifestMerger.cpp141 for (auto &Ns : MtNsHrefsPrefixes) { in getPrefixForHref() local
142 if (xmlStringsEqual(HRef, TO_XML_CHAR(Ns.first.data()))) { in getPrefixForHref()
143 return TO_XML_CHAR(Ns.second.data()); in getPrefixForHref()
474 for (auto &Ns : MtNsHrefsPrefixes) { in isRecognizedNamespace() local
475 if (xmlStringsEqual(NsHref, TO_XML_CHAR(Ns.first.data()))) { in isRecognizedNamespace()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/WindowsManifest/
DWindowsManifestMerger.cpp141 for (auto &Ns : MtNsHrefsPrefixes) { in getPrefixForHref() local
142 if (xmlStringsEqual(HRef, TO_XML_CHAR(Ns.first.data()))) { in getPrefixForHref()
143 return TO_XML_CHAR(Ns.second.data()); in getPrefixForHref()
474 for (auto &Ns : MtNsHrefsPrefixes) { in isRecognizedNamespace() local
475 if (xmlStringsEqual(NsHref, TO_XML_CHAR(Ns.first.data()))) { in isRecognizedNamespace()
/external/openssh/
Dmdoc2man.awk98 } else if(match(words[w],"^Ns$")) {
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dbugprone-reserved-identifier.cpp177 namespace Ns { namespace
/external/icu/icu4c/source/data/coll/
Dln.txt14 "<<<nK<<<Nk<<<NK<ns<<<nS<<<Ns<<<NS<nt<<<nT<<<Nt<<<NT<ny<<<nY<<<Ny<<<NY<nz<<<nZ<<<Nz"
/external/llvm/lib/Target/Hexagon/
DRDFGraph.cpp239 std::vector<int> Ns; in operator <<() local
240 auto PrintBBs = [&OS,&P] (std::vector<int> Ns) -> void { in operator <<() argument
241 unsigned N = Ns.size(); in operator <<()
242 for (auto I : Ns) { in operator <<()
252 Ns.push_back(I->getNumber()); in operator <<()
253 PrintBBs(Ns); in operator <<()
257 Ns.clear(); in operator <<()
259 Ns.push_back(I->getNumber()); in operator <<()
260 PrintBBs(Ns); in operator <<()

123