/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/llvm/include/llvm/Analysis/ |
CFGPrinter.h | 98 SwitchInst::ConstCaseIt Case = 100 OS << Case.getCaseValue()->getValue();
|
/external/clang/test/SemaTemplate/ |
instantiate-non-type-template-parameter.cpp | 9 void Case(const char (&S)[N], const int & Value) {
|
/frameworks/compile/slang/BitWriter_2_9/ |
BitcodeWriterPass.cpp | 47 /// expandCaseRange - Expand case range into explicit case values within the 62 // All case ranges are already in single case values 67 // Create a new case 83 assert(r.isInRange(V) && "Unexpected out-of-range case value!"); 88 IntegersSubset Case = CaseBuilder.getCase(); 89 i.setValueEx(Case);
|
/frameworks/compile/slang/BitWriter_2_9_func/ |
BitcodeWriterPass.cpp | 47 /// expandCaseRange - Expand case range into explicit case values within the 62 // All case ranges are already in single case values 67 // Create a new case 83 assert(r.isInRange(V) && "Unexpected out-of-range case value!"); 88 IntegersSubset Case = CaseBuilder.getCase(); 89 i.setValueEx(Case);
|
/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/chromium_org/webkit/common/database/ |
database_identifier_unittest.cc | 41 << "test case " << cases[i].origin; 48 struct Case { 158 << "test case " << i << " :\"" << cases[i].hostname << "\""; 163 << "test case " << i << " :\"" << cases[i].hostname << "\""; 208 << "test case " << valid_cases[i].str; 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; 236 << "test case " << bogus_components[i] [all...] |
/external/llvm/lib/Analysis/ |
SparsePropagation.cpp | 54 if (I != ValueState.end()) return I->second; // Common case, in the map 197 SwitchInst::CaseIt Case = SI.findCaseValue(cast<ConstantInt>(C)); 198 Succs[Case.getSuccessorIndex()] = true;
|
/external/llvm/lib/Transforms/Scalar/ |
CorrelatedValuePropagation.cpp | 105 // that the incoming value can never be that constant. In that case replace 199 /// never fire. If the uselessness of a case could be determined locally then 203 /// safely be removed. If a case fires on every incoming edge then the entire 204 /// switch can be removed and replaced with a branch to the case destination. 218 // Analyse each switch case in turn. This is done in reverse order so that 219 // removing a case doesn't cause trouble for the iteration. 223 ConstantInt *Case = CI.getCaseValue(); 225 // Check to see if the switch condition is equal to/not equal to the case 229 // Is the switch condition equal to the case value? 231 Cond, Case, *PI, BB) [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/llvm/lib/Transforms/Utils/ |
CloneFunction.cpp | 329 SwitchInst::ConstCaseIt Case = SI->findCaseValue(Cond); 330 BasicBlock *Dest = const_cast<BasicBlock*>(Case.getCaseSuccessor()); 456 // case.
|
Local.cpp | 115 // Figure out which case it goes to. 118 // Found case matching a constant operand? 138 // Merge weight of this case to the default weight. 141 // Remove weight for this case. 176 // Found case matching a constant operand? 196 IntegersSubset& Case = FirstCase.getCaseValueEx(); 197 if (Case.isSingleNumber()) { 200 Case.getSingleNumber(0).toConstantInt(), 212 // The TrueWeight should be the weight for the single case of SI. 292 // Special case intrinsics that "may have side effects" but can be delete [all...] |
SimplifyCFG.cpp | 74 /// ValueEqualityComparisonCase - Represents a case of a switch. 208 case Instruction::GetElementPtr: 213 case Instruction::Load: 214 case Instruction::Add: 215 case Instruction::Sub: 216 case Instruction::And: 217 case Instruction::Or: 218 case Instruction::Xor: 219 case Instruction::Shl: 220 case Instruction::LShr [all...] |
/external/llvm/utils/TableGen/ |
CodeEmitterGen.cpp | 52 std::string &Case, CodeGenTarget &Target); 109 std::string &Case, CodeGenTarget &Target) { 157 Case += " // op: " + VarName + "\n" + 160 Case += ", Fixups"; 161 Case += ");\n"; 164 Case += " // op: " + VarName + "\n" + 167 Case += ", Fixups"; 168 Case += ");\n"; 198 Case += " Value |= (op & UINT64_C(" + utostr(opMask) + ")) << " + 201 Case += " Value |= (op & UINT64_C(" + utostr(opMask) + ")) >> " + [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/llvm/include/llvm/Support/ |
IntegersSubsetMapping.h | 141 case R_OPENED: 146 case ALL_IS_CLOSED: 159 case L_OPENED: 166 case INTERSECT_OPENED: 180 case L_OPENED: 185 case ALL_IS_CLOSED: 198 case R_OPENED: 205 case INTERSECT_OPENED: 221 case ALL_IS_CLOSED: 235 case INTERSECT_OPENED [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
SelectionDAGBuilder.h | 129 /// Case - A struct to record the Value for a switch case, and the 130 /// case's target basic block. 131 struct Case { 137 Case() : Low(0), High(0), BB(0), ExtraWeight(0) { } 138 Case(const Constant *low, const Constant *high, MachineBasicBlock *bb, 160 typedef std::vector<Case> CaseVector; 174 /// LT, GE - If nonzero, we know the current case value must be less-than or 178 /// Range - A pair of iterators representing the range of case values to be 195 /// blocks needed by multi-case switch statements [all...] |
/external/clang/lib/Parse/ |
ParseStmt.cpp | 67 /// 'case' constant-expression ':' statement 122 // the token to end in a semicolon (in which case SemiError should be set), 128 case tok::at: // May be a @try or @throw statement 135 case tok::code_completion: 140 case tok::identifier: { 200 case tok::kw_case: // C99 6.8.1: labeled-statement 202 case tok::kw_default: // C99 6.8.1: labeled-statement 205 case tok::l_brace: // C99 6.8.2: compound-statement 207 case tok::semi: { // C99 6.8.3p3: expression[opt] ';' 212 case tok::kw_if: // C99 6.8.4.1: if-statemen [all...] |
/external/clang/lib/CodeGen/ |
CGStmt.cpp | 73 case Stmt::NoStmtClass: 74 case Stmt::CXXCatchStmtClass: 75 case Stmt::SEHExceptStmtClass: 76 case Stmt::SEHFinallyStmtClass: 77 case Stmt::MSDependentExistsStmtClass: 78 case Stmt::OMPParallelDirectiveClass: 80 case Stmt::NullStmtClass: 81 case Stmt::CompoundStmtClass: 82 case Stmt::DeclStmtClass: 83 case Stmt::LabelStmtClass [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
ExprEngine.cpp | 283 case CFGElement::Statement: 286 case CFGElement::Initializer: 289 case CFGElement::AutomaticObjectDtor: 290 case CFGElement::BaseDtor: 291 case CFGElement::MemberDtor: 292 case CFGElement::TemporaryDtor: 526 case CFGElement::AutomaticObjectDtor: 529 case CFGElement::BaseDtor: 532 case CFGElement::MemberDtor: 535 case CFGElement::TemporaryDtor [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: 376 case Stmt::ForStmtClass: 377 case Stmt::DoStmtClass [all...] |
/external/llvm/lib/Bitcode/Reader/ |
BitcodeReader.cpp | 77 case 0: return GlobalValue::ExternalLinkage; 78 case 1: return GlobalValue::WeakAnyLinkage; 79 case 2: return GlobalValue::AppendingLinkage; 80 case 3: return GlobalValue::InternalLinkage; 81 case 4: return GlobalValue::LinkOnceAnyLinkage; 82 case 5: return GlobalValue::DLLImportLinkage; 83 case 6: return GlobalValue::DLLExportLinkage; 84 case 7: return GlobalValue::ExternalWeakLinkage; 85 case 8: return GlobalValue::CommonLinkage; 86 case 9: return GlobalValue::PrivateLinkage [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: 588 case Type::Builtin: 590 case BuiltinType::Void: 593 case BuiltinType::NullPtr: 596 case BuiltinType::Overload [all...] |