/external/chromium_org/tools/gn/ |
pattern_unittest.cc | 10 struct Case { 19 Case pattern_cases[] = { 55 const Case& c = pattern_cases[i];
|
/external/llvm/include/llvm/ADT/ |
StringSwitch.h | 32 /// .Case("red", Red) 33 /// .Case("orange", Orange) 34 /// .Case("yellow", Yellow) 35 /// .Case("green", Green) 36 /// .Case("blue", Blue) 37 /// .Case("indigo", Indigo) 55 StringSwitch& Case(const char (&S)[N], const T& Value) { 87 return Case(S0, Value).Case(S1, Value); 93 return Case(S0, Value).Case(S1, Value).Case(S2, Value) [all...] |
/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/chromium_org/content/common/ |
database_identifier_unittest.cc | 43 << "test case " << cases[i].origin; 50 struct Case { 160 << "test case " << i << " :\"" << cases[i].hostname << "\""; 165 << "test case " << i << " :\"" << cases[i].hostname << "\""; 210 << "test case " << valid_cases[i].str; 212 << "test case " << valid_cases[i].str; 214 << "test case " << valid_cases[i].str; 216 << "test case " << valid_cases[i].str; 218 << "test case " << valid_cases[i].str; 238 << "test case " << bogus_components[i] [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/weborigin/ |
DatabaseIdentifierTest.cpp | 72 EXPECT_EQ(cases[i].expectedIdentifier, identifier) << "test case " << origin->toString(); 79 struct Case { 194 EXPECT_EQ(cases[i].expected, identifier) << "test case " << i << ": \"" << cases[i].hostname << "\""; 197 EXPECT_EQ(cases[i].hostname.lower(), parsedOrigin->host()) << "test case " << i << ": \"" << cases[i].hostname << "\""; 230 EXPECT_EQ(validCases[i].expectedProtocol, origin->protocol()) << "test case " << i; 231 EXPECT_EQ(validCases[i].expectedHost, origin->host()) << "test case " << i; 232 EXPECT_EQ(validCases[i].expectedPort, origin->port()) << "test case " << i; 233 EXPECT_EQ(validCases[i].expectedStringRepresentation, origin->toString()) << "test case " << i; 234 EXPECT_EQ(validCases[i].expectedUnique, origin->isUnique()) << "test case " << i; 256 EXPECT_EQ("null", origin->toString()) << "test case " << i [all...] |
/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/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 | 106 // that the incoming value can never be that constant. In that case replace 200 /// never fire. If the uselessness of a case could be determined locally then 204 /// safely be removed. If a case fires on every incoming edge then the entire 205 /// switch can be removed and replaced with a branch to the case destination. 219 // Analyse each switch case in turn. This is done in reverse order so that 220 // removing a case doesn't cause trouble for the iteration. 224 ConstantInt *Case = CI.getCaseValue(); 226 // Check to see if the switch condition is equal to/not equal to the case 230 // Is the switch condition equal to the case value? 232 Cond, Case, *PI, BB) [all...] |
/external/llvm/utils/TableGen/ |
CodeEmitterGen.cpp | 50 std::string &Case, CodeGenTarget &Target); 74 std::string &Case, CodeGenTarget &Target) { 135 Case += " // op: " + VarName + "\n" + 138 Case += ", Fixups, STI"; 139 Case += ");\n"; 142 Case += " // op: " + VarName + "\n" + 145 Case += ", Fixups, STI"; 146 Case += ");\n"; 176 Case += " Value |= (op & UINT64_C(" + utostr(opMask) + ")) << " + 179 Case += " Value |= (op & UINT64_C(" + utostr(opMask) + ")) >> " + [all...] |
/frameworks/base/tools/aidl/ |
AST.cpp | 627 Case::Case() 632 Case::Case(const string& c) 638 Case::~Case() 643 Case::Write(FILE* to) 650 fprintf(to, "case %s:\n", s.c_str());
|
AST.h | 289 struct Case 294 Case(); 295 Case(const string& c); 296 virtual ~Case(); 303 vector<Case*> cases;
|
/external/chromium_org/third_party/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...] |
/external/llvm/lib/Transforms/Utils/ |
CloneFunction.cpp | 383 SwitchInst::ConstCaseIt Case = SI->findCaseValue(Cond); 384 BasicBlock *Dest = const_cast<BasicBlock*>(Case.getCaseSuccessor()); 510 // case.
|
SimplifyCFG.cpp | 77 /// ValueEqualityComparisonCase - Represents a case of a switch. 211 case Instruction::GetElementPtr: 216 case Instruction::ExtractValue: 217 case Instruction::Load: 218 case Instruction::Add: 219 case Instruction::Sub: 220 case Instruction::And: 221 case Instruction::Or: 222 case Instruction::Xor: 223 case Instruction::Shl [all...] |
/external/deqp/modules/gles3/functional/ |
es3fTextureWrapTests.cpp | 97 struct Case 102 Case (void) {} 103 Case (const tcu::Vec2& bl, const tcu::Vec2& tr) : bottomLeft(bl), topRight(tr) {} 121 vector<Case> m_cases; 274 m_cases.push_back(Case(tcu::Vec2(-1.5f, -3.0f), tcu::Vec2(1.5f, 2.5f))); 275 m_cases.push_back(Case(tcu::Vec2(-0.5f, 0.75f), tcu::Vec2(0.25f, 1.25f)));
|
/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 158 // the token to end in a semicolon (in which case SemiError should be set), 164 case tok::at: // May be a @try or @throw statement 171 case tok::code_completion: 176 case tok::identifier: { 223 case tok::kw_case: // C99 6.8.1: labeled-statement 225 case tok::kw_default: // C99 6.8.1: labeled-statement 228 case tok::l_brace: // C99 6.8.2: compound-statement 230 case tok::semi: { // C99 6.8.3p3: expression[opt] ';' 235 case tok::kw_if: // C99 6.8.4.1: if-statemen [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
SelectionDAGBuilder.h | 130 /// Case - A struct to record the Value for a switch case, and the 131 /// case's target basic block. 132 struct Case { 138 Case() : Low(nullptr), High(nullptr), BB(nullptr), ExtraWeight(0) { } 139 Case(const Constant *low, const Constant *high, MachineBasicBlock *bb, 161 typedef std::vector<Case> CaseVector; 175 /// LT, GE - If nonzero, we know the current case value must be less-than or 179 /// Range - A pair of iterators representing the range of case values to be 186 /// The comparison function for sorting the switch case values in the vector [all...] |
/external/clang/lib/CodeGen/ |
CGStmt.cpp | 75 case Stmt::NoStmtClass: 76 case Stmt::CXXCatchStmtClass: 77 case Stmt::SEHExceptStmtClass: 78 case Stmt::SEHFinallyStmtClass: 79 case Stmt::MSDependentExistsStmtClass: 81 case Stmt::NullStmtClass: 82 case Stmt::CompoundStmtClass: 83 case Stmt::DeclStmtClass: 84 case Stmt::LabelStmtClass: 85 case Stmt::AttributedStmtClass [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
ExprEngine.cpp | 285 case CFGElement::Statement: 288 case CFGElement::Initializer: 291 case CFGElement::NewAllocator: 295 case CFGElement::AutomaticObjectDtor: 296 case CFGElement::DeleteDtor: 297 case CFGElement::BaseDtor: 298 case CFGElement::MemberDtor: 299 case CFGElement::TemporaryDtor: 533 case CFGElement::AutomaticObjectDtor: 536 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: 587 case Type::Builtin: 589 case BuiltinType::Void: 592 case BuiltinType::NullPtr: 595 case BuiltinType::Overload [all...] |
TreeTransform.h | [all...] |