Home
last modified time | relevance | path

Searched refs:Ctor (Results 1 – 25 of 43) sorted by relevance

12

/third_party/typescript/tests/baselines/reference/
DdeclarationsIndirectGeneratedAliasReference.symbols2 export interface Ctor {
3 >Ctor : Symbol(Ctor, Decl(ctor.d.ts, 0, 0), Decl(ctor.d.ts, 7, 12))
6 >x : Symbol(Ctor.x, Decl(ctor.d.ts, 0, 23))
18 extends<T>(x: T): ExtendedCtor<T extends unknown ? Ctor : undefined>;
25 >Ctor : Symbol(Ctor, Decl(ctor.d.ts, 0, 0), Decl(ctor.d.ts, 7, 12))
27 export const Ctor: CtorConstructor;
28 >Ctor : Symbol(Ctor, Decl(ctor.d.ts, 0, 0), Decl(ctor.d.ts, 7, 12))
32 import { Ctor } from "./ctor";
33 >Ctor : Symbol(Ctor, Decl(index.d.ts, 0, 8))
35 export default Ctor;
[all …]
DdeclarationsIndirectGeneratedAliasReference.types2 export interface Ctor {
12 extends<T>(x: T): ExtendedCtor<T extends unknown ? Ctor : undefined>;
13 >extends : <T>(x: T) => ExtendedCtor<T extends unknown ? Ctor : undefined>
16 export const Ctor: CtorConstructor;
17 >Ctor : CtorConstructor
20 import { Ctor } from "./ctor";
21 >Ctor : import("tests/cases/compiler/node_modules/mod/ctor").CtorConstructor
23 export default Ctor;
24 >Ctor : Ctor
30 const Ctor = ns.default;
[all …]
DdeclarationsIndirectGeneratedAliasReference.js4 export interface Ctor {
9 extends<T>(x: T): ExtendedCtor<T extends unknown ? Ctor : undefined>;
11 export const Ctor: CtorConstructor; constant
13 import { Ctor } from "./ctor";
14 export default Ctor;
17 const Ctor = ns.default; constant
18 export const MyComp = Ctor.extends({foo: "bar"});
26 var Ctor = ns["default"]; variable
27 exports.MyComp = Ctor["extends"]({ foo: "bar" });
DtsxGenericAttributesType9.types5 export function makeP<P>(Ctor: React.ComponentClass<P>) {
6 >makeP : <P>(Ctor: React.ComponentClass<P>) => typeof (Anonymous class)
7 >Ctor : React.ComponentClass<P>
11 >class extends React.PureComponent<P, void> { public render(): JSX.Element { return ( <Ctor {…
21 >( <Ctor {...this.props } /> ) : JSX.Element
23 <Ctor {...this.props } />
24 ><Ctor {...this.props } /> : JSX.Element
25 >Ctor : React.ComponentClass<P>
DtsxGenericAttributesType9.symbols5 export function makeP<P>(Ctor: React.ComponentClass<P>) {
8 >Ctor : Symbol(Ctor, Decl(file.tsx, 2, 25))
25 <Ctor {...this.props } />
26 >Ctor : Symbol(Ctor, Decl(file.tsx, 2, 25))
DtsxGenericAttributesType9.js4 export function makeP<P>(Ctor: React.ComponentClass<P>) {
8 <Ctor {...this.props } /> field in AnonymousClass7d1e2c570101
36 function makeP(Ctor) { argument
43 return (<Ctor {...this.props}/>);
DweakType.symbols114 // Ctor isn't a weak type because it has a construct signature
115 interface Ctor {
116 >Ctor : Symbol(Ctor, Decl(weakType.ts, 41, 1))
123 >n : Symbol(Ctor.n, Decl(weakType.ts, 44, 22))
125 let ctor: Ctor = K
127 >Ctor : Symbol(Ctor, Decl(weakType.ts, 41, 1))
DweakType.types121 // Ctor isn't a weak type because it has a construct signature
122 interface Ctor {
129 let ctor: Ctor = K
130 >ctor : Ctor
DweakType.js45 interface Ctor {
49 let ctor: Ctor = K
/third_party/typescript/tests/cases/compiler/
DdeclarationsIndirectGeneratedAliasReference.ts3 export interface Ctor { interface
8 extends<T>(x: T): ExtendedCtor<T extends unknown ? Ctor : undefined>;
10 export const Ctor: CtorConstructor; constant
12 import { Ctor } from "./ctor";
13 export default Ctor;
16 const Ctor = ns.default; constant
17 export const MyComp = Ctor.extends({foo: "bar"});
DweakType.ts44 interface Ctor { interface
48 let ctor: Ctor = K
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMachinePassRegistry.h53 PassCtorTy Ctor; // Pass creator. variable
57 : Name(N), Description(D), Ctor(C) {} in MachinePassRegistryNode()
64 PassCtorTy getCtor() const { return Ctor; } in getCtor()
91 PassCtorTy Ctor = nullptr; in setDefault() local
95 Ctor = R->getCtor(); in setDefault()
99 assert(Ctor && "Unregistered pass name"); in setDefault()
100 setDefault(Ctor); in setDefault()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DModuleUtils.cpp129 Function *Ctor = Function::Create( in createSanitizerCtorAndInitFunctions() local
132 BasicBlock *CtorBB = BasicBlock::Create(M.getContext(), "", Ctor); in createSanitizerCtorAndInitFunctions()
141 return std::make_pair(Ctor, InitFunction); in createSanitizerCtorAndInitFunctions()
152 if (Function *Ctor = M.getFunction(CtorName)) in getOrCreateSanitizerCtorAndInitFunctions() local
155 if (Ctor->arg_size() == 0 || in getOrCreateSanitizerCtorAndInitFunctions()
156 Ctor->getReturnType() == Type::getVoidTy(M.getContext())) in getOrCreateSanitizerCtorAndInitFunctions()
157 return {Ctor, declareSanitizerInitFunction(M, InitName, InitArgTypes)}; in getOrCreateSanitizerCtorAndInitFunctions()
159 Function *Ctor; in getOrCreateSanitizerCtorAndInitFunctions() local
161 std::tie(Ctor, InitFunction) = llvm::createSanitizerCtorAndInitFunctions( in getOrCreateSanitizerCtorAndInitFunctions()
163 FunctionsCreatedCallback(Ctor, InitFunction); in getOrCreateSanitizerCtorAndInitFunctions()
[all …]
/third_party/node/lib/internal/worker/
Djs_transferable.js29 const Ctor = require(module)[ctor];
30 if (typeof Ctor !== 'function' ||
31 typeof Ctor.prototype[messaging_deserialize_symbol] !== 'function') {
38 return new Ctor();
/third_party/node/test/fixtures/debugger/
Dbacktrace.js11 class Ctor { class
27 const obj = new Ctor(options);
/third_party/typescript/tests/cases/conformance/jsx/
DtsxGenericAttributesType9.tsx9 export function makeP<P>(Ctor: React.ComponentClass<P>) {
13 <Ctor {...this.props } />
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/4.2/abstract_construct_signatures/
Dabstract_construct_signatures_3.ts33 function mixClass<T extends MIX<object>>(Ctor: T) {
34 abstract class CPColor extends Ctor {
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DRegistry.h29 std::unique_ptr<T> (*Ctor)(); variable
33 : Name(N), Desc(D), Ctor(C) {} in SimpleRegistryEntry()
37 std::unique_ptr<T> instantiate() const { return Ctor(); } in instantiate()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/
DPassInfo.h91 void setNormalCtor(NormalCtor_t Ctor) { in setNormalCtor() argument
92 NormalCtor = Ctor; in setNormalCtor()
/third_party/typescript/tests/arkTSTest/testcase/arkts-no-ctor-signatures-funcs/
Darkts-no-ctor-signatures-funcs-4-error.ets27 function createAnimal(Ctor: AnimalCtor, name: string): Animal {
28 return new Ctor(name);
Darkts-no-ctor-signatures-funcs-1-error.ets25 function createPerson(Ctor: PersonCtor, name: string, age: number): Person
27 return new Ctor(name, age)
Darkts-no-ctor-signatures-funcs-4-ok.ets27 function createAnimal(Ctor: AnimalCtor, name: string): Animal {
28 return Ctor(name);
Darkts-no-ctor-signatures-funcs-1-ok.ets25 function createPerson(Ctor: PersonCtor, n: string, a: number): Person {
26 return Ctor(n, a)
Darkts-no-ctor-signatures-funcs-5-error.ets29 function createProduct(Ctor: ProductCtor, name: string, price: number): Product {
30 return new Ctor(name, price);
Darkts-no-ctor-signatures-funcs-5-ok.ets29 function createProduct(Ctor: ProductCtor, name: string, price: number): Product {
30 return Ctor(name, price);

12