Home
last modified time | relevance | path

Searched refs:value_type (Results 1 – 25 of 1175) sorted by relevance

12345678910>>...47

/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DEndian.h37 template<typename value_type, endianness endian>
38 inline value_type byte_swap(value_type value) { in byte_swap()
45 template<typename value_type,
48 inline value_type read(const void *memory) { in read()
49 value_type ret; in read()
53 (detail::PickAlignment<value_type, alignment>::value)), in read()
54 sizeof(value_type)); in read()
55 return byte_swap<value_type, endian>(ret); in read()
60 template<typename value_type, endianness endian, std::size_t alignment,
62 inline value_type readNext(const CharT *&memory) { in readNext()
[all …]
/external/llvm/include/llvm/Support/
DEndian.h38 template<typename value_type, endianness endian>
39 inline value_type byte_swap(value_type value) { in byte_swap()
46 template<typename value_type,
49 inline value_type read(const void *memory) { in read()
50 value_type ret; in read()
54 (detail::PickAlignment<value_type, alignment>::value)), in read()
55 sizeof(value_type)); in read()
56 return byte_swap<value_type, endian>(ret); in read()
61 template<typename value_type, endianness endian, std::size_t alignment,
63 inline value_type readNext(const CharT *&memory) { in readNext()
[all …]
/external/libcxx/include/
Dvalarray24 typedef T value_type;
29 valarray(const value_type& x, size_t n);
30 valarray(const value_type* px, size_t n);
33 valarray(const slice_array<value_type>& sa);
34 valarray(const gslice_array<value_type>& ga);
35 valarray(const mask_array<value_type>& ma);
36 valarray(const indirect_array<value_type>& ia);
37 valarray(initializer_list<value_type> il);
43 valarray& operator=(initializer_list<value_type> il);
44 valarray& operator=(const value_type& x);
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DEndian.h51 template <typename value_type>
52 inline value_type byte_swap(value_type value, endianness endian) { in byte_swap()
59 template<typename value_type, endianness endian>
60 inline value_type byte_swap(value_type value) { in byte_swap()
65 template <typename value_type, std::size_t alignment>
66 inline value_type read(const void *memory, endianness endian) { in read()
67 value_type ret; in read()
71 memory, (detail::PickAlignment<value_type, alignment>::value)), in read()
72 sizeof(value_type)); in read()
73 return byte_swap<value_type>(ret, endian); in read()
[all …]
DEndianStream.h27 template <typename value_type>
28 inline void write(raw_ostream &os, value_type value, endianness endian) { in write()
29 value = byte_swap<value_type>(value, endian); in write()
30 os.write((const char *)&value, sizeof(value_type)); in write()
44 template <typename value_type>
45 inline void write(raw_ostream &os, ArrayRef<value_type> vals, in write()
47 for (value_type v : vals) in write()
56 template <typename value_type> void write(ArrayRef<value_type> Val) { in write()
59 template <typename value_type> void write(value_type Val) { in write()
/external/protobuf/src/google/protobuf/stubs/
Dmap_util.h73 const typename Collection::value_type::second_type&
75 const typename Collection::value_type::first_type& key) {
83 typename Collection::value_type::second_type&
85 const typename Collection::value_type::first_type& key) {
93 const typename Collection::value_type::second_type&
95 const typename Collection::value_type::first_type& key) {
103 typename Collection::value_type::second_type&
105 const typename Collection::value_type::first_type& key) {
122 const typename Collection::value_type::second_type&
124 const typename Collection::value_type::first_type& key,
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DEndian.h29 template<typename value_type, alignment align>
32 template<typename value_type>
33 struct alignment_access_helper<value_type, aligned>
35 value_type val;
41 template<typename value_type>
42 struct alignment_access_helper<value_type, unaligned>
44 value_type val;
51 template<typename value_type, alignment align>
52 static value_type read_le(const void *memory) {
53 value_type t =
[all …]
/external/tensorflow/tensorflow/core/lib/gtl/
Dmap_util.h35 const typename Collection::value_type::second_type* FindOrNull( in FindOrNull()
37 const typename Collection::value_type::first_type& key) { in FindOrNull()
47 typename Collection::value_type::second_type* FindOrNull( in FindOrNull()
49 const typename Collection::value_type::first_type& key) { in FindOrNull()
64 typename Collection::value_type::second_type FindPtrOrNull( in FindPtrOrNull()
66 const typename Collection::value_type::first_type& key) { in FindPtrOrNull()
69 return typename Collection::value_type::second_type(); in FindPtrOrNull()
84 const typename Collection::value_type::second_type& FindWithDefault( in FindWithDefault()
86 const typename Collection::value_type::first_type& key, in FindWithDefault()
87 const typename Collection::value_type::second_type& value) { in FindWithDefault()
[all …]
/external/pdfium/third_party/agg23/
Dagg_pixfmt_gray.h33 typedef typename color_type::value_type value_type; typedef
36 static AGG_INLINE void blend_pix(value_type* p, unsigned cv,
39 … *p = (value_type)((((cv - calc_type(*p)) * alpha) + (calc_type(*p) << base_shift)) >> base_shift);
49 typedef typename color_type::value_type value_type; typedef
57 static AGG_INLINE void copy_or_blend_pix(value_type* p, in copy_or_blend_pix()
70 static AGG_INLINE void copy_or_blend_pix(value_type* p, in copy_or_blend_pix()
95 value_type* p = (value_type*)m_rbuf->row(y) + x * Step + Offset; in pixel()
103 x * Step * sizeof(value_type) + in row()
104 Offset * sizeof(value_type)); in row()
110 x * Step * sizeof(value_type) + in span()
[all …]
/external/libcxx/test/support/
Dnasty_containers.hpp24 typedef typename nested_container::value_type value_type; typedef in nasty_vector
40 nasty_vector(size_type n, const value_type& value) : v_(n, value) {} in nasty_vector()
43 nasty_vector(std::initializer_list<value_type> il) : v_(il) {} in nasty_vector()
49 void assign(size_type n, const value_type& u) { v_.assign(n, u); } in assign()
51 void assign(std::initializer_list<value_type> il) { v_.assign(il); } in assign()
86 value_type* data() TEST_NOEXCEPT { return v_.data(); } in data()
87 const value_type* data() const TEST_NOEXCEPT { return v_.data(); } in data()
89 void push_back(const value_type& x) { v_.push_back(x); } in push_back()
91 void push_back(value_type&& x) { v_.push_back(std::forward<value_type&&>(x)); } in push_back()
102 iterator insert(const_iterator pos, const value_type& x) { return v_.insert(pos, x); } in insert()
[all …]
/external/google-fruit/include/fruit/impl/data_structures/
Dsemistatic_map.templates.h74 values = FixedSizeVector<value_type>(num_values, value_type()); in SemistaticMap()
87 value_type*& first_value_ptr = lookup_table[hash((*itr).first)].begin; in SemistaticMap()
97 … std::vector<value_type, ArenaAllocator<value_type>>&& new_elements) in SemistaticMap() argument
102 … [this](const value_type& x, const value_type& y) { return hash(x.first) < hash(y.first); }); in SemistaticMap()
114 values = FixedSizeVector<value_type>(num_additional_values); in SemistaticMap()
123 …for (value_type *itr = new_elements.data(), *itr_end = new_elements.data() + new_elements.size(); … in SemistaticMap()
128 value_type* first = itr; in SemistaticMap()
131 value_type* last = itr; in SemistaticMap()
137 … SemistaticMap<Key, Value>::insert(std::size_t h, const value_type* elems_begin, const value_type*… in insert()
139 value_type* old_bucket_begin = lookup_table[h].begin; in insert()
[all …]
Dsemistatic_map.h45 using value_type = std::pair<Key, Value>; variable
65 value_type* begin;
66 value_type* end;
76 FixedSizeVector<value_type> values;
83 void insert(std::size_t h, const value_type* elems_begin, const value_type* elems_end);
103 std::vector<value_type, ArenaAllocator<value_type>>&& new_elements);
/external/libcxx/test/std/containers/unord/unord.set/
Dtypes.pass.cpp39 static_assert((std::is_same<C::value_type, short>::value), ""); in main()
43 static_assert((std::is_same<C::allocator_type, std::allocator<C::value_type> >::value), ""); in main()
44 static_assert((std::is_same<C::reference, C::value_type&>::value), ""); in main()
45 static_assert((std::is_same<C::const_reference, const C::value_type&>::value), ""); in main()
46 static_assert((std::is_same<C::pointer, C::value_type*>::value), ""); in main()
47 static_assert((std::is_same<C::const_pointer, const C::value_type*>::value), ""); in main()
55 static_assert((std::is_same<C::value_type, short>::value), ""); in main()
59 static_assert((std::is_same<C::allocator_type, min_allocator<C::value_type> >::value), ""); in main()
60 static_assert((std::is_same<C::reference, C::value_type&>::value), ""); in main()
61 static_assert((std::is_same<C::const_reference, const C::value_type&>::value), ""); in main()
[all …]
/external/libcxx/test/std/containers/unord/unord.multiset/
Dtypes.pass.cpp39 static_assert((std::is_same<C::value_type, short>::value), ""); in main()
43 static_assert((std::is_same<C::allocator_type, std::allocator<C::value_type> >::value), ""); in main()
44 static_assert((std::is_same<C::reference, C::value_type&>::value), ""); in main()
45 static_assert((std::is_same<C::const_reference, const C::value_type&>::value), ""); in main()
46 static_assert((std::is_same<C::pointer, C::value_type*>::value), ""); in main()
47 static_assert((std::is_same<C::const_pointer, const C::value_type*>::value), ""); in main()
55 static_assert((std::is_same<C::value_type, short>::value), ""); in main()
59 static_assert((std::is_same<C::allocator_type, min_allocator<C::value_type> >::value), ""); in main()
60 static_assert((std::is_same<C::reference, C::value_type&>::value), ""); in main()
61 static_assert((std::is_same<C::const_reference, const C::value_type&>::value), ""); in main()
[all …]
/external/libchrome/base/containers/
Dsmall_map.h179 typedef typename NormalMap::value_type value_type;
208 typedef typename NormalMap::iterator::value_type value_type;
241 inline value_type* operator->() const {
249 inline value_type& operator*() const {
275 inline explicit iterator(value_type* init) : array_iter_(init) {}
279 value_type* array_iter_;
287 typedef typename NormalMap::const_iterator::value_type value_type;
325 inline const value_type* operator->() const {
333 inline const value_type& operator*() const {
355 inline explicit const_iterator(const value_type* init)
[all …]
/external/libchrome/base/strings/
Dstring_piece.h165 typedef typename STRING_TYPE::value_type value_type; typedef
166 typedef const value_type* pointer;
167 typedef const value_type& reference;
168 typedef const value_type& const_reference;
170 typedef const value_type* const_iterator;
184 constexpr BasicStringPiece(const value_type* str) in BasicStringPiece()
185 : ptr_(str), length_(!str ? 0 : CharTraits<value_type>::length(str)) {} in BasicStringPiece()
188 constexpr BasicStringPiece(const value_type* offset, size_type len) in BasicStringPiece()
208 constexpr const value_type* data() const { return ptr_; } in data()
217 void set(const value_type* data, size_type len) { in set()
[all …]
/external/libcxx/test/std/containers/unord/unord.map/
Dtypes.pass.cpp44 static_assert((std::is_same<C::allocator_type, std::allocator<C::value_type> >::value), ""); in main()
45 …static_assert((std::is_same<C::value_type, std::pair<const C::key_type, C::mapped_type> >::value),… in main()
46 static_assert((std::is_same<C::reference, C::value_type&>::value), ""); in main()
47 static_assert((std::is_same<C::const_reference, const C::value_type&>::value), ""); in main()
48 static_assert((std::is_same<C::pointer, C::value_type*>::value), ""); in main()
49 static_assert((std::is_same<C::const_pointer, const C::value_type*>::value), ""); in main()
61 static_assert((std::is_same<C::allocator_type, min_allocator<C::value_type> >::value), ""); in main()
62 …static_assert((std::is_same<C::value_type, std::pair<const C::key_type, C::mapped_type> >::value),… in main()
63 static_assert((std::is_same<C::reference, C::value_type&>::value), ""); in main()
64 static_assert((std::is_same<C::const_reference, const C::value_type&>::value), ""); in main()
[all …]
/external/libcxx/test/std/containers/unord/unord.multimap/
Dtypes.pass.cpp44 static_assert((std::is_same<C::allocator_type, std::allocator<C::value_type> >::value), ""); in main()
45 …static_assert((std::is_same<C::value_type, std::pair<const C::key_type, C::mapped_type> >::value),… in main()
46 static_assert((std::is_same<C::reference, C::value_type&>::value), ""); in main()
47 static_assert((std::is_same<C::const_reference, const C::value_type&>::value), ""); in main()
48 static_assert((std::is_same<C::pointer, C::value_type*>::value), ""); in main()
49 static_assert((std::is_same<C::const_pointer, const C::value_type*>::value), ""); in main()
61 static_assert((std::is_same<C::allocator_type, min_allocator<C::value_type> >::value), ""); in main()
62 …static_assert((std::is_same<C::value_type, std::pair<const C::key_type, C::mapped_type> >::value),… in main()
63 static_assert((std::is_same<C::reference, C::value_type&>::value), ""); in main()
64 static_assert((std::is_same<C::const_reference, const C::value_type&>::value), ""); in main()
[all …]
/external/eigen/Eigen/src/StlSupport/
DStdDeque.h30 typedef __VA_ARGS__ value_type; \
38 explicit deque(size_type num, const value_type& val = value_type()) : deque_base(num, val) {} \
54 typedef T value_type; \
64 explicit deque(size_type num, const value_type& val = value_type()) : deque_base(num, val) {} \
85 void resize(size_type new_size, const value_type& x) in resize()
92 void push_back(const value_type& x) in push_back()
94 void push_front(const value_type& x) in push_front()
97 iterator insert(const_iterator position, const value_type& x) in insert()
99 void insert(const_iterator position, size_type new_size, const value_type& x) in insert()
103 void resize(size_type new_size, const value_type& x) in resize()
[all …]
DStdVector.h30 typedef __VA_ARGS__ value_type; \
38 … explicit vector(size_type num, const value_type& val = value_type()) : vector_base(num, val) {} \
54 typedef T value_type; \
64 … explicit vector(size_type num, const value_type& val = value_type()) : vector_base(num, val) {} \
85 void resize(size_type new_size, const value_type& x) in resize()
92 void push_back(const value_type& x) in push_back()
95 iterator insert(const_iterator position, const value_type& x) in insert()
97 void insert(const_iterator position, size_type new_size, const value_type& x) in insert()
102 void resize(size_type new_size, const value_type& x) in resize()
108 void resize(size_type new_size, const value_type& x) in resize()
[all …]
/external/libcxx/test/std/iterators/iterator.primitives/iterator.traits/
Dempty.fail.cpp25 typedef A value_type; typedef
43 typedef A value_type; typedef
52 typedef A value_type; typedef
61 typedef A value_type; typedef
72 …typedef T::value_type VT; // expected-error-re {{no type named 'value_type' in 'std::__1::i… in main()
81 …typedef T::value_type VT; // expected-error-re {{no type named 'value_type' in 'std::__1::i… in main()
90 …typedef T::value_type VT; // expected-error-re {{no type named 'value_type' in 'std::__1::i… in main()
99 …typedef T::value_type VT; // expected-error-re {{no type named 'value_type' in 'std::__1::i… in main()
108 …typedef T::value_type VT; // expected-error-re {{no type named 'value_type' in 'std::__1::i… in main()
117 …typedef T::value_type VT; // expected-error-re {{no type named 'value_type' in 'std::__1::i… in main()
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/
Drx-coroutine.hpp39 using value_type = typename Source::value_type; typedef
48 const value_type* value{nullptr};
72 struct co_observable_iterator : public iterator<input_iterator_tag, typename Source::value_type>
74 using value_type = typename Source::value_type; typedef
102 value_type const &operator*() const in operator *()
107 value_type const *operator->() const in operator ->()
125 using value_type=typename iterator::value_type; typedef
146 rxo::subscribe<value_type>( in await_suspend()
149 [wst](const value_type& v){ in await_suspend()
/external/tensorflow/tensorflow/core/graph/
Dedgeset.h37 typedef const Edge* value_type; typedef
47 std::pair<iterator, bool> insert(value_type value);
81 typedef typename EdgeSet::value_type value_type; typedef
82 typedef const typename EdgeSet::value_type& reference;
83 typedef const typename EdgeSet::value_type* pointer;
91 const value_type* operator->() const;
92 value_type operator*() const;
195 inline const EdgeSet::const_iterator::value_type* EdgeSet::const_iterator::
199 return reinterpret_cast<const value_type*>(array_iter_);
207 inline EdgeSet::const_iterator::value_type EdgeSet::const_iterator::operator*()
[all …]
/external/libcxx/test/std/utilities/memory/allocator.traits/allocator.traits.members/
Dallocate_hint.pass.cpp29 typedef T value_type; typedef
31 value_type* allocate(std::size_t n) in allocate()
34 return reinterpret_cast<value_type*>(static_cast<std::uintptr_t>(0xDEADBEEF)); in allocate()
41 typedef T value_type; typedef
43 value_type* allocate(std::size_t n) in allocate()
46 return reinterpret_cast<value_type*>(static_cast<std::uintptr_t>(0xEEADBEEF)); in allocate()
48 value_type* allocate(std::size_t n, const void* p) in allocate()
52 return reinterpret_cast<value_type*>(static_cast<std::uintptr_t>(0xFEADBEEF)); in allocate()
/external/protobuf/ruby/ext/google/protobuf_c/
Dmap.c148 if (self->value_type == UPB_TYPE_STRING || in Map_mark()
149 self->value_type == UPB_TYPE_BYTES || in Map_mark()
150 self->value_type == UPB_TYPE_MESSAGE) { in Map_mark()
157 native_slot_mark(self->value_type, mem); in Map_mark()
227 self->value_type = ruby_to_fieldtype(argv[1]); in Map_init()
245 if (needs_typeclass(self->value_type) && argc > 2) { in Map_init()
247 validate_type_class(self->value_type, self->value_type_class); in Map_init()
285 VALUE value = native_slot_get(self->value_type, in Map_each()
336 VALUE value = native_slot_get(self->value_type, in Map_values()
364 return native_slot_get(self->value_type, self->value_type_class, mem); in Map_index()
[all …]

12345678910>>...47