Home
last modified time | relevance | path

Searched refs:CppType (Results 1 – 25 of 27) sorted by relevance

12

/third_party/node/deps/v8/src/objects/
Dmanaged-inl.h15 template <class CppType>
17 Handle<Managed<CppType>> Managed<CppType>::Allocate(Isolate* isolate, in Allocate()
21 std::make_shared<CppType>(std::forward<Args>(args)...)); in Allocate()
25 template <class CppType>
26 Handle<Managed<CppType>> Managed<CppType>::FromRawPtr(Isolate* isolate, in FromRawPtr()
28 CppType* ptr) { in FromRawPtr()
29 return FromSharedPtr(isolate, estimated_size, std::shared_ptr<CppType>{ptr}); in FromRawPtr()
33 template <class CppType>
34 Handle<Managed<CppType>> Managed<CppType>::FromUniquePtr( in FromUniquePtr()
36 std::unique_ptr<CppType> unique_ptr) { in FromUniquePtr()
[all …]
Dmanaged.h48 template <class CppType>
55 V8_INLINE CppType* raw() { return GetSharedPtrPtr()->get(); } in raw()
58 V8_INLINE const std::shared_ptr<CppType>& get() { return *GetSharedPtrPtr(); } in get()
65 static Handle<Managed<CppType>> Allocate(Isolate* isolate,
71 static Handle<Managed<CppType>> FromRawPtr(Isolate* isolate,
73 CppType* ptr);
78 static Handle<Managed<CppType>> FromUniquePtr(
80 std::unique_ptr<CppType> unique_ptr);
83 static Handle<Managed<CppType>> FromSharedPtr(
85 std::shared_ptr<CppType> shared_ptr);
[all …]
/third_party/skia/third_party/externals/dawn/generator/templates/
Dwebgpu_cpp.cpp27 {% set CppType = as_cppType(type.name) %}
32 static_assert(sizeof({{CppType}}) == sizeof({{CType}}), "sizeof mismatch for {{CppType}}");
33 … static_assert(alignof({{CppType}}) == alignof({{CType}}), "alignof mismatch for {{CppType}}");
36 …static_assert(static_cast<uint32_t>({{CppType}}::{{as_cppEnum(value.name)}}) == {{as_cEnum(type.na…
41 {% set CppType = as_cppType(type.name) %}
46 static_assert(sizeof({{CppType}}) == sizeof({{CType}}), "sizeof mismatch for {{CppType}}");
47 … static_assert(alignof({{CppType}}) == alignof({{CType}}), "alignof mismatch for {{CppType}}");
50 …static_assert(static_cast<uint32_t>({{CppType}}::{{as_cppEnum(value.name)}}) == {{as_cEnum(type.na…
65 {% set CppType = as_cppType(type.name) %}
70 static_assert(sizeof({{CppType}}) == sizeof({{CType}}), "sizeof mismatch for {{CppType}}");
[all …]
Dapi_cpp.h157 {% set CppType = as_cppType(type.name) %}
172 {% set CppType = as_cppType(type.name) %}
174 class {{CppType}} : public ObjectBase<{{CppType}}, {{CType}}> {
184 friend ObjectBase<{{CppType}}, {{CType}}>;
/third_party/skia/third_party/externals/dawn/generator/templates/dawn_native/
Dwgpu_structs.cpp36 {% set CppType = as_cppType(type.name) %}
39 static_assert(sizeof({{CppType}}) == sizeof({{CType}}), "sizeof mismatch for {{CppType}}");
40 … static_assert(alignof({{CppType}}) == alignof({{CType}}), "alignof mismatch for {{CppType}}");
43 static_assert(offsetof({{CppType}}, nextInChain) == offsetof({{CType}}, nextInChain),
48 … static_assert(offsetof({{CppType}}, {{memberName}}) == offsetof({{CType}}, {{memberName}}),
52 bool {{CppType}}::operator==(const {{as_cppType(type.name)}}& rhs) const {
/third_party/skia/third_party/externals/swiftshader/include/vulkan/
Dvulkan_structs.hpp321 struct CppType<StructureType, StructureType::eAccelerationStructureGeometryTrianglesDataKHR> struct
410 struct CppType<StructureType, StructureType::eAccelerationStructureGeometryAabbsDataKHR> struct
500 struct CppType<StructureType, StructureType::eAccelerationStructureGeometryInstancesDataKHR> struct
669 struct CppType<StructureType, StructureType::eAccelerationStructureGeometryKHR> struct
944 struct CppType<StructureType, StructureType::eAccelerationStructureBuildGeometryInfoKHR> struct
1160 struct CppType<StructureType, StructureType::eAccelerationStructureBuildSizesInfoKHR> struct
1302 struct CppType<StructureType, StructureType::eAccelerationStructureCreateInfoKHR> struct
1481 struct CppType<StructureType, StructureType::eGeometryTrianglesNV> struct
1592 struct CppType<StructureType, StructureType::eGeometryAabbNV> struct
1770 struct CppType<StructureType, StructureType::eGeometryNV> struct
[all …]
Dvulkan_handles.hpp1368 struct CppType<VULKAN_HPP_NAMESPACE::ObjectType, VULKAN_HPP_NAMESPACE::ObjectType::eSurfaceKHR> struct
1374 struct CppType<VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT, struct
1470 …struct CppType<VULKAN_HPP_NAMESPACE::ObjectType, VULKAN_HPP_NAMESPACE::ObjectType::eDebugReportCal… struct
1476 struct CppType<VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT, struct
1572 …struct CppType<VULKAN_HPP_NAMESPACE::ObjectType, VULKAN_HPP_NAMESPACE::ObjectType::eDebugUtilsMess… struct
1664 struct CppType<VULKAN_HPP_NAMESPACE::ObjectType, VULKAN_HPP_NAMESPACE::ObjectType::eDisplayKHR> struct
1670 struct CppType<VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT, struct
1764 struct CppType<VULKAN_HPP_NAMESPACE::ObjectType, VULKAN_HPP_NAMESPACE::ObjectType::eSwapchainKHR> struct
1770 struct CppType<VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT, struct
1862 struct CppType<VULKAN_HPP_NAMESPACE::ObjectType, VULKAN_HPP_NAMESPACE::ObjectType::eSemaphore> struct
[all …]
/third_party/vulkan-headers/include/vulkan/
Dvulkan_structs.hpp321 struct CppType<StructureType, StructureType::eAccelerationStructureGeometryTrianglesDataKHR> struct
413 struct CppType<StructureType, StructureType::eAccelerationStructureGeometryAabbsDataKHR> struct
507 struct CppType<StructureType, StructureType::eAccelerationStructureGeometryInstancesDataKHR> struct
672 struct CppType<StructureType, StructureType::eAccelerationStructureGeometryKHR> struct
941 struct CppType<StructureType, StructureType::eAccelerationStructureBuildGeometryInfoKHR> struct
1170 struct CppType<StructureType, StructureType::eAccelerationStructureBuildSizesInfoKHR> struct
1284 struct CppType<StructureType, StructureType::eAccelerationStructureCaptureDescriptorDataInfoEXT> struct
1436 struct CppType<StructureType, StructureType::eAccelerationStructureCreateInfoKHR> struct
1649 struct CppType<StructureType, StructureType::eGeometryTrianglesNV> struct
1776 struct CppType<StructureType, StructureType::eGeometryAabbNV> struct
[all …]
Dvulkan_handles.hpp2128 struct CppType<VULKAN_HPP_NAMESPACE::ObjectType, VULKAN_HPP_NAMESPACE::ObjectType::eSurfaceKHR> struct
2134 …struct CppType<VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT, VULKAN_HPP_NAMESPACE::DebugReportOb… struct
2216 …struct CppType<VULKAN_HPP_NAMESPACE::ObjectType, VULKAN_HPP_NAMESPACE::ObjectType::eDebugReportCal… struct
2222 …struct CppType<VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT, VULKAN_HPP_NAMESPACE::DebugReportOb… struct
2304 …struct CppType<VULKAN_HPP_NAMESPACE::ObjectType, VULKAN_HPP_NAMESPACE::ObjectType::eDebugUtilsMess… struct
2383 struct CppType<VULKAN_HPP_NAMESPACE::ObjectType, VULKAN_HPP_NAMESPACE::ObjectType::eDisplayKHR> struct
2389 …struct CppType<VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT, VULKAN_HPP_NAMESPACE::DebugReportOb… struct
2468 struct CppType<VULKAN_HPP_NAMESPACE::ObjectType, VULKAN_HPP_NAMESPACE::ObjectType::eSwapchainKHR> struct
2474 …struct CppType<VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT, VULKAN_HPP_NAMESPACE::DebugReportOb… struct
2553 struct CppType<VULKAN_HPP_NAMESPACE::ObjectType, VULKAN_HPP_NAMESPACE::ObjectType::eSemaphore> struct
[all …]
Dvulkan_enums.hpp14 struct CppType struct
6561 struct CppType<IndexType, IndexType::eUint16> struct
6573 struct CppType<IndexType, IndexType::eUint32> struct
6585 struct CppType<IndexType, IndexType::eUint8EXT> struct
/third_party/protobuf/src/google/protobuf/
Dreflection.h480 static const FieldDescriptor::CppType cpp_type = \
500 static constexpr FieldDescriptor::CppType cpp_type =
514 static constexpr FieldDescriptor::CppType cpp_type =
527 static constexpr FieldDescriptor::CppType cpp_type =
551 static constexpr FieldDescriptor::CppType cpp_type =
Dmap_field.h89 FieldDescriptor::CppType type() const { in type()
95 return (FieldDescriptor::CppType)type_; in type()
252 void SetType(FieldDescriptor::CppType type) { in SetType()
687 void SetType(FieldDescriptor::CppType type) { type_ = type; }
689 FieldDescriptor::CppType type() const {
694 return (FieldDescriptor::CppType)type_;
Ddescriptor.h624 enum CppType { enum
689 CppType cpp_type() const; // C++ type of this field.
803 static CppType TypeToCppType(Type type);
809 static const char* CppTypeName(CppType cpp_type);
911 static const CppType kTypeToCppTypeMap[MAX_TYPE + 1];
2271 inline FieldDescriptor::CppType FieldDescriptor::cpp_type() const { in cpp_type()
2279 inline FieldDescriptor::CppType FieldDescriptor::TypeToCppType(Type type) { in TypeToCppType()
2287 inline const char* FieldDescriptor::CppTypeName(CppType cpp_type) { in CppTypeName()
Dmessage.h883 FieldDescriptor::CppType, int ctype,
888 FieldDescriptor::CppType cpptype, int ctype,
906 FieldDescriptor::CppType cpp_type,
Dwire_format_lite.cc76 const WireFormatLite::CppType
78 static_cast<CppType>(0), // 0 is reserved for errors
Dwire_format_lite.h135 enum CppType { enum
150 static CppType FieldTypeToCppType(FieldType type);
730 static const CppType kFieldTypeToCppTypeMap[];
779 inline WireFormatLite::CppType WireFormatLite::FieldTypeToCppType( in FieldTypeToCppType()
Dmap_field_inl.h159 static_cast<FieldDescriptor::CppType>(that_iter.value_.type_)); in CopyIterator()
Dextension_set_heavy.cc133 inline FieldDescriptor::CppType cpp_type(FieldType type) { in cpp_type()
Dgenerated_message_reflection.cc134 const char* method, FieldDescriptor::CppType expected_type) { in ReportReflectionUsageTypeError()
1748 FieldDescriptor::CppType cpptype, in MutableRawRepeatedField()
1776 FieldDescriptor::CppType cpptype, in GetRawRepeatedField()
2252 FieldDescriptor::CppType cpp_type, in RepeatedFieldData()
Dwire_format.cc1165 #define CASE_TYPE(CppType, CamelCppType) \ in operator ()() argument
1166 case FieldDescriptor::CPPTYPE_##CppType: { \ in operator ()()
Dextension_set.cc64 inline WireFormatLite::CppType cpp_type(FieldType type) { in cpp_type()
Ddescriptor_unittest.cc2315 FieldDescriptor::CppType GetCppTypeForFieldType(FieldDescriptor::Type type) { in GetCppTypeForFieldType()
2318 : static_cast<FieldDescriptor::CppType>(0); in GetCppTypeForFieldType()
/third_party/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_helpers.h212 const char* PrimitiveTypeName(FieldDescriptor::CppType type);
214 FieldDescriptor::CppType type);
Dcpp_helpers.cc526 const char* PrimitiveTypeName(FieldDescriptor::CppType type) { in PrimitiveTypeName()
558 FieldDescriptor::CppType type) { in PrimitiveTypeName()
/third_party/node/deps/v8/src/wasm/
Dwasm-objects.h57 template <class CppType>

12