/external/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.ctor/ |
D | default.pass.cpp | 46 template <class ElemType> 51 using U = std::unique_ptr<ElemType, void (*)(void*)>; in test_sfinae() 56 using Del = CDeleter<ElemType>; in test_sfinae() 57 using U1 = std::unique_ptr<ElemType, NonDefaultDeleter>; in test_sfinae() 58 using U2 = std::unique_ptr<ElemType, Del&>; in test_sfinae() 59 using U3 = std::unique_ptr<ElemType, Del const&>; in test_sfinae() 67 template <class ElemType> 71 using U1 = std::unique_ptr<ElemType>; in test_basic() 72 using U2 = std::unique_ptr<ElemType, Deleter<ElemType> >; in test_basic() 78 std::unique_ptr<ElemType> p; in test_basic() [all …]
|
/external/llvm-project/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.ctor/ |
D | default.pass.cpp | 45 template <class ElemType> 50 using U = std::unique_ptr<ElemType, void (*)(void*)>; in test_sfinae() 55 using Del = CDeleter<ElemType>; in test_sfinae() 56 using U1 = std::unique_ptr<ElemType, NonDefaultDeleter>; in test_sfinae() 57 using U2 = std::unique_ptr<ElemType, Del&>; in test_sfinae() 58 using U3 = std::unique_ptr<ElemType, Del const&>; in test_sfinae() 66 template <class ElemType> 70 using U1 = std::unique_ptr<ElemType>; in test_basic() 71 using U2 = std::unique_ptr<ElemType, Deleter<ElemType> >; in test_basic() 77 std::unique_ptr<ElemType> p; in test_basic() [all …]
|
/external/adhd/cros_alsa/src/ |
D | control_primitive.rs | 125 pub enum ElemType { enum 135 impl fmt::Display for ElemType { implementation 138 ElemType::None => write!(f, "SND_CTL_ELEM_TYPE_NONE"), in fmt() 139 ElemType::Boolean => write!(f, "SND_CTL_ELEM_TYPE_BOOLEAN"), in fmt() 140 ElemType::Integer => write!(f, "SND_CTL_ELEM_TYPE_INTEGER"), in fmt() 141 ElemType::Enumerated => write!(f, "SND_CTL_ELEM_TYPE_ENUMERATED"), in fmt() 142 ElemType::Bytes => write!(f, "SND_CTL_ELEM_TYPE_BYTES"), in fmt() 143 ElemType::IEC958 => write!(f, "SND_CTL_ELEM_TYPE_IEC958"), in fmt() 144 ElemType::Integer64 => write!(f, "SND_CTL_ELEM_TYPE_INTEGER64"), in fmt() 149 impl TryFrom<u32> for ElemType { implementation [all …]
|
D | elem.rs | 25 use crate::control_primitive::{self, snd_strerror, Ctl, ElemId, ElemType, ElemValue}; 118 fn elem_type() -> ElemType { 159 fn elem_type() -> ElemType { in elem_type() 160 ElemType::Boolean in elem_type() 175 fn elem_type() -> ElemType { in elem_type() 176 ElemType::Integer in elem_type() 189 fn elem_type() -> ElemType; in elem_type() 201 fn elem_type() -> ElemType; in elem_type()
|
D | control.rs | 66 use crate::control_primitive::{self, Ctl, ElemId, ElemInfo, ElemType}; 83 MismatchElemType(String, ElemType, ElemType), 151 fn elem_type() -> ElemType { in elem_type()
|
D | control_tlv.rs | 40 use crate::control_primitive::{self, Ctl, ElemId, ElemInfo, ElemType}; 56 InvalidTLVType(String, ElemType), 90 ElemType::Bytes, in fmt() 209 ElemType::Bytes => Ok(Self { handle, id }), in new()
|
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/Inputs/modernize-loop-convert/ |
D | structures.h | 76 template<typename ElemType> 79 dependent<ElemType>(); 81 const ElemType& operator*()const; 84 const ElemType *operator->() const; 88 ElemType& operator*(); 90 ElemType *operator->(); 99 ElemType & operator[](unsigned); 100 const ElemType & operator[](unsigned) const; 101 ElemType & at(unsigned); 102 ElemType & at(unsigned, unsigned); [all …]
|
/external/llvm-project/lldb/test/API/functionalities/data-formatter/parray/ |
D | main.cpp | 4 template<typename ElemType> 5 ElemType* alloc(size_t count, std::function<ElemType(size_t)> get) in alloc() 7 ElemType *elems = new ElemType[count]; in alloc()
|
/external/tensorflow/tensorflow/core/kernels/mlir_generated/ |
D | base_op.h | 35 template <typename ElemType> 36 UnrankedMemRefType<ElemType> ConvertToTyped(UntypedUnrankedMemRefType desc) { in ConvertToTyped() 45 template <typename ElemType> 46 ::UnrankedMemRefType<ElemType> ConvertTensorToDescriptor(const Tensor& tensor) { in ConvertTensorToDescriptor() 47 ::UnrankedMemRefType<ElemType> result; in ConvertTensorToDescriptor() 70 template <typename ElemType> 72 ::UnrankedMemRefType<ElemType> unranked_descriptor) { in ExtractShapeFromDescriptor() 81 template <typename ElemType> 83 ::UnrankedMemRefType<ElemType> unranked_descriptor, DataType TfDataType, in ConvertDescriptorToTensor() 88 base_ptr, sizeof(ElemType) * result_shape.num_elements(), allocator); in ConvertDescriptorToTensor()
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
D | cudnn_batchnorm_runner.cc | 132 template <typename ElemType> 136 auto output_buf = se::DeviceMemory<ElemType>(params->output); in RunCudnnBatchNormForwardInferenceImpl() 138 se::DeviceMemory<ElemType>(params->common.operand), in RunCudnnBatchNormForwardInferenceImpl() 160 template <typename ElemType> 164 auto output_data = se::DeviceMemory<ElemType>(params->output_data); in RunCudnnBatchNormForwardTrainingImpl() 166 se::DeviceMemory<ElemType>(params->common.operand), in RunCudnnBatchNormForwardTrainingImpl() 189 template <typename ElemType> 193 auto output_grad_data = se::DeviceMemory<ElemType>(params->output_grad_data); in RunCudnnBatchNormBackwardImpl() 195 se::DeviceMemory<ElemType>(params->grad_output), // in RunCudnnBatchNormBackwardImpl() 196 se::DeviceMemory<ElemType>(params->common.operand), // in RunCudnnBatchNormBackwardImpl()
|
/external/swiftshader/third_party/subzero/unittest/AssemblerX8632/ |
D | TestUtil.h | 305 using ElemType = \ 308 static_assert(sizeof(ElemType) == sizeof(Container), \ 310 const ElemType *const RhsPtr = \ 311 reinterpret_cast<const ElemType *const>(&Rhs); \ 312 const ElemType *const LhsPtr = \ 313 reinterpret_cast<const ElemType *const>(&Lhs); \ 314 ElemType Ret[N]; \ 335 using ElemType = \ 338 static_assert(sizeof(ElemType) == sizeof(Container), \ 344 ElemType Ret[N]; \ [all …]
|
/external/llvm-project/llvm/lib/Target/Hexagon/ |
D | HexagonISelDAGToDAGHVX.cpp | 320 using ElemType = int; typedef 321 static constexpr ElemType Ignore = ElemType(-1); 333 PermNetwork(ArrayRef<ElemType> Ord, unsigned Mult = 1) { in PermNetwork() 363 uint8_t ctl(ElemType Pos, unsigned Step) const { in ctl() 375 std::vector<ElemType> Order; 381 ForwardDeltaNetwork(ArrayRef<ElemType> Ord) : PermNetwork(Ord) {} in ForwardDeltaNetwork() 391 bool route(ElemType *P, RowType *T, unsigned Size, unsigned Step); 395 ReverseDeltaNetwork(ArrayRef<ElemType> Ord) : PermNetwork(Ord) {} in ReverseDeltaNetwork() 405 bool route(ElemType *P, RowType *T, unsigned Size, unsigned Step); 409 BenesNetwork(ArrayRef<ElemType> Ord) : PermNetwork(Ord, 2) {} in BenesNetwork() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonISelDAGToDAGHVX.cpp | 320 using ElemType = int; typedef 321 static constexpr ElemType Ignore = ElemType(-1); 333 PermNetwork(ArrayRef<ElemType> Ord, unsigned Mult = 1) { in PermNetwork() 363 uint8_t ctl(ElemType Pos, unsigned Step) const { in ctl() 375 std::vector<ElemType> Order; 381 ForwardDeltaNetwork(ArrayRef<ElemType> Ord) : PermNetwork(Ord) {} in ForwardDeltaNetwork() 391 bool route(ElemType *P, RowType *T, unsigned Size, unsigned Step); 395 ReverseDeltaNetwork(ArrayRef<ElemType> Ord) : PermNetwork(Ord) {} in ReverseDeltaNetwork() 405 bool route(ElemType *P, RowType *T, unsigned Size, unsigned Step); 409 BenesNetwork(ArrayRef<ElemType> Ord) : PermNetwork(Ord, 2) {} in BenesNetwork() [all …]
|
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/ |
D | modernize-use-emplace-ignore-implicit-constructors.cpp | 95 template <typename ElemType> 97 std::vector<ElemType> v; in dependOnElem() 98 v.push_back(ElemType(42)); in dependOnElem()
|
D | modernize-use-emplace.cpp | 192 template <typename ElemType> 194 std::vector<ElemType> v; in dependOnElem() 195 v.push_back(ElemType(42)); in dependOnElem()
|
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
D | LoopConvertCheck.cpp | 591 if (Descriptor.ElemType.isNull() || in doConversion() 592 !Context->hasSameUnqualifiedType(AliasVarType, Descriptor.ElemType)) in doConversion() 593 Descriptor.ElemType = AliasVarType; in doConversion() 666 if (!Descriptor.ElemType.isNull() && Descriptor.ElemType->isFundamentalType()) in doConversion() 667 Type = Descriptor.ElemType.getUnqualifiedType(); in doConversion() 674 !Descriptor.ElemType.isNull() && in doConversion() 675 Descriptor.ElemType.isTriviallyCopyableType(*Context) && in doConversion() 677 Context->getTypeInfo(Descriptor.ElemType).Width <= 8 * MaxCopySize; in doConversion() 771 Descriptor.ElemType = Type; in getArrayLoopQualifiers() 792 Descriptor.ElemType = *DerefByValueType; in getIteratorLoopQualifiers() [all …]
|
/external/swiftshader/third_party/subzero/unittest/AssemblerX8664/ |
D | TestUtil.h | 417 using ElemType = \ 420 static_assert(sizeof(ElemType) == sizeof(Container), \ 422 const ElemType *const RhsPtr = \ 423 reinterpret_cast<const ElemType *const>(&Rhs); \ 424 const ElemType *const LhsPtr = \ 425 reinterpret_cast<const ElemType *const>(&Lhs); \ 426 ElemType Ret[N]; \ 447 using ElemType = \ 450 static_assert(sizeof(ElemType) == sizeof(Container), \ 456 ElemType Ret[N]; \ [all …]
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | CastSizeChecker.cpp | 63 const Type *ElemType = Last->getType()->getArrayElementTypeNoTypeQual(); in evenFlexibleArraySize() local 67 FlexSize = Ctx.getTypeSizeInChars(ElemType); in evenFlexibleArraySize() 73 FlexSize = Ctx.getTypeSizeInChars(ElemType); in evenFlexibleArraySize()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | CastSizeChecker.cpp | 64 const Type *ElemType = Last->getType()->getArrayElementTypeNoTypeQual(); in evenFlexibleArraySize() local 68 FlexSize = Ctx.getTypeSizeInChars(ElemType); in evenFlexibleArraySize() 74 FlexSize = Ctx.getTypeSizeInChars(ElemType); in evenFlexibleArraySize()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | tensor_array_ops.cc | 356 key, tensor_array->ElemType(), *tensor_array_output_handle, in CreateTensorArray() 436 ctx, tensor_value->dtype() == tensor_array->ElemType(), in Compute() 438 DataTypeString(tensor_array->ElemType()), in Compute() 519 ctx, dtype_ == tensor_array->ElemType(), in Compute() 521 "TensorArray dtype is ", DataTypeString(tensor_array->ElemType()), in Compute() 605 ctx, dtype_ == tensor_array->ElemType(), in Compute() 607 "TensorArray dtype is ", DataTypeString(tensor_array->ElemType()), in Compute() 830 ctx, dtype_ == tensor_array->ElemType(), in Compute() 832 "TensorArray dtype is ", DataTypeString(tensor_array->ElemType()), in Compute() 1047 ctx, tensor_value->dtype() == tensor_array->ElemType(), in Compute() [all …]
|
D | stack.cc | 98 DataType ElemType() { return elem_type_; } in ElemType() function in tensorflow::Stack 227 if (ctx->input_dtype(1) != stack->ElemType()) { in ComputeAsync() 229 stack->ElemType(), " but got ", in ComputeAsync()
|
/external/llvm-project/llvm/test/MC/WebAssembly/ |
D | tables.s | 125 # BIN-NEXT: ElemType: EXTERNREF 129 # BIN-NEXT: ElemType: FUNCREF 133 # BIN-NEXT: ElemType: FUNCREF 137 # BIN-NEXT: ElemType: FUNCREF
|
/external/llvm/lib/IR/ |
D | DataLayout.cpp | 761 Type *ElemType = GV->getValueType(); in getPreferredAlignment() local 762 unsigned Alignment = getPrefTypeAlignment(ElemType); in getPreferredAlignment() 767 Alignment = std::max(GVAlignment, getABITypeAlignment(ElemType)); in getPreferredAlignment() 774 if (getTypeSizeInBits(ElemType) > 128) in getPreferredAlignment()
|
/external/llvm-project/lld/test/wasm/ |
D | import-table.test | 14 # CHECK-NEXT: ElemType: FUNCREF
|
D | growable-table.test | 10 # CHECK-NEXT: ElemType: FUNCREF
|