/external/clang/lib/AST/ |
D | DeclPrinter.cpp | 411 std::string Proto = D->getNameInfo().getAsString(); in VisitFunctionDecl() local 415 Proto = '(' + Proto + ')'; in VisitFunctionDecl() 425 Proto += "("; in VisitFunctionDecl() 427 llvm::raw_string_ostream POut(Proto); in VisitFunctionDecl() 441 Proto += ", "; in VisitFunctionDecl() 442 Proto += D->getParamDecl(i)->getNameAsString(); in VisitFunctionDecl() 446 Proto += ")"; in VisitFunctionDecl() 450 Proto += " const"; in VisitFunctionDecl() 452 Proto += " volatile"; in VisitFunctionDecl() 454 Proto += " restrict"; in VisitFunctionDecl() [all …]
|
D | LambdaMangleContext.cpp | 22 const FunctionProtoType *Proto in getManglingNumber() local 28 ArrayRef<QualType>(Proto->arg_type_begin(), in getManglingNumber() 29 Proto->getNumArgs()), in getManglingNumber()
|
/external/llvm/examples/Kaleidoscope/Chapter2/ |
D | toy.cpp | 130 PrototypeAST *Proto; member in FunctionAST 134 : Proto(proto), Body(body) {} in FunctionAST() 308 PrototypeAST *Proto = ParsePrototype(); in ParseDefinition() local 309 if (Proto == 0) return 0; in ParseDefinition() 312 return new FunctionAST(Proto, E); in ParseDefinition() 320 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); in ParseTopLevelExpr() local 321 return new FunctionAST(Proto, E); in ParseTopLevelExpr()
|
/external/clang/test/Index/ |
D | c-index-getCursor-test.m | 23 @protocol Proto protocol 27 @protocol SubP <Proto> 48 id <Proto> d; 83 // CHECK: [23:1 - 24:1] ObjCProtocolDecl=Proto:23:11 (Definition) 85 // CHECK: [24:11 - 25:5] ObjCProtocolDecl=Proto:23:11 (Definition) 88 // CHECK: [27:17 - 27:22] ObjCProtocolRef=Proto:23:1 137 // CHECK: [48:6 - 48:11] ObjCProtocolRef=Proto:23:1
|
D | annotate-tokens.m | 85 @protocol Proto @end protocol 88 (void)@protocol(Proto); 435 // CHECK: Punctuation: "@" [85:1 - 85:2] ObjCProtocolDecl=Proto:85:11 (Definition) 436 // CHECK: Keyword: "protocol" [85:2 - 85:10] ObjCProtocolDecl=Proto:85:11 (Definition) 437 // CHECK: Identifier: "Proto" [85:11 - 85:16] ObjCProtocolDecl=Proto:85:11 (Definition) 438 // CHECK: Punctuation: "@" [85:17 - 85:18] ObjCProtocolDecl=Proto:85:11 (Definition) 439 // CHECK: Keyword: "end" [85:18 - 85:21] ObjCProtocolDecl=Proto:85:11 (Definition) 448 // CHECK: Punctuation: "@" [88:9 - 88:10] ObjCProtocolExpr=Proto:85:1 449 // CHECK: Keyword: "protocol" [88:10 - 88:18] ObjCProtocolExpr=Proto:85:1 450 // CHECK: Punctuation: "(" [88:18 - 88:19] ObjCProtocolExpr=Proto:85:1 [all …]
|
D | c-index-api-loadTU-test.m | 25 @protocol Proto protocol 29 @protocol SubP <Proto> 50 id <Proto> d; 96 // CHECK: c-index-api-loadTU-test.m:25:11: ObjCProtocolDecl=Proto:25:11 (Definition) Extent=[25:1 -… 99 // CHECK: c-index-api-loadTU-test.m:29:17: ObjCProtocolRef=Proto:25:11 Extent=[29:17 - 29:22] 132 // CHECK: c-index-api-loadTU-test.m:50:6: ObjCProtocolRef=Proto:25:11 Extent=[50:6 - 50:11]
|
/external/clang/utils/TableGen/ |
D | NeonEmitter.cpp | 1374 std::string Proto = R->getValueAsString("Prototype"); in emitIntrinsic() local 1399 OS << GenIntrinsic(name, Proto, TypeVec[ti], TypeVec[srcti], in emitIntrinsic() 1403 OS << GenIntrinsic(name, Proto, TypeVec[ti], TypeVec[ti], in emitIntrinsic() 1449 std::string Proto = R->getValueAsString("Prototype"); in runHeader() local 1453 if (Proto.find('a') != std::string::npos) in runHeader() 1470 std::string bd = GenBuiltinDef(name, Proto, TypeVec[ti], ck); in runHeader() 1488 std::string Proto = R->getValueAsString("Prototype"); in runHeader() local 1494 if (Proto.find('a') != std::string::npos) in runHeader() 1499 if (Proto.find('s') != std::string::npos) in runHeader() 1517 qmask |= 1ULL << GetNeonEnum(Proto, TypeVec[ti]); in runHeader() [all …]
|
/external/llvm/examples/Kaleidoscope/Chapter3/ |
D | toy.cpp | 141 PrototypeAST *Proto; member in FunctionAST 145 : Proto(proto), Body(body) {} in FunctionAST() 320 PrototypeAST *Proto = ParsePrototype(); in ParseDefinition() local 321 if (Proto == 0) return 0; in ParseDefinition() 324 return new FunctionAST(Proto, E); in ParseDefinition() 332 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); in ParseTopLevelExpr() local 333 return new FunctionAST(Proto, E); in ParseTopLevelExpr() 446 Function *TheFunction = Proto->Codegen(); in Codegen()
|
/external/clang/test/CodeGenObjC/ |
D | instance-method-metadata.m | 12 @protocol Proto protocol 18 @interface Foo : NSObject <Proto> { int x; } @end 20 @interface Bar : NSObject <Proto> @end
|
D | property-category-impl.m | 7 @protocol Proto protocol 11 @interface Foo (Category) <Proto> @end
|
D | super-message-fragileabi.m | 5 @protocol Proto protocol 10 @interface Table <Proto>
|
D | encode-test-2.m | 11 @protocol Proto 14 @interface Intf <Proto>
|
D | objc2-protocol-enc.m | 10 @protocol Proto 17 @interface Intf <Proto>
|
/external/llvm/examples/Kaleidoscope/Chapter6/ |
D | toy.cpp | 205 PrototypeAST *Proto; member in FunctionAST 209 : Proto(proto), Body(body) {} in FunctionAST() 513 PrototypeAST *Proto = ParsePrototype(); in ParseDefinition() local 514 if (Proto == 0) return 0; in ParseDefinition() 517 return new FunctionAST(Proto, E); in ParseDefinition() 525 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); in ParseTopLevelExpr() local 526 return new FunctionAST(Proto, E); in ParseTopLevelExpr() 803 Function *TheFunction = Proto->Codegen(); in Codegen() 808 if (Proto->isBinaryOp()) in Codegen() 809 BinopPrecedence[Proto->getOperatorName()] = Proto->getBinaryPrecedence(); in Codegen() [all …]
|
/external/llvm/examples/Kaleidoscope/Chapter4/ |
D | toy.cpp | 148 PrototypeAST *Proto; member in FunctionAST 152 : Proto(proto), Body(body) {} in FunctionAST() 327 PrototypeAST *Proto = ParsePrototype(); in ParseDefinition() local 328 if (Proto == 0) return 0; in ParseDefinition() 331 return new FunctionAST(Proto, E); in ParseDefinition() 339 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); in ParseTopLevelExpr() local 340 return new FunctionAST(Proto, E); in ParseTopLevelExpr() 454 Function *TheFunction = Proto->Codegen(); in Codegen()
|
/external/llvm/examples/Kaleidoscope/Chapter7/ |
D | toy.cpp | 223 PrototypeAST *Proto; member in FunctionAST 227 : Proto(proto), Body(body) {} in FunctionAST() 578 PrototypeAST *Proto = ParsePrototype(); in ParseDefinition() local 579 if (Proto == 0) return 0; in ParseDefinition() 582 return new FunctionAST(Proto, E); in ParseDefinition() 590 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); in ParseTopLevelExpr() local 591 return new FunctionAST(Proto, E); in ParseTopLevelExpr() 963 Function *TheFunction = Proto->Codegen(); in Codegen() 968 if (Proto->isBinaryOp()) in Codegen() 969 BinopPrecedence[Proto->getOperatorName()] = Proto->getBinaryPrecedence(); in Codegen() [all …]
|
/external/clang/test/Rewriter/ |
D | static-type-protocol-1.m | 3 @protocol Proto protocol 7 @protocol MyProto <Proto>
|
D | rewrite-protocol-qualified.mm | 22 @protocol Proto 31 id b = bar((id <Proto>)a);
|
/external/clang/lib/Sema/ |
D | SemaLambda.cpp | 694 const FunctionProtoType *Proto in addFunctionPointerConversion() local 699 FunctionProtoType::ExtProtoInfo ExtInfo = Proto->getExtProtoInfo(); in addFunctionPointerConversion() 702 S.Context.getFunctionType(Proto->getResultType(), in addFunctionPointerConversion() 703 ArrayRef<QualType>(Proto->arg_type_begin(), in addFunctionPointerConversion() 704 Proto->getNumArgs()), in addFunctionPointerConversion() 768 const FunctionProtoType *Proto in addBlockPointerConversion() local 772 FunctionProtoType::ExtProtoInfo ExtInfo = Proto->getExtProtoInfo(); in addBlockPointerConversion() 775 = S.Context.getFunctionType(Proto->getResultType(), in addBlockPointerConversion() 776 ArrayRef<QualType>(Proto->arg_type_begin(), in addBlockPointerConversion() 777 Proto->getNumArgs()), in addBlockPointerConversion() [all …]
|
D | SemaTemplateInstantiateDecl.cpp | 1193 const FunctionProtoType *Proto in VisitFunctionDecl() local 1195 assert(Proto && "No function prototype in template instantiation?"); in VisitFunctionDecl() 1196 for (FunctionProtoType::arg_type_iterator AI = Proto->arg_type_begin(), in VisitFunctionDecl() 1197 AE = Proto->arg_type_end(); AI != AE; ++AI) { in VisitFunctionDecl() 2464 const FunctionProtoType *Proto, in InstantiateExceptionSpec() argument 2466 assert(Proto->getExceptionSpecType() != EST_Uninstantiated); in InstantiateExceptionSpec() 2486 for (unsigned I = 0, N = Proto->getNumExceptions(); I != N; ++I) { in InstantiateExceptionSpec() 2489 = Proto->getExceptionType(I)->getAs<PackExpansionType>()) { in InstantiateExceptionSpec() 2549 = SemaRef.SubstType(Proto->getExceptionType(I), TemplateArgs, in InstantiateExceptionSpec() 2558 if (Expr *OldNoexceptExpr = Proto->getNoexceptExpr()) { in InstantiateExceptionSpec() [all …]
|
/external/llvm/examples/Kaleidoscope/Chapter5/ |
D | toy.cpp | 177 PrototypeAST *Proto; member in FunctionAST 181 : Proto(proto), Body(body) {} in FunctionAST() 428 PrototypeAST *Proto = ParsePrototype(); in ParseDefinition() local 429 if (Proto == 0) return 0; in ParseDefinition() 432 return new FunctionAST(Proto, E); in ParseDefinition() 440 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); in ParseTopLevelExpr() local 441 return new FunctionAST(Proto, E); in ParseTopLevelExpr() 699 Function *TheFunction = Proto->Codegen(); in Codegen()
|
/external/clang/test/SemaObjC/ |
D | continuation-class-err.m | 19 @protocol Proto protocol 23 @protocol Foo<Proto>
|
/external/webkit/Tools/BuildSlaveSupport/ |
D | run-performance-tests | 61 Proto => 'tcp',
|
/external/clang/lib/CodeGen/ |
D | CGException.cpp | 491 const FunctionProtoType *Proto = FD->getType()->getAs<FunctionProtoType>(); in EmitStartEHSpec() local 492 if (Proto == 0) in EmitStartEHSpec() 495 ExceptionSpecificationType EST = Proto->getExceptionSpecType(); in EmitStartEHSpec() 497 if (Proto->getNoexceptSpec(getContext()) == FunctionProtoType::NR_Nothrow) { in EmitStartEHSpec() 502 unsigned NumExceptions = Proto->getNumExceptions(); in EmitStartEHSpec() 506 QualType Ty = Proto->getExceptionType(I); in EmitStartEHSpec() 559 const FunctionProtoType *Proto = FD->getType()->getAs<FunctionProtoType>(); in EmitEndEHSpec() local 560 if (Proto == 0) in EmitEndEHSpec() 563 ExceptionSpecificationType EST = Proto->getExceptionSpecType(); in EmitEndEHSpec() 565 if (Proto->getNoexceptSpec(getContext()) == FunctionProtoType::NR_Nothrow) { in EmitEndEHSpec()
|
/external/chromium/testing/gmock/include/gmock/ |
D | gmock-actions.h | 702 template <size_t N, typename Proto> 703 class SetArgumentPointeeAction<N, Proto, true> { 709 explicit SetArgumentPointeeAction(const Proto& proto) : proto_(new Proto) { in SetArgumentPointeeAction() 720 const internal::linked_ptr<Proto> proto_;
|