Home
last modified time | relevance | path

Searched refs:StorageType (Results 1 – 25 of 68) sorted by relevance

123

/external/deqp/framework/common/
DtcuFloat.hpp58 typedef StorageType_ StorageType; typedef in tcu::Float
69 explicit Float (StorageType value);
76 …static inline Float convert (const Float<StorageType, ExponentBits, MantissaBits, ExponentBias,… in convert() argument
95 static inline Float construct (int sign, int exponent, StorageType mantissa);
110 static Float constructBits (int sign, int exponent, StorageType mantissaBits);
112 StorageType bits (void) const { return m_value; } in bits()
117 …inline StorageType exponentBits (void) const { return (m_value >> MantissaBits) & ((StorageType(1… in exponentBits()
118 …inline StorageType mantissaBits (void) const { return m_value & ((StorageType(1)<<MantissaBits)-1… in mantissaBits()
122 …inline StorageType mantissa (void) const { return isZero() || isDenorm() ? mantissaBits() : (man… in mantissa()
129 …inline bool operator< (const Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flag… in operator <() argument
[all …]
/external/llvm-project/llvm/include/llvm/ADT/
DBitfields.h156 template <typename Bitfield, typename StorageType> struct Impl {
157 static_assert(std::is_unsigned<StorageType>::value,
161 using BP = BitPatterns<StorageType, Bitfield::Bits>;
163 static constexpr size_t StorageBits = sizeof(StorageType) * CHAR_BIT;
166 static constexpr StorageType Mask = BP::Umax << Bitfield::Shift;
170 static void update(StorageType &Packed, IntegerType UserValue) {
171 const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue);
178 static IntegerType extract(StorageType Packed) {
179 const StorageType StorageValue = (Packed & Mask) >> Bitfield::Shift;
185 static StorageType test(StorageType Packed) { return Packed & Mask; }
[all …]
/external/libchrome/mojo/public/cpp/base/
Dbig_buffer.cc41 BigBuffer::BigBuffer() : storage_type_(StorageType::kBytes) {} in BigBuffer()
53 : storage_type_(StorageType::kSharedMemory), in BigBuffer()
66 case StorageType::kBytes: in data()
68 case StorageType::kSharedMemory: in data()
80 case StorageType::kBytes: in size()
82 case StorageType::kSharedMemory: in size()
98 storage_type_ = BigBuffer::StorageType::kSharedMemory; in BigBufferView()
108 storage_type_ = BigBuffer::StorageType::kBytes; in BigBufferView()
119 storage_type_ = BigBuffer::StorageType::kBytes; in SetBytes()
127 storage_type_ = BigBuffer::StorageType::kSharedMemory; in SetSharedMemory()
[all …]
Dbig_buffer.h69 enum class StorageType { in COMPONENT_EXPORT() enum
103 StorageType storage_type() const { return storage_type_; } in COMPONENT_EXPORT()
106 DCHECK_EQ(storage_type_, StorageType::kBytes); in COMPONENT_EXPORT()
111 DCHECK_EQ(storage_type_, StorageType::kSharedMemory); in COMPONENT_EXPORT()
118 StorageType storage_type_; in COMPONENT_EXPORT()
157 BigBuffer::StorageType storage_type() const { return storage_type_; } in COMPONENT_EXPORT()
160 DCHECK_EQ(storage_type_, BigBuffer::StorageType::kBytes); in COMPONENT_EXPORT()
165 DCHECK_EQ(storage_type_, BigBuffer::StorageType::kSharedMemory); in COMPONENT_EXPORT()
170 BigBuffer::StorageType storage_type_; in COMPONENT_EXPORT()
Dbig_buffer_unittest.cc30 EXPECT_EQ(BigBuffer::StorageType::kBytes, in.storage_type()); in TEST()
35 EXPECT_EQ(BigBuffer::StorageType::kBytes, out.storage_type()); in TEST()
41 EXPECT_EQ(BigBuffer::StorageType::kBytes, in.storage_type()); in TEST()
46 EXPECT_EQ(BigBuffer::StorageType::kBytes, out.storage_type()); in TEST()
56 EXPECT_EQ(BigBuffer::StorageType::kSharedMemory, in.storage_type()); in TEST()
61 EXPECT_EQ(BigBuffer::StorageType::kSharedMemory, out.storage_type()); in TEST()
Dbig_buffer_mojom_traits.cc45 case mojo_base::BigBuffer::StorageType::kBytes: in GetTag()
47 case mojo_base::BigBuffer::StorageType::kSharedMemory: in GetTag()
97 case mojo_base::BigBuffer::StorageType::kBytes: in GetTag()
99 case mojo_base::BigBuffer::StorageType::kSharedMemory: in GetTag()
/external/libchrome/mojo/public/cpp/bindings/lib/
Darray_internal.h45 using StorageType = T; member
51 sizeof(StorageType);
55 return sizeof(ArrayHeader) + sizeof(StorageType) * num_elements; in GetStorageSize()
57 static Ref ToRef(StorageType* storage, size_t offset) { in ToRef()
60 static ConstRef ToConstRef(const StorageType* storage, size_t offset) { in ToConstRef()
92 using StorageType = uint8_t;
99 static BitRef ToRef(StorageType* storage, size_t offset) {
102 static bool ToConstRef(const StorageType* storage, size_t offset) {
124 using ElementType = typename ArrayDataTraits<T>::StorageType;
149 using ElementType = typename ArrayDataTraits<T>::StorageType;
[all …]
/external/llvm/include/llvm/IR/
DDebugInfoMetadata.h140 DINode(LLVMContext &C, unsigned ID, StorageType Storage, unsigned Tag,
242 GenericDINode(LLVMContext &C, StorageType Storage, unsigned Hash,
255 StorageType Storage, bool ShouldCreate = true) {
262 StorageType Storage, bool ShouldCreate = true);
317 DISubrange(LLVMContext &C, StorageType Storage, int64_t Count,
324 int64_t LowerBound, StorageType Storage,
355 DIEnumerator(LLVMContext &C, StorageType Storage, int64_t Value,
362 StringRef Name, StorageType Storage,
368 MDString *Name, StorageType Storage,
401 DIScope(LLVMContext &C, unsigned ID, StorageType Storage, unsigned Tag,
[all …]
/external/llvm/lib/IR/
DDebugInfoMetadata.cpp22 DILocation::DILocation(LLVMContext &C, StorageType Storage, unsigned Line, in DILocation()
43 Metadata *InlinedAt, StorageType Storage, in getImpl()
164 StorageType Storage, bool ShouldCreate) { in getImpl()
216 StorageType Storage, bool ShouldCreate) { in getImpl()
222 MDString *Name, StorageType Storage, in getImpl()
233 StorageType Storage, bool ShouldCreate) { in getImpl()
246 Metadata *ExtraData, StorageType Storage, bool ShouldCreate) { in getImpl()
262 Metadata *TemplateParams, MDString *Identifier, StorageType Storage, in getImpl()
341 StorageType Storage, in getImpl()
349 MDString *Directory, StorageType Storage, in getImpl()
[all …]
DMetadataImpl.h29 template <class T> T *MDNode::storeImpl(T *N, StorageType Storage) { in storeImpl()
43 T *MDNode::storeImpl(T *N, StorageType Storage, StoreT &Store) { in storeImpl()
/external/llvm-project/llvm/include/llvm/IR/
DDebugInfoMetadata.h123 DINode(LLVMContext &C, unsigned ID, StorageType Storage, unsigned Tag,
220 GenericDINode(LLVMContext &C, StorageType Storage, unsigned Hash, in GenericDINode()
233 StorageType Storage, bool ShouldCreate = true) {
240 StorageType Storage, bool ShouldCreate = true);
292 DISubrange(LLVMContext &C, StorageType Storage, ArrayRef<Metadata *> Ops) in DISubrange()
298 int64_t LowerBound, StorageType Storage,
302 int64_t LowerBound, StorageType Storage,
307 Metadata *Stride, StorageType Storage,
359 DIGenericSubrange(LLVMContext &C, StorageType Storage, in DIGenericSubrange()
368 Metadata *Stride, StorageType Storage,
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DDebugInfoMetadata.h123 DINode(LLVMContext &C, unsigned ID, StorageType Storage, unsigned Tag,
218 GenericDINode(LLVMContext &C, StorageType Storage, unsigned Hash, in GenericDINode()
231 StorageType Storage, bool ShouldCreate = true) {
238 StorageType Storage, bool ShouldCreate = true);
292 DISubrange(LLVMContext &C, StorageType Storage, Metadata *Node, in DISubrange()
300 int64_t LowerBound, StorageType Storage,
304 int64_t LowerBound, StorageType Storage,
352 DIEnumerator(LLVMContext &C, StorageType Storage, int64_t Value, in DIEnumerator()
362 StorageType Storage, bool ShouldCreate = true) {
368 StorageType Storage, bool ShouldCreate = true);
[all …]
/external/swiftshader/third_party/subzero/src/
DIceClFlags.h114 using Name##StorageType = \
117 Name##StorageType Name; \
121 Name##StorageType Value) { \
126 typename std::enable_if<!E, void>::type set##Name##Impl(Name##StorageType) { \
130 Name##StorageType get##Name() const { return Name; } \
131 void set##Name(Name##StorageType Value) { \
/external/tensorflow/tensorflow/lite/delegates/gpu/common/
Dtensor.h32 struct StorageType;
35 struct StorageType<DataType::FLOAT32> {
40 struct StorageType<DataType::INT32> {
52 using TensorStorageType = typename internal_tensor::StorageType<Type>::value;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DDebugInfoMetadata.cpp29 DILocation::DILocation(LLVMContext &C, StorageType Storage, unsigned Line, in DILocation()
54 StorageType Storage, bool ShouldCreate) { in getImpl()
265 StorageType Storage, bool ShouldCreate) { in getImpl()
321 StorageType Storage, bool ShouldCreate) { in getImpl()
328 int64_t Lo, StorageType Storage, in getImpl()
337 StorageType Storage, bool ShouldCreate) { in getImpl()
347 DIFlags Flags, StorageType Storage, in getImpl()
375 StorageType Storage, bool ShouldCreate) { in getImpl()
393 StorageType Storage, bool ShouldCreate) { in getImpl()
472 StorageType Storage, in getImpl()
[all …]
DMetadataImpl.h28 template <class T> T *MDNode::storeImpl(T *N, StorageType Storage) { in storeImpl()
42 T *MDNode::storeImpl(T *N, StorageType Storage, StoreT &Store) { in storeImpl()
/external/llvm-project/llvm/lib/IR/
DDebugInfoMetadata.cpp29 DILocation::DILocation(LLVMContext &C, StorageType Storage, unsigned Line, in DILocation()
54 StorageType Storage, bool ShouldCreate) { in getImpl()
280 StorageType Storage, bool ShouldCreate) { in getImpl()
336 StorageType Storage, bool ShouldCreate) { in getImpl()
346 int64_t Lo, StorageType Storage, in getImpl()
356 StorageType Storage, bool ShouldCreate) { in getImpl()
441 StorageType Storage, in getImpl()
518 StorageType Storage, bool ShouldCreate) { in getImpl()
528 DIFlags Flags, StorageType Storage, in getImpl()
555 unsigned Encoding, StorageType Storage, in getImpl()
[all …]
DMetadataImpl.h28 template <class T> T *MDNode::storeImpl(T *N, StorageType Storage) { in storeImpl()
42 T *MDNode::storeImpl(T *N, StorageType Storage, StoreT &Store) { in storeImpl()
/external/clang/lib/CodeGen/
DCGRecordLayoutBuilder.cpp170 llvm::Type *StorageType);
225 const FieldDecl *FD, CharUnits StartOffset, llvm::Type *StorageType) { in setBitFieldInfo() argument
230 Info.StorageSize = (unsigned)DataLayout.getTypeAllocSizeInBits(StorageType); in setBitFieldInfo()
288 llvm::Type *StorageType = nullptr; in lowerUnion() local
321 StorageType = FieldType; in lowerUnion()
329 if (!StorageType || in lowerUnion()
330 getAlignment(FieldType) > getAlignment(StorageType) || in lowerUnion()
331 (getAlignment(FieldType) == getAlignment(StorageType) && in lowerUnion()
332 getSize(FieldType) > getSize(StorageType))) in lowerUnion()
333 StorageType = FieldType; in lowerUnion()
[all …]
/external/ImageMagick/Magick++/lib/Magick++/
DPixels.h86 PixelData(Magick::Image &image_,std::string map_,const StorageType type_);
91 const StorageType type_);
113 const StorageType type_);
/external/llvm-project/clang/lib/CodeGen/
DCGRecordLayoutBuilder.cpp177 llvm::Type *StorageType);
234 const FieldDecl *FD, CharUnits StartOffset, llvm::Type *StorageType) { in setBitFieldInfo() argument
239 Info.StorageSize = (unsigned)DataLayout.getTypeAllocSizeInBits(StorageType); in setBitFieldInfo()
308 llvm::Type *StorageType = nullptr; in lowerUnion() local
339 StorageType = FieldType; in lowerUnion()
347 if (!StorageType || in lowerUnion()
348 getAlignment(FieldType) > getAlignment(StorageType) || in lowerUnion()
349 (getAlignment(FieldType) == getAlignment(StorageType) && in lowerUnion()
350 getSize(FieldType) > getSize(StorageType))) in lowerUnion()
351 StorageType = FieldType; in lowerUnion()
[all …]
/external/ImageMagick/MagickCore/
Dpixel.h155 } StorageType; typedef
222 const size_t,const char *,const StorageType,void *,ExceptionInfo *),
224 const size_t,const char *,const StorageType,const void *,ExceptionInfo *),
/external/skqp/src/core/
DSkCachedData.h46 enum StorageType { enum
58 StorageType fStorageType;
/external/skia/src/core/
DSkCachedData.h46 enum StorageType { enum
58 StorageType fStorageType;
/external/libchrome/ipc/
Dipc_message_protobuf_utils.h23 template <class RepeatedFieldLike, class StorageType>
39 if (INT_MAX / sizeof(StorageType) <= static_cast<size_t>(size)) in Read()

123