Home
last modified time | relevance | path

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

12345678910>>...30

/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/linux/
DLinuxKeyboard.cpp47 keyConversion.insert(XtoOIS_KeyMap::value_type(XK_1, KC_1)); in LinuxKeyboard()
48 keyConversion.insert(XtoOIS_KeyMap::value_type(XK_2, KC_2)); in LinuxKeyboard()
49 keyConversion.insert(XtoOIS_KeyMap::value_type(XK_3, KC_3)); in LinuxKeyboard()
50 keyConversion.insert(XtoOIS_KeyMap::value_type(XK_4, KC_4)); in LinuxKeyboard()
51 keyConversion.insert(XtoOIS_KeyMap::value_type(XK_5, KC_5)); in LinuxKeyboard()
52 keyConversion.insert(XtoOIS_KeyMap::value_type(XK_6, KC_6)); in LinuxKeyboard()
53 keyConversion.insert(XtoOIS_KeyMap::value_type(XK_7, KC_7)); in LinuxKeyboard()
54 keyConversion.insert(XtoOIS_KeyMap::value_type(XK_8, KC_8)); in LinuxKeyboard()
55 keyConversion.insert(XtoOIS_KeyMap::value_type(XK_9, KC_9)); in LinuxKeyboard()
56 keyConversion.insert(XtoOIS_KeyMap::value_type(XK_0, KC_0)); in LinuxKeyboard()
[all …]
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/mac/
DMacKeyboard.cpp350 keyConversion.insert(VirtualtoOIS_KeyMap::value_type(0x12, KC_1)); in populateKeyConversion()
351 keyConversion.insert(VirtualtoOIS_KeyMap::value_type(0x13, KC_2)); in populateKeyConversion()
352 keyConversion.insert(VirtualtoOIS_KeyMap::value_type(0x14, KC_3)); in populateKeyConversion()
353 keyConversion.insert(VirtualtoOIS_KeyMap::value_type(0x15, KC_4)); in populateKeyConversion()
354 keyConversion.insert(VirtualtoOIS_KeyMap::value_type(0x17, KC_5)); in populateKeyConversion()
355 keyConversion.insert(VirtualtoOIS_KeyMap::value_type(0x16, KC_6)); in populateKeyConversion()
356 keyConversion.insert(VirtualtoOIS_KeyMap::value_type(0x1A, KC_7)); in populateKeyConversion()
357 keyConversion.insert(VirtualtoOIS_KeyMap::value_type(0x1C, KC_8)); in populateKeyConversion()
358 keyConversion.insert(VirtualtoOIS_KeyMap::value_type(0x19, KC_9)); in populateKeyConversion()
359 keyConversion.insert(VirtualtoOIS_KeyMap::value_type(0x1D, KC_0)); in populateKeyConversion()
[all …]
DCocoaKeyboard.mm189 keyConversion.insert(VirtualtoOIS_KeyMap::value_type(0x12, KC_1));
190 keyConversion.insert(VirtualtoOIS_KeyMap::value_type(0x13, KC_2));
191 keyConversion.insert(VirtualtoOIS_KeyMap::value_type(0x14, KC_3));
192 keyConversion.insert(VirtualtoOIS_KeyMap::value_type(0x15, KC_4));
193 keyConversion.insert(VirtualtoOIS_KeyMap::value_type(0x17, KC_5));
194 keyConversion.insert(VirtualtoOIS_KeyMap::value_type(0x16, KC_6));
195 keyConversion.insert(VirtualtoOIS_KeyMap::value_type(0x1A, KC_7));
196 keyConversion.insert(VirtualtoOIS_KeyMap::value_type(0x1C, KC_8));
197 keyConversion.insert(VirtualtoOIS_KeyMap::value_type(0x19, KC_9));
198 keyConversion.insert(VirtualtoOIS_KeyMap::value_type(0x1D, KC_0));
[all …]
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/SDL/
DSDLKeyboard.cpp48 mKeyMap.insert( KeyMap::value_type(SDLK_ESCAPE,KC_ESCAPE) ); in _initialize()
49 mKeyMap.insert( KeyMap::value_type(SDLK_1, KC_1) ); in _initialize()
50 mKeyMap.insert( KeyMap::value_type(SDLK_2, KC_2) ); in _initialize()
51 mKeyMap.insert( KeyMap::value_type(SDLK_3, KC_3) ); in _initialize()
52 mKeyMap.insert( KeyMap::value_type(SDLK_4, KC_4) ); in _initialize()
53 mKeyMap.insert( KeyMap::value_type(SDLK_5, KC_5) ); in _initialize()
54 mKeyMap.insert( KeyMap::value_type(SDLK_6, KC_6) ); in _initialize()
55 mKeyMap.insert( KeyMap::value_type(SDLK_7, KC_7) ); in _initialize()
56 mKeyMap.insert( KeyMap::value_type(SDLK_8, KC_8) ); in _initialize()
57 mKeyMap.insert( KeyMap::value_type(SDLK_9, KC_9) ); in _initialize()
[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/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 …]
Dmap-util.h46 const typename Collection::value_type::second_type&
48 const typename Collection::value_type::first_type& key, in FindWithDefault()
49 const typename Collection::value_type::second_type& value) { in FindWithDefault()
61 const typename Collection::value_type::second_type*
63 const typename Collection::value_type::first_type& key) { in FindOrNull()
77 const typename Collection::value_type::second_type
79 const typename Collection::value_type::first_type& key) { in FindPtrOrNull()
95 collection->insert(typename Collection::value_type(key, value)); in InsertOrUpdate()
112 collection->insert(typename Collection::value_type(key, value)); in InsertIfNotPresent()
/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/vulkan-validation-layers/libs/glm/gtx/
Dspline.inl19 typename genType::value_type const & s
22 typename genType::value_type s1 = s;
23 typename genType::value_type s2 = pow2(s);
24 typename genType::value_type s3 = pow3(s);
26 typename genType::value_type f1 = -s3 + typename genType::value_type(2) * s2 - s;
27 …ename genType::value_type f2 = typename genType::value_type(3) * s3 - typename genType::value_type
28 …typename genType::value_type f3 = typename genType::value_type(-3) * s3 + typename genType::value_…
29 typename genType::value_type f4 = s3 - s2;
31 return (f1 * v1 + f2 * v2 + f3 * v3 + f4 * v4) / typename genType::value_type(2);
42 typename genType::value_type const & s
[all …]
Dintersect.inl21 typename genType::value_type & intersectionDistance
24 typename genType::value_type d = glm::dot(dir, planeNormal);
25 …typename genType::value_type Epsilon = std::numeric_limits<typename genType::value_type>::epsilon(…
49 typename genType::value_type a = glm::dot(e1, p);
51 …typename genType::value_type Epsilon = std::numeric_limits<typename genType::value_type>::epsilon(…
55 typename genType::value_type f = typename genType::value_type(1.0f) / a;
59 if(baryPosition.x < typename genType::value_type(0.0f))
61 if(baryPosition.x > typename genType::value_type(1.0f))
66 if(baryPosition.y < typename genType::value_type(0.0f))
68 if(baryPosition.y + baryPosition.x > typename genType::value_type(1.0f))
[all …]
/external/lldb/include/lldb/Utility/
DCleanUp.h59 typedef T value_type; typedef
60 typedef R (*CallbackType)(value_type);
67 CleanUp (value_type value, CallbackType callback) : in CleanUp()
81 CleanUp (value_type value, value_type invalid, CallbackType callback) : in CleanUp()
101 value_type get() in get()
109 const value_type
121 set (const value_type value) in set()
168 value_type
176 value_type m_current_value;
177 const value_type m_invalid_value;
[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/ceres-solver/internal/ceres/
Dmap_util.h58 const typename Collection::value_type::second_type&
60 const typename Collection::value_type::first_type& key) { in FindOrDie()
70 const typename Collection::value_type::second_type&
72 const typename Collection::value_type::first_type& key, in FindWithDefault()
73 const typename Collection::value_type::second_type& value) { in FindWithDefault()
88 const typename Collection::value_type::first_type& key, in InsertIfNotPresent()
89 const typename Collection::value_type::second_type& value) { in InsertIfNotPresent()
91 collection->insert(typename Collection::value_type(key, value)); in InsertIfNotPresent()
99 typename Collection::value_type::second_type*
101 const typename Collection::value_type::first_type& key) { in FindOrNull()
[all …]
/external/libcxx/test/support/
Dnasty_containers.hpp21 typedef typename nested_container::value_type value_type; typedef in nasty_vector
37 nasty_vector(size_type n, const value_type& value) : v_(n, value) {} in nasty_vector()
40 nasty_vector(std::initializer_list<value_type> il) : v_(il) {} in nasty_vector()
46 void assign(size_type n, const value_type& u) { v_.assign(n, u); } in assign()
48 void assign(std::initializer_list<value_type> il) { v_.assign(il); } in assign()
83 value_type* data() _NOEXCEPT { return v_.data(); } in data()
84 const value_type* data() const _NOEXCEPT { return v_.data(); } in data()
86 void push_back(const value_type& x) { v_.push_back(x); } in push_back()
88 void push_back(value_type&& x) { v_.push_back(std::forward<value_type&&>(x)); } in push_back()
103 iterator insert(const_iterator pos, const value_type& x) { return v_.insert(pos, x); } in insert()
[all …]
/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/libcxx/test/std/utilities/memory/allocator.traits/allocator.traits.members/
Dallocate_hint.pass.cpp25 typedef T value_type; typedef
27 value_type* allocate(std::size_t n) in allocate()
30 return (value_type*)0xDEADBEEF; in allocate()
37 typedef T value_type; typedef
39 value_type* allocate(std::size_t n) in allocate()
42 return (value_type*)0xEEADBEEF; in allocate()
44 value_type* allocate(std::size_t n, const void* p) in allocate()
48 return (value_type*)0xFEADBEEF; in allocate()
/external/libcxx/include/experimental/
Ddynarray26 typedef T value_type;
125 typedef _Tp value_type;
126 typedef value_type& reference;
127 typedef const value_type& const_reference;
128 typedef value_type* iterator;
129 typedef const value_type* const_iterator;
130 typedef value_type* pointer;
131 typedef const value_type* const_pointer;
139 value_type * __base_;
142 static inline _LIBCPP_INLINE_VISIBILITY value_type* __allocate ( size_t count )
[all …]
Doptional85 typedef T value_type;
190 typedef _Tp value_type;
194 value_type __val_;
202 __val_.~value_type();
214 ::new(_VSTD::addressof(__val_)) value_type(__x.__val_);
219 noexcept(is_nothrow_move_constructible<value_type>::value)
223 ::new(_VSTD::addressof(__val_)) value_type(_VSTD::move(__x.__val_));
227 constexpr __optional_storage(const value_type& __v)
232 constexpr __optional_storage(value_type&& __v)
248 typedef _Tp value_type;
[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/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/libweave/third_party/chromium/base/strings/
Dstring_piece.h92 typedef typename STRING_TYPE::value_type value_type; typedef
93 typedef const value_type* pointer;
94 typedef const value_type& reference;
95 typedef const value_type& const_reference;
97 typedef const value_type* const_iterator;
107 BasicStringPiece(const value_type* str) in BasicStringPiece()
112 BasicStringPiece(const value_type* offset, size_type len) in BasicStringPiece()
127 const value_type* data() const { return ptr_; } in data()
136 void set(const value_type* data, size_type len) { in set()
140 void set(const value_type* str) { in set()
[all …]
/external/eigen/Eigen/src/StlSupport/
DStdVector.h30 typedef __VA_ARGS__ value_type; \
38 … explicit vector(size_type num, const value_type& val = value_type()) : vector_base(num, val) {} \
51 typedef T value_type; \
61 … explicit vector(size_type num, const value_type& val = value_type()) : vector_base(num, val) {} \
82 void resize(size_type new_size, const value_type& x) in resize()
89 void push_back(const value_type& x) in push_back()
92 iterator insert(const_iterator position, const value_type& x) in insert()
94 void insert(const_iterator position, size_type new_size, const value_type& x) in insert()
99 void resize(size_type new_size, const value_type& x) in resize()
105 void resize(size_type new_size, const value_type& x) in resize()
[all …]
DStdDeque.h38 typedef __VA_ARGS__ value_type; \
46 explicit deque(size_type num, const value_type& val = value_type()) : deque_base(num, val) {} \
62 typedef T value_type; \
72 explicit deque(size_type num, const value_type& val = value_type()) : deque_base(num, val) {} \
93 void resize(size_type new_size, const value_type& x) in resize()
100 void push_back(const value_type& x) in push_back()
102 void push_front(const value_type& x) in push_front()
105 iterator insert(const_iterator position, const value_type& x) in insert()
107 void insert(const_iterator position, size_type new_size, const value_type& x) in insert()
111 void resize(size_type new_size, const value_type& x) in resize()
[all …]
/external/libcxx/test/std/containers/associative/multiset/
Dinsert_cv.pass.cpp27 R r = m.insert(M::value_type(2)); in main()
32 r = m.insert(M::value_type(1)); in main()
37 r = m.insert(M::value_type(3)); in main()
42 r = m.insert(M::value_type(3)); in main()
52 R r = m.insert(M::value_type(2)); in main()
57 r = m.insert(M::value_type(1)); in main()
62 r = m.insert(M::value_type(3)); in main()
67 r = m.insert(M::value_type(3)); in main()

12345678910>>...30