Home
last modified time | relevance | path

Searched defs:new (Results 1 – 25 of 1101) sorted by relevance

12345678910>>...45

/third_party/typescript/tests/cases/compiler/
DdeclFileConstructSignatures.ts9 new (): string; method
14 new (/** this is comment about a*/a: string, method
20 new (a: string, ...rests: string[]): string; method
24 new (a: string): string; method
25 new (a: number): number; method
30 new (a: T): T; method
34 new <T extends IConstructSignature>(a: T): T; method
40 new (): string; method
45 new (/** this is comment about a*/a: string, method
52 new (a: string, ...rests: string[]): string; method
[all …]
DprivacyInterface.ts18 new (c1: C1_public); method
19 new (c1: C2_private); method
20 new (): C1_public; method
21 new (c2: number): C2_private; method
45 new (c1: C1_public); method
46 new (c1: C2_private); method
47 new (): C1_public; method
48 new (c2: number): C2_private; method
84 new (c1: C1_public); method
85 new (c1: C2_private); method
[all …]
DprivacyGloInterface.ts17 new (c1: C1_public); method
18 new (c1: C2_private); method
19 new (): C1_public; method
20 new (c2: number): C2_private; method
44 new (c1: C1_public); method
45 new (c1: C2_private); method
46 new (): C1_public; method
47 new (c2: number): C2_private; method
76 new (c1: C5_public); method
77 new (): C5_public; method
DprivacyTypeParameterOfFunctionDeclFile.ts10 new <T extends privateClass>(): privateClass; // Error method
16 new <T extends publicClass>(): publicClass; method
22 new <T extends privateClass>(): privateClass; method
28 new <T extends publicClass>(): publicClass; method
90 new <T>(): publicClass; method
96 new <T>(): publicClass; method
129 new <T extends privateModule.publicClass>(): privateModule.publicClass; // Error method
144 new <T extends privateModule.publicClass>(): privateModule.publicClass; method
166 new <T extends privateClass>(): privateClass; // Error method
172 new <T extends publicClass>(): publicClass; method
[all …]
DcommentsOverloads.ts62 new (a: string); method
64 new (b: number); method
68 new (a: string); method
70 new (b: number); method
78 new (a: string); method
80 new (b: number); method
87 new (a: string); method
88 new (b: number); method
DintTypeCheck.ts25 new (); method
26 new (): number; method
27 new (p: string); method
28 new (p2?: string); method
29 new (...p3: any[]); method
30 new (p4: string, p5?: string); method
31 new (p6: string, ...p7: any[]); method
62 new (); method
63 new (): number; method
64 new (p: string); method
[all …]
DoverloadBindingAcrossDeclarationBoundaries2.ts20 new (o: Opt1): Opt1; method
21 new (o: Opt2): Opt2; method
30 new (o: Opt3): Opt3; method
31 new (o: Opt4): Opt4; method
DoverloadBindingAcrossDeclarationBoundaries.ts18 new (o: Opt1): Opt1; method
19 new (o: Opt2): Opt2; method
26 new (o: Opt3): Opt3; method
27 new (o: Opt4): Opt4; method
/third_party/typescript/lib/
Dlib.es2017.typedarrays.d.ts22 new (): Int8Array; method
26 new (): Uint8Array; method
30 new (): Uint8ClampedArray; method
34 new (): Int16Array; method
38 new (): Uint16Array; method
42 new (): Int32Array; method
46 new (): Uint32Array; method
50 new (): Float32Array; method
54 new (): Float64Array; method
Dlib.es2015.iterable.d.ts160 new <K, V>(iterable: Iterable<readonly [K, V]>): Map<K, V>; method
166 new <K extends object, V>(iterable: Iterable<[K, V]>): WeakMap<K, V>; method
208 new <T>(iterable?: Iterable<T> | null): Set<T>; method
214 new <T extends object = object>(iterable: Iterable<T>): WeakSet<T>; method
267 new (elements: Iterable<number>): Int8Array; method
295 new (elements: Iterable<number>): Uint8Array; method
325 new (elements: Iterable<number>): Uint8ClampedArray; method
356 new (elements: Iterable<number>): Int16Array; method
384 new (elements: Iterable<number>): Uint16Array; method
412 new (elements: Iterable<number>): Int32Array; method
[all …]
/third_party/typescript/src/lib/
Des2017.typedarrays.d.ts2 new (): Int8Array; method
6 new (): Uint8Array; method
10 new (): Uint8ClampedArray; method
14 new (): Int16Array; method
18 new (): Uint16Array; method
22 new (): Int32Array; method
26 new (): Uint32Array; method
30 new (): Float32Array; method
34 new (): Float64Array; method
Des2015.iterable.d.ts140 new <K, V>(iterable: Iterable<readonly [K, V]>): Map<K, V>; method
146 new <K extends object, V>(iterable: Iterable<[K, V]>): WeakMap<K, V>; method
188 new <T>(iterable?: Iterable<T> | null): Set<T>; method
194 new <T extends object = object>(iterable: Iterable<T>): WeakSet<T>; method
247 new (elements: Iterable<number>): Int8Array; method
275 new (elements: Iterable<number>): Uint8Array; method
305 new (elements: Iterable<number>): Uint8ClampedArray; method
336 new (elements: Iterable<number>): Int16Array; method
364 new (elements: Iterable<number>): Uint16Array; method
392 new (elements: Iterable<number>): Int32Array; method
[all …]
/third_party/typescript/tests/cases/conformance/types/typeRelationships/subtypesAndSuperTypes/
DsubtypingWithConstructSignaturesWithSpecializedSignatures.ts6 new (x: 'a'): void; method
7 new (x: string, y: number): void; method
13 new (x: 'a'): number; // ok because base returns void method
14 new (x: string, y: number): number; // ok because base returns void method
15 new <T>(x: T): string; // ok because base returns void method
20 new (x: 'a'): number; method
21 new (x: string): number; method
27 new (x: 'a'): string; method
28 new (x: string): string; // error because base returns non-void; method
34 new <T>(x: T): string; // ok, adds a new call signature method
/third_party/typescript/tests/cases/conformance/expressions/functionCalls/
DoverloadResolutionConstructors.ts17 new (s: string): string; method
18 new (s: number): number; method
31 new (s: string, n: number): number; method
32 new <T>(n: number, t: T): T; method
50 new<T>(n: T): string; method
51 new<T, U>(s: string, t: T, u: U): U; method
52 new<T, U, V>(v: V, u: U, t: T): number; method
71 new<T extends string, U extends number>(n: T, m: U); method
72 new<T extends number, U extends string>(n: T, m: U); method
96 new(f: (n: string) => void): string; method
[all …]
DtypeArgumentInferenceConstructSignatures.ts3 new <T>(); method
12 new <T>(n: string); method
21 new <T, U>(n: T, m: number); method
30 new <T>(n: (x: T) => void); method
38 new <T, U>(n: (x: T, y: U) => void); method
47 new <T>(producer: () => T); method
56 new <T, U>(n: T, f: (x: U) => void); method
66 new <U, T>(n: T, f: (x: U) => void); method
76 new <A>(a: (a: A) => A, b: (b: A) => A, c: (c: A) => A); method
86 new <A, B, C>(a: (a: A) => A, b: (b: B) => B, c: (c: C) => C); method
[all …]
/third_party/typescript/tests/cases/conformance/types/objectTypeLiteral/constructSignatures/
DconstructSignaturesWithOverloadsThatDifferOnlyByReturnType.ts12 new(x: number, y: string): C; method
13 new(x: number, y: string): C2<number>; // error method
17 new (x: T, y: string): C2<number>; method
18 new (x: T, y: string): C; // error method
19 new <T>(x: T, y: string): C2<T>; method
20 new <T>(x: T, y: string): C; // error method
DconstructSignaturesWithOverloads.ts20 new(x: number, y?: string): C; method
21 new(x: number, y: string): C; method
28 new (x: T, y?: string): C2<T>; method
29 new (x: T, y: string): C2<T>; method
30 new <T>(x: T, y?: string): C2<T>; method
31 new <T>(x: T, y: string): C2<T>; method
DconstructSignaturesWithIdenticalOverloads.ts20 new (x: number, y: string): C; method
21 new (x: number, y: string): C; // error method
28 new (x: T, y: string): C2<T>; method
29 new (x: T, y: string): C2<T>; // error method
30 new <T>(x: T, y: string): C2<T>; method
31 new <T>(x: T, y: string): C2<T>; // error method
DconstructSignaturesWithOverloads2.ts28 new (x: number, y?: string): C; method
29 new (x: number, y: string): C; method
33 new (x: T, y?: number): C2<T>; method
34 new (x: T, y: number): C2<T>; method
/third_party/selinux/libsepol/cil/src/
Dcil_copy_ast.c53 struct cil_list *new; in cil_copy_list() local
90 char *new = NULL; in cil_copy_node() local
117 struct cil_block *new; in cil_copy_block() local
128 struct cil_blockabstract *new = NULL; in cil_copy_blockabstract() local
142 struct cil_blockinherit *new = NULL; in cil_copy_blockinherit() local
162 struct cil_policycap *new; in cil_copy_policycap() local
180 struct cil_perm *new; in cil_copy_perm() local
190 void cil_copy_classperms(struct cil_classperms *orig, struct cil_classperms **new) in cil_copy_classperms()
197 void cil_copy_classperms_set(struct cil_classperms_set *orig, struct cil_classperms_set **new) in cil_copy_classperms_set()
203 void cil_copy_classperms_list(struct cil_list *orig, struct cil_list **new) in cil_copy_classperms_list()
[all …]
/third_party/typescript/tests/cases/conformance/classes/classDeclarations/
DclassExtendingClassLikeType.ts11 new (x: string, y: string): Base<string, string>; method
12 new <T>(x: T): Base<T, T>; method
13 new <T>(x: T, y: T): Base<T, T>; method
14 new <T, U>(x: T, y: U): Base<T, U>; method
49 new (x: string): Base<string, string>; method
50 new (x: number): Base<number, number>; method
/third_party/typescript/tests/cases/conformance/types/typeRelationships/assignmentCompatibility/
DconstructSignatureAssignabilityInInheritance.ts6 new (x: number): void; // BUG 842221 method
7 new (x: number, y: number): number; method
13 new (x: number): number; // satisfies subtype for both of base's call signatures method
14new (x: number, y: number): boolean; // so this one hides the base type member that is identical m… method
19 new (x: number): number; method
25 new (x: number): string; // error because return types don't match method
31 new <T>(x: T): string; // ok, adds a new call signature method
/third_party/typescript/tests/cases/conformance/types/objectTypeLiteral/callSignatures/
DconstructSignatureWithAccessibilityModifiersOnParameters2.ts19 new (public x); method
20 new (public x); method
24 new (private x); method
25 new (private x); method
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantsContext.h53 void *operator new(size_t s) { in new() function
73 void *operator new(size_t s) { in new() function
93 void *operator new(size_t s) { in new() function
114 void *operator new(size_t s) { in new() function
136 void *operator new(size_t s) { in new() function
161 void *operator new(size_t s) { in new() function
182 void *operator new(size_t s) { in new() function
214 void *operator new(size_t s) { in new() function
279 void *operator new(size_t s) { in new() function
/third_party/typescript/tests/cases/conformance/expressions/typeGuards/
DtypeGuardsWithInstanceOfByConstructorSignature.ts2 new (): A; method
23 new <T>(): B<T>; method
46 new (value: string): C1; method
47 new (value: number): C2; method
96 new (): E1 | E2; method
124 new (): any; method
147 new (): G2; // low priority method
172 new (): H; // low priority method

12345678910>>...45