Home
last modified time | relevance | path

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

12345678910>>...14

/third_party/flatbuffers/ts/flexbuffers/
Dvalue-type-util.ts1 import { ValueType } from './value-type'
3 export function isInline(value: ValueType): boolean {
4 return value === ValueType.BOOL
5 || value <= ValueType.FLOAT;
8 export function isNumber(value: ValueType): boolean {
9 return value >= ValueType.INT
10 && value <= ValueType.FLOAT;
13 export function isIndirectNumber(value: ValueType): boolean {
14 return value >= ValueType.INDIRECT_INT
15 && value <= ValueType.INDIRECT_FLOAT;
[all …]
Dreference.ts2 import { ValueType } from './value-type'
27 private readonly valueType: ValueType
29 …rivate offset: number, private parentWidth: number, private packedType: ValueType, private path: s…
34 isNull(): boolean { return this.valueType === ValueType.NULL; }
36 …isFloat(): boolean { return ValueType.FLOAT === this.valueType || ValueType.INDIRECT_FLOAT === thi…
38 …isString(): boolean { return ValueType.STRING === this.valueType || ValueType.KEY === this.valueTy…
39 isBool(): boolean { return ValueType.BOOL === this.valueType; }
40 isBlob(): boolean { return ValueType.BLOB === this.valueType; }
42 isMap(): boolean { return ValueType.MAP === this.valueType; }
52 if (this.valueType === ValueType.INT) {
[all …]
/third_party/flatbuffers/dart/test/
Dflex_types_test.dart6 expect(ValueTypeUtils.isInline(ValueType.Bool), isTrue);
7 expect(ValueTypeUtils.isInline(ValueType.Int), isTrue);
8 expect(ValueTypeUtils.isInline(ValueType.UInt), isTrue);
9 expect(ValueTypeUtils.isInline(ValueType.Float), isTrue);
10 expect(ValueTypeUtils.isInline(ValueType.Null), isTrue);
11 expect(ValueTypeUtils.isInline(ValueType.String), isFalse);
14 expect(ValueTypeUtils.isTypedVectorElement(ValueType.Bool), isTrue);
15 expect(ValueTypeUtils.isTypedVectorElement(ValueType.Int), isTrue);
16 expect(ValueTypeUtils.isTypedVectorElement(ValueType.UInt), isTrue);
17 expect(ValueTypeUtils.isTypedVectorElement(ValueType.Float), isTrue);
[all …]
/third_party/boost/boost/thread/concurrent_queues/
Dsync_bounded_queue.hpp31 template <typename ValueType>
35 typedef ValueType value_type;
77 inline shared_ptr<ValueType> ptr_pull();
80 inline shared_ptr<ValueType> try_pull();
88 inline queue_op_status wait_pull_front(ValueType& elem);
230 template <typename ValueType>
231 …sync_bounded_queue<ValueType>::sync_bounded_queue(typename sync_bounded_queue<ValueType>::size_typ… in sync_bounded_queue()
264 template <typename ValueType>
265 sync_bounded_queue<ValueType>::~sync_bounded_queue() in ~sync_bounded_queue()
270 template <typename ValueType>
[all …]
Dsync_deque.hpp32 template <class ValueType, class Container = csbl::devector<ValueType> >
34 : public detail::sync_queue_base<ValueType, Container >
36 typedef detail::sync_queue_base<ValueType, Container > super;
39 typedef ValueType value_type;
69 inline queue_op_status wait_pull_front(ValueType& elem);
105 template <class ValueType, class Container>
106 sync_deque<ValueType, Container>::sync_deque() : in sync_deque()
133 template <class ValueType, class Container>
134 sync_deque<ValueType, Container>::~sync_deque() in ~sync_deque()
138 template <class ValueType, class Container>
[all …]
Dsync_queue.hpp32 template <class ValueType, class Container = csbl::devector<ValueType> >
34 : public detail::sync_queue_base<ValueType, Container >
36 typedef detail::sync_queue_base<ValueType, Container > super;
39 typedef ValueType value_type;
69 inline queue_op_status wait_pull(ValueType& elem);
105 template <class ValueType, class Container>
106 sync_queue<ValueType, Container>::sync_queue() : in sync_queue()
133 template <class ValueType, class Container>
134 sync_queue<ValueType, Container>::~sync_queue() in ~sync_queue()
138 template <class ValueType, class Container>
[all …]
Dsync_priority_queue.hpp94 template <class ValueType,
95 class Container = csbl::vector<ValueType>,
98 …: public detail::sync_queue_base<ValueType, boost::detail::priority_queue<ValueType,Container,Comp…
100 …typedef detail::sync_queue_base<ValueType, boost::detail::priority_queue<ValueType,Container,Compa…
103 typedef ValueType value_type;
123 void push(const ValueType& elem);
124 void push(BOOST_THREAD_RV_REF(ValueType) elem);
126 queue_op_status try_push(const ValueType& elem);
127 queue_op_status try_push(BOOST_THREAD_RV_REF(ValueType) elem);
129 ValueType pull();
[all …]
/third_party/skia/third_party/externals/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 …]
/third_party/boost/boost/type_erasure/
Diterator.hpp60 class ValueType = typename deduced<iterator_value_type<T> >::type
132 template<class Reference, class ValueType>
139 template<class ValueType>
140 struct iterator_reference< ::boost::use_default, ValueType>
142 typedef ValueType& type;
145 template<class T, class Reference, class DifferenceType, class ValueType>
146 struct iterator< ::boost::no_traversal_tag, T, Reference, DifferenceType, ValueType> :
151 dereferenceable<typename iterator_reference<Reference, ValueType>::type, T>,
155 typedef ValueType value_type;
156 typedef typename iterator_reference<Reference, ValueType>::type reference;
[all …]
/third_party/flatbuffers/dart/lib/src/
Dtypes.dart68 enum ValueType {
81 static int toInt(ValueType self) {
82 if (self == ValueType.VectorBool) return 36;
86 static ValueType fromInt(int value) {
87 if (value == 36) return ValueType.VectorBool;
88 return ValueType.values[value];
91 static bool isInline(ValueType self) {
92 return self == ValueType.Bool
93 || toInt(self) <= toInt(ValueType.Float);
96 static bool isNumber(ValueType self) {
[all …]
/third_party/boost/boost/spirit/home/qi/detail/
Dpass_container.hpp30 template <typename Sequence, typename Attribute, typename ValueType>
34 , typename traits::is_weak_substitute<Attribute, ValueType>::type
36 traits::is_weak_substitute<Attribute, ValueType>
48 template <typename Container, typename ValueType, typename Attribute
51 : negate_weak_substitute_if_not<Sequence, Attribute, ValueType>
60 template <typename Container, typename ValueType, typename Attribute
65 , negate_weak_substitute_if_not<Sequence, Attribute, ValueType> >
71 template <typename Container, typename ValueType, typename Attribute
73 , bool IsSequence = fusion::traits::is_sequence<ValueType>::value>
77 Attribute, not_compatible_element<Container, ValueType, mpl::_1>
[all …]
/third_party/boost/boost/spirit/home/karma/detail/
Dpass_container.hpp35 template <typename Sequence, typename Attribute, typename ValueType>
39 , typename traits::is_weak_substitute<Attribute, ValueType>::type
41 traits::is_weak_substitute<Attribute, ValueType>
53 template <typename Container, typename ValueType, typename Attribute
56 : negate_weak_substitute_if_not<Sequence, ValueType, Attribute>
65 template <typename Container, typename ValueType, typename Attribute
70 , negate_weak_substitute_if_not<Sequence, ValueType, Attribute> >
76 template <typename Container, typename ValueType, typename Attribute
78 , bool IsSequence = fusion::traits::is_sequence<ValueType>::value>
82 Attribute, not_compatible_element<Container, ValueType, mpl::_1>
[all …]
/third_party/boost/boost/thread/concurrent_queues/detail/
Dsync_queue_base.hpp34 template <class ValueType, class Queue>
38 typedef ValueType value_type;
106 template <class ValueType, class Queue>
107 sync_queue_base<ValueType, Queue>::sync_queue_base() : in sync_queue_base()
113 template <class ValueType, class Queue>
114 sync_queue_base<ValueType, Queue>::~sync_queue_base() in ~sync_queue_base()
118 template <class ValueType, class Queue>
119 void sync_queue_base<ValueType, Queue>::close() in close()
128 template <class ValueType, class Queue>
129 bool sync_queue_base<ValueType, Queue>::closed() const in closed()
[all …]
Dsync_deque_base.hpp34 template <class ValueType, class Queue>
38 typedef ValueType value_type;
106 template <class ValueType, class Queue>
107 sync_deque_base<ValueType, Queue>::sync_deque_base() : in sync_deque_base()
113 template <class ValueType, class Queue>
114 sync_deque_base<ValueType, Queue>::~sync_deque_base() in ~sync_deque_base()
118 template <class ValueType, class Queue>
119 void sync_deque_base<ValueType, Queue>::close() in close()
128 template <class ValueType, class Queue>
129 bool sync_deque_base<ValueType, Queue>::closed() const in closed()
[all …]
/third_party/vk-gl-cts/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 …]
/third_party/boost/boost/test/utils/runtime/
Dargument_factory.hpp43 template<typename ValueType, bool is_enum>
48 template<typename ValueType>
49 struct value_interpreter<ValueType, false> {
53 ValueType interpret( cstring param_name, cstring source ) const in interpret()
55 ValueType res; in interpret()
56 if( !unit_test::utils::string_as<ValueType>( source, res ) ) in interpret()
166 template<typename ValueType, bool is_enum, bool repeatable>
171 template<typename ValueType, bool is_enum>
172 class argument_factory<ValueType, is_enum, false> {
177 , m_optional_value( nfp::opt_get( m, optional_value, ValueType() ) ) in argument_factory()
[all …]
/third_party/vk-gl-cts/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 …]
/third_party/boost/boost/graph/planar_detail/
Dface_iterators.hpp71 template < typename Graph, typename FaceHandlesMap, typename ValueType,
86 template < typename Graph, typename FaceHandlesMap, typename ValueType,
90 face_iterator< Graph, FaceHandlesMap, ValueType,
92 ValueType, boost::forward_traversal_tag, ValueType >
97 typedef face_iterator< Graph, FaceHandlesMap, ValueType, TraversalType,
154 set_edge_to_first_dispatch(anchor_handle, ValueType(), Time()); in set_lead_dispatch()
160 set_edge_to_second_dispatch(anchor_handle, ValueType(), Time()); in set_lead_dispatch()
205 set_edge_to_second_dispatch(curr_face_handle, ValueType(), Time()); in increment()
211 set_edge_to_first_dispatch(curr_face_handle, ValueType(), Time()); in increment()
223 ValueType dereference() const in dereference()
[all …]
/third_party/boost/boost/graph/
Dadjacency_list.hpp78 template < class Selector, class ValueType > struct container_gen
82 template < class ValueType > struct container_gen< listS, ValueType >
84 typedef std::list< ValueType > type;
87 template < class ValueType > struct container_gen< vecS, ValueType >
89 typedef std::vector< ValueType > type;
92 template < class ValueType > struct container_gen< mapS, ValueType >
94 typedef std::set< ValueType > type;
97 template < class ValueType > struct container_gen< setS, ValueType >
99 typedef std::set< ValueType > type;
102 template < class ValueType > struct container_gen< multisetS, ValueType >
[all …]
/third_party/ejdb/src/bindings/ejdb2_jni/src/main/java/com/softmotions/ejdb2/
DJSON.java45 return new JSON(ValueType.OBJECT, map); in fromMap()
49 return new JSON(ValueType.ARRAY, list); in fromList()
52 private static final ValueType[] valueTypes = new ValueType[256];
54 private static JSON UNKNOWN = new JSON(ValueType.UNKNOWN, null);
58 valueTypes[i] = ValueType.UNKNOWN;
60 valueTypes['"'] = ValueType.STRING;
61 valueTypes['-'] = ValueType.NUMBER;
62 valueTypes['0'] = ValueType.NUMBER;
63 valueTypes['1'] = ValueType.NUMBER;
64 valueTypes['2'] = ValueType.NUMBER;
[all …]
/third_party/boost/boost/property_map/parallel/
Dparallel_property_maps.hpp47 typename ValueType, typename Reference>
51 ValueType, Reference>
56 ValueType, Reference> >
59 ValueType, Reference> local_iterator_map;
89 typename ValueType, typename Reference>
93 ValueType, Reference
99 ValueType, Reference> >
102 ValueType, Reference> local_iterator_map;
154 typename GlobalMap, typename StorageMap, typename ValueType,
159 ValueType, Reference>
[all …]
/third_party/abseil-cpp/absl/types/
Dany.h131 template <typename ValueType>
132 ValueType any_cast(const any& operand);
138 template <typename ValueType>
139 ValueType any_cast(any& operand); // NOLINT(runtime/references)
144 template <typename ValueType>
145 ValueType any_cast(any&& operand);
150 template <typename ValueType>
151 const ValueType* any_cast(const any* operand) noexcept;
156 template <typename ValueType>
157 ValueType* any_cast(any* operand) noexcept;
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/types/
Dany.h131 template <typename ValueType>
132 ValueType any_cast(const any& operand);
138 template <typename ValueType>
139 ValueType any_cast(any& operand); // NOLINT(runtime/references)
144 template <typename ValueType>
145 ValueType any_cast(any&& operand);
150 template <typename ValueType>
151 const ValueType* any_cast(const any* operand) noexcept;
156 template <typename ValueType>
157 ValueType* any_cast(any* operand) noexcept;
[all …]
/third_party/boost/boost/heap/detail/
Dtree_iterator.hpp88 template <typename ValueType,
107 ValueType const & lhs_value = ValueExtractor::operator()(lhs->value); in operator ()()
108 ValueType const & rhs_value = ValueExtractor::operator()(rhs->value); in operator ()()
151 typename ValueType,
157 typename ValueCompare = std::less<ValueType>
161 ValueType,
170 ValueType,
177 ValueType,
186 ValueType,
193 … ordered_tree_iterator_storage<ValueType, const Node*, Alloc, ValueCompare, ValueExtractor>,
[all …]
/third_party/boost/boost/numeric/ublas/tensor/
Dalgorithms.hpp138 template <class PointerIn, class ValueType, class SizeType>
139 ValueType accumulate(SizeType const p, SizeType const*const n, in accumulate()
141 ValueType k) in accumulate()
159 std::function<ValueType(SizeType r, PointerIn a, ValueType k)> lambda; in accumulate()
161 lambda = [&lambda, n, w](SizeType r, PointerIn a, ValueType k) in accumulate()
187 template <class PointerIn, class ValueType, class SizeType, class BinaryOp>
188 ValueType accumulate(SizeType const p, SizeType const*const n, in accumulate()
190 ValueType k, BinaryOp op) in accumulate()
209 std::function<ValueType(SizeType r, PointerIn a, ValueType k)> lambda; in accumulate()
211 lambda = [&lambda, n, w, op](SizeType r, PointerIn a, ValueType k) in accumulate()
[all …]

12345678910>>...14