Home
last modified time | relevance | path

Searched refs:FunctionType (Results 1 – 25 of 222) sorted by relevance

123456789

/third_party/typescript/tests/baselines/reference/
DexcessPropertyErrorForFunctionTypes.symbols2 type FunctionType = () => any;
3 >FunctionType : Symbol(FunctionType, Decl(excessPropertyErrorForFunctionTypes.ts, 0, 0))
5 type DoesntWork = { a: number, c: number } | FunctionType;
9 >FunctionType : Symbol(FunctionType, Decl(excessPropertyErrorForFunctionTypes.ts, 0, 0))
DexcessPropertyErrorForFunctionTypes.types2 type FunctionType = () => any;
3 >FunctionType : FunctionType
5 type DoesntWork = { a: number, c: number } | FunctionType;
DexcessPropertyErrorForFunctionTypes.js2 type FunctionType = () => any;
3 type DoesntWork = { a: number, c: number } | FunctionType;
/third_party/protobuf/src/google/protobuf/stubs/
Dcallback.h124 typedef void (*FunctionType)(); typedef
126 FunctionClosure0(FunctionType function, bool self_deleting) in FunctionClosure0()
137 FunctionType function_;
165 typedef void (*FunctionType)(Arg1 arg1); typedef
167 FunctionClosure1(FunctionType function, bool self_deleting, in FunctionClosure1()
180 FunctionType function_;
212 typedef void (*FunctionType)(Arg1 arg1, Arg2 arg2); typedef
214 FunctionClosure2(FunctionType function, bool self_deleting, in FunctionClosure2()
227 FunctionType function_;
261 typedef R (*FunctionType)(); typedef
[all …]
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
DRoutine.hpp32 template<typename FunctionType>
39 using FunctionType = Return (*)(Arguments...); typedef in rr::RoutineT
48 function = reinterpret_cast<FunctionType>(const_cast<void *>(routine->getEntry(0))); in RoutineT()
63 const FunctionType getEntry() const in getEntry()
70 FunctionType function = nullptr;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DDerivedTypes.h102 class FunctionType : public Type {
103 FunctionType(Type *Result, ArrayRef<Type*> Params, bool IsVarArgs);
106 FunctionType(const FunctionType &) = delete;
107 FunctionType &operator=(const FunctionType &) = delete;
110 static FunctionType *get(Type *Result,
114 static FunctionType *get(Type *Result, bool isVarArg);
144 static_assert(alignof(FunctionType) >= alignof(Type *),
148 return cast<FunctionType>(this)->isVarArg(); in isFunctionVarArg()
152 return cast<FunctionType>(this)->getParamType(i); in getFunctionParamType()
156 return cast<FunctionType>(this)->getNumParams(); in getFunctionNumParams()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DDerivedTypes.h108 class FunctionType : public Type {
109 FunctionType(Type *Result, ArrayRef<Type*> Params, bool IsVarArgs);
112 FunctionType(const FunctionType &) = delete;
113 FunctionType &operator=(const FunctionType &) = delete;
116 static FunctionType *get(Type *Result,
120 static FunctionType *get(Type *Result, bool isVarArg);
151 static_assert(alignof(FunctionType) >= alignof(Type *),
155 return cast<FunctionType>(this)->isVarArg(); in isFunctionVarArg()
159 return cast<FunctionType>(this)->getParamType(i); in getFunctionParamType()
163 return cast<FunctionType>(this)->getNumParams(); in getFunctionNumParams()
[all …]
DInlineAsm.h26 class FunctionType; variable
42 FunctionType *FTy;
47 InlineAsm(FunctionType *Ty, const std::string &AsmString,
61 static InlineAsm *get(FunctionType *Ty, StringRef AsmString,
78 FunctionType *getFunctionType() const;
87 static bool Verify(FunctionType *Ty, StringRef Constraints);
DIntrinsics.h26 class FunctionType; variable
62 FunctionType *getType(LLVMContext &Context, ID id,
187 matchIntrinsicSignature(FunctionType *FTy, ArrayRef<IITDescriptor> &Infos,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DDataFlowSanitizer.cpp201 if (isa<FunctionType>(GA.getValueType())) in isIn()
219 TransformedFunction(FunctionType* OriginalType, in TransformedFunction()
220 FunctionType* TransformedType, in TransformedFunction()
235 FunctionType *OriginalType;
238 FunctionType *TransformedType;
337 FunctionType *GetArgTLSTy;
338 FunctionType *GetRetvalTLSTy;
342 FunctionType *DFSanUnionFnTy;
343 FunctionType *DFSanUnionLoadFnTy;
344 FunctionType *DFSanUnimplementedFnTy;
[all …]
DGCOVProfiling.cpp658 FunctionType *FTy = FunctionType::get(Builder.getVoidTy(), {}, false); in AddFlushBeforeForkAndExec()
858 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), false); in emitProfileArcs()
870 FTy = FunctionType::get(Type::getVoidTy(*Ctx), false); in emitProfileArcs()
875 FTy = FunctionType::get(Builder.getVoidTy(), Params, false); in emitProfileArcs()
895 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), Args, false); in getStartFileFunc()
911 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), Args, false); in getEmitFunctionFunc()
927 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), Args, false); in getEmitArcsFunc()
935 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), false); in getSummaryInfoFunc()
940 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), false); in getEndFileFunc()
946 FunctionType *WriteoutFTy = FunctionType::get(Type::getVoidTy(*Ctx), false); in insertCounterWriteout()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyFixFunctionBitcasts.cpp118 static Function *createWrapper(Function *F, FunctionType *Ty) { in createWrapper()
130 FunctionType::param_iterator PI = F->getFunctionType()->param_begin(); in createWrapper()
131 FunctionType::param_iterator PE = F->getFunctionType()->param_end(); in createWrapper()
228 static bool shouldFixMainFunction(FunctionType *FuncTy, FunctionType *MainTy) { in shouldFixMainFunction()
258 FunctionType *MainTy = FunctionType::get(Type::getInt32Ty(C), MainArgTys, in runOnModule()
274 DenseMap<std::pair<Function *, FunctionType *>, Function *> Wrappers; in runOnModule()
280 auto *Ty = dyn_cast<FunctionType>(PTy->getElementType()); in runOnModule()
DWebAssemblyLowerEmscriptenEHSjLj.cpp331 static std::string getSignature(FunctionType *FTy) { in getSignature()
359 FunctionType *FTy = FunctionType::get(Int8PtrTy, Args, false); in getFindMatchingCatch()
451 FunctionType *CalleeFTy; in getInvokeWrapper()
456 CalleeFTy = cast<FunctionType>(CalleeTy); in getInvokeWrapper()
468 FunctionType *FTy = FunctionType::get(CalleeFTy->getReturnType(), ArgTys, in getInvokeWrapper()
643 Function::Create(FunctionType::get(IRB.getInt32Ty(), false), in runOnModule()
646 FunctionType::get(IRB.getVoidTy(), IRB.getInt32Ty(), false), in runOnModule()
656 FunctionType *ResumeFTy = in runOnModule()
657 FunctionType::get(IRB.getVoidTy(), IRB.getInt8PtrTy(), false); in runOnModule()
662 FunctionType *EHTypeIDTy = in runOnModule()
[all …]
DWebAssemblyLowerGlobalDtors.cpp108 FunctionType *AtExitFuncTy = in runOnModule()
109 FunctionType::get(Type::getVoidTy(C), AtExitFuncArgs, in runOnModule()
114 FunctionType::get(Type::getInt32Ty(C), in runOnModule()
146 FunctionType *VoidVoid = FunctionType::get(Type::getVoidTy(C), in runOnModule()
DWebAssemblyAddMissingPrototypes.cpp91 FunctionType *NewType = nullptr; in runOnModule()
96 if (auto *DestType = dyn_cast<FunctionType>( in runOnModule()
122 NewType = FunctionType::get(F.getFunctionType()->getReturnType(), false); in runOnModule()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Interpreter/
DExternalFunctions.cpp62 typedef GenericValue (*ExFunc)(FunctionType *, ArrayRef<GenericValue>);
104 FunctionType *FT = F->getFunctionType(); in lookupFunction()
194 FunctionType *FTy = F->getFunctionType(); in ffiInvoke()
310 static GenericValue lle_X_atexit(FunctionType *FT, in lle_X_atexit()
320 static GenericValue lle_X_exit(FunctionType *FT, ArrayRef<GenericValue> Args) { in lle_X_exit()
326 static GenericValue lle_X_abort(FunctionType *FT, ArrayRef<GenericValue> Args) { in lle_X_abort()
335 static GenericValue lle_X_sprintf(FunctionType *FT, in lle_X_sprintf()
417 static GenericValue lle_X_printf(FunctionType *FT, in lle_X_printf()
429 static GenericValue lle_X_sscanf(FunctionType *FT, in lle_X_sscanf()
444 static GenericValue lle_X_scanf(FunctionType *FT, ArrayRef<GenericValue> args) { in lle_X_scanf()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPULibFunc.h16 class FunctionType; variable
347 virtual FunctionType *getFunctionType(Module &M) const = 0;
364 explicit AMDGPULibFunc(StringRef FName, FunctionType *FT);
391 FunctionType *getFunctionType(Module &M) const { in getFunctionType()
416 FunctionType *getFunctionType(Module &M) const override;
436 FunctionType *FuncTy;
440 explicit AMDGPUUnmangledLibFunc(StringRef FName, FunctionType *FT) { in AMDGPUUnmangledLibFunc()
446 FunctionType *getFunctionType(Module &M) const override { return FuncTy; } in getFunctionType()
455 void setFunctionType(FunctionType *FT) { FuncTy = FT; } in setFunctionType()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSanitizerStats.cpp57 FunctionType *StatReportTy = in create()
58 FunctionType::get(B.getVoidTy(), Int8PtrTy, false); in create()
94 auto F = Function::Create(FunctionType::get(VoidTy, false), in finish()
99 FunctionType *StatInitTy = FunctionType::get(VoidTy, Int8PtrTy, false); in finish()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DType.cpp281 FunctionType::FunctionType(Type *Result, ArrayRef<Type*> Params, in FunctionType() function in FunctionType
301 FunctionType *FunctionType::get(Type *ReturnType, in get()
305 FunctionType *FT; in get()
315 FT = (FunctionType *)pImpl->Alloc.Allocate( in get()
316 sizeof(FunctionType) + sizeof(Type *) * (Params.size() + 1), in get()
317 alignof(FunctionType)); in get()
318 new (FT) FunctionType(ReturnType, Params, isVarArg); in get()
327 FunctionType *FunctionType::get(Type *Result, bool isVarArg) { in get()
331 bool FunctionType::isValidReturnType(Type *RetTy) { in isValidReturnType()
336 bool FunctionType::isValidArgumentType(Type *ArgTy) { in isValidArgumentType()
DInlineAsm.cpp30 InlineAsm::InlineAsm(FunctionType *FTy, const std::string &asmString, in InlineAsm()
42 InlineAsm *InlineAsm::get(FunctionType *FTy, StringRef AsmString, in get()
56 FunctionType *InlineAsm::getFunctionType() const { in getFunctionType()
253 bool InlineAsm::Verify(FunctionType *Ty, StringRef ConstStr) { in Verify()
/third_party/python/Lib/test/
Dtest_pyclbr.py8 from types import FunctionType, MethodType, BuiltinFunctionType
75 elif not isinstance(obj, FunctionType):
90 self.assertIsInstance(py_item, (FunctionType, BuiltinFunctionType))
135 if isinstance(item, FunctionType):
140 if isinstance(item, (type, FunctionType)):
/third_party/typescript/tests/cases/compiler/
DexcessPropertyErrorForFunctionTypes.ts1 type FunctionType = () => any; alias
2 type DoesntWork = { a: number, c: number } | FunctionType;
/third_party/skia/third_party/externals/swiftshader/src/Device/
DRoutineCache.hpp26 template<class State, class FunctionType>
27 using RoutineCache = LRUCache<State, RoutineT<FunctionType>>;
/third_party/libphonenumber/cpp/src/phonenumbers/
Dcallback.h38 typedef R (FunctionType)(A1, A2, A3, A4); typedef
40 explicit FunctionCallback4(FunctionType* function) : function_(function) {} in FunctionCallback4()
48 FunctionType* const function_;
/third_party/skia/third_party/externals/abseil-cpp/absl/types/
Dany_test.cc87 using FunctionType = void(); typedef
185 absl::any o(absl::in_place_type_t<FunctionType>(), FunctionToEmplace); in TEST()
186 FunctionType*& construction_result = absl::any_cast<FunctionType*&>(o); in TEST()
191 absl::any o(absl::in_place_type<FunctionType>, FunctionToEmplace); in TEST()
192 auto& construction_result = absl::any_cast<FunctionType*&>(o); in TEST()
303 (std::is_same<decltype(o.emplace<FunctionType>(FunctionToEmplace)), in TEST()
304 FunctionType*&>::value)); in TEST()
305 FunctionType*& emplace_result = o.emplace<FunctionType>(FunctionToEmplace); in TEST()

123456789