Home
last modified time | relevance | path

Searched full:elemtype (Results 1 – 25 of 355) sorted by relevance

12345678910>>...15

/external/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.ctor/
Ddefault.pass.cpp46 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/
Ddefault.pass.cpp45 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/llvm-project/clang-tools-extra/test/clang-tidy/checkers/Inputs/modernize-loop-convert/
Dstructures.h76 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/adhd/cros_alsa/src/
Dcontrol_primitive.rs56 /// Failed to convert to a valid ElemType.
79 InvalidElemType(v) => write!(f, "invalid ElemType: {}", v), in fmt()
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()
[all …]
Delem.rs25 use crate::control_primitive::{self, snd_strerror, Ctl, ElemId, ElemType, ElemValue};
118 fn elem_type() -> ElemType {
158 /// Returns ElemType::Boolean.
159 fn elem_type() -> ElemType { in elem_type()
160 ElemType::Boolean in elem_type()
174 /// Returns ElemType::Integer.
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()
Dcontrol.rs66 use crate::control_primitive::{self, Ctl, ElemId, ElemInfo, ElemType};
83 MismatchElemType(String, ElemType, ElemType),
123 /// Use `ElemType::load()` and `ElemType::save()` to read or write the mixer control.
151 fn elem_type() -> ElemType { in elem_type()
Dcontrol_tlv.rs40 use crate::control_primitive::{self, Ctl, ElemId, ElemInfo, ElemType};
55 /// ElemInfo::elem_type() is not ElemType::Bytes.
56 InvalidTLVType(String, ElemType),
90 ElemType::Bytes, in fmt()
209 ElemType::Bytes => Ok(Self { handle, id }), in new()
/external/llvm-project/lldb/test/API/functionalities/data-formatter/parray/
Dmain.cpp4 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/
Dbase_op.h35 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/mlir/lite/transforms/
Dwhile_loop_outline.cc77 auto elemType = getElementTypeOrSelf(type); in IsCompatibleTypeWithTFLCastOp() local
79 if (elemType.isBF16() || elemType.isF32()) return true; in IsCompatibleTypeWithTFLCastOp()
82 if (elemType.isInteger(1) || elemType.isInteger(16) || in IsCompatibleTypeWithTFLCastOp()
83 elemType.isInteger(32) || elemType.isInteger(64)) in IsCompatibleTypeWithTFLCastOp()
87 if (elemType.isa<ComplexType>() && in IsCompatibleTypeWithTFLCastOp()
88 elemType.cast<ComplexType>().getElementType().isF32()) in IsCompatibleTypeWithTFLCastOp()
92 if (elemType.isa<TF::Quint8Type>() || in IsCompatibleTypeWithTFLCastOp()
93 (elemType.isInteger(8) && elemType.cast<IntegerType>().isUnsigned())) in IsCompatibleTypeWithTFLCastOp()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dcudnn_batchnorm_runner.cc132 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/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/validator/
DRealObjectValidator.java65 TypeMirror elemType = elem.asType(); in visitVariable() local
66 if (!types.isAssignable(impClass, elemType)) { in visitVariable()
67 error("@RealObject with type <" + elemType + ">; expected <" + impClass + '>'); in visitVariable()
69 typeVisitor.visit(elemType, elem); in visitVariable()
/external/swiftshader/third_party/subzero/unittest/AssemblerX8632/
DTestUtil.h305 using ElemType = \
308 static_assert(sizeof(ElemType) == sizeof(Container), \
309 "Check ElemType definition."); \
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), \
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonISelDAGToDAGHVX.cpp320 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/subzero/unittest/AssemblerX8664/
DTestUtil.h417 using ElemType = \
420 static_assert(sizeof(ElemType) == sizeof(Container), \
421 "Check ElemType definition."); \
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), \
[all …]
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/
DASTParser.stg80 <listLabelElem(elem=label,elemType=labelType,...)>
86 <listLabelElem(elem=label,elemType=labelType,...)>
92 <listLabelElem(elem=label,elemType=labelType,...)>
150 <listLabelElem(elem={<label>.Tree},elemType=ASTLabelType,...)>
156 <listLabelElem(elem={<label>.Tree},elemType=ASTLabelType,...)>
162 <listLabelElem(elem={<label>.Tree},elemType=ASTLabelType,...)>
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/
DASTParser.stg75 <listLabelElem(elem=label,elemType=labelType,...)>
81 <listLabelElem(elem=label,elemType=labelType,...)>
87 <listLabelElem(elem=label,elemType=labelType,...)>
143 <listLabelElem(elem={<label>.Tree},elemType=ASTLabelType,...)>
149 <listLabelElem(elem={<label>.Tree},elemType=ASTLabelType,...)>
155 <listLabelElem(elem={<label>.Tree},elemType=ASTLabelType,...)>
/external/llvm-project/llvm/lib/Target/Hexagon/
DHexagonISelDAGToDAGHVX.cpp320 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/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/std/
DCollectionSerializer.java39 public CollectionSerializer(JavaType elemType, boolean staticTyping, TypeSerializer vts, in CollectionSerializer() argument
41 super(Collection.class, elemType, staticTyping, vts, valueSerializer); in CollectionSerializer()
48 public CollectionSerializer(JavaType elemType, boolean staticTyping, TypeSerializer vts, in CollectionSerializer() argument
51 this(elemType, staticTyping, vts, valueSerializer); in CollectionSerializer()
/external/llvm-project/llvm/test/ObjectYAML/wasm/
Dtable_section.yaml9 ElemType: FUNCREF
22 # CHECK: ElemType: FUNCREF
Dimport_section.yaml36 ElemType: FUNCREF
68 # CHECK: ElemType: FUNCREF
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dmodernize-use-emplace-ignore-implicit-constructors.cpp95 template <typename ElemType>
97 std::vector<ElemType> v; in dependOnElem()
98 v.push_back(ElemType(42)); in dependOnElem()
/external/llvm-project/llvm/test/MC/WebAssembly/
Dtables.s125 # BIN-NEXT: ElemType: EXTERNREF
129 # BIN-NEXT: ElemType: FUNCREF
133 # BIN-NEXT: ElemType: FUNCREF
137 # BIN-NEXT: ElemType: FUNCREF
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DLoopConvertCheck.cpp591 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/tensorflow/tensorflow/core/kernels/
Dtensor_array_ops.cc356 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 …]

12345678910>>...15