HomeSort by relevance Sort by last modified time
    Searched defs:Case (Results 1 - 25 of 43) sorted by null

1 2

  /external/llvm/include/llvm/ADT/
StringSwitch.h 33 /// .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) {
  /external/clang/test/SemaTemplate/
instantiate-non-type-template-parameter.cpp 9 void Case(const char (&S)[N], const int & Value) {
  /external/llvm/include/llvm/Analysis/
CFGPrinter.h 114 SwitchInst::ConstCaseIt Case =
116 OS << Case.getCaseValue()->getValue();
  /external/okhttp/okhttp-hpacktests/src/test/java/com/squareup/okhttp/internal/spdy/hpackjson/
Case.java 27 * Representation of an individual case (set of headers and wire format).
31 public class Case implements Cloneable {
59 protected Case clone() throws CloneNotSupportedException {
60 Case result = new Case();
  /external/skia/tests/
FontMgrTest.cpp 204 struct Case {
208 std::vector<Case> cases;
631 for (const StyleSetTest::Case testCase : test.cases) {
  /external/deqp/modules/gles2/stress/
es2sLongRunningTests.cpp 74 static const struct Case
80 Case (const char* const name_, const char* const desc_, int bufFact, const Probs& probs_ = Probs()) : name(name_), desc(desc_), redundantBufferFactor(bufFact), probs(probs_) {}
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
152 Case (const char* const name_, const char* const desc_, int numTextures_, const Probs& probs_ = Probs()) : name(name_), desc(desc_), numTextures(numTextures_), probs(probs_) {}
155 Case("always_reupload"
    [all...]
  /external/deqp/modules/gles3/stress/
es3sLongRunningTests.cpp 74 static const struct Case
80 Case (const char* const name_, const char* const desc_, int bufFact, const Probs& probs_ = Probs()) : name(name_), desc(desc_), redundantBufferFactor(bufFact), probs(probs_) {}
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
152 Case (const char* const name_, const char* const desc_, int numTextures_, const Probs& probs_ = Probs()) : name(name_), desc(desc_), numTextures(numTextures_), probs(probs_) {}
155 Case("always_reupload"
    [all...]
  /external/libchrome/sandbox/linux/bpf_dsl/
bpf_dsl.h 64 // | Switch(arg)[.Case(val, result)].Default(result)
90 // error number |err|. As a special case, Error(0) will result in the
215 // Case adds a single-value "case" clause to the switch.
216 Caser<T> Case(T value, const ResultExpr& result) const;
218 // Cases adds a multiple-value "case" clause to the switch.
302 Caser<T> Caser<T>::Case(T value, const ResultExpr& result) const {
  /external/llvm/lib/Analysis/
SparsePropagation.cpp 55 if (I != ValueState.end()) return I->second; // Common case, in the map
198 SwitchInst::CaseIt Case = SI.findCaseValue(cast<ConstantInt>(C));
199 Succs[Case.getSuccessorIndex()] = true;
  /external/llvm/lib/Transforms/Scalar/
CorrelatedValuePropagation.cpp 115 // LVI can tells us the value. In that case replace the incoming value with
137 // value can never be that constant. In that case replace the incoming
222 /// never fire. If the uselessness of a case could be determined locally then
226 /// safely be removed. If a case fires on every incoming edge then the entire
227 /// switch can be removed and replaced with a branch to the case destination.
241 // Analyse each switch case in turn. This is done in reverse order so that
242 // removing a case doesn't cause trouble for the iteration.
246 ConstantInt *Case = CI.getCaseValue();
248 // Check to see if the switch condition is equal to/not equal to the case
252 // Is the switch condition equal to the case value
    [all...]
  /external/llvm/utils/TableGen/
CodeEmitterGen.cpp 42 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 += " Value |= (op & UINT64_C(" + utostr(opMask) + ")) >> " +
    [all...]
  /external/v8/src/interpreter/
control-flow-builders.h 128 // This method should be called by the SwitchBuilder owner when the case
129 // statement with |index| is emitted to update the case jump site.
132 // This method is called when visiting case comparison operation for |index|.
135 void Case(int index) { EmitJumpIfTrue(&case_sites_, index); }
138 // is a default case statement. Inserts a Jump to a unbound label that is
143 // Unbound labels that identify jumps for case statements in the code.
  /external/webrtc/webrtc/modules/desktop_capture/
desktop_region_unittest.cc 67 struct Case {
89 for (size_t i = 0; i < (sizeof(cases) / sizeof(Case)); ++i) {
111 struct Case {
194 for (size_t i = 0; i < (sizeof(cases) / sizeof(Case)); ++i) {
263 struct Case {
297 for (size_t i = 0; i < (sizeof(cases) / sizeof(Case)); ++i) {
374 struct Case {
393 for (size_t i = 0; i < (sizeof(cases) / sizeof(Case)); ++i) {
403 struct Case {
434 for (size_t i = 0; i < (sizeof(cases) / sizeof(Case)); ++i)
    [all...]
  /system/tools/aidl/
ast_java.cpp 338 Case::Case(const string& c) { cases.push_back(c); }
340 void Case::Write(CodeWriter* to) const {
346 to->Write("case %s:\n", s.c_str());
ast_java.h 288 struct Case {
292 Case() = default;
293 Case(const std::string& c);
294 virtual ~Case() = default;
300 std::vector<Case*> cases;
  /external/deqp/modules/gles3/functional/
es3fTextureWrapTests.cpp 98 struct Case
103 Case (void) {}
104 Case (const tcu::Vec2& bl, const tcu::Vec2& tr) : bottomLeft(bl), topRight(tr) {}
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/
CloneFunction.cpp 342 // terminator into the new basic block in this case.
346 // In this case, the cloning director is responsible for mapping the
406 // terminator into the new basic block in this case.
446 SwitchInst::ConstCaseIt Case = SI->findCaseValue(Cond);
447 BasicBlock *Dest = const_cast<BasicBlock*>(Case.getCaseSuccessor());
598 // case.
    [all...]
SimplifyCFG.cpp 102 // case group is selected, and the second field is a vector containing the
103 // cases composing the case group.
107 // and the second field contains the value generated for a certain case in the
111 /// ValueEqualityComparisonCase - Represents a case of a switch.
249 /// don't handle the true generality of domination here, just a special case
419 // Pattern match a special case
488 /// One "Extra" case is allowed to differ from the other.
518 // We allow only one "Extra" case to be checked before the switch
682 assert(ThisCases.size() == 1 && "Branch can only have one case!");
757 // If not handled by any explicit cases, it is handled by the default case
    [all...]
  /external/clang/test/Index/
recursive-cxx-member-calls.cpp 88 template < unsigned N > StringSwitch & Case(const char (&S)[N],
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("cdecl", AT_cdecl
    [all...]
  /external/clang/lib/Parse/
ParseStmt.cpp 71 /// 'case' constant-expression ':' statement
155 // the token to end in a semicolon (in which case SemiError should be set),
161 case tok::at: // May be a @try or @throw statement
168 case tok::code_completion:
173 case tok::identifier: {
220 case tok::kw_case: // C99 6.8.1: labeled-statement
222 case tok::kw_default: // C99 6.8.1: labeled-statement
225 case tok::l_brace: // C99 6.8.2: compound-statement
227 case tok::semi: { // C99 6.8.3p3: expression[opt] ';'
232 case tok::kw_if: // C99 6.8.4.1: if-statemen
    [all...]
  /external/clang/lib/CodeGen/
CGStmt.cpp 78 case Stmt::NoStmtClass:
79 case Stmt::CXXCatchStmtClass:
80 case Stmt::SEHExceptStmtClass:
81 case Stmt::SEHFinallyStmtClass:
82 case Stmt::MSDependentExistsStmtClass:
84 case Stmt::NullStmtClass:
85 case Stmt::CompoundStmtClass:
86 case Stmt::DeclStmtClass:
87 case Stmt::LabelStmtClass:
88 case Stmt::AttributedStmtClass
    [all...]
  /external/clang/lib/StaticAnalyzer/Core/
ExprEngine.cpp 295 case CFGElement::Statement:
298 case CFGElement::Initializer:
301 case CFGElement::NewAllocator:
305 case CFGElement::AutomaticObjectDtor:
306 case CFGElement::DeleteDtor:
307 case CFGElement::BaseDtor:
308 case CFGElement::MemberDtor:
309 case CFGElement::TemporaryDtor:
547 case CFGElement::AutomaticObjectDtor:
550 case CFGElement::BaseDtor
    [all...]
BugReporter.cpp 115 case clang::ento::PathDiagnosticPiece::Call:
118 case clang::ento::PathDiagnosticPiece::Macro:
121 case clang::ento::PathDiagnosticPiece::ControlFlow:
123 case clang::ento::PathDiagnosticPiece::Event: {
168 case PathDiagnosticPiece::Call: {
183 case PathDiagnosticPiece::Macro: {
190 case PathDiagnosticPiece::Event: {
198 case PathDiagnosticPiece::ControlFlow:
412 case Stmt::ForStmtClass:
413 case Stmt::DoStmtClass
    [all...]
  /external/clang/lib/Sema/
SemaCodeComplete.cpp 65 /// a single (declaration, index) mapping (the common case) but
185 case CodeCompletionContext::CCC_Expression:
186 case CodeCompletionContext::CCC_ObjCMessageReceiver:
187 case CodeCompletionContext::CCC_ParenthesizedExpression:
188 case CodeCompletionContext::CCC_Statement:
189 case CodeCompletionContext::CCC_Recovery:
586 case Type::Builtin:
588 case BuiltinType::Void:
591 case BuiltinType::NullPtr:
594 case BuiltinType::Overload
    [all...]
  /external/llvm/lib/Target/X86/
X86InstrInfo.cpp     [all...]

Completed in 1573 milliseconds

1 2