Home
last modified time | relevance | path

Searched refs:Cast (Results 1 – 25 of 353) sorted by relevance

12345678910>>...15

/third_party/node/deps/v8/src/builtins/
Dcast.tq138 macro Cast<A : type extends WeakHeapObject>(o: A|Object): A labels CastError {
143 macro Cast<A : type extends Object>(implicit context: Context)(o: MaybeObject):
150 return Cast<A>(o) otherwise CastError;
155 Cast<Undefined>(o: MaybeObject): Undefined labels CastError {
160 macro Cast<A : type extends Object>(implicit context: Context)(o: Object): A
162 return Cast<A>(TaggedToHeapObject(o) otherwise CastError)
167 Cast<Smi>(o: Object): Smi
172 Cast<PositiveSmi>(o: Object): PositiveSmi
177 Cast<Zero>(o: Object): Zero labels CastError {
182 Cast<Number>(o: Object): Number
[all …]
Darray-filter.tq18 const jsreceiver = Cast<JSReceiver>(receiver) otherwise unreachable;
19 const callbackfn = Cast<Callable>(callback) otherwise unreachable;
20 const outputArray = Cast<JSReceiver>(array) otherwise unreachable;
21 const numberK = Cast<Number>(initialK) otherwise unreachable;
22 const numberTo = Cast<Number>(initialTo) otherwise unreachable;
23 const numberLength = Cast<Number>(length) otherwise unreachable;
38 const jsreceiver = Cast<JSReceiver>(receiver) otherwise unreachable;
39 const callbackfn = Cast<Callable>(callback) otherwise unreachable;
40 const outputArray = Cast<JSReceiver>(array) otherwise unreachable;
41 let numberK = Cast<Number>(initialK) otherwise unreachable;
[all …]
Darray-map.tq12 const jsreceiver = Cast<JSReceiver>(receiver) otherwise unreachable;
13 const outputArray = Cast<JSReceiver>(result) otherwise unreachable;
14 const numberLength = Cast<Number>(length) otherwise unreachable;
16 const callbackfn = Cast<Callable>(callback)
28 const jsreceiver = Cast<JSReceiver>(receiver) otherwise unreachable;
29 const callbackfn = Cast<Callable>(callback) otherwise unreachable;
30 const outputArray = Cast<JSReceiver>(array) otherwise unreachable;
31 const numberK = Cast<Number>(initialK) otherwise unreachable;
32 const numberLength = Cast<Number>(length) otherwise unreachable;
44 const jsreceiver = Cast<JSReceiver>(receiver) otherwise unreachable;
[all …]
Darray-foreach.tq13 const jsreceiver = Cast<JSReceiver>(receiver) otherwise unreachable;
14 const callbackfn = Cast<Callable>(callback) otherwise unreachable;
15 const numberK = Cast<Number>(initialK) otherwise unreachable;
16 const numberLength = Cast<Number>(length) otherwise unreachable;
31 const jsreceiver = Cast<JSReceiver>(receiver) otherwise unreachable;
32 const callbackfn = Cast<Callable>(callback) otherwise unreachable;
33 const numberK = Cast<Number>(initialK) otherwise unreachable;
34 const numberLength = Cast<Number>(length) otherwise unreachable;
74 const smiLen = Cast<Smi>(len) otherwise goto Bailout(k);
75 const fastO = Cast<FastJSArray>(o) otherwise goto Bailout(k);
[all …]
Darray-reduce-right.tq17 const jsreceiver = Cast<JSReceiver>(receiver) otherwise unreachable;
18 const callbackfn = Cast<Callable>(callback) otherwise unreachable;
19 const numberLength = Cast<Number>(length) otherwise unreachable;
41 const jsreceiver = Cast<JSReceiver>(receiver) otherwise unreachable;
42 const callbackfn = Cast<Callable>(callback) otherwise unreachable;
43 const numberK = Cast<Number>(initialK) otherwise unreachable;
44 const numberLength = Cast<Number>(length) otherwise unreachable;
57 const jsreceiver = Cast<JSReceiver>(receiver) otherwise unreachable;
58 const callbackfn = Cast<Callable>(callback) otherwise unreachable;
59 const numberK = Cast<Number>(initialK) otherwise unreachable;
[all …]
Darray-reduce.tq17 const jsreceiver = Cast<JSReceiver>(receiver) otherwise unreachable;
18 const callbackfn = Cast<Callable>(callback) otherwise unreachable;
19 const numberLength = Cast<Number>(length) otherwise unreachable;
40 const jsreceiver = Cast<JSReceiver>(receiver) otherwise unreachable;
41 const callbackfn = Cast<Callable>(callback) otherwise unreachable;
42 const numberK = Cast<Number>(initialK) otherwise unreachable;
43 const numberLength = Cast<Number>(length) otherwise unreachable;
56 const jsreceiver = Cast<JSReceiver>(receiver) otherwise unreachable;
57 const callbackfn = Cast<Callable>(callback) otherwise unreachable;
58 const numberK = Cast<Number>(initialK) otherwise unreachable;
[all …]
Darray-every.tq17 const jsreceiver = Cast<JSReceiver>(receiver) otherwise unreachable;
18 const callbackfn = Cast<Callable>(callback) otherwise unreachable;
19 const numberK = Cast<Number>(initialK) otherwise unreachable;
20 const numberLength = Cast<Number>(length) otherwise unreachable;
35 const jsreceiver = Cast<JSReceiver>(receiver) otherwise unreachable;
36 const callbackfn = Cast<Callable>(callback) otherwise unreachable;
37 let numberK = Cast<Number>(initialK) otherwise unreachable;
38 const numberLength = Cast<Number>(length) otherwise unreachable;
90 const smiLen = Cast<Smi>(len) otherwise goto Bailout(k);
91 const fastO: FastJSArray = Cast<FastJSArray>(o) otherwise goto Bailout(k);
[all …]
Darray-some.tq17 const jsreceiver = Cast<JSReceiver>(receiver) otherwise unreachable;
18 const callbackfn = Cast<Callable>(callback) otherwise unreachable;
19 const numberK = Cast<Number>(initialK) otherwise unreachable;
20 const numberLength = Cast<Number>(length) otherwise unreachable;
35 const jsreceiver = Cast<JSReceiver>(receiver) otherwise unreachable;
36 const callbackfn = Cast<Callable>(callback) otherwise unreachable;
37 let numberK = Cast<Number>(initialK) otherwise unreachable;
38 const numberLength = Cast<Number>(length) otherwise unreachable;
90 const smiLen = Cast<Smi>(len) otherwise goto Bailout(k);
91 const fastO = Cast<FastJSArray>(o) otherwise goto Bailout(k);
[all …]
Dobject.tq34 const objectJSReceiver = Cast<JSReceiver>(object) otherwise return False;
35 const objectJSProxy = Cast<JSProxy>(objectJSReceiver)
42 const objectJSReceiver = Cast<JSReceiver>(object) otherwise return object;
43 const objectJSProxy = Cast<JSProxy>(objectJSReceiver)
52 const objectJSReceiver = Cast<JSReceiver>(object) otherwise return False;
53 const objectJSProxy = Cast<JSProxy>(objectJSReceiver)
67 const objectJSProxy = Cast<JSProxy>(object)
75 const objectJSReceiver = Cast<JSReceiver>(object) otherwise return object;
76 const objectJSProxy = Cast<JSProxy>(objectJSReceiver)
86 const objectJSReceiver = Cast<JSReceiver>(object) otherwise return False;
[all …]
Darray-findindex.tq17 const jsreceiver = Cast<JSReceiver>(receiver) otherwise unreachable;
18 const callbackfn = Cast<Callable>(callback) otherwise unreachable;
19 const numberK = Cast<Number>(initialK) otherwise unreachable;
20 const numberLength = Cast<Number>(length) otherwise unreachable;
48 const jsreceiver = Cast<JSReceiver>(receiver) otherwise unreachable;
49 const callbackfn = Cast<Callable>(callback) otherwise unreachable;
50 const numberK = Cast<Number>(initialK) otherwise unreachable;
51 const numberLength = Cast<Number>(length) otherwise unreachable;
97 const smiLen = Cast<Smi>(len) otherwise goto Bailout(k);
98 const fastO = Cast<FastJSArray>(o) otherwise goto Bailout(k);
[all …]
Darray-find.tq17 const jsreceiver = Cast<JSReceiver>(receiver) otherwise unreachable;
18 const callbackfn = Cast<Callable>(callback) otherwise unreachable;
19 const numberK = Cast<Number>(initialK) otherwise unreachable;
20 const numberLength = Cast<Number>(length) otherwise unreachable;
48 const jsreceiver = Cast<JSReceiver>(receiver) otherwise unreachable;
49 const callbackfn = Cast<Callable>(callback) otherwise unreachable;
50 const numberK = Cast<Number>(initialK) otherwise unreachable;
51 const numberLength = Cast<Number>(length) otherwise unreachable;
97 const smiLen = Cast<Smi>(len) otherwise goto Bailout(k);
98 const fastO = Cast<FastJSArray>(o) otherwise goto Bailout(k);
[all …]
Dreflect.tq9 const objectJSReceiver = Cast<JSReceiver>(object)
19 const objectJSReceiver = Cast<JSReceiver>(object)
29 const objectJSReceiver = Cast<JSReceiver>(object)
38 const objectJSReceiver = Cast<JSReceiver>(object)
63 const objectJSReceiver = Cast<JSReceiver>(object)
76 const objectJSReceiver = Cast<JSReceiver>(object)
86 const objectJSReceiver = Cast<JSReceiver>(object)
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DlibVulkan.cpp247 … ASSERT(vk::Cast(device)->getPhysicalDevice()->getProperties().limits.maxFramebufferLayers >= 32); in ValidateRenderPassPNextChain()
269 return vk::GetInstanceProcAddr(vk::Cast(instance), pName); in vk_icdGetInstanceProcAddr()
571 …patchableInstance::Create(pAllocator, pCreateInfo, pInstance, physicalDevice, vk::Cast(messenger)); in vkCreateInstance()
594 return vk::Cast(instance)->getPhysicalDevices(pPhysicalDeviceCount, pPhysicalDevices); in vkEnumeratePhysicalDevices()
602 *pFeatures = vk::Cast(physicalDevice)->getFeatures(); in vkGetPhysicalDeviceFeatures()
643 *pProperties = vk::Cast(physicalDevice)->getProperties(); in vkGetPhysicalDeviceProperties()
652 *pQueueFamilyPropertyCount = vk::Cast(physicalDevice)->getQueueFamilyPropertyCount(); in vkGetPhysicalDeviceQueueFamilyProperties()
656 …vk::Cast(physicalDevice)->getQueueFamilyProperties(*pQueueFamilyPropertyCount, pQueueFamilyPropert… in vkGetPhysicalDeviceQueueFamilyProperties()
671 return vk::GetInstanceProcAddr(vk::Cast(instance), pName); in vkGetInstanceProcAddr()
678 return vk::GetDeviceProcAddr(vk::Cast(device), pName); in vkGetDeviceProcAddr()
[all …]
/third_party/node/deps/v8/include/
Dv8-typed-array.h36 V8_INLINE static TypedArray* Cast(Value* value) { in Cast() function
57 V8_INLINE static Uint8Array* Cast(Value* value) { in Cast() function
79 V8_INLINE static Uint8ClampedArray* Cast(Value* value) { in Cast() function
100 V8_INLINE static Int8Array* Cast(Value* value) { in Cast() function
121 V8_INLINE static Uint16Array* Cast(Value* value) { in Cast() function
142 V8_INLINE static Int16Array* Cast(Value* value) { in Cast() function
163 V8_INLINE static Uint32Array* Cast(Value* value) { in Cast() function
184 V8_INLINE static Int32Array* Cast(Value* value) { in Cast() function
205 V8_INLINE static Float32Array* Cast(Value* value) { in Cast() function
226 V8_INLINE static Float64Array* Cast(Value* value) { in Cast() function
[all …]
Dv8-primitive-object.h25 V8_INLINE static NumberObject* Cast(Value* value) { in Cast() function
45 V8_INLINE static BigIntObject* Cast(Value* value) { in Cast() function
65 V8_INLINE static BooleanObject* Cast(Value* value) { in Cast() function
85 V8_INLINE static StringObject* Cast(Value* value) { in Cast() function
105 V8_INLINE static SymbolObject* Cast(Value* value) { in Cast() function
/third_party/typescript/tests/baselines/reference/
DramdaToolsNoInfinite.types82 type Cast<X, Y> = X extends Y ? X : Y;
83 >Cast : Cast<X, Y>
133 Reverse<Reverse<T1> extends infer R ? Cast<R, any[]> : never, T2>;
165 …0: GapsOf<T1, T2, GapOf<T1, T2, TN, I> extends infer G ? Tools.Cast<G, any[]> : never, Tools.Next<…
166 >0 : GapsOf<T1, T2, GapOf<T1, T2, TN, I> extends infer G ? Tools.Cast<G, any[]> : never, [head: any…
170 … 1: Tools.Concat<TN, Tools.Drop<Tools.Pos<I>, T2> extends infer D ? Tools.Cast<D, any[]> : never>;
171 >1 : Tools.Concat<TN, Tools.Drop<Tools.Pos<I>, T2, []> extends infer D ? Tools.Cast<D, any[]> : nev…
209 <T extends any[]>(...args: Tools.Cast<Tools.Cast<T, Gaps<Parameters<F>>>, any[]>) =>
210 >args : Tools.Cast<Tools.Cast<T, CleanedGaps<PartialGaps<Parameters<F>>>>, any[]>
215 …? Curry<(...args: GapsOf<T, Parameters<F>> extends infer G ? Tools.Cast<G, any[]> : never) => Retu…
[all …]
DramdaToolsNoInfinite.js47 type Cast<X, Y> = X extends Y ? X : Y;
77 Reverse<Reverse<T1> extends infer R ? Cast<R, any[]> : never, T2>;
96 …0: GapsOf<T1, T2, GapOf<T1, T2, TN, I> extends infer G ? Tools.Cast<G, any[]> : never, Tools.Next<…
97 … 1: Tools.Concat<TN, Tools.Drop<Tools.Pos<I>, T2> extends infer D ? Tools.Cast<D, any[]> : never>;
116 <T extends any[]>(...args: Tools.Cast<Tools.Cast<T, Gaps<Parameters<F>>>, any[]>) =>
118 …? Curry<(...args: GapsOf<T, Parameters<F>> extends infer G ? Tools.Cast<G, any[]> : never) => Retu…
DramdaToolsNoInfinite2.js146 import { Cast } from "Any/Cast";
154 …tends List, I extends Iteration> = Key<I> extends keyof O ? _Append<LN, O[Cast<Key<I>, keyof O>]> …
161 …export type _ListOf<O extends object> = __ListOf<O, keyof O> extends infer X ? Cast<X, List> : nev…
277 import { Cast } from "Any/Cast";
287 …ends List, LO extends List = []> = __Reverse<Naked<L>, LO> extends infer X ? Cast<X, List> : never;
301 import { Cast } from "Any/Cast";
328 …xtends Way = '->'> = __Drop<Naked<L>, IterationOf<N>, way> extends infer X ? Cast<X, List> : never;
349 export type Cast<A1 extends any, A2 extends any> = A1 extends A2 ? A1 : A2;
493 import { Cast } from "Any/Cast";
502 1: Cast<ONonNullable<L, Key, depth>, List>;
[all …]
DramdaToolsNoInfinite2.types293 import { Cast } from "Any/Cast";
294 >Cast : any
314 …tends List, I extends Iteration> = Key<I> extends keyof O ? _Append<LN, O[Cast<Key<I>, keyof O>]> …
328 …export type _ListOf<O extends object> = __ListOf<O, keyof O> extends infer X ? Cast<X, List> : nev…
579 import { Cast } from "Any/Cast";
580 >Cast : any
602 …ends List, LO extends List = []> = __Reverse<Naked<L>, LO> extends infer X ? Cast<X, List> : never;
629 import { Cast } from "Any/Cast";
630 >Cast : any
697 …xtends Way = '->'> = __Drop<Naked<L>, IterationOf<N>, way> extends infer X ? Cast<X, List> : never;
[all …]
DramdaToolsNoInfinite.symbols125 type Cast<X, Y> = X extends Y ? X : Y;
126 >Cast : Symbol(Cast, Decl(ramdaToolsNoInfinite.ts, 43, 6))
225 Reverse<Reverse<T1> extends infer R ? Cast<R, any[]> : never, T2>;
230 >Cast : Symbol(Cast, Decl(ramdaToolsNoInfinite.ts, 43, 6))
298 …0: GapsOf<T1, T2, GapOf<T1, T2, TN, I> extends infer G ? Tools.Cast<G, any[]> : never, Tools.Next<…
310 >Cast : Symbol(Tools.Cast, Decl(ramdaToolsNoInfinite.ts, 43, 6))
316 … 1: Tools.Concat<TN, Tools.Drop<Tools.Pos<I>, T2> extends infer D ? Tools.Cast<D, any[]> : never>;
329 >Cast : Symbol(Tools.Cast, Decl(ramdaToolsNoInfinite.ts, 43, 6))
395 <T extends any[]>(...args: Tools.Cast<Tools.Cast<T, Gaps<Parameters<F>>>, any[]>) =>
399 >Cast : Symbol(Tools.Cast, Decl(ramdaToolsNoInfinite.ts, 43, 6))
[all …]
/third_party/typescript/tests/cases/compiler/
DramdaToolsNoInfinite2.ts146 import { Cast } from "Any/Cast";
154 …tends List, I extends Iteration> = Key<I> extends keyof O ? _Append<LN, O[Cast<Key<I>, keyof O>]> …
161 …export type _ListOf<O extends object> = __ListOf<O, keyof O> extends infer X ? Cast<X, List> : nev…
277 import { Cast } from "Any/Cast";
287 …ends List, LO extends List = []> = __Reverse<Naked<L>, LO> extends infer X ? Cast<X, List> : never;
301 import { Cast } from "Any/Cast";
328 …xtends Way = '->'> = __Drop<Naked<L>, IterationOf<N>, way> extends infer X ? Cast<X, List> : never;
349 export type Cast<A1 extends any, A2 extends any> = A1 extends A2 ? A1 : A2; alias
493 import { Cast } from "Any/Cast";
502 1: Cast<ONonNullable<L, Key, depth>, List>;
[all …]
DramdaToolsNoInfinite.ts47 type Cast<X, Y> = X extends Y ? X : Y; alias
77 Reverse<Reverse<T1> extends infer R ? Cast<R, any[]> : never, T2>;
96 …0: GapsOf<T1, T2, GapOf<T1, T2, TN, I> extends infer G ? Tools.Cast<G, any[]> : never, Tools.Next<…
97 … 1: Tools.Concat<TN, Tools.Drop<Tools.Pos<I>, T2> extends infer D ? Tools.Cast<D, any[]> : never>;
116 <T extends any[]>(...args: Tools.Cast<Tools.Cast<T, Gaps<Parameters<F>>>, any[]>) =>
118 …? Curry<(...args: GapsOf<T, Parameters<F>> extends infer G ? Tools.Cast<G, any[]> : never) => Retu…
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DPHITransAddr.cpp187 if (CastInst *Cast = dyn_cast<CastInst>(Inst)) { in PHITranslateSubExpr() local
188 if (!isSafeToSpeculativelyExecute(Cast)) return nullptr; in PHITranslateSubExpr()
189 Value *PHIIn = PHITranslateSubExpr(Cast->getOperand(0), CurBB, PredBB, DT); in PHITranslateSubExpr()
191 if (PHIIn == Cast->getOperand(0)) in PHITranslateSubExpr()
192 return Cast; in PHITranslateSubExpr()
198 return AddAsInput(ConstantExpr::getCast(Cast->getOpcode(), in PHITranslateSubExpr()
199 C, Cast->getType())); in PHITranslateSubExpr()
205 if (CastI->getOpcode() == Cast->getOpcode() && in PHITranslateSubExpr()
206 CastI->getType() == Cast->getType() && in PHITranslateSubExpr()
380 if (CastInst *Cast = dyn_cast<CastInst>(Inst)) { in InsertPHITranslatedSubExpr() local
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DCLCommandQueue.cpp145 const EventPtrs waitEvents = Event::Cast(numEventsInWaitList, eventWaitList); in enqueueReadBuffer()
168 const EventPtrs waitEvents = Event::Cast(numEventsInWaitList, eventWaitList); in enqueueWriteBuffer()
196 const EventPtrs waitEvents = Event::Cast(numEventsInWaitList, eventWaitList); in enqueueReadBufferRect()
225 const EventPtrs waitEvents = Event::Cast(numEventsInWaitList, eventWaitList); in enqueueWriteBufferRect()
249 const EventPtrs waitEvents = Event::Cast(numEventsInWaitList, eventWaitList); in enqueueCopyBuffer()
276 const EventPtrs waitEvents = Event::Cast(numEventsInWaitList, eventWaitList); in enqueueCopyBufferRect()
299 const EventPtrs waitEvents = Event::Cast(numEventsInWaitList, eventWaitList); in enqueueFillBuffer()
323 const EventPtrs waitEvents = Event::Cast(numEventsInWaitList, eventWaitList); in enqueueMapBuffer()
348 const EventPtrs waitEvents = Event::Cast(numEventsInWaitList, eventWaitList); in enqueueReadImage()
373 const EventPtrs waitEvents = Event::Cast(numEventsInWaitList, eventWaitList); in enqueueWriteImage()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/cl/
DCLCommandQueueCL.cpp82 const std::vector<cl_event> nativeEvents = CLEventCL::Cast(waitEvents); in enqueueReadBuffer()
106 const std::vector<cl_event> nativeEvents = CLEventCL::Cast(waitEvents); in enqueueWriteBuffer()
135 const std::vector<cl_event> nativeEvents = CLEventCL::Cast(waitEvents); in enqueueReadBufferRect()
165 const std::vector<cl_event> nativeEvents = CLEventCL::Cast(waitEvents); in enqueueWriteBufferRect()
190 const std::vector<cl_event> nativeEvents = CLEventCL::Cast(waitEvents); in enqueueCopyBuffer()
218 const std::vector<cl_event> nativeEvents = CLEventCL::Cast(waitEvents); in enqueueCopyBufferRect()
241 const std::vector<cl_event> nativeEvents = CLEventCL::Cast(waitEvents); in enqueueFillBuffer()
266 const std::vector<cl_event> nativeEvents = CLEventCL::Cast(waitEvents); in enqueueMapBuffer()
292 const std::vector<cl_event> nativeEvents = CLEventCL::Cast(waitEvents); in enqueueReadImage()
318 const std::vector<cl_event> nativeEvents = CLEventCL::Cast(waitEvents); in enqueueWriteImage()
[all …]

12345678910>>...15