Searched defs:FunctionType (Results 1 - 25 of 26) sorted by relevance

12

/external/tensorflow/tensorflow/contrib/learn/python/learn/learn_io/
H A Dgenerator_io.py22 from types import FunctionType namespace
80 TypeError: `x` is not `FunctionType`.
88 if not isinstance(x, FunctionType):
/external/clang/test/Sema/
H A Dinvalid-decl.c24 typedef int (FunctionType)(int *value); typedef
27 FunctionType fun; // expected-error {{field 'fun' declared as a function}}
/external/python/cpython2/Lib/test/
H A Dtest_pyclbr.py7 from types import ClassType, FunctionType, MethodType, BuiltinFunctionType namespace
71 if isinstance(obj, FunctionType):
82 if not isinstance(classdict[name], FunctionType):
97 self.assertIsInstance(py_item, (FunctionType, BuiltinFunctionType))
142 if isinstance(item, FunctionType):
147 if isinstance(item, (ClassType, FunctionType)):
/external/python/cpython2/Tools/framer/framer/
H A Dbases.py11 from types import FunctionType namespace
59 if isinstance(obj, FunctionType):
147 if isinstance(v, FunctionType):
/external/python/cpython3/Lib/test/
H A Dtest_pyclbr.py6 from types import FunctionType, MethodType, BuiltinFunctionType namespace
71 elif not isinstance(obj, FunctionType):
86 self.assertIsInstance(py_item, (FunctionType, BuiltinFunctionType))
131 if isinstance(item, FunctionType):
136 if isinstance(item, (type, FunctionType)):
/external/clang/utils/ABITest/
H A DTypeGen.py166 class FunctionType(Type): class in inherits:Type
407 return FunctionType(N, retTy, args)
/external/python/cpython2/Lib/
H A Dtypes.py43 FunctionType = type(_f) variable
44 LambdaType = type(lambda: None) # Same as FunctionType
81 GetSetDescriptorType = type(FunctionType.func_code)
82 MemberDescriptorType = type(FunctionType.func_globals)
/external/python/cpython3/Lib/
H A Dtypes.py12 FunctionType = type(_f) variable
13 LambdaType = type(lambda: None) # Same as FunctionType
50 GetSetDescriptorType = type(FunctionType.__code__)
51 MemberDescriptorType = type(FunctionType.__globals__)
217 if (func.__class__ is FunctionType and
H A Dpickle.py26 from types import FunctionType namespace
980 dispatch[FunctionType] = save_global
/external/spirv-llvm/lib/SPIRV/libSPIRV/
H A DSPIRVFunction.h86 SPIRVFunction(SPIRVModule *M, SPIRVTypeFunction *FunctionType, SPIRVId TheId) argument
87 :SPIRVValue(M, 5, OpFunction, FunctionType->getReturnType(), TheId),
88 FuncType(FunctionType), FCtrlMask(FunctionControlMaskNone) {
/external/swiftshader/third_party/LLVM/include/llvm/
H A DDerivedTypes.h94 /// FunctionType - Class to represent function types
96 class FunctionType : public Type { class in namespace:llvm
97 FunctionType(const FunctionType &); // Do not implement
98 const FunctionType &operator=(const FunctionType &); // Do not implement
99 FunctionType(Type *Result, ArrayRef<Type*> Params, bool IsVarArgs);
102 /// FunctionType::get - This static method is the primary way of constructing
103 /// a FunctionType.
105 static FunctionType *ge
[all...]
/external/llvm/include/llvm/IR/
H A DDerivedTypes.h99 class FunctionType : public Type { class in namespace:llvm
100 FunctionType(const FunctionType &) = delete;
101 const FunctionType &operator=(const FunctionType &) = delete;
102 FunctionType(Type *Result, ArrayRef<Type*> Params, bool IsVarArgs);
105 /// This static method is the primary way of constructing a FunctionType.
106 static FunctionType *get(Type *Result,
109 /// Create a FunctionType taking no parameters.
110 static FunctionType *ge
[all...]
/external/llvm/unittests/ExecutionEngine/MCJIT/
H A DMCJITCAPITest.cpp480 LLVMTypeRef FunctionType = LLVMFunctionType(LLVMInt32Type(), nullptr, 0, 0); local
481 LLVMValueRef MappedFn = LLVMAddFunction(Module, "mapped_fn", FunctionType);
483 Function = LLVMAddFunction(Module, "test_fn", FunctionType);
/external/protobuf/src/google/protobuf/stubs/
H A Dcallback.h121 typedef void (*FunctionType)(); typedef in class:google::protobuf::internal::FunctionClosure0
123 FunctionClosure0(FunctionType function, bool self_deleting)
134 FunctionType function_;
162 typedef void (*FunctionType)(Arg1 arg1); typedef in class:google::protobuf::internal::FunctionClosure1
164 FunctionClosure1(FunctionType function, bool self_deleting,
177 FunctionType function_;
209 typedef void (*FunctionType)(Arg1 arg1, Arg2 arg2); typedef in class:google::protobuf::internal::FunctionClosure2
211 FunctionClosure2(FunctionType function, bool self_deleting,
224 FunctionType function_;
258 typedef R (*FunctionType)(); typedef in class:google::protobuf::internal::FunctionResultCallback_0_0
279 typedef R (*FunctionType)(P1); typedef in class:google::protobuf::internal::FunctionResultCallback_1_0
302 typedef R (*FunctionType)(Arg1 arg1); typedef in class:google::protobuf::internal::FunctionResultCallback_0_1
323 typedef R (*FunctionType)(P1, A1); typedef in class:google::protobuf::internal::FunctionResultCallback_1_1
[all...]
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
H A DDerivedTypes.h102 class FunctionType : public Type { class in namespace:llvm
103 FunctionType(Type *Result, ArrayRef<Type*> Params, bool IsVarArgs);
106 FunctionType(const FunctionType &) = delete;
107 FunctionType &operator=(const FunctionType &) = delete;
109 /// This static method is the primary way of constructing a FunctionType.
110 static FunctionType *get(Type *Result,
113 /// Create a FunctionType taking no parameters.
114 static FunctionType *ge
[all...]
/external/llvm/lib/IR/
H A DType.cpp268 // FunctionType Implementation
271 FunctionType::FunctionType(Type *Result, ArrayRef<Type*> Params, function in class:FunctionType
290 // This is the factory function for the FunctionType class.
291 FunctionType *FunctionType::get(Type *ReturnType,
296 FunctionType *FT;
299 FT = (FunctionType*) pImpl->TypeAllocator.
300 Allocate(sizeof(FunctionType) + sizeof(Type*) * (Params.size() + 1),
301 AlignOf<FunctionType>
[all...]
/external/swiftshader/third_party/LLVM/lib/VMCore/
H A DType.cpp306 // FunctionType Implementation
309 FunctionType::FunctionType(Type *Result, ArrayRef<Type*> Params, function in class:FunctionType
328 // FunctionType::get - The factory function for the FunctionType class.
329 FunctionType *FunctionType::get(Type *ReturnType,
341 FunctionType *&FT = pImpl->FunctionTypes[Key];
344 FT = (FunctionType*) pImpl->TypeAllocator.
345 Allocate(sizeof(FunctionType)
[all...]
/external/llvm/include/llvm/DebugInfo/CodeView/
H A DSymbolRecord.h53 TypeIndex FunctionType; member in struct:llvm::codeview::ProcSym::Hdr
H A DTypeRecord.h236 MemberFuncIdRecord(TypeIndex ClassType, TypeIndex FunctionType, argument
239 FunctionType(FunctionType), Name(Name) {}
248 TypeIndex getFunctionType() const { return FunctionType; }
254 TypeIndex FunctionType; member in struct:llvm::codeview::MemberFuncIdRecord::Layout
258 TypeIndex FunctionType; member in class:llvm::codeview::MemberFuncIdRecord
715 FuncIdRecord(TypeIndex ParentScope, TypeIndex FunctionType, StringRef Name) argument
717 FunctionType(FunctionType), Name(Name) {}
728 TypeIndex getFunctionType() const { return FunctionType; }
735 TypeIndex FunctionType; member in struct:llvm::codeview::FuncIdRecord::Layout
740 TypeIndex FunctionType; member in class:llvm::codeview::FuncIdRecord
[all...]
/external/clang/include/clang/Sema/
H A DScopeInfo.h607 QualType FunctionType; member in class:clang::sema::final
/external/libcxxabi/src/
H A Dcxa_demangle.cpp695 class FunctionType final : public Node {
700 FunctionType(Node *Ret_, NodeArray Params_) function in class:__anon11207::final
2127 Node *Fn = make<FunctionType>(ReturnType, Params);
/external/clang/lib/Sema/
H A DSemaTemplateDeduction.cpp897 const FunctionType *ParamFunction = Param->getAs<FunctionType>(),
898 *ArgFunction = Arg->getAs<FunctionType>();
2463 /// \param FunctionType if non-NULL, the result type of the function template
2478 QualType *FunctionType,
2490 if (FunctionType)
2491 *FunctionType = Function->getType();
2613 if (FunctionType) {
2616 *FunctionType = BuildFunctionType(ResultType, ParamTypes,
2620 if (FunctionType
2473 SubstituteExplicitTemplateArguments( FunctionTemplateDecl *FunctionTemplate, TemplateArgumentListInfo &ExplicitTemplateArgs, SmallVectorImpl<DeducedTemplateArgument> &Deduced, SmallVectorImpl<QualType> &ParamTypes, QualType *FunctionType, TemplateDeductionInfo &Info) argument
3513 adjustCCAndNoReturn(QualType ArgFunctionType, QualType FunctionType) argument
3571 QualType FunctionType = Function->getType(); local
[all...]
/external/clang/include/clang/AST/
H A DType.h1373 friend class FunctionType;
2879 /// FunctionType - C99 6.7.5.3 - Function Declarators. This is the common base
2882 class FunctionType : public Type { class in namespace:clang
2891 /// a FunctionType, although FunctionType does currently use the
2926 friend class FunctionType;
2999 FunctionType(TypeClass tc, QualType res,
3042 class FunctionNoProtoType : public FunctionType, public llvm::FoldingSetNode {
3044 : FunctionType(FunctionNoProto, Result, Canonical,
3052 // No additional state past what FunctionType provide
[all...]
/external/v8/src/ast/
H A Dast.h2555 enum FunctionType { enum in class:v8::internal::final
2660 FunctionType function_type() const {
2704 FunctionType function_type,
2731 : public BitField<FunctionType, Expression::kNextBitFieldIndex, 2> {};
3499 FunctionLiteral::FunctionType function_type,
/external/annotation-tools/asmx/test/lib/
H A Djd.xslt-1.5.5.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/sarvega/ javax/ javax/xml/ javax/xml/parsers/ javax/ ...

Completed in 745 milliseconds

12