Home
last modified time | relevance | path

Searched refs:List (Results 1 – 25 of 2813) sorted by relevance

12345678910>>...113

/third_party/typescript/tests/baselines/reference/
DgenericClassWithStaticFactory.types5 export class List<T> {
6 >List : List<T>
8 public next: List<T>;
9 >next : List<T>
11 public prev: List<T>;
12 >prev : List<T>
31 public add(data: T): List<T> {
32 >add : (data: T) => List<T>
36 >entry : List<T>
37 >this.listFactory.MakeEntry(data) : List<T>
[all …]
DclassTypeParametersInStatics.types6 export class List<T> {
7 >List : List<T>
9 public next: List<T>;
10 >next : List<T>
12 public prev: List<T>;
13 >prev : List<T>
21 public static MakeHead(): List<T> { // should error
22 >MakeHead : () => List<T>
24 var entry: List<T> = new List<T>(true, null);
25 >entry : List<any>
[all …]
DlistFailure.types8 lines: List<Line> = ListMakeHead<Line>();
9 >lines : List<Line>
10 >ListMakeHead<Line>() : List<Line>
11 >ListMakeHead : <U>() => List<U>
13 addLine(lineText: string): List<Line> {
14 >addLine : (lineText: string) => List<Line>
23 >lineEntry : List<Line>
24 >this.lines.add(line) : List<Line>
25 >this.lines.add : (data: Line) => List<Line>
26 >this.lines : List<Line>
[all …]
DobjectTypeWithRecursiveWrappedProperty2.types4 class List<T> {
5 >List : List<T>
10 next: List<List<T>>;
11 >next : List<List<T>>
14 var list1 = new List<number>();
15 >list1 : List<number>
16 >new List<number>() : List<number>
17 >List : typeof List
19 var list2 = new List<number>();
20 >list2 : List<number>
[all …]
DobjectTypeWithRecursiveWrappedProperty.types4 class List<T> {
5 >List : List<T>
10 next: List<List<T>>;
11 >next : List<List<T>>
14 var list1 = new List<number>();
15 >list1 : List<number>
16 >new List<number>() : List<number>
17 >List : typeof List
19 var list2 = new List<number>();
20 >list2 : List<number>
[all …]
DgenericClassWithStaticFactory.symbols5 export class List<T> {
6 >List : Symbol(List, Decl(genericClassWithStaticFactory.ts, 0, 15))
9 public next: List<T>;
10 >next : Symbol(List.next, Decl(genericClassWithStaticFactory.ts, 2, 26))
11 >List : Symbol(List, Decl(genericClassWithStaticFactory.ts, 0, 15))
14 public prev: List<T>;
15 >prev : Symbol(List.prev, Decl(genericClassWithStaticFactory.ts, 3, 29))
16 >List : Symbol(List, Decl(genericClassWithStaticFactory.ts, 0, 15))
20 >listFactory : Symbol(List.listFactory, Decl(genericClassWithStaticFactory.ts, 4, 29))
25 >isHead : Symbol(List.isHead, Decl(genericClassWithStaticFactory.ts, 7, 20))
[all …]
DcontravariantInferenceAndTypeGuard.types14 …teratorFn<TData, TResult, TContext = List<TData>> = (this: TContext, item: TData, node: ListItem<T…
19 >list : List<TData>
21 …a, TResult extends TData, TContext = List<TData>> = (this: TContext, item: TData, node: ListItem<T…
26 >list : List<TData>
28 declare class List<TData> {
29 >List : List<TData>
31 …, TResult extends TData>(fn: FilterFn<TData, TResult, TContext>, context: TContext): List<TResult>;
32List<TResult>; <TResult extends TData>(fn: FilterFn<TData, TResult, List<TData>>): List<TResult>; …
36 filter<TResult extends TData>(fn: FilterFn<TData, TResult>): List<TResult>;
37List<TResult>; <TResult extends TData>(fn: FilterFn<TData, TResult>): List<TResult>; <TContext>(fn…
[all …]
DarrayLiteralsWithRecursiveGenerics.types2 class List<T> {
3 >List : List<T>
8 next: List<List<T>>;
9 >next : List<List<T>>
12 class DerivedList<U> extends List<U> {
14 >List : List<U>
19 // next: List<List<U>>
32 var list: List<number>;
33 >list : List<number>
35 var list2: List<string>;
[all …]
DobjectTypeWithRecursiveWrappedPropertyCheckedNominally.types4 class List<T> {
5 >List : List<T>
10 next: List<List<T>>;
11 >next : List<List<T>>
24 var list1 = new List<number>();
25 >list1 : List<number>
26 >new List<number>() : List<number>
27 >List : typeof List
29 var list2 = new List<string>();
30 >list2 : List<string>
[all …]
DclassTypeParametersInStatics.symbols6 export class List<T> {
7 >List : Symbol(List, Decl(classTypeParametersInStatics.ts, 0, 15))
10 public next: List<T>;
11 >next : Symbol(List.next, Decl(classTypeParametersInStatics.ts, 3, 26))
12 >List : Symbol(List, Decl(classTypeParametersInStatics.ts, 0, 15))
15 public prev: List<T>;
16 >prev : Symbol(List.prev, Decl(classTypeParametersInStatics.ts, 4, 29))
17 >List : Symbol(List, Decl(classTypeParametersInStatics.ts, 0, 15))
21 >isHead : Symbol(List.isHead, Decl(classTypeParametersInStatics.ts, 7, 20))
22 >data : Symbol(List.data, Decl(classTypeParametersInStatics.ts, 7, 43))
[all …]
DstaticMethodReferencingTypeArgument1.types5 export class List<T> {
6 >List : List<T>
8 next: List<T>;
9 >next : List<T>
11 prev: List<T>;
12 >prev : List<T>
19 static MakeHead(): List<T> {
20 >MakeHead : () => List<T>
22 var entry: List<T> = new List<T>(true, null); // can't access T here
23 >entry : List<any>
[all …]
DclassTypeParametersInStatics.js5 export class List<T> {
6 public next: List<T>;
7 public prev: List<T>;
13 public static MakeHead(): List<T> { // should error
14 var entry: List<T> = new List<T>(true, null);
20 public static MakeHead2<T>(): List<T> { // should not error
21 var entry: List<T> = new List<T>(true, null);
27 public static MakeHead3<U>(): List<U> { // should not error
28 var entry: List<U> = new List<U>(true, null);
39 var List = /** @class */ (function () { class
[all …]
DlistFailure.symbols8 lines: List<Line> = ListMakeHead<Line>();
10 >List : Symbol(List, Decl(listFailure.ts, 24, 5))
15 addLine(lineText: string): List<Line> {
18 >List : Symbol(List, Decl(listFailure.ts, 24, 5))
28 >this.lines.add : Symbol(List.add, Decl(listFailure.ts, 27, 29))
32 >add : Symbol(List.add, Decl(listFailure.ts, 27, 29))
40 export function ListRemoveEntry<U>(entry: List<U>): List<U> {
44 >List : Symbol(List, Decl(listFailure.ts, 24, 5))
46 >List : Symbol(List, Decl(listFailure.ts, 24, 5))
53 export function ListMakeHead<U>(): List<U> {
[all …]
DgenericClassWithStaticFactory.js4 export class List<T> {
5 public next: List<T>;
6 public prev: List<T>;
14 public add(data: T): List<T> {
25 var entry: List<T>;
50 public pushEntry(entry: List<T>): void {
68 public popEntry(head: List<T>): List<T> {
77 public insertEntry(entry: List<T>): List<T> {
86 public insertAfter(data: T): List<T> {
87 var entry: List<T> = this.listFactory.MakeEntry(data);
[all …]
DrecursiveTypesUsedAsFunctionParameters.types2 class List<T> {
3 >List : List<T>
8 next: List<List<T>>;
9 >next : List<List<T>>
22 function foo<T>(x: List<T>);
23 >foo : { <T>(x: List<T>): any; <U>(x: List<U>): any; }
24 >x : List<T>
26 function foo<U>(x: List<U>); // error, duplicate
27 >foo : { <T>(x: List<T>): any; <U>(x: List<U>): any; }
28 >x : List<U>
[all …]
DstaticMethodReferencingTypeArgument1.symbols5 export class List<T> {
6 >List : Symbol(List, Decl(staticMethodReferencingTypeArgument1.ts, 0, 15))
9 next: List<T>;
10 >next : Symbol(List.next, Decl(staticMethodReferencingTypeArgument1.ts, 1, 26))
11 >List : Symbol(List, Decl(staticMethodReferencingTypeArgument1.ts, 0, 15))
14 prev: List<T>;
15 >prev : Symbol(List.prev, Decl(staticMethodReferencingTypeArgument1.ts, 2, 22))
16 >List : Symbol(List, Decl(staticMethodReferencingTypeArgument1.ts, 0, 15))
20 >isHead : Symbol(List.isHead, Decl(staticMethodReferencingTypeArgument1.ts, 5, 20))
21 >data : Symbol(List.data, Decl(staticMethodReferencingTypeArgument1.ts, 5, 43))
[all …]
DobjectTypeWithRecursiveWrappedProperty.symbols4 class List<T> {
5 >List : Symbol(List, Decl(objectTypeWithRecursiveWrappedProperty.ts, 0, 0))
9 >data : Symbol(List.data, Decl(objectTypeWithRecursiveWrappedProperty.ts, 2, 15))
12 next: List<List<T>>;
13 >next : Symbol(List.next, Decl(objectTypeWithRecursiveWrappedProperty.ts, 3, 12))
14 >List : Symbol(List, Decl(objectTypeWithRecursiveWrappedProperty.ts, 0, 0))
15 >List : Symbol(List, Decl(objectTypeWithRecursiveWrappedProperty.ts, 0, 0))
19 var list1 = new List<number>();
21 >List : Symbol(List, Decl(objectTypeWithRecursiveWrappedProperty.ts, 0, 0))
23 var list2 = new List<number>();
[all …]
DobjectTypeWithRecursiveWrappedProperty2.symbols4 class List<T> {
5 >List : Symbol(List, Decl(objectTypeWithRecursiveWrappedProperty2.ts, 0, 0))
9 >data : Symbol(List.data, Decl(objectTypeWithRecursiveWrappedProperty2.ts, 2, 15))
12 next: List<List<T>>;
13 >next : Symbol(List.next, Decl(objectTypeWithRecursiveWrappedProperty2.ts, 3, 12))
14 >List : Symbol(List, Decl(objectTypeWithRecursiveWrappedProperty2.ts, 0, 0))
15 >List : Symbol(List, Decl(objectTypeWithRecursiveWrappedProperty2.ts, 0, 0))
19 var list1 = new List<number>();
21 >List : Symbol(List, Decl(objectTypeWithRecursiveWrappedProperty2.ts, 0, 0))
23 var list2 = new List<number>();
[all …]
DenumLiteralUnionNotWidened.types24 class List<T>
25 >List : List<T>
32 function asList<T>(arg: T): List<T> { return new List(); }
33 >asList : <T>(arg: T) => List<T>
35 >new List() : List<T>
36 >List : typeof List
38 // TypeScript incorrectly infers the return type of "asList(x)" to be "List<A | B>"
39 // The correct type is "List<A | B.foo>"
40 function fn1(x: C): List<C> { return asList(x); }
41 >fn1 : (x: C) => List<C>
[all …]
DinfinitelyExpandingTypes1.types2 interface List<T> {
6 next: List<T>;
7 >next : List<T>
9 owner: List<List<T>>;
10 >owner : List<List<T>>
25 var l: List<number>;
26 >l : List<number>
33 >l : List<number>
36 var l2: List<string>;
37 >l2 : List<string>
[all …]
DinfinitelyExpandingTypes3.symbols2 interface List<T> {
3 >List : Symbol(List, Decl(infinitelyExpandingTypes3.ts, 0, 0))
7 >data : Symbol(List.data, Decl(infinitelyExpandingTypes3.ts, 0, 19))
10 next: List<T>; // will be recursive reference when OwnerList is expanded
11 >next : Symbol(List.next, Decl(infinitelyExpandingTypes3.ts, 1, 12))
12 >List : Symbol(List, Decl(infinitelyExpandingTypes3.ts, 0, 0))
16 >owner : Symbol(List.owner, Decl(infinitelyExpandingTypes3.ts, 2, 18))
21 interface OwnerList<U> extends List<List<U>> {
24 >List : Symbol(List, Decl(infinitelyExpandingTypes3.ts, 0, 0))
25 >List : Symbol(List, Decl(infinitelyExpandingTypes3.ts, 0, 0))
[all …]
/third_party/skia/third_party/externals/tint/src/diagnostic/
Ddiagnostic.cc22 List::List() = default;
23 List::List(std::initializer_list<Diagnostic> list) : entries_(list) {} in List() function in tint::diag::List
24 List::List(const List&) = default;
25 List::List(List&&) = default;
27 List::~List() = default;
29 List& List::operator=(const List&) = default;
30 List& List::operator=(List&&) = default;
32 std::string List::str() const { in str()
/third_party/typescript/tests/cases/compiler/
DgenericClassWithStaticFactory.ts3 export class List<T> { class
4 public next: List<T>;
5 public prev: List<T>;
13 public add(data: T): List<T> {
24 var entry: List<T>;
49 public pushEntry(entry: List<T>): void {
67 public popEntry(head: List<T>): List<T> {
76 public insertEntry(entry: List<T>): List<T> {
85 public insertAfter(data: T): List<T> {
86 var entry: List<T> = this.listFactory.MakeEntry(data);
[all …]
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DReader.java34 import java.util.List;
209 void readDoubleList(List<Double> target) throws IOException; in readDoubleList()
217 void readFloatList(List<Float> target) throws IOException; in readFloatList()
225 void readUInt64List(List<Long> target) throws IOException; in readUInt64List()
233 void readInt64List(List<Long> target) throws IOException; in readInt64List()
241 void readInt32List(List<Integer> target) throws IOException; in readInt32List()
249 void readFixed64List(List<Long> target) throws IOException; in readFixed64List()
257 void readFixed32List(List<Integer> target) throws IOException; in readFixed32List()
265 void readBoolList(List<Boolean> target) throws IOException; in readBoolList()
272 void readStringList(List<String> target) throws IOException; in readStringList()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DAllocatorList.h49 list_type List; variable
141 : AllocatorT(std::move(X.getAlloc())), List(std::move(X.List)) {} in AllocatorList()
144 List.cloneFrom(X.List, Cloner(*this), Disposer(*this)); in AllocatorList()
149 List = std::move(X.List);
155 List.cloneFrom(X.List, Cloner(*this), Disposer(*this));
162 List.swap(RHS.List); in swap()
166 bool empty() { return List.empty(); } in empty()
167 size_t size() { return List.size(); } in size()
169 iterator begin() { return iterator(List.begin()); } in begin()
170 iterator end() { return iterator(List.end()); } in end()
[all …]

12345678910>>...113