Searched refs:Proto (Results 51 - 75 of 111) sorted by relevance

12345

/external/llvm/examples/Kaleidoscope/Chapter9/
H A Dtoy.cpp387 std::unique_ptr<PrototypeAST> Proto; member in class:__anon13564::FunctionAST
391 FunctionAST(std::unique_ptr<PrototypeAST> Proto, argument
393 : Proto(std::move(Proto)), Body(std::move(Body)) {}
789 auto Proto = ParsePrototype(); local
790 if (!Proto)
794 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E));
803 auto Proto = llvm::make_unique<PrototypeAST>(FnLoc, "__anon_expr", local
805 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E));
1226 auto &P = *Proto;
[all...]
/external/perfetto/tools/ftrace_proto_gen/
H A Dmain.cc92 perfetto::Proto proto;
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
H A Dtoy.cpp645 auto Proto = ParsePrototype(); local
646 if (!Proto)
650 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E));
658 auto Proto = llvm::make_unique<PrototypeAST>("__anon_expr", local
660 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E));
1029 return *Proto;
1033 return Proto->getName();
1039 auto &P = *Proto;
1079 BinopPrecedence.erase(Proto->getOperatorName());
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/
H A Dtoy.cpp660 auto Proto = ParsePrototype(); local
661 if (!Proto)
665 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E));
679 auto Proto = llvm::make_unique<PrototypeAST>("__anon_expr", local
681 return llvm::make_unique<FunctionAST>(std::move(Proto),
1051 return *Proto;
1055 return Proto->getName();
1061 auto &P = *Proto;
1101 BinopPrecedence.erase(Proto->getOperatorName());
/external/syslinux/com32/lua/src/
H A Dlobject.h467 typedef struct Proto { struct
471 struct Proto **p; /* functions defined inside the function */
489 } Proto; typedef in typeref:struct:Proto
525 struct Proto *p;
H A Dlstate.h191 struct Proto p;
H A Dlparser.c167 Proto *f = fs->f;
232 Proto *f = fs->f;
498 static Proto *addprototype (LexState *ls) {
499 Proto *clp;
502 Proto *f = fs->f; /* prototype of current function */
505 luaM_growvector(L, f->p, fs->np, f->sizep, Proto *, MAXARG_Bx, "functions");
529 Proto *f;
558 Proto *f = fs->f;
567 luaM_reallocvector(L, f->p, f->sizep, fs->np, Proto *);
762 Proto *
[all...]
H A Dlgc.h152 LUAI_FUNC void luaC_barrierproto_ (lua_State *L, Proto *p, Closure *c);
H A Dlgc.c172 LUAI_FUNC void luaC_barrierproto_ (lua_State *L, Proto *p, Closure *c) {
457 static int traverseproto (global_State *g, Proto *f) {
470 return sizeof(Proto) + sizeof(Instruction) * f->sizecode +
471 sizeof(Proto *) * f->sizep +
555 Proto *p = gco2p(o);
/external/protobuf/src/google/protobuf/
H A Dwire_format_unittest.cc868 template <class Proto>
869 void SetProto3PrimitiveRepeatedFields(Proto* message) {
887 template <class Proto>
888 void ExpectProto3PrimitiveRepeatedFieldsSet(const Proto& message) {
906 template <class Proto>
907 void TestSerialization(Proto* message, const string& expected) {
933 template <class Proto>
934 void TestParsing(Proto* message, const string& compatible_data) {
/external/clang/lib/AST/
H A DDeclObjC.cpp72 if (const ObjCProtocolDecl *Proto = dyn_cast<ObjCProtocolDecl>(this)) {
73 if (const ObjCProtocolDecl *Def = Proto->getDefinition())
134 for (const auto *Proto : ID->all_referenced_protocols())
135 if (Proto->HasUserDeclaredSetterMethod(Property))
159 if (const ObjCProtocolDecl *Proto = dyn_cast<ObjCProtocolDecl>(DC)) {
160 if (const ObjCProtocolDecl *Def = Proto->getDefinition())
217 if (const ObjCProtocolDecl *Proto = dyn_cast<ObjCProtocolDecl>(this)) {
218 if (const ObjCProtocolDecl *Def = Proto->getDefinition())
430 for (auto *Proto : all_referenced_protocols()) {
431 if (C.ProtocolCompatibleWithProtocol(ProtoInExtension, Proto)) {
[all...]
H A DMicrosoftMangle.cpp1798 const FunctionProtoType *Proto = dyn_cast<FunctionProtoType>(T); local
1827 Qualifiers Quals = Qualifiers::fromCVRUMask(Proto->getTypeQuals());
1829 mangleRefQualifier(Proto->getRefQualifier());
1858 Proto->getParamType(0)
1894 if (!Proto) {
1899 } else if (Proto->getNumParams() == 0 && !Proto->isVariadic()) {
1903 for (unsigned I = 0, E = Proto->getNumParams(); I != E; ++I) {
1904 mangleArgumentType(Proto->getParamType(I), Range);
1918 if (Proto
[all...]
H A DItaniumMangle.cpp1593 const FunctionProtoType *Proto = Lambda->getLambdaTypeInfo()->getType()-> local
1595 mangleBareFunctionType(Proto, /*MangleReturnType=*/false,
2540 void CXXNameMangler::mangleBareFunctionType(const FunctionProtoType *Proto, argument
2552 if (Proto->getExtInfo().getProducesResult() && FD == nullptr)
2556 QualType ReturnTy = Proto->getReturnType();
2567 if (Proto->getNumParams() == 0 && !Proto->isVariadic()) {
2575 assert(!FD || FD->getNumParams() == Proto->getNumParams());
2576 for (unsigned I = 0, E = Proto->getNumParams(); I != E; ++I) {
2578 if (Proto
[all...]
/external/clang/lib/CodeGen/
H A DCGException.cpp437 const FunctionProtoType *Proto = FD->getType()->getAs<FunctionProtoType>(); local
438 if (!Proto)
441 ExceptionSpecificationType EST = Proto->getExceptionSpecType();
443 if (Proto->getNoexceptSpec(getContext()) == FunctionProtoType::NR_Nothrow) {
452 unsigned NumExceptions = Proto->getNumExceptions();
456 QualType Ty = Proto->getExceptionType(I);
516 const FunctionProtoType *Proto = FD->getType()->getAs<FunctionProtoType>(); local
517 if (!Proto)
520 ExceptionSpecificationType EST = Proto->getExceptionSpecType();
522 if (Proto
[all...]
/external/google-breakpad/src/testing/include/gmock/
H A Dgmock-actions.h704 template <size_t N, typename Proto>
705 class SetArgumentPointeeAction<N, Proto, true> {
711 explicit SetArgumentPointeeAction(const Proto& proto) : proto_(new Proto) {
722 const internal::linked_ptr<Proto> proto_;
/external/googletest/googlemock/include/gmock/
H A Dgmock-actions.h822 template <size_t N, typename Proto>
823 class SetArgumentPointeeAction<N, Proto, true> {
829 explicit SetArgumentPointeeAction(const Proto& proto) : proto_(new Proto) {
840 const internal::linked_ptr<Proto> proto_;
/external/swiftshader/third_party/LLVM/utils/TableGen/
H A DCodeGenRegisters.cpp192 Record *Proto = Lists[0][n]; local
210 // Copy Proto super-classes.
211 for (unsigned i = 0, e = Proto->getSuperClasses().size(); i != e; ++i)
212 NewReg->addSuperClass(Proto->getSuperClasses()[i]);
214 // Copy Proto fields.
215 for (unsigned i = 0, e = Proto->getValues().size(); i != e; ++i) {
216 RecordVal RV = Proto->getValues()[i];
246 // Everything else is copied from Proto.
/external/v8/testing/gmock/include/gmock/
H A Dgmock-actions.h822 template <size_t N, typename Proto>
823 class SetArgumentPointeeAction<N, Proto, true> {
829 explicit SetArgumentPointeeAction(const Proto& proto) : proto_(new Proto) {
840 const internal::linked_ptr<Proto> proto_;
/external/clang/lib/Sema/
H A DSemaObjCProperty.cpp111 ObjCProtocolDecl *Proto,
114 if (!Known.insert(Proto).second)
118 DeclContext::lookup_result R = Proto->lookup(Prop->getDeclName());
121 S.DiagnosePropertyMismatch(Prop, ProtoProp, Proto->getIdentifier(), true);
127 for (auto *P : Proto->protocols())
270 ObjCProtocolDecl *Proto = cast<ObjCProtocolDecl>(ClassDecl); local
271 for (auto *P : Proto->protocols())
882 for (const auto *Proto : OrigClass->all_referenced_protocols()) {
883 if (ObjCPropertyDecl *OrigProp = Proto->FindPropertyDeclaration(
1707 if (ObjCProtocolDecl *Proto
110 CheckPropertyAgainstProtocol(Sema &S, ObjCPropertyDecl *Prop, ObjCProtocolDecl *Proto, llvm::SmallPtrSetImpl<ObjCProtocolDecl *> &Known) argument
1716 << Prop << Proto; local
[all...]
H A DSemaExceptionSpec.cpp170 const FunctionProtoType *Proto = local
172 if (Proto->getExceptionSpecType() == clang::EST_Unparsed) {
174 Proto = nullptr;
176 return Proto;
H A DSemaTemplateDeduction.cpp2556 const FunctionProtoType *Proto local
2558 assert(Proto && "Function template does not have a prototype?");
2569 if (Proto->hasTrailingReturn()) {
2571 Proto->getExtParameterInfosOrNull(),
2597 SubstType(Proto->getReturnType(),
2606 if (!Proto->hasTrailingReturn() &&
2608 Proto->getExtParameterInfosOrNull(),
2614 auto EPI = Proto->getExtProtoInfo();
3341 const FunctionProtoType *Proto local
3343 if (Proto
4807 const FunctionProtoType *Proto = cast<FunctionProtoType>(T); local
[all...]
H A DSemaChecking.cpp1991 const FunctionProtoType *Proto,
1994 assert((FDecl || Proto) && "Need a function declaration or prototype");
2043 if (!Proto) {
2053 Proto = type->getAs<FunctionProtoType>();
2059 if (Proto) {
2061 for (auto paramType : Proto->getParamTypes()) {
2084 void Sema::checkCall(NamedDecl *FDecl, const FunctionProtoType *Proto, argument
2107 unsigned NumParams = Proto ? Proto->getNumParams()
2123 if (FDecl || Proto) {
1989 CheckNonNullArguments(Sema &S, const NamedDecl *FDecl, const FunctionProtoType *Proto, ArrayRef<const Expr *> Args, SourceLocation CallSiteLoc) argument
2136 CheckConstructorCall(FunctionDecl *FDecl, ArrayRef<const Expr *> Args, const FunctionProtoType *Proto, SourceLocation Loc) argument
2148 CheckFunctionCall(FunctionDecl *FDecl, CallExpr *TheCall, const FunctionProtoType *Proto) argument
2206 CheckPointerCall(NamedDecl *NDecl, CallExpr *TheCall, const FunctionProtoType *Proto) argument
2239 CheckOtherCall(CallExpr *TheCall, const FunctionProtoType *Proto) argument
6910 const FunctionProtoType *Proto local
[all...]
H A DSemaCodeComplete.cpp2354 if (const FunctionProtoType *Proto
2356 if (Proto->isVariadic()) {
2357 if (Proto->getNumParams() == 0)
2470 const FunctionProtoType *Proto local
2472 if (!Proto || !Proto->getTypeQuals())
2478 if (Proto->getTypeQuals() == Qualifiers::Const) {
2483 if (Proto->getTypeQuals() == Qualifiers::Volatile) {
2488 if (Proto->getTypeQuals() == Qualifiers::Restrict) {
2495 if (Proto
2963 const FunctionProtoType *Proto local
[all...]
/external/clang/tools/libclang/
H A DCXCursor.h72 CXCursor MakeCursorObjCProtocolRef(const ObjCProtocolDecl *Proto,
/external/pdfium/xfa/fxfa/parser/
H A Dcxfa_nodehelper.cpp274 refNodeType == XFA_Element::Area || refNodeType == XFA_Element::Proto;

Completed in 2555 milliseconds

12345