Home
last modified time | relevance | path

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

123456789

/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 …]
DVkSampler.hpp106 static inline Sampler *Cast(VkSampler object) in Cast() function
108 return Sampler::Cast(object); in Cast()
111 static inline SamplerYcbcrConversion *Cast(VkSamplerYcbcrConversion object) in Cast() function
113 return SamplerYcbcrConversion::Cast(object); in Cast()
DVkSemaphore.hpp43 static inline Semaphore *Cast(VkSemaphore semaphore) in Cast() function in vk::Semaphore
185 static inline Semaphore *Cast(VkSemaphore object) in Cast() function
187 return Semaphore::Cast(object); in Cast()
193 Semaphore *semaphore = vk::Cast(object); in DynamicCast()
DVkDescriptorPool.cpp27 return reinterpret_cast<uint8_t *>(vk::Cast(descriptorSet)); in asMemory()
65 layoutSizes[i] = vk::Cast(pSetLayouts[i])->getDescriptorSetAllocationSize(); in allocateSets()
73 vk::Cast(pSetLayouts[i])->initialize(vk::Cast(pDescriptorSets[i])); in allocateSets()
DVkDescriptorSetLayout.cpp76 dstBinding.immutableSamplers[i] = vk::Cast(srcBinding.pImmutableSamplers[i]); in DescriptorSetLayout()
303 sampledImage[i].samplerId = vk::Cast(update->sampler)->id; in WriteDescriptorSet()
314 auto bufferView = vk::Cast(*update); in WriteDescriptorSet()
349 vk::ImageView *imageView = vk::Cast(update->imageView); in WriteDescriptorSet()
360 sampledImage[i].samplerId = vk::Cast(update->sampler)->id; in WriteDescriptorSet()
455 auto *imageView = vk::Cast(update->imageView); in WriteDescriptorSet()
490 auto bufferView = vk::Cast(*update); in WriteDescriptorSet()
513 auto buffer = vk::Cast(update->buffer); in WriteDescriptorSet()
565 DescriptorSet *dstSet = vk::Cast(writeDescriptorSet.dstSet); in WriteDescriptorSet()
607 DescriptorSet *srcSet = vk::Cast(descriptorCopies.srcSet); in CopyDescriptorSet()
[all …]
DVkDeviceMemory.hpp59 static inline DeviceMemory *Cast(VkDeviceMemory object) in Cast() function in vk::DeviceMemory
140 static inline DeviceMemory *Cast(VkDeviceMemory object) in Cast() function
142 return DeviceMemory::Cast(object); in Cast()
DVkShaderModule.hpp35 static inline ShaderModule *Cast(VkShaderModule object) in Cast() function
37 return ShaderModule::Cast(object); in Cast()
DVkDescriptorUpdateTemplate.hpp40 static inline DescriptorUpdateTemplate *Cast(VkDescriptorUpdateTemplate object) in Cast() function
42 return DescriptorUpdateTemplate::Cast(object); in Cast()
DVkDebugUtilsMessenger.hpp41 static inline DebugUtilsMessenger *Cast(VkDebugUtilsMessengerEXT object) in Cast() function
43 return DebugUtilsMessenger::Cast(object); in Cast()
DVkPipeline.hpp48 static inline Pipeline *Cast(VkPipeline object) in Cast() function in vk::Pipeline
156 static inline Pipeline *Cast(VkPipeline object) in Cast() function
158 return Pipeline::Cast(object); in Cast()
DVkBufferView.hpp50 static inline BufferView *Cast(VkBufferView object) in Cast() function
52 return BufferView::Cast(object); in Cast()
DVkDestroy.hpp56 auto object = Cast(vkObject); in destroy()
72 auto object = Cast(vkObject); in release()
DVkCommandPool.hpp43 static inline CommandPool *Cast(VkCommandPool object) in Cast() function
45 return CommandPool::Cast(object); in Cast()
DVkCommandBuffer.cpp985 descriptorSetObjects[firstSet + i] = vk::Cast(pDescriptorSets[i]); in CmdBindDescriptorSets()
986 descriptorSets[firstSet + i] = vk::Cast(pDescriptorSets[i])->data; in CmdBindDescriptorSets()
1319 framebuffer->setAttachment(vk::Cast(attachmentInfo->pAttachments[i]), i); in beginRenderPass()
1343 addCommand<::CmdExecuteCommands>(vk::Cast(pCommandBuffers[i])); in executeCommands()
1385 addCommand<::CmdVertexBufferBind>(i + firstBinding, vk::Cast(pBuffers[i]), pOffsets[i]); in bindVertexBuffers()
1527 vk::Cast(copyBufferInfo.srcBuffer), in copyBuffer()
1528 vk::Cast(copyBufferInfo.dstBuffer), in copyBuffer()
1544 vk::Cast(copyImageInfo.srcImage), in copyImage()
1545 vk::Cast(copyImageInfo.dstImage), in copyImage()
1561 vk::Cast(blitImageInfo.srcImage), in blitImage()
[all …]
/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…
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/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/typescript/tests/cases/compiler/
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/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 …]
/third_party/node/src/
Dnode_dtrace.cc89 *valp = Local<Object>::Cast(obj->Get(env->context(), \
98 Local<Object> _##conn = Local<Object>::Cast(arg); \
118 Local<Object> _##conn = Local<Object>::Cast(arg); \
134 Local<Object> _##conn = Local<Object>::Cast(arg0); \
137 _##conn = Local<Object>::Cast(arg1); \
167 Local<Object> arg0 = Local<Object>::Cast(args[0]); in DTRACE_HTTP_SERVER_REQUEST()
219 Local<Object> arg0 = Local<Object>::Cast(args[0]); in DTRACE_HTTP_CLIENT_REQUEST()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZTDC.cpp239 if (auto *Cast = dyn_cast<BitCastInst>(Op0)) { in convertICmp() local
241 if (!Cast->getSrcTy()->isFloatTy() && in convertICmp()
242 !Cast->getSrcTy()->isDoubleTy() && in convertICmp()
243 !Cast->getSrcTy()->isFP128Ty()) in convertICmp()
245 Value *V = Cast->getOperand(0); in convertICmp()
257 PossibleJunk.insert(Cast); in convertICmp()
/third_party/skia/third_party/externals/swiftshader/src/WSI/
DVkSurfaceKHR.hpp68 static inline SurfaceKHR *Cast(VkSurfaceKHR object) in Cast() function in vk::SurfaceKHR
105 static inline SurfaceKHR *Cast(VkSurfaceKHR object) in Cast() function
107 return SurfaceKHR::Cast(object); in Cast()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DCallPromotionUtils.cpp179 auto *Cast = CastInst::CreateBitOrPointerCast(CS.getInstruction(), RetTy, "", in createRetBitCast() local
182 *RetBitCast = Cast; in createRetBitCast()
186 U->replaceUsesOfWith(CS.getInstruction(), Cast); in createRetBitCast()
408 auto *Cast = CastInst::CreateBitOrPointerCast(Arg, FormalTy, "", in promoteCall() local
410 CS.setArgument(ArgNo, Cast); in promoteCall()

123456789