Searched defs:Case (Results 1 - 25 of 27) sorted by relevance

12

/external/okhttp/okhttp-hpacktests/src/test/java/com/squareup/okhttp/internal/spdy/hpackjson/
H A DCase.java31 public class Case implements Cloneable { class in inherits:Cloneable
59 protected Case clone() throws CloneNotSupportedException {
60 Case result = new Case();
/external/llvm/include/llvm/ADT/
H A DStringSwitch.h33 /// .Case("red", Red)
34 /// .Case("orange", Orange)
35 /// .Case("yellow", Yellow)
36 /// .Case("green", Green)
37 /// .Case("blue", Blue)
38 /// .Case("indigo", Indigo)
58 StringSwitch& Case(const char (&S)[N], const T& Value) { function in class:llvm::StringSwitch
/external/clang/test/SemaTemplate/
H A Dinstantiate-non-type-template-parameter.cpp9 void Case(const char (&S)[N], const int & Value) { function in class:StringSwitch
/external/llvm/include/llvm/Analysis/
H A DCFGPrinter.h114 SwitchInst::ConstCaseIt Case = local
116 OS << Case.getCaseValue()->getValue();
/external/llvm/lib/Analysis/
H A DSparsePropagation.cpp198 SwitchInst::CaseIt Case = SI.findCaseValue(cast<ConstantInt>(C)); local
199 Succs[Case.getSuccessorIndex()] = true;
/external/llvm/utils/TableGen/
H A DCodeEmitterGen.cpp42 std::string &Case, CodeGenTarget &Target);
66 std::string &Case, CodeGenTarget &Target) {
127 Case += " // op: " + VarName + "\n" +
129 Case += ", Fixups, STI";
130 Case += ");\n";
133 Case += " // op: " + VarName + "\n" +
135 Case += ", Fixups, STI";
136 Case += ");\n";
166 Case += " Value |= (op & UINT64_C(" + utostr(opMask) + ")) << " +
169 Case
63 AddCodeToMergeInOperand(Record *R, BitsInit *BI, const std::string &VarName, unsigned &NumberedOp, std::set<unsigned> &NamedOpIndices, std::string &Case, CodeGenTarget &Target) argument
180 std::string Case; local
278 std::string Case = getInstructionCase(R, Target); local
293 const std::string &Case = IE->first; local
301 o << Case; local
[all...]
/external/skia/tests/
H A DFontMgrTest.cpp204 struct Case { struct in struct:StyleSetTest
208 std::vector<Case> cases;
631 for (const StyleSetTest::Case testCase : test.cases) {
/external/deqp/modules/gles2/stress/
H A Des2sLongRunningTests.cpp74 static const struct Case struct
80 Case (const char* const name_, const char* const desc_, int bufFact, const Probs& probs_ = Probs()) : name(name_), desc(desc_), redundantBufferFactor(bufFact), probs(probs_) {} function in struct:deqp::gles2::Stress::Case
83 Case("always_reupload",
88 Case("always_reupload_bufferdata",
93 Case("always_delete",
98 Case("wasteful",
103 Case("separate_attribute_buffers_wasteful",
146 static const struct Case struct
152 Case (const char* const name_, const char* const desc_, int numTextures_, const Probs& probs_ = Probs()) : name(name_), desc(desc_), numTextures(numTextures_), probs(probs_) {} function in struct:deqp::gles2::Stress::Case
155 Case("always_reuploa
202 static const struct Case struct
209 Case (const char* const name_, const char* const desc_, const int calls, const int tris, const Probs& probs_ = Probs()) function in struct:deqp::gles2::Stress::Case
253 static const struct Case struct
258 Case (const char* const name_, const char* const desc_, const Probs& probs_ = Probs()) : name(name_), desc(desc_), probs(probs_) {} function in struct:deqp::gles2::Stress::Case
[all...]
/external/deqp/modules/gles3/stress/
H A Des3sLongRunningTests.cpp74 static const struct Case struct
80 Case (const char* const name_, const char* const desc_, int bufFact, const Probs& probs_ = Probs()) : name(name_), desc(desc_), redundantBufferFactor(bufFact), probs(probs_) {} function in struct:deqp::gles3::Stress::Case
83 Case("always_reupload",
88 Case("always_reupload_bufferdata",
93 Case("always_delete",
98 Case("wasteful",
103 Case("separate_attribute_buffers_wasteful",
146 static const struct Case struct
152 Case (const char* const name_, const char* const desc_, int numTextures_, const Probs& probs_ = Probs()) : name(name_), desc(desc_), numTextures(numTextures_), probs(probs_) {} function in struct:deqp::gles3::Stress::Case
155 Case("always_reuploa
202 static const struct Case struct
209 Case (const char* const name_, const char* const desc_, const int calls, const int tris, const Probs& probs_ = Probs()) function in struct:deqp::gles3::Stress::Case
253 static const struct Case struct
258 Case (const char* const name_, const char* const desc_, const Probs& probs_ = Probs()) : name(name_), desc(desc_), probs(probs_) {} function in struct:deqp::gles3::Stress::Case
[all...]
/external/libchrome/sandbox/linux/bpf_dsl/
H A Dbpf_dsl.h64 // | Switch(arg)[.Case(val, result)].Default(result)
215 // Case adds a single-value "case" clause to the switch.
216 Caser<T> Case(T value, const ResultExpr& result) const;
302 Caser<T> Caser<T>::Case(T value, const ResultExpr& result) const { function in class:sandbox::bpf_dsl::Caser
/external/llvm/lib/Support/
H A DDwarf.cpp33 #define HANDLE_DW_TAG(ID, NAME) .Case("DW_TAG_" #NAME, DW_TAG_##NAME)
277 #define HANDLE_DW_OP(ID, NAME) .Case("DW_OP_" #NAME, DW_OP_##NAME)
294 #define HANDLE_DW_ATE(ID, NAME) .Case("DW_ATE_" #NAME, DW_ATE_##NAME)
354 .Case("DW_VIRTUALITY_" #NAME, DW_VIRTUALITY_##NAME)
372 #define HANDLE_DW_LANG(ID, NAME) .Case("DW_LANG_" #NAME, DW_LANG_##NAME)
377 const char *llvm::dwarf::CaseString(unsigned Case) { argument
378 switch (Case) {
478 .Case("DW_MACINFO_define", DW_MACINFO_define)
479 .Case("DW_MACINFO_undef", DW_MACINFO_undef)
480 .Case("DW_MACINFO_start_fil
[all...]
/external/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp246 ConstantInt *Case = CI.getCaseValue(); local
254 Cond, Case, *PI,
292 SI->setCondition(Case);
/external/v8/src/interpreter/
H A Dcontrol-flow-builders.h131 void Case(int index) { EmitJumpIfTrue(&case_sites_, index); } function in class:v8::internal::interpreter::final
/external/webrtc/webrtc/modules/desktop_capture/
H A Ddesktop_region_unittest.cc67 struct Case { struct
89 for (size_t i = 0; i < (sizeof(cases) / sizeof(Case)); ++i) {
111 struct Case { struct
194 for (size_t i = 0; i < (sizeof(cases) / sizeof(Case)); ++i) {
263 struct Case { struct
297 for (size_t i = 0; i < (sizeof(cases) / sizeof(Case)); ++i) {
374 struct Case { struct
393 for (size_t i = 0; i < (sizeof(cases) / sizeof(Case)); ++i) {
403 struct Case { struct
434 for (size_t i = 0; i < (sizeof(cases) / sizeof(Case));
448 struct Case { struct
[all...]
/external/deqp/modules/gles3/functional/
H A Des3fTextureWrapTests.cpp98 struct Case struct in class:deqp::gles3::Functional::TextureWrapCase
103 Case (void) {} function in struct:deqp::gles3::Functional::TextureWrapCase::Case
104 Case (const tcu::Vec2& bl, const tcu::Vec2& tr) : bottomLeft(bl), topRight(tr) {} function in struct:deqp::gles3::Functional::TextureWrapCase::Case
122 vector<Case> m_cases;
276 m_cases.push_back(Case(tcu::Vec2(-1.5f, -3.0f), tcu::Vec2(1.5f, 2.5f)));
277 m_cases.push_back(Case(tcu::Vec2(-0.5f, 0.75f), tcu::Vec2(0.25f, 1.25f)));
/external/llvm/lib/Transforms/Utils/
H A DCloneFunction.cpp446 SwitchInst::ConstCaseIt Case = SI->findCaseValue(Cond); local
447 BasicBlock *Dest = const_cast<BasicBlock*>(Case.getCaseSuccessor());
H A DSimplifyCFG.cpp3712 SwitchInst::CaseIt Case = SI->findCaseValue(DeadCases[I]); local
3713 assert(Case != SI->case_default() &&
3714 "Case was not found. Probably mistake in DeadCases forming.");
3716 std::swap(Weights[Case.getCaseIndex()+1], Weights.back());
3721 Case.getCaseSuccessor()->removePredecessor(SI->getParent());
3722 SI->removeCase(Case);
/external/clang/lib/Parse/
H A DParseStmt.cpp717 StmtResult Case = local
723 if (Case.isInvalid()) {
730 Stmt *NextDeepest = Case.get();
732 TopLevelCase = Case;
734 Actions.ActOnCaseStmtBody(DeepestParsedCaseStmt, Case.get());
/external/clang/test/Index/
H A Drecursive-cxx-member-calls.cpp88 template < unsigned N > StringSwitch & Case(const char (&S)[N], function in class:llvm::StringSwitch
106 .Case("weak", AT_weak)
107 .Case("weakref", AT_weakref)
108 .Case("pure", AT_pure)
109 .Case("mode", AT_mode)
110 .Case("used", AT_used)
111 .Case("alias", AT_alias)
112 .Case("align", AT_aligned)
113 .Case("final", AT_final)
114 .Case("cdec
[all...]
/external/clang/lib/CodeGen/
H A DCGStmt.cpp1236 /// If Case is non-null, then we are looking for the specified case, checking
1237 /// that nothing we jump over contains labels. If Case is null, then we found
1240 /// If the recursive walk actually finds our Case, then we set FoundCase to
1245 const SwitchCase *Case,
1250 return Case ? CSFC_Success : CSFC_FallThrough;
1255 if (S == Case) {
1262 return CollectStatementsForCase(SC->getSubStmt(), Case, FoundCase,
1268 if (!Case && isa<BreakStmt>(S))
1277 if (Case) {
1285 for (; Case
1244 CollectStatementsForCase(const Stmt *S, const SwitchCase *Case, bool &FoundCase, SmallVectorImpl<const Stmt*> &ResultStmts) argument
1377 const SwitchCase *Case = S.getSwitchCaseList(); local
1434 const SwitchCase *Case = nullptr; local
[all...]
/external/clang/lib/StaticAnalyzer/Core/
H A DExprEngine.cpp1803 const CaseStmt *Case = I.getCase(); local
1806 llvm::APSInt V1 = Case->getLHS()->EvaluateKnownConstInt(getContext());
1811 if (const Expr *E = Case->getRHS())
H A DBugReporter.cpp670 const CaseStmt *Case = cast<CaseStmt>(S); local
671 const Expr *LHS = Case->getLHS()->IgnoreParenCasts();
/external/llvm/lib/Target/X86/
H A DX86InstrInfo.cpp3584 unsigned Case; local
3586 Case = 0;
3588 Case = 1;
3590 Case = 2;
3616 FormIndex = FormMapping[Case][FormIndex];
/external/clang/lib/Sema/
H A DSemaCodeComplete.cpp3851 CaseStmt *Case = dyn_cast<CaseStmt>(SC); local
3852 if (!Case)
3855 Expr *CaseVal = Case->getLHS()->IgnoreParenCasts();
5288 .Case("retain", IFace)
5289 .Case("strong", IFace)
5290 .Case("autorelease", IFace)
5291 .Case("copy", IFace)
5292 .Case("copyWithZone", IFace)
5293 .Case("mutableCopy", IFace)
5294 .Case("mutableCopyWithZon
[all...]
/external/clang/lib/AST/
H A DExprConstant.cpp3357 const SwitchCase *Case = nullptr) {
3359 switch (EvalStmtResult ESR = EvaluateStmt(Result, Info, Body, Case)) {
3432 const Stmt *S, const SwitchCase *Case) {
3438 if (Case) {
3455 if (Case == S)
3456 Case = nullptr;
3468 EvalStmtResult ESR = EvaluateStmt(Result, Info, IS->getThen(), Case);
3471 return EvaluateStmt(Result, Info, IS->getElse(), Case);
3476 EvaluateLoopBody(Result, Info, cast<WhileStmt>(S)->getBody(), Case);
3485 EvaluateLoopBody(Result, Info, FS->getBody(), Case);
3431 EvaluateStmt(StmtResult &Result, EvalInfo &Info, const Stmt *S, const SwitchCase *Case) argument
[all...]

Completed in 1259 milliseconds

12