Home
last modified time | relevance | path

Searched refs:Cases (Results 1 – 25 of 106) sorted by relevance

12345

/third_party/boost/boost/phoenix/statement/
Dswitch.hpp136 template <typename Cond, typename Cases, typename Context>
138 operator()(Cond const & cond, Cases const & cases, Context const & ctx) const in operator ()()
144 , typename detail::switch_size::impl<Cases, int, proto::empty_env>::result_type() in operator ()()
145 … , typename detail::switch_grammar::impl<Cases, int, proto::empty_env>::result_type() in operator ()()
150 template <typename Context, typename Cond, typename Cases>
155 , Cases const & cases in evaluate()
163 Cases in evaluate()
176 template <typename Context, typename Cond, typename Cases>
181 , Cases const & cases in evaluate()
243 template <typename Cases>
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DStringSwitch.h88 StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) { in Cases() function
92 StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2, in Cases() function
94 return Case(S0, Value).Cases(S1, S2, Value); in Cases()
97 StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2, in Cases() function
99 return Case(S0, Value).Cases(S1, S2, S3, Value); in Cases()
102 StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2, in Cases() function
104 return Case(S0, Value).Cases(S1, S2, S3, S4, Value); in Cases()
107 StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2, in Cases() function
110 return Case(S0, Value).Cases(S1, S2, S3, S4, S5, Value); in Cases()
113 StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2, in Cases() function
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DStringSwitch.h107 StringSwitch &Cases(const char (&S0)[N0], const char (&S1)[N1], in Cases() function
114 StringSwitch &Cases(const char (&S0)[N0], const char (&S1)[N1], in Cases() function
116 return Case(S0, Value).Cases(S1, S2, Value); in Cases()
121 StringSwitch &Cases(const char (&S0)[N0], const char (&S1)[N1], in Cases() function
124 return Case(S0, Value).Cases(S1, S2, S3, Value); in Cases()
129 StringSwitch &Cases(const char (&S0)[N0], const char (&S1)[N1], in Cases() function
132 return Case(S0, Value).Cases(S1, S2, S3, S4, Value); in Cases()
138 StringSwitch &Cases(const char (&S0)[N0], const char (&S1)[N1], in Cases() function
142 return Case(S0, Value).Cases(S1, S2, S3, S4, S5, Value); in Cases()
148 StringSwitch &Cases(const char (&S0)[N0], const char (&S1)[N1], in Cases() function
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLowerSwitch.cpp114 unsigned Clusterify(CaseVector &Cases, SwitchInst *SI);
400 unsigned LowerSwitch::Clusterify(CaseVector& Cases, SwitchInst *SI) { in Clusterify() argument
407 Cases.push_back(CaseRange(Case.getCaseValue(), Case.getCaseValue(), in Clusterify()
412 llvm::sort(Cases, CaseCmp()); in Clusterify()
415 if (Cases.size() >= 2) { in Clusterify()
416 CaseItr I = Cases.begin(); in Clusterify()
417 for (CaseItr J = std::next(I), E = Cases.end(); J != E; ++J) { in Clusterify()
433 Cases.erase(std::next(I), Cases.end()); in Clusterify()
458 CaseVector Cases; in processSwitchInst() local
459 const unsigned NumSimpleCases = Clusterify(Cases, SI); in processSwitchInst()
[all …]
/third_party/boost/boost/proto/
Dmatches.hpp409 …template<typename Expr, typename Tag, typename Args, long Arity, typename Cases, typename Transfor…
410 struct matches_<Expr, proto::basic_expr<Tag, Args, Arity>, switch_<Cases, Transform> >
414 , typename Cases::template case_<
420 typename Cases::template case_<
427 template<typename Expr, typename Tag, typename Args, long Arity, typename Cases>
428 struct matches_<Expr, proto::basic_expr<Tag, Args, Arity>, switch_<Cases> >
432 , typename Cases::template case_<Tag>::proto_grammar
435 typedef typename Cases::template case_<Tag> which;
808 template<typename Cases, typename Transform>
809 struct switch_ : transform<switch_<Cases, Transform> >
[all …]
/third_party/boost/boost/phoenix/statement/detail/
Dswitch.hpp85 template <typename Context, typename Cond, typename Cases>
90 , Cases const & cases in evaluate()
96 typename proto::result_of::flatten<Cases const&>::type in evaluate()
117 template <typename Context, typename Cond, typename Cases>
122 , Cases const & cases in evaluate()
128 typename proto::result_of::flatten<Cases const&>::type in evaluate()
/third_party/boost/boost/phoenix/statement/detail/preprocessed/
Dswitch_10.hpp15 template <typename Context, typename Cond, typename Cases>
20 , Cases const & cases in evaluate()
26 typename proto::result_of::flatten<Cases const&>::type in evaluate()
38 template <typename Context, typename Cond, typename Cases>
43 , Cases const & cases in evaluate()
49 typename proto::result_of::flatten<Cases const&>::type in evaluate()
79 template <typename Context, typename Cond, typename Cases>
84 , Cases const & cases in evaluate()
90 typename proto::result_of::flatten<Cases const&>::type in evaluate()
102 template <typename Context, typename Cond, typename Cases>
[all …]
Dswitch_20.hpp15 template <typename Context, typename Cond, typename Cases>
20 , Cases const & cases in evaluate()
26 typename proto::result_of::flatten<Cases const&>::type in evaluate()
38 template <typename Context, typename Cond, typename Cases>
43 , Cases const & cases in evaluate()
49 typename proto::result_of::flatten<Cases const&>::type in evaluate()
79 template <typename Context, typename Cond, typename Cases>
84 , Cases const & cases in evaluate()
90 typename proto::result_of::flatten<Cases const&>::type in evaluate()
102 template <typename Context, typename Cond, typename Cases>
[all …]
Dswitch_30.hpp15 template <typename Context, typename Cond, typename Cases>
20 , Cases const & cases in evaluate()
26 typename proto::result_of::flatten<Cases const&>::type in evaluate()
38 template <typename Context, typename Cond, typename Cases>
43 , Cases const & cases in evaluate()
49 typename proto::result_of::flatten<Cases const&>::type in evaluate()
79 template <typename Context, typename Cond, typename Cases>
84 , Cases const & cases in evaluate()
90 typename proto::result_of::flatten<Cases const&>::type in evaluate()
102 template <typename Context, typename Cond, typename Cases>
[all …]
/third_party/grpc/tools/http2_interop/
Dtestsuite.go48 allCaseInfos.Cases = append(allCaseInfos.Cases, &caseInfo{
65 Cases []*caseInfo `json:"cases"` member
/third_party/icu/icu4c/source/test/testdata/
Dcasing.txt25 Cases {
33 Cases {
41 Cases {
66 Cases {
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DWindowsMachineFlag.cpp24 .Cases("x64", "amd64", COFF::IMAGE_FILE_MACHINE_AMD64) in getMachineType()
25 .Cases("x86", "i386", COFF::IMAGE_FILE_MACHINE_I386) in getMachineType()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DARMTargetParser.cpp141 .Cases("v6m", "v6sm", "v6s-m", "v6-m") in getArchSynonym()
142 .Cases("v6z", "v6zk", "v6kz") in getArchSynonym()
143 .Cases("v7", "v7a", "v7hl", "v7l", "v7-a") in getArchSynonym()
147 .Cases("v8", "v8a", "v8l", "aarch64", "arm64", "v8-a") in getArchSynonym()
326 .Cases("fpa", "fpe2", "fpe3", "maverick", "invalid") // Unsupported in getFPUSynonym()
332 .Cases("fp4-sp-d16", "vfpv4-sp-d16", "fpv4-sp-d16") in getFPUSynonym()
333 .Cases("fp4-dp-d16", "fpv4-dp-d16", "vfpv4-d16") in getFPUSynonym()
335 .Cases("fp5-dp-d16", "fpv5-dp-d16", "fpv5-d16") in getFPUSynonym()
DTriple.cpp390 .Cases("i386", "i486", "i586", "i686", Triple::x86) in parseArch()
392 .Cases("i786", "i886", "i986", Triple::x86) in parseArch()
393 .Cases("amd64", "x86_64", "x86_64h", Triple::x86_64) in parseArch()
394 .Cases("powerpc", "powerpcspe", "ppc", "ppc32", Triple::ppc) in parseArch()
395 .Cases("powerpc64", "ppu", "ppc64", Triple::ppc64) in parseArch()
396 .Cases("powerpc64le", "ppc64le", Triple::ppc64le) in parseArch()
411 .Cases("mips", "mipseb", "mipsallegrex", "mipsisa32r6", in parseArch()
413 .Cases("mipsel", "mipsallegrexel", "mipsisa32r6el", "mipsr6el", in parseArch()
415 .Cases("mips64", "mips64eb", "mipsn32", "mipsisa64r6", in parseArch()
417 .Cases("mips64el", "mipsn32el", "mipsisa64r6el", "mips64r6el", in parseArch()
[all …]
/third_party/flutter/skia/third_party/externals/spirv-tools/test/opt/
Dutils_test.cpp23 TEST(JoinAllInsts, Cases) { in TEST() argument
31 TEST(JoinNonDebugInsts, Cases) { in TEST() argument
/third_party/skia/include/sksl/
DDSLCase.h60 template<class... Cases>
61 friend DSLPossibleStatement Switch(DSLExpression value, Cases... cases);
/third_party/spirv-tools/test/opt/
Dutils_test.cpp25 TEST(JoinAllInsts, Cases) { in TEST() argument
33 TEST(JoinNonDebugInsts, Cases) { in TEST() argument
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
Dutils_test.cpp25 TEST(JoinAllInsts, Cases) { in TEST() argument
33 TEST(JoinNonDebugInsts, Cases) { in TEST() argument
/third_party/skia/third_party/externals/spirv-tools/test/opt/
Dutils_test.cpp25 TEST(JoinAllInsts, Cases) { in TEST() argument
33 TEST(JoinNonDebugInsts, Cases) { in TEST() argument
/third_party/json/test/thirdparty/Fuzzer/
DFuzzerTraceState.cpp50 size_t NumCases, uint64_t *Cases);
211 uint64_t *Cases) { in TraceSwitchCallback() argument
216 TryShort &= IsTwoByteData(Cases[i]); in TraceSwitchCallback()
223 TryToAddDesiredData(Val, Cases[i], ValSize); in TraceSwitchCallback()
225 TryToAddDesiredData(Val, Cases[i], 2); in TraceSwitchCallback()
/third_party/boost/boost/xpressive/detail/static/
Dgrammar.hpp174 struct Cases struct
323 : Cases<Char, Gram>::template case_<Tag>
330 typename Cases<Char, Gram>::template case_<proto::tag::assign>
342 : proto::switch_<grammar_detail::Cases<Char, Grammar<Char> > >
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp1836 .Cases("TYPE","type",IOK_TYPE) in IdentifyIntelInlineAsmOperator()
1837 .Cases("SIZE","size",IOK_SIZE) in IdentifyIntelInlineAsmOperator()
1838 .Cases("LENGTH","length",IOK_LENGTH) in IdentifyIntelInlineAsmOperator()
1879 .Cases("BYTE", "byte", 8) in ParseIntelMemoryOperandSize()
1880 .Cases("WORD", "word", 16) in ParseIntelMemoryOperandSize()
1881 .Cases("DWORD", "dword", 32) in ParseIntelMemoryOperandSize()
1882 .Cases("FLOAT", "float", 32) in ParseIntelMemoryOperandSize()
1883 .Cases("LONG", "long", 32) in ParseIntelMemoryOperandSize()
1884 .Cases("FWORD", "fword", 48) in ParseIntelMemoryOperandSize()
1885 .Cases("DOUBLE", "double", 64) in ParseIntelMemoryOperandSize()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
DRISCVISelLowering.cpp2596 .Cases("{s0}", "{fp}", RISCV::X8) in getRegForInlineAsmConstraint()
2634 .Cases("{f0}", "{ft0}", {RISCV::F0_F, RISCV::F0_D}) in getRegForInlineAsmConstraint()
2635 .Cases("{f1}", "{ft1}", {RISCV::F1_F, RISCV::F1_D}) in getRegForInlineAsmConstraint()
2636 .Cases("{f2}", "{ft2}", {RISCV::F2_F, RISCV::F2_D}) in getRegForInlineAsmConstraint()
2637 .Cases("{f3}", "{ft3}", {RISCV::F3_F, RISCV::F3_D}) in getRegForInlineAsmConstraint()
2638 .Cases("{f4}", "{ft4}", {RISCV::F4_F, RISCV::F4_D}) in getRegForInlineAsmConstraint()
2639 .Cases("{f5}", "{ft5}", {RISCV::F5_F, RISCV::F5_D}) in getRegForInlineAsmConstraint()
2640 .Cases("{f6}", "{ft6}", {RISCV::F6_F, RISCV::F6_D}) in getRegForInlineAsmConstraint()
2641 .Cases("{f7}", "{ft7}", {RISCV::F7_F, RISCV::F7_D}) in getRegForInlineAsmConstraint()
2642 .Cases("{f8}", "{fs0}", {RISCV::F8_F, RISCV::F8_D}) in getRegForInlineAsmConstraint()
[all …]
/third_party/boost/libs/proto/example/
Dlambda.hpp385 struct Cases struct
403 template<> struct Cases::case_<tag::while_> : proto::otherwise<EvalWhile> {};
404 template<> struct Cases::case_<tag::for_> : proto::otherwise<EvalFor> {};
405 template<> struct Cases::case_<tag::if_> : proto::otherwise<EvalIf> {};
406 template<> struct Cases::case_<tag::if_else_> : proto::otherwise<EvalIfElse> {};
407 template<> struct Cases::case_<tag::do_while_> : proto::otherwise<EvalDoWhile> {};
408 template<> struct Cases::case_<tag::switch_> : proto::otherwise<EvalSwitch> {};
409 template<> struct Cases::case_<tag::protect> : proto::otherwise<proto::_child> {};
410 template<> struct Cases::case_<tag::default_> : proto::otherwise<Eval(proto::_child)> {};
411 template<> struct Cases::case_<tag::catch_all_> : proto::otherwise<Eval(proto::_child)> {};
[all …]
/third_party/mindspore/tests/st/numpy_native/
Dtest_array_creations.py27 class Cases(): class
120 test_case = Cases()
158 test_case = Cases()
185 test_case = Cases()
219 test_case = Cases()
237 test_case = Cases()
275 test_case = Cases()
296 test_case = Cases()
421 test_case = Cases()
437 test_case = Cases()
[all …]

12345