Home
last modified time | relevance | path

Searched refs:ElementType (Results 1 - 25 of 64) sorted by relevance

123

/third_party/vk-gl-cts/framework/delibs/decpp/
H A DdeAppendList.hpp51 template<typename ElementType>
58 void append (const ElementType& value);
65 AppendList (const AppendList<ElementType>&);
66 AppendList<ElementType>& operator= (const AppendList<ElementType>&);
71 ElementType* elements;
76 , elements (reinterpret_cast<ElementType*>(deAlignedMalloc(sizeof(ElementType)*size, in Block()
77 deAlign32((deUint32)alignOf<ElementType>(), (deUint32)sizeof(void*))))) in Block()
153 typedef Iterator<const ElementType> const_iterato
[all...]
/third_party/vixl/src/
H A Dinvalset-vixl.h48 // - The templated class `ElementType` must provide comparison operators so that
69 // 'ElementType' and 'KeyType' are respectively the types of the elements and
75 class ElementType, \
84 ElementType, N_PREALLOCATED_ELEMENTS, KeyType, INVALID_KEY, RECLAIM_FROM, \
111 void insert(const ElementType& element);
115 size_t erase(const ElementType& element);
127 const ElementType GetMinElement();
132 static bool IsValid(const ElementType& element);
133 static KeyType GetKey(const ElementType& element);
134 static void SetKey(ElementType* elemen
267 typedef typename S::_ElementType ElementType; global() typedef in vixl::InvalSetIterator
[all...]
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
H A DExperimentalApi.java34 import java.lang.annotation.ElementType;
54 ElementType.ANNOTATION_TYPE,
55 ElementType.CONSTRUCTOR,
56 ElementType.FIELD,
57 ElementType.METHOD,
58 ElementType.PACKAGE,
59 ElementType.TYPE
/third_party/icu/tools/currency/src/com/ibm/icu/dev/tool/currency/
H A DCurrencyDataParser.java51 private enum ElementType { enum in CurrencyDataParser.Handler
63 ElementType(String elemName) { in ElementType() method in CurrencyDataParser.Handler.ElementType
67 public static ElementType forName(String name) { in forName()
68 for (ElementType type : values()) { in forName()
78 ElementType elem = ElementType.OTHER;
96 elem = ElementType.OTHER; in startElement()
99 elem = ElementType.forName(qName); in startElement()
101 elem = ElementType.OTHER; in startElement()
115 elem = ElementType in endElement()
[all...]
/third_party/skia/third_party/externals/tint/src/resolver/
H A Dresolver_constants_test.cc39 EXPECT_EQ(sem->ConstantValue().ElementType(), sem->Type()); in TEST_F()
54 EXPECT_EQ(sem->ConstantValue().ElementType(), sem->Type()); in TEST_F()
69 EXPECT_EQ(sem->ConstantValue().ElementType(), sem->Type()); in TEST_F()
84 EXPECT_EQ(sem->ConstantValue().ElementType(), sem->Type()); in TEST_F()
101 EXPECT_TRUE(sem->ConstantValue().ElementType()->Is<sem::I32>()); in TEST_F()
120 EXPECT_TRUE(sem->ConstantValue().ElementType()->Is<sem::U32>()); in TEST_F()
139 EXPECT_TRUE(sem->ConstantValue().ElementType()->Is<sem::F32>()); in TEST_F()
158 EXPECT_TRUE(sem->ConstantValue().ElementType()->Is<sem::Bool>()); in TEST_F()
177 EXPECT_TRUE(sem->ConstantValue().ElementType()->Is<sem::I32>()); in TEST_F()
196 EXPECT_TRUE(sem->ConstantValue().ElementType() in TEST_F()
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
H A Dlayout.h379 using ElementType = typename std::tuple_element<N, ElementTypes>::type;
407 Offset<N - 1>() + SizeOf<ElementType<N - 1>>::value * size_[N - 1], in Offset()
475 CopyConst<Char, ElementType<N>>* Pointer(Char* p) const {
484 return reinterpret_cast<CopyConst<Char, ElementType<N>>*>(p + Offset<N>());
519 // Note: We're not using ElementType alias here because it does not compile
525 return std::tuple<CopyConst<Char, ElementType<OffsetSeq>>*...>(
542 SliceType<CopyConst<Char, ElementType<N>>> Slice(Char* p) const {
543 return SliceType<CopyConst<Char, ElementType<N>>>(Pointer<N>(p), Size<N>());
577 // Note: We're not using ElementType alias here because it does not compile
586 return std::tuple<SliceType<CopyConst<Char, ElementType<SizeSe
[all...]
H A Dlayout_test.cc88 TEST(Layout, ElementType) { in TEST()
91 SameType<int32_t, L::ElementType<0>>(); in TEST()
92 SameType<int32_t, decltype(L::Partial())::ElementType<0>>(); in TEST()
93 SameType<int32_t, decltype(L::Partial(0))::ElementType<0>>(); in TEST()
97 SameType<int32_t, L::ElementType<0>>(); in TEST()
98 SameType<int32_t, L::ElementType<1>>(); in TEST()
99 SameType<int32_t, decltype(L::Partial())::ElementType<0>>(); in TEST()
100 SameType<int32_t, decltype(L::Partial())::ElementType<1>>(); in TEST()
101 SameType<int32_t, decltype(L::Partial(0))::ElementType<0>>(); in TEST()
102 SameType<int32_t, decltype(L::Partial(0))::ElementType< in TEST()
[all...]
/third_party/typescript/tests/baselines/reference/
H A DgenericInferenceDefaultTypeParameterJsxReact.js6 import React, { ComponentPropsWithRef, ElementType, ReactNode } from 'react';
8 type ButtonBaseProps<T extends ElementType> = ComponentPropsWithRef<T> & { children?: ReactNode };
10 function Component<T extends ElementType = 'span'>(props: ButtonBaseProps<T>) {
H A DmappedTypesArraysTuples.js80 type ElementType<T> = T extends Array<infer U> ? U : never;
83 type F<T> = ElementType<Mapped<T>>;
85 type R2 = ElementType<Mapped<[string, number, boolean]>>; // string | number | boolean
97 type Unconstrained<T> = ElementType<Mapped<T>>;
100 type Constrained<T extends any[]> = ElementType<Mapped<T>>;
199 type ElementType<T> = T extends Array<infer U> ? U : never;
203 type F<T> = ElementType<Mapped<T>>;
205 type R2 = ElementType<Mapped<[string, number, boolean]>>;
209 type Unconstrained<T> = ElementType<Mapped<T>>;
211 type Constrained<T extends any[]> = ElementType<Mappe
[all...]
/third_party/spirv-tools/source/
H A Denum_set.h60 using ElementType = std::underlying_type_t<T>;
62 static_assert(std::is_signed_v<ElementType> == false,
145 Iterator(const EnumSet* set, size_t bucketIndex, ElementType bucketOffset) in Iterator()
153 ElementType bucketOffset_ = 0;
201 EnumSet(ElementType count, const T* array) : EnumSet() { in EnumSet()
202 for (ElementType i = 0; i < count; i++) { in EnumSet()
233 const ElementType offset = ComputeBucketOffset(value); in insert()
369 static constexpr inline ElementType ComputeBucketOffset(T value) { in ComputeBucketOffset()
370 return static_cast<ElementType>(value) % kBucketSize; in ComputeBucketOffset()
382 return static_cast<T>(static_cast<ElementType>(bucke in GetValueFromBucket()
[all...]
/third_party/protobuf/src/google/protobuf/util/internal/
H A Dstructured_objectwriter.h76 template <typename ElementType>
77 ElementType* pop() { in pop()
78 return down_cast<ElementType*>(parent_.release()); in pop()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
H A DType.cpp587 ArrayType *ArrayType::get(Type *ElementType, uint64_t NumElements) { in get() argument
588 assert(isValidElementType(ElementType) && "Invalid type for array element!"); in get()
590 LLVMContextImpl *pImpl = ElementType->getContext().pImpl; in get()
592 pImpl->ArrayTypes[std::make_pair(ElementType, NumElements)]; in get()
595 Entry = new (pImpl->Alloc) ArrayType(ElementType, NumElements); in get()
614 VectorType *VectorType::get(Type *ElementType, ElementCount EC) { in get() argument
616 assert(isValidElementType(ElementType) && "Element type of a VectorType must " in get()
620 LLVMContextImpl *pImpl = ElementType->getContext().pImpl; in get()
621 VectorType *&Entry = ElementType->getContext().pImpl in get()
622 ->VectorTypes[std::make_pair(ElementType, E in get()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
H A DIceBitVector.h39 using ElementType = uint64_t;
41 static constexpr SizeT NumBitsPerPos = sizeof(ElementType) * CHAR_BIT;
79 Reference(ElementType *D, SizeT B) : Data(D), Bit(B) { in Reference()
83 ElementType *const Data;
182 // _1 is the constant 1 of type ElementType.
183 static constexpr ElementType _1 = ElementType(1);
186 ElementType Bits[BitsElements];
218 const ElementType Mask =
219 (ElementType(
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/crosstest/
H A Dinsertelement.h21 template <typename VectorType, typename ElementType>
23 setElement(VectorType &Value, size_t Index, ElementType Element) { in setElement()
/third_party/skia/third_party/externals/abseil-cpp/absl/types/internal/
H A Dspan.h72 struct ElementType { struct
77 struct ElementType<T (&)[N]> { struct
82 using ElementT = typename ElementType<C>::type;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
H A DDerivedTypes.h416 static ArrayType *get(Type *ElementType, uint64_t NumElements);
459 static VectorType *get(Type *ElementType, ElementCount EC);
460 static VectorType *get(Type *ElementType, unsigned NumElements, in get() argument
462 return VectorType::get(ElementType, {NumElements, Scalable}); in get()
590 static PointerType *get(Type *ElementType, unsigned AddressSpace);
594 static PointerType *getUnqual(Type *ElementType) { in getUnqual() argument
595 return PointerType::get(ElementType, 0); in getUnqual()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/
H A DDerivedTypes.h353 static ArrayType *get(Type *ElementType, uint64_t NumElements);
377 static VectorType *get(Type *ElementType, unsigned NumElements);
454 static PointerType *get(Type *ElementType, unsigned AddressSpace);
458 static PointerType *getUnqual(Type *ElementType) { in getUnqual() argument
459 return PointerType::get(ElementType, 0); in getUnqual()
/third_party/node/deps/v8/src/wasm/
H A Dwasm-objects-inl.h417 template <typename ElementType>
418 ElementType WasmObject::FromNumber(Object value) { in FromNumber()
422 return static_cast<ElementType>(Smi::ToInt(value)); in FromNumber()
426 if (std::is_same<ElementType, double>::value || in FromNumber()
427 std::is_same<ElementType, float>::value) { in FromNumber()
428 return static_cast<ElementType>(double_value); in FromNumber()
430 CHECK(std::is_integral<ElementType>::value); in FromNumber()
431 return static_cast<ElementType>(DoubleToInt32(double_value)); in FromNumber()
H A Dwasm-module.h218 enum ElementType { kFunctionIndexElements, kExpressionElements }; enum
222 ConstantExpression offset, ElementType element_type) in WasmElemSegment()
231 WasmElemSegment(ValueType type, Status status, ElementType element_type) in WasmElemSegment()
252 ElementType element_type;
/third_party/skia/third_party/externals/tint/tools/src/list/
H A Dlist.go47 // ElementType returns the type of the elements of the list
48 ElementType() reflect.Type
68 out := New(l.ElementType(), l.Count())
135 func (l list) ElementType() reflect.Type {
/third_party/node/deps/v8/src/objects/
H A Delements.cc3043 template <ElementsKind Kind, typename ElementType>
3045 : public ElementsAccessorBase<TypedElementsAccessor<Kind, ElementType>,
3049 using AccessorClass = TypedElementsAccessor<Kind, ElementType>;
3052 static ElementType FromScalar(int value) { in FromScalar()
3053 return static_cast<ElementType>(value); in FromScalar()
3055 static ElementType FromScalar(uint32_t value) { in FromScalar()
3056 return static_cast<ElementType>(value); in FromScalar()
3058 static ElementType FromScalar(double value) { in FromScalar()
3061 static ElementType FromScalar(int64_t value) { UNREACHABLE(); } in FromScalar()
3062 static ElementType FromScala in FromScalar()
[all...]
/third_party/skia/third_party/externals/tint/src/sem/
H A Dconstant.h95 const sem::Type* ElementType() const { return elem_type_; } in ElementType() function in tint::sem::Constant
107 auto* elem_type = ElementType(); in WithScalarAt()
/third_party/rust/crates/bindgen/bindgen-tests/tests/headers/
H A Dissue-674-2.hpp4 template <typename T> class Rooted { using ElementType = T; };
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/dynamic_state/
H A DvktDynamicStateLineWidthTests.cpp116 typedef tcu::Vec4 ElementType; in buildVertices() typedef
117 std::vector<ElementType> vertices; in buildVertices()
145 const VkBufferCreateInfo createInfo = makeBufferCreateInfo(vertices.size() * sizeof(ElementType), VK_BUFFER_USAGE_VERTEX_BUFFER_BIT); in buildVertices()
151 auto range = makeStdBeginEnd<ElementType>(pBuffer->getAllocation().getHostPtr(), *vertexCount); in buildVertices()
/third_party/skia/third_party/externals/abseil-cpp/absl/memory/
H A Dmemory.h310 struct ElementType { struct
315 struct ElementType<T, void_t<typename T::element_type>> { struct
378 using element_type = typename memory_internal::ElementType<Ptr>::type;

Completed in 26 milliseconds

123