Home
last modified time | relevance | path

Searched refs:DynamicCast (Results 1 – 22 of 22) sorted by relevance

/third_party/node/deps/v8/src/torque/
Dtype-visitor.cc111 TorqueMacroDeclaration::DynamicCast(declaration); in DeclareMethods()
254 const ClassType* super_class = ClassType::DynamicCast(super_type); in ComputeType()
266 const ClassType* super_class = ClassType::DynamicCast(super_type); in ComputeType()
346 if (auto* basic = BasicTypeExpression::DynamicCast(type_expression)) { in ComputeType()
379 UnionTypeExpression::DynamicCast(type_expression)) { in ComputeType()
383 FunctionTypeExpression::DynamicCast(type_expression)) { in ComputeType()
462 IntegerLiteralExpression::DynamicCast(field.index->expr)) { in VisitClassFieldsAndMethods()
498 auto* basic = BasicTypeExpression::DynamicCast(type_expression); in ComputeTypeForStructExpression()
510 ? StructDeclaration::DynamicCast((*maybe_generic_type)->declaration()) in ComputeTypeForStructExpression()
Dimplementation-visitor.cc247 if (const ClassType* class_type = ClassType::DynamicCast(alias->type())) { in Visit()
436 if (Method* method = Method::DynamicCast(macro)) { in VisitMacroCommon()
1007 if (auto* identifier = IdentifierExpression::DynamicCast(expr->object)) { in Visit()
1164 if (auto* var_declaration = VarDeclarationStatement::DynamicCast(s)) { in Visit()
1403 if (SpreadExpression* s = SpreadExpression::DynamicCast(e)) { in VisitInitializerResults()
1624 const ClassType* class_type = ClassType::DynamicCast(type); in Visit()
2022 if (GenericCallable* generic = GenericCallable::DynamicCast(declarable)) { in LookupCallable()
2035 } else if (Callable* callable = Callable::DynamicCast(declarable)) { in LookupCallable()
2085 GenericCallable::DynamicCast(overloads[best])) { in LookupCallable()
2169 if (const auto* struct_type = StructType::DynamicCast(type)) { in Visit()
[all …]
Ddeclaration-visitor.cc330 if (!body && IntrinsicDeclaration::DynamicCast(key.generic->declaration()) == in SpecializeImplicit()
387 if (MacroDeclaration::DynamicCast(declaration) != nullptr) { in Specialize()
391 } else if (IntrinsicDeclaration::DynamicCast(declaration) != nullptr) { in Specialize()
408 if (const TypeAlias* alias = TypeAlias::DynamicCast(declarable)) { in ResolvePredeclarations()
Ddeclarable.cc167 if (auto* macro_decl = TorqueMacroDeclaration::DynamicCast(declaration())) { in CallableBody()
170 TorqueBuiltinDeclaration::DynamicCast(declaration())) { in CallableBody()
Ddeclarable.h138 static x* DynamicCast(Declarable* declarable) { \
143 static const x* DynamicCast(const Declarable* declarable) { \
183 if (Scope* scope = Scope::DynamicCast(declarable)) { in LookupShallow()
234 if (Namespace* n = Namespace::DynamicCast(scope)) { in CurrentNamespace()
Dtypes.cc93 if (const UnionType* union_type = UnionType::DynamicCast(supertype)) { in IsSubtypeOf()
115 if (auto* class_type = ClassType::DynamicCast(t)) { in ClassSupertype()
124 if (auto* struct_type = StructType::DynamicCast(t)) { in StructSupertype()
133 if (auto* aggregate_type = AggregateType::DynamicCast(t)) { in AggregateSupertype()
382 if (auto parent_class = ClassType::DynamicCast(parent())) { in HasField()
394 if (auto parent_class = ClassType::DynamicCast(parent())) { in LookupFieldInternal()
1307 IdentifierExpression::DynamicCast(array_size); in ExtractSimpleFieldArraySize()
Dtype-oracle.cc77 if (auto* class_type = ClassType::DynamicCast(t.get())) { in GetClasses()
Dtypes.h76 static x* DynamicCast(TypeBase* declarable) { \
81 static const x* DynamicCast(const TypeBase* declarable) { \
450 if (const UnionType* union_type = UnionType::DynamicCast(t)) { in Extend()
467 const UnionType* union_type = UnionType::DynamicCast(t); in FromType()
724 return parent()->IsClassType() ? ClassType::DynamicCast(parent()) : nullptr; in GetSuperClass()
Dclass-debug-reader-generator.cc59 BitFieldStructType::DynamicCast(type)) { in operator *()
100 BitFieldStructType::DynamicCast(type)) { in end()
Dtype-inference.cc61 BasicTypeExpression::DynamicCast(parameter)) { in Match()
Dcsa-generator.cc239 ClassType::DynamicCast(instruction.specialization_types[0]); in EmitInstruction()
346 if (ExternMacro* extern_macro = ExternMacro::DynamicCast(instruction.macro)) { in EmitInstruction()
415 if (ExternMacro* extern_macro = ExternMacro::DynamicCast(instruction.macro)) { in EmitInstruction()
506 ExternMacro::DynamicCast(instruction.macro)) { in EmitInstruction()
Dinstance-type-generator.cc41 if (const TypeAlias* alias = TypeAlias::DynamicCast(p.get())) { in BuildInstanceTypeTree()
43 const ClassType* class_type = ClassType::DynamicCast(type); in BuildInstanceTypeTree()
Ddeclarations.h29 if (T* t = T::DynamicCast(declarable)) { in FilterDeclarables()
Dtorque-parser.cc330 if (BlockStatement* block = BlockStatement::DynamicCast(statement)) { in CheckNotDeferredStatement()
340 BasicTypeExpression* basic = BasicTypeExpression::DynamicCast(type); in AddConstexpr()
360 if (auto* e = ExpressionStatement::DynamicCast(statement)) { in MakeCall()
361 if (auto* id = IdentifierExpression::DynamicCast(e->expression)) { in MakeCall()
1046 if (!BasicTypeExpression::DynamicCast(extends)) { in MakeClassDeclaration()
1348 if (if_false && !(BlockStatement::DynamicCast(if_true) && in MakeIfStatement()
1349 (BlockStatement::DynamicCast(*if_false) || in MakeIfStatement()
1350 IfStatement::DynamicCast(*if_false)))) { in MakeIfStatement()
2052 if (auto* id = IdentifierExpression::DynamicCast(expression)) { in MakeNameAndExpressionFromExpression()
Dinstructions.h229 T* DynamicCast() { in DynamicCast() function
235 const T* DynamicCast() const { in DynamicCast() function
Dast.h129 static T* DynamicCast(AstNode* node) { \
141 static T* DynamicCast(AstNode* node) { \
1268 if (auto* block = BlockStatement::DynamicCast(stmt)) { in IsDeferred()
Ddeclarations.cc95 if (Builtin* builtin = Builtin::DynamicCast(declarable.get())) { in FindSomeInternalBuiltinWithType()
Dinstructions.cc473 const BuiltinPointerType* f = BuiltinPointerType::DynamicCast(stack->Pop()); in TypeInstruction()
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkQueue.cpp215 if(auto *sem = DynamicCast<TimelineSemaphore>(submitInfo.pWaitSemaphores[j])) in submitQueue()
220 else if(auto *sem = DynamicCast<BinarySemaphore>(submitInfo.pWaitSemaphores[j])) in submitQueue()
242 if(auto *sem = DynamicCast<TimelineSemaphore>(submitInfo.pSignalSemaphores[j])) in submitQueue()
247 else if(auto *sem = DynamicCast<BinarySemaphore>(submitInfo.pSignalSemaphores[j])) in submitQueue()
334 auto *semaphore = vk::DynamicCast<BinarySemaphore>(presentInfo->pWaitSemaphores[i]); in present()
DVkSemaphore.hpp191 static inline T *DynamicCast(VkSemaphore object) in DynamicCast() function
DVkDevice.cpp299 TimelineSemaphore *semaphore = DynamicCast<TimelineSemaphore>(pWaitInfo->pSemaphores[i]); in waitForSemaphores()
330 TimelineSemaphore *semaphore = DynamicCast<TimelineSemaphore>(pWaitInfo->pSemaphores[i]); in waitForSemaphores()
DlibVulkan.cpp1473 auto *sem = vk::DynamicCast<vk::BinarySemaphore>(pGetFdInfo->semaphore); in vkGetSemaphoreFdKHR()
1489 auto *sem = vk::DynamicCast<vk::BinarySemaphore>(pImportSemaphoreInfo->semaphore); in vkImportSemaphoreFdKHR()
1508 auto *sem = vk::DynamicCast<vk::BinarySemaphore>(pImportSemaphoreZirconHandleInfo->semaphore); in vkImportSemaphoreZirconHandleFUCHSIA()
1526 auto *sem = vk::DynamicCast<vk::BinarySemaphore>(pGetZirconHandleInfo->semaphore); in vkGetSemaphoreZirconHandleFUCHSIA()
1536 *pValue = vk::DynamicCast<vk::TimelineSemaphore>(semaphore)->getCounterValue(); in vkGetSemaphoreCounterValue()
1544 vk::DynamicCast<vk::TimelineSemaphore>(pSignalInfo->semaphore)->signal(pSignalInfo->value); in vkSignalSemaphore()
4207 …return vk::Cast(swapchain)->getNextImage(timeout, vk::DynamicCast<vk::BinarySemaphore>(semaphore),… in vkAcquireNextImageKHR()
4223 …return vk::Cast(pAcquireInfo->swapchain)->getNextImage(pAcquireInfo->timeout, vk::DynamicCast<vk::… in vkAcquireNextImage2KHR()
4303 vk::DynamicCast<vk::BinarySemaphore>(semaphore)->signal(); in vkAcquireImageANDROID()