Home
last modified time | relevance | path

Searched refs:ValueType (Results 1 – 25 of 690) sorted by relevance

12345678910>>...28

/external/llvm-project/llvm/include/llvm/CodeGen/
DValueTypes.td1 //===- ValueTypes.td - ValueType definitions ---------------*- tablegen -*-===//
15 class ValueType<int size, int value> {
21 def OtherVT: ValueType<0 , 1>; // "Other" value
22 def i1 : ValueType<1 , 2>; // One bit boolean value
23 def i8 : ValueType<8 , 3>; // 8-bit integer value
24 def i16 : ValueType<16 , 4>; // 16-bit integer value
25 def i32 : ValueType<32 , 5>; // 32-bit integer value
26 def i64 : ValueType<64 , 6>; // 64-bit integer value
27 def i128 : ValueType<128, 7>; // 128-bit integer value
29 def bf16 : ValueType<16 , 8>; // 16-bit brain floating point value
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DValueTypes.td1 //===- ValueTypes.td - ValueType definitions ---------------*- tablegen -*-===//
15 class ValueType<int size, int value> {
21 def OtherVT: ValueType<0 , 1>; // "Other" value
22 def i1 : ValueType<1 , 2>; // One bit boolean value
23 def i8 : ValueType<8 , 3>; // 8-bit integer value
24 def i16 : ValueType<16 , 4>; // 16-bit integer value
25 def i32 : ValueType<32 , 5>; // 32-bit integer value
26 def i64 : ValueType<64 , 6>; // 64-bit integer value
27 def i128 : ValueType<128, 7>; // 128-bit integer value
28 def f16 : ValueType<16 , 8>; // 16-bit floating point value
[all …]
/external/llvm/include/llvm/CodeGen/
DValueTypes.td1 //===- ValueTypes.td - ValueType definitions ---------------*- tablegen -*-===//
16 class ValueType<int size, int value> {
22 def OtherVT: ValueType<0 , 0>; // "Other" value
23 def i1 : ValueType<1 , 1>; // One bit boolean value
24 def i8 : ValueType<8 , 2>; // 8-bit integer value
25 def i16 : ValueType<16 , 3>; // 16-bit integer value
26 def i32 : ValueType<32 , 4>; // 32-bit integer value
27 def i64 : ValueType<64 , 5>; // 64-bit integer value
28 def i128 : ValueType<128, 6>; // 128-bit integer value
29 def f16 : ValueType<16 , 7>; // 16-bit floating point value
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/value/
DDexBackedEncodedValue.java34 import org.jf.dexlib2.ValueType;
54 case ValueType.BYTE: in readFrom()
57 case ValueType.SHORT: in readFrom()
60 case ValueType.CHAR: in readFrom()
63 case ValueType.INT: in readFrom()
66 case ValueType.LONG: in readFrom()
69 case ValueType.FLOAT: in readFrom()
73 case ValueType.DOUBLE: in readFrom()
77 case ValueType.STRING: in readFrom()
80 case ValueType.TYPE: in readFrom()
[all …]
/external/tensorflow/tensorflow/core/lib/gtl/
Dint_type.h190 typedef _ValueType ValueType; // for non-member operators typedef
191 typedef IntType<IntTypeName, ValueType> ThisType; // Syntactic sugar.
209 constexpr explicit IntType(ValueType value) : value_(value) {} in IntType()
219 constexpr ValueType value() const { return value_; } in value()
259 ThisType& operator op(ValueType arg_value) { \
272 ThisType& operator=(ValueType arg_value) {
279 ValueType value_;
281 static_assert(std::is_integral<ValueType>::value, "invalid integer type");
287 template <typename IntTypeName, typename ValueType>
289 IntType<IntTypeName, ValueType> arg) {
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
DEncodedValue.java34 import org.jf.dexlib2.ValueType;
52 case ValueType.BYTE: in annotateEncodedValue()
53 case ValueType.SHORT: in annotateEncodedValue()
54 case ValueType.CHAR: in annotateEncodedValue()
55 case ValueType.INT: in annotateEncodedValue()
56 case ValueType.LONG: in annotateEncodedValue()
57 case ValueType.FLOAT: in annotateEncodedValue()
58 case ValueType.DOUBLE: in annotateEncodedValue()
59 case ValueType.METHOD_TYPE: in annotateEncodedValue()
60 case ValueType.METHOD_HANDLE: in annotateEncodedValue()
[all …]
/external/google-breakpad/src/processor/
Dpostfix_evaluator-inl.h69 template<typename ValueType>
70 bool PostfixEvaluator<ValueType>::EvaluateToken( in EvaluateToken()
103 ValueType operand1 = ValueType(); in EvaluateToken()
104 ValueType operand2 = ValueType(); in EvaluateToken()
112 ValueType result; in EvaluateToken()
131 operand1 & (static_cast<ValueType>(-1) ^ (operand2 - 1)); in EvaluateToken()
151 ValueType address; in EvaluateToken()
158 ValueType value; in EvaluateToken()
168 ValueType value; in EvaluateToken()
204 template<typename ValueType>
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/
DEncodedValueUtils.java34 import org.jf.dexlib2.ValueType;
46 case ValueType.BOOLEAN: in isDefaultValue()
48 case ValueType.BYTE: in isDefaultValue()
50 case ValueType.CHAR: in isDefaultValue()
52 case ValueType.DOUBLE: in isDefaultValue()
54 case ValueType.FLOAT: in isDefaultValue()
56 case ValueType.INT: in isDefaultValue()
58 case ValueType.LONG: in isDefaultValue()
60 case ValueType.NULL: in isDefaultValue()
62 case ValueType.SHORT: in isDefaultValue()
[all …]
/external/llvm-project/lldb/include/lldb/Utility/
DFlags.h25 typedef uint32_t ValueType; typedef
34 Flags(ValueType flags = 0) : m_flags(flags) {} in m_flags()
40 ValueType Get() const { return m_flags; } in Get()
46 size_t GetBitSize() const { return sizeof(ValueType) * 8; } in GetBitSize()
52 void Reset(ValueType flags) { m_flags = flags; } in Reset()
61 ValueType Clear(ValueType mask = ~static_cast<ValueType>(0)) {
73 ValueType Set(ValueType mask) { in Set()
83 bool AllSet(ValueType mask) const { return (m_flags & mask) == mask; } in AllSet()
90 bool AnySet(ValueType mask) const { return (m_flags & mask) != 0; } in AnySet()
96 bool Test(ValueType bit) const { return (m_flags & bit) != 0; } in Test()
[all …]
/external/deqp/framework/delibs/decpp/
DdeCommandLine.hpp41 template<typename ValueType>
42 void parseType (const char* src, ValueType* dst);
54 typedef typename OptName::ValueType ValueType; typedef
55 typedef void (*ParseFunc) (const char* src, ValueType* dst);
65 const NamedValue<ValueType>* namedValues; //!< Named values or null.
66 const NamedValue<ValueType>* namedValuesEnd; //!< Named value list end.
74 , parse (parseType<ValueType>) in Option()
93 …Name_, const char* description_, const NamedValue<ValueType>* namedValues_, const NamedValue<Value… in Option()
106 …ame_, const char* longName_, const char* description_, const NamedValue<ValueType> (&namedValues_)… in Option()
121 typedef typename Option::ValueType ValueType; typedef
[all …]
/external/openscreen/platform/base/
Derror.h248 template <typename ValueType>
251 static ErrorOr<ValueType> None() { in None()
252 static ErrorOr<ValueType> error(Error::Code::kNone); in None()
256 ErrorOr(const ValueType& value) : value_(value), is_value_(true) {} // NOLINT in ErrorOr()
257 ErrorOr(ValueType&& value) noexcept // NOLINT in ErrorOr()
282 new (&value_) ValueType(std::move(other.value_)); in ErrorOr()
290 this->~ErrorOr<ValueType>();
291 new (this) ErrorOr<ValueType>(std::move(other));
299 value_.~ValueType(); in ~ErrorOr()
321 const ValueType& value() const { in value()
[all …]
/external/bcc/src/cc/api/
DBPFTable.h38 template <class KeyType, class ValueType>
47 StatusTuple string_to_leaf(const std::string& value_str, ValueType* value) { in string_to_leaf()
59 StatusTuple leaf_to_string(const ValueType* value, std::string& value_str) { in leaf_to_string()
112 template <class ValueType>
113 void* get_value_addr(ValueType& t) { in get_value_addr()
117 template <class ValueType>
118 void* get_value_addr(std::vector<ValueType>& t) { in get_value_addr()
122 template <class ValueType>
123 class BPFArrayTable : public BPFTableBase<int, ValueType> {
125 BPFArrayTable(const TableDesc& desc) : BPFTableBase<int, ValueType>(desc) { in BPFArrayTable()
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/value/
DImmutableEncodedValueFactory.java36 import org.jf.dexlib2.ValueType;
48 case ValueType.BYTE: in of()
50 case ValueType.SHORT: in of()
52 case ValueType.CHAR: in of()
54 case ValueType.INT: in of()
56 case ValueType.LONG: in of()
58 case ValueType.FLOAT: in of()
60 case ValueType.DOUBLE: in of()
62 case ValueType.STRING: in of()
64 case ValueType.TYPE: in of()
[all …]
/external/rust/crates/plotters/src/coord/ranged1d/combinators/
Dckps.rs18 bold_points: Vec<Inner::ValueType>,
19 light_points: Vec<Inner::ValueType>,
24 pub fn with_light_points<T: IntoIterator<Item = I::ValueType>>(mut self, iter: T) -> Self { in with_light_points()
31 pub fn bold_points(&self) -> &[I::ValueType] { in bold_points() argument
36 pub fn bold_points_mut(&mut self) -> &mut [I::ValueType] { in bold_points_mut() argument
41 pub fn light_points(&self) -> &[I::ValueType] { in light_points() argument
46 pub fn light_points_mut(&mut self) -> &mut [I::ValueType] { in light_points_mut() argument
53 R::ValueType: Clone,
55 type ValueType = R::ValueType; typedef
58 fn range(&self) -> Range<Self::ValueType> { in range() argument
[all …]
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/EncodedValue/
DEncodedValueAdaptor.java34 import org.jf.dexlib2.ValueType;
48 case ValueType.ANNOTATION: in writeTo()
51 case ValueType.ARRAY: in writeTo()
54 case ValueType.BOOLEAN: in writeTo()
57 case ValueType.BYTE: in writeTo()
60 case ValueType.CHAR: in writeTo()
63 case ValueType.DOUBLE: in writeTo()
66 case ValueType.ENUM: in writeTo()
75 case ValueType.FIELD: in writeTo()
83 case ValueType.FLOAT: in writeTo()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageAtomicSpirvShaders.cpp6532 using ValueType = ShadersMapT::value_type; in getSpirvAtomicOpShader() typedef
6536ValueType{CaseVariant{IMAGE_TYPE_1D, tcu::TextureFormat::R, tcu::TextureFormat::UNSIGNED_INT32, … in getSpirvAtomicOpShader()
6537ValueType{CaseVariant{IMAGE_TYPE_1D, tcu::TextureFormat::R, tcu::TextureFormat::UNSIGNED_INT32, … in getSpirvAtomicOpShader()
6538ValueType{CaseVariant{IMAGE_TYPE_1D, tcu::TextureFormat::R, tcu::TextureFormat::SIGNED_INT32, Ca… in getSpirvAtomicOpShader()
6539ValueType{CaseVariant{IMAGE_TYPE_1D, tcu::TextureFormat::R, tcu::TextureFormat::SIGNED_INT32, Ca… in getSpirvAtomicOpShader()
6540ValueType{CaseVariant{IMAGE_TYPE_1D_ARRAY, tcu::TextureFormat::R, tcu::TextureFormat::UNSIGNED_IN… in getSpirvAtomicOpShader()
6541ValueType{CaseVariant{IMAGE_TYPE_1D_ARRAY, tcu::TextureFormat::R, tcu::TextureFormat::UNSIGNED_IN… in getSpirvAtomicOpShader()
6542ValueType{CaseVariant{IMAGE_TYPE_1D_ARRAY, tcu::TextureFormat::R, tcu::TextureFormat::SIGNED_INT3… in getSpirvAtomicOpShader()
6543ValueType{CaseVariant{IMAGE_TYPE_1D_ARRAY, tcu::TextureFormat::R, tcu::TextureFormat::SIGNED_INT3… in getSpirvAtomicOpShader()
6544ValueType{CaseVariant{IMAGE_TYPE_2D, tcu::TextureFormat::R, tcu::TextureFormat::UNSIGNED_INT32, … in getSpirvAtomicOpShader()
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/
DDexPool.java35 import org.jf.dexlib2.ValueType;
134 case ValueType.ANNOTATION: in writeEncodedValue()
138 case ValueType.ARRAY: in writeEncodedValue()
142 case ValueType.BOOLEAN: in writeEncodedValue()
145 case ValueType.BYTE: in writeEncodedValue()
148 case ValueType.CHAR: in writeEncodedValue()
151 case ValueType.DOUBLE: in writeEncodedValue()
154 case ValueType.ENUM: in writeEncodedValue()
157 case ValueType.FIELD: in writeEncodedValue()
160 case ValueType.FLOAT: in writeEncodedValue()
[all …]
/external/tensorflow/tensorflow/core/lib/monitoring/
Dmetric_def.h42 enum class ValueType : int { enum
55 ValueType GetValueType();
58 inline ValueType GetValueType<int64>() {
59 return ValueType::kInt64;
63 inline ValueType GetValueType<HistogramProto>() {
64 return ValueType::kHistogram;
68 inline ValueType GetValueType<Percentiles>() {
69 return ValueType::kPercentiles;
73 inline ValueType GetValueType<string>() {
74 return ValueType::kString;
[all …]
Dgauge.h131 template <typename ValueType, int NumLabels>
158 GaugeCell<ValueType>* GetCell(const Labels&... labels) TF_LOCKS_EXCLUDED(mu_);
164 const MetricDef<MetricKind::kGauge, ValueType, NumLabels>& metric_def) in Gauge() argument
189 const MetricDef<MetricKind::kGauge, ValueType, NumLabels> metric_def_;
194 std::map<LabelArray, GaugeCell<ValueType> > cells_ TF_GUARDED_BY(mu_);
222 template <typename ValueType, int NumLabels>
224 Gauge<ValueType, NumLabels>* Gauge<ValueType, NumLabels>::New( in New()
226 static_assert(std::is_same<ValueType, int64>::value || in New()
227 std::is_same<ValueType, string>::value || in New()
228 std::is_same<ValueType, bool>::value, in New()
[all …]
/external/libcxx/benchmarks/
Dalgorithms.bench.cpp17 enum class ValueType { Uint32, String }; enum
18 struct AllValueTypes : EnumValuesAsTuple<AllValueTypes, ValueType, 2> {
24 std::conditional_t<V() == ValueType::Uint32, uint32_t, std::string>;
88 template <class ValueType>
89 std::vector<std::vector<Value<ValueType> > > makeOrderedValues(size_t N, in makeOrderedValues()
93 static std::map<std::pair<size_t, Order>, std::vector<Value<ValueType> > > in makeOrderedValues()
114 template <class ValueType, class F>
117 auto Copies = makeOrderedValues<ValueType>(Quantity, O); in runOpOnCopies()
130 template <class ValueType, class Order>
135 runOpOnCopies<ValueType>(state, Quantity, Order(), false, [](auto& Copy) { in run()
[all …]
/external/tensorflow/tensorflow/core/util/
Dstats_calculator.h33 template <typename ValueType, typename HighPrecisionValueType = double>
36 void UpdateStat(ValueType v) { in UpdateStat()
49 void Reset() { new (this) Stat<ValueType, HighPrecisionValueType>(); } in Reset()
53 ValueType first() const { return first_; } in first()
55 ValueType newest() const { return newest_; } in newest()
57 ValueType max() const { return max_; } in max()
59 ValueType min() const { return min_; } in min()
63 ValueType sum() const { return sum_; } in sum()
70 return empty() ? std::numeric_limits<ValueType>::quiet_NaN() in avg()
75 ValueType sample_variance() const { in sample_variance()
[all …]
/external/llvm-project/libcxx/benchmarks/
Dalgorithms.bench.cpp17 enum class ValueType { Uint32, Uint64, Pair, Tuple, String }; enum
18 struct AllValueTypes : EnumValuesAsTuple<AllValueTypes, ValueType, 5> {
26 V() == ValueType::Uint32, uint32_t,
28 V() == ValueType::Uint64, uint64_t,
30 V() == ValueType::Pair, std::pair<uint32_t, uint32_t>,
31 std::conditional_t<V() == ValueType::Tuple,
141 template <class ValueType>
142 std::vector<std::vector<Value<ValueType> > > makeOrderedValues(size_t N, in makeOrderedValues()
144 std::vector<std::vector<Value<ValueType> > > Ret; in makeOrderedValues()
168 template <class ValueType, class F>
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/
DEncodedValueWriter.java35 import org.jf.dexlib2.ValueType;
80 writer.writeEncodedValueHeader(ValueType.ANNOTATION, 0); in writeAnnotation()
94 writer.writeEncodedValueHeader(ValueType.ARRAY, 0); in writeArray()
102 writer.writeEncodedValueHeader(ValueType.BOOLEAN, value ? 1 : 0); in writeBoolean()
106 writer.writeEncodedInt(ValueType.BYTE, value); in writeByte()
110 writer.writeEncodedUint(ValueType.CHAR, value); in writeChar()
114 writer.writeEncodedDouble(ValueType.DOUBLE, value); in writeDouble()
118 writer.writeEncodedUint(ValueType.ENUM, fieldSection.getItemIndex(value)); in writeEnum()
122 writer.writeEncodedUint(ValueType.FIELD, fieldSection.getItemIndex(value)); in writeField()
126 writer.writeEncodedFloat(ValueType.FLOAT, value); in writeFloat()
[all …]
/external/vulkan-validation-layers/layers/
Dcast_utils.h68 template <typename HandleType, typename ValueType>
69 void CastToHandle(ValueType value, HandleType *handle) { in CastToHandle()
70 …static_assert(sizeof(HandleType) >= sizeof(ValueType), "HandleType must large enough to hold inter… in CastToHandle()
71 *handle = CastFromUint64<HandleType>(CastToUint64<ValueType>(value)); in CastToHandle()
74 template <typename HandleType, typename ValueType>
75 HandleType CastToHandle(ValueType value) { in CastToHandle()
81 template <typename ValueType, typename HandleType>
82 void CastFromHandle(HandleType handle, ValueType *value) { in CastFromHandle()
83 …static_assert(sizeof(HandleType) >= sizeof(ValueType), "HandleType must large enough to hold inter… in CastFromHandle()
84 *value = CastFromUint64<ValueType>(CastToUint64<HandleType>(handle)); in CastFromHandle()
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/
DDexBuilder.java37 import org.jf.dexlib2.ValueType;
239 case ValueType.ANNOTATION:
243 case ValueType.ARRAY:
247 case ValueType.BOOLEAN:
250 case ValueType.BYTE:
253 case ValueType.CHAR:
256 case ValueType.DOUBLE:
259 case ValueType.ENUM:
262 case ValueType.FIELD:
265 case ValueType.FLOAT:
[all …]

12345678910>>...28