Home
last modified time | relevance | path

Searched refs:Mapped (Results 1 – 25 of 75) sorted by relevance

123

/third_party/gn/src/base/containers/
Dflat_map.h22 template <class Key, class Mapped>
24 const Key& operator()(const std::pair<Key, Mapped>& p) const { in operator()
151 template <class Key, class Mapped, class Compare = std::less<>>
154 std::pair<Key, Mapped>,
155 ::base::internal::GetKeyFromValuePairFirst<Key, Mapped>,
160 std::pair<Key, Mapped>,
161 ::base::internal::GetKeyFromValuePairFirst<Key, Mapped>,
166 using mapped_type = Mapped;
244 template <class Key, class Mapped, class Compare>
245 flat_map<Key, Mapped, Compare>::flat_map(const Compare& comp) : tree(comp) {} in flat_map()
[all …]
/third_party/typescript/tests/baselines/reference/
DcircularContextualMappedType.types5 type Mapped<T> = { [K in keyof T]: Func<T[K]> };
6 >Mapped : Mapped<T>
9 >reproduce : { (options: number): void; <T>(options: Mapped<T>): T; }
12 declare function reproduce<T>(options: Mapped<T>): T
13 >reproduce : { (options: number): void; <T>(options: Mapped<T>): T; }
14 >options : Mapped<T>
18 >reproduce : { (options: number): void; <T>(options: Mapped<T>): T; }
30 >reproduce : { (options: number): void; <T>(options: Mapped<T>): T; }
41 >reproduce : { (options: number): void; <T>(options: Mapped<T>): T; }
DreverseMappedPartiallyInferableTypes.types148 type Mapped<T> = {
149 >Mapped : Mapped<T>
154 declare function id<T>(arg: Mapped<T>): Mapped<T>;
155 >id : <T>(arg: Mapped<T>) => Mapped<T>
156 >arg : Mapped<T>
161 >obj1 : Mapped<{ foo: string; }>
162 >id({ foo: { contents: "" }}) : Mapped<{ foo: string; }>
163 >id : <T>(arg: Mapped<T>) => Mapped<T>
179 >obj2 : Mapped<{ foo: string; }>
180 …"", contains(k) { return k.length > 0; } }}) : Mapped<{ foo: string; }>
[all …]
DcircularContextualMappedType.symbols7 type Mapped<T> = { [K in keyof T]: Func<T[K]> };
8 >Mapped : Symbol(Mapped, Decl(circularContextualMappedType.ts, 0, 23))
20 declare function reproduce<T>(options: Mapped<T>): T
24 >Mapped : Symbol(Mapped, Decl(circularContextualMappedType.ts, 0, 23))
DreverseMappedTypeAssignableToIndex.symbols3 type Mapped<T> = { [K in keyof T]: { name: T[K] } };
4 >Mapped : Symbol(Mapped, Decl(reverseMappedTypeAssignableToIndex.ts, 0, 0))
12 type InferFromMapped<T> = T extends Mapped<infer R> ? R : never;
16 >Mapped : Symbol(Mapped, Decl(reverseMappedTypeAssignableToIndex.ts, 0, 0))
DmappedTypesArraysTuples.js81 type Mapped<T> = { [K in keyof T]: T[K] };
83 type F<T> = ElementType<Mapped<T>>;
85 type R2 = ElementType<Mapped<[string, number, boolean]>>; // string | number | boolean
90 declare function mapArray<T extends any[]>(arr: T): Mapped<T>;
97 type Unconstrained<T> = ElementType<Mapped<T>>;
100 type Constrained<T extends any[]> = ElementType<Mapped<T>>;
200 declare type Mapped<T> = {
203 declare type F<T> = ElementType<Mapped<T>>;
205 declare type R2 = ElementType<Mapped<[string, number, boolean]>>;
207 declare function mapArray<T extends any[]>(arr: T): Mapped<T>;
[all …]
DreverseMappedTypeAssignableToIndex.types3 type Mapped<T> = { [K in keyof T]: { name: T[K] } };
4 >Mapped : Mapped<T>
7 type InferFromMapped<T> = T extends Mapped<infer R> ? R : never;
DmappedTypesArraysTuples.types228 type Mapped<T> = { [K in keyof T]: T[K] };
229 >Mapped : Mapped<T>
231 type F<T> = ElementType<Mapped<T>>;
237 type R2 = ElementType<Mapped<[string, number, boolean]>>; // string | number | boolean
246 declare function mapArray<T extends any[]>(arr: T): Mapped<T>;
247 >mapArray : <T extends any[]>(arr: T) => Mapped<T>
257 >mapArray(arr) : Mapped<T>
258 >mapArray : <T extends any[]>(arr: T) => Mapped<T>
264 type Unconstrained<T> = ElementType<Mapped<T>>;
270 type Constrained<T extends any[]> = ElementType<Mapped<T>>;
DmappedTypesArraysTuples.symbols313 type Mapped<T> = { [K in keyof T]: T[K] };
314 >Mapped : Symbol(Mapped, Decl(mappedTypesArraysTuples.ts, 78, 59))
321 type F<T> = ElementType<Mapped<T>>;
325 >Mapped : Symbol(Mapped, Decl(mappedTypesArraysTuples.ts, 78, 59))
332 type R2 = ElementType<Mapped<[string, number, boolean]>>; // string | number | boolean
335 >Mapped : Symbol(Mapped, Decl(mappedTypesArraysTuples.ts, 78, 59))
343 declare function mapArray<T extends any[]>(arr: T): Mapped<T>;
348 >Mapped : Symbol(Mapped, Decl(mappedTypesArraysTuples.ts, 78, 59))
365 type Unconstrained<T> = ElementType<Mapped<T>>;
369 >Mapped : Symbol(Mapped, Decl(mappedTypesArraysTuples.ts, 78, 59))
[all …]
DcircularContextualMappedType.js4 type Mapped<T> = { [K in keyof T]: Func<T[K]> };
7 declare function reproduce<T>(options: Mapped<T>): T
DanyMappedTypesError.errors.txt1 tests/cases/compiler/anyMappedTypesError.ts(1,12): error TS7039: Mapped object type implicitly has …
7 !!! error TS7039: Mapped object type implicitly has an 'any' template type.
DreverseMappedTypeAssignableToIndex.js3 type Mapped<T> = { [K in keyof T]: { name: T[K] } };
4 type InferFromMapped<T> = T extends Mapped<infer R> ? R : never;
DreverseMappedPartiallyInferableTypes.js62 type Mapped<T> = {
66 declare function id<T>(arg: Mapped<T>): Mapped<T>;
DreverseMappedPartiallyInferableTypes.errors.txt65 type Mapped<T> = {
69 declare function id<T>(arg: Mapped<T>): Mapped<T>;
DreverseMappedPartiallyInferableTypes.symbols182 type Mapped<T> = {
183 >Mapped : Symbol(Mapped, Decl(reverseMappedPartiallyInferableTypes.ts, 58, 2))
194 declare function id<T>(arg: Mapped<T>): Mapped<T>;
198 >Mapped : Symbol(Mapped, Decl(reverseMappedPartiallyInferableTypes.ts, 58, 2))
200 >Mapped : Symbol(Mapped, Decl(reverseMappedPartiallyInferableTypes.ts, 58, 2))
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeTypes.cpp88 unsigned Mapped = 0; in PerformExpensiveChecks() local
90 Mapped |= 1; in PerformExpensiveChecks()
112 Mapped |= 2; in PerformExpensiveChecks()
114 Mapped |= 4; in PerformExpensiveChecks()
116 Mapped |= 8; in PerformExpensiveChecks()
118 Mapped |= 16; in PerformExpensiveChecks()
120 Mapped |= 32; in PerformExpensiveChecks()
122 Mapped |= 64; in PerformExpensiveChecks()
124 Mapped |= 128; in PerformExpensiveChecks()
126 Mapped |= 256; in PerformExpensiveChecks()
[all …]
/third_party/typescript/tests/cases/conformance/types/mapped/
DmappedTypesArraysTuples.ts83 type Mapped<T> = { [K in keyof T]: T[K] }; alias
85 type F<T> = ElementType<Mapped<T>>;
87 type R2 = ElementType<Mapped<[string, number, boolean]>>; // string | number | boolean
92 declare function mapArray<T extends any[]>(arr: T): Mapped<T>;
99 type Unconstrained<T> = ElementType<Mapped<T>>;
102 type Constrained<T extends any[]> = ElementType<Mapped<T>>;
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/
DBuffer.cpp123 if (mState == BufferState::Mapped) { in ~BufferBase()
156 mState = BufferState::Mapped; in MapAtCreation()
184 case BufferState::Mapped: in ValidateCanUseInSubmitNow()
245 mState = BufferState::Mapped; in MapReadAsync()
283 mState = BufferState::Mapped; in MapWriteAsync()
299 if (mState == BufferState::Mapped) { in Destroy()
351 case BufferState::Mapped: in ValidateSetSubData()
389 case BufferState::Mapped: in ValidateMap()
408 case BufferState::Mapped: in ValidateUnmap()
/third_party/typescript/tests/cases/compiler/
DcircularContextualMappedType.ts5 type Mapped<T> = { [K in keyof T]: Func<T[K]> }; alias
8 declare function reproduce<T>(options: Mapped<T>): T
DreverseMappedTypeAssignableToIndex.ts2 type Mapped<T> = { [K in keyof T]: { name: T[K] } }; alias
3 type InferFromMapped<T> = T extends Mapped<infer R> ? R : never;
DreverseMappedPartiallyInferableTypes.ts63 type Mapped<T> = { alias
67 declare function id<T>(arg: Mapped<T>): Mapped<T>;
/third_party/boost/boost/container/detail/
Dpair_key_mapped_of_value.hpp27 template<class Key, class Mapped>
31 typedef Mapped mapped_type;
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DBuffer.cpp183 if (mState == BufferState::Mapped) { in DestroyImpl()
289 case BufferState::Mapped: in ValidateCanUseOnQueueNow()
343 mState = BufferState::Mapped; in APIMapAsync()
411 if (mState == BufferState::Mapped) { in UnmapInternal()
454 case BufferState::Mapped: in ValidateMapAsync()
510 case BufferState::Mapped: in CanGetMappedRange()
526 case BufferState::Mapped: in ValidateUnmap()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_wire/server/
DServerBuffer.cpp134 resultData->mapWriteState = BufferMapWriteState::Mapped; in DoDeviceCreateBufferMapped()
160 cmd.status = bufferData->mapWriteState == BufferMapWriteState::Mapped in DoDeviceCreateBufferMappedAsync()
212 case BufferMapWriteState::Mapped: in DoBufferUpdateMappedData()
309 bufferData->mapWriteState = BufferMapWriteState::Mapped; in OnBufferMapWriteAsyncCallback()
/third_party/boost/libs/unordered/doc/
Dintro.qbk54 class Key, class Mapped,
57 class Alloc = std::allocator<std::pair<Key const, Mapped> > >
61 class Key, class Mapped,
64 class Alloc = std::allocator<std::pair<Key const, Mapped> > >

123