Home
last modified time | relevance | path

Searched refs:slot_type (Results 1 – 25 of 124) sorted by relevance

12345

/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/container/internal/
Dcommon_policy_traits.h35 using slot_type = typename Policy::slot_type; member
36 using reference = decltype(Policy::element(std::declval<slot_type*>()));
42 static void construct(Alloc* alloc, slot_type* slot, Args&&... args) { in construct()
49 static void destroy(Alloc* alloc, slot_type* slot) { in destroy()
65 static void transfer(Alloc* alloc, slot_type* new_slot, slot_type* old_slot) { in transfer()
74 static auto element(absl::remove_const_t<slot_type>* slot)
79 static auto element(const slot_type* slot) -> decltype(P::element(slot)) {
97 static auto transfer_impl(Alloc* alloc, slot_type* new_slot,
98 slot_type* old_slot, Rank0)
108 static std::true_type transfer_impl(Alloc*, slot_type* new_slot, in transfer_impl()
[all …]
Dnode_slot_policy.h52 using slot_type = typename std::remove_cv< member
56 static void construct(Alloc* alloc, slot_type* slot, Args&&... args) { in construct()
61 static void destroy(Alloc* alloc, slot_type* slot) { in destroy()
66 static void transfer(Alloc*, slot_type* new_slot, slot_type* old_slot) { in transfer()
70 static size_t space_used(const slot_type* slot) { in space_used()
75 static Reference element(slot_type* slot) { return **slot; } in element()
Dcommon.h54 using slot_type = typename PolicyTraits::slot_type;
82 node_handle_base(transfer_tag_t, const allocator_type& a, slot_type* s)
106 slot_type* slot() const {
108 return reinterpret_cast<slot_type*>(std::addressof(slot_space_));
114 alignas(slot_type) mutable unsigned char slot_space_[sizeof(slot_type)] = {};
142 using slot_type = typename PolicyTraits::slot_type;
153 -> decltype(PolicyTraits::mutable_key(std::declval<slot_type*>())) {
/external/cronet/stable/third_party/abseil-cpp/absl/container/internal/
Dcommon_policy_traits.h35 using slot_type = typename Policy::slot_type; member
36 using reference = decltype(Policy::element(std::declval<slot_type*>()));
42 static void construct(Alloc* alloc, slot_type* slot, Args&&... args) { in construct()
50 static auto destroy(Alloc* alloc, slot_type* slot) { in destroy()
66 static void transfer(Alloc* alloc, slot_type* new_slot, slot_type* old_slot) { in transfer()
75 static auto element(absl::remove_const_t<slot_type>* slot)
80 static auto element(const slot_type* slot) -> decltype(P::element(slot)) {
107 static auto transfer_impl(Alloc* alloc, slot_type* new_slot,
108 slot_type* old_slot,
119 static std::true_type transfer_impl(Alloc*, slot_type* new_slot, in transfer_impl()
[all …]
Dnode_slot_policy.h52 using slot_type = typename std::remove_cv< member
56 static void construct(Alloc* alloc, slot_type* slot, Args&&... args) { in construct()
61 static void destroy(Alloc* alloc, slot_type* slot) { in destroy()
67 static std::true_type transfer(Alloc*, slot_type* new_slot, in transfer()
68 slot_type* old_slot) { in transfer()
73 static size_t space_used(const slot_type* slot) { in space_used()
78 static Reference element(slot_type* slot) { return **slot; } in element()
Dcommon.h54 using slot_type = typename PolicyTraits::slot_type;
82 node_handle_base(transfer_tag_t, const allocator_type& a, slot_type* s)
106 slot_type* slot() const {
108 return reinterpret_cast<slot_type*>(std::addressof(slot_space_));
114 alignas(slot_type) mutable unsigned char slot_space_[sizeof(slot_type)] = {};
142 using slot_type = typename PolicyTraits::slot_type;
153 -> decltype(PolicyTraits::mutable_key(std::declval<slot_type*>())) {
/external/abseil-cpp/absl/container/internal/
Dcommon_policy_traits.h35 using slot_type = typename Policy::slot_type; member
36 using reference = decltype(Policy::element(std::declval<slot_type*>()));
42 static void construct(Alloc* alloc, slot_type* slot, Args&&... args) { in construct()
50 static auto destroy(Alloc* alloc, slot_type* slot) { in destroy()
66 static void transfer(Alloc* alloc, slot_type* new_slot, slot_type* old_slot) { in transfer()
75 static auto element(absl::remove_const_t<slot_type>* slot)
80 static auto element(const slot_type* slot) -> decltype(P::element(slot)) {
107 static auto transfer_impl(Alloc* alloc, slot_type* new_slot,
108 slot_type* old_slot,
119 static std::true_type transfer_impl(Alloc*, slot_type* new_slot, in transfer_impl()
[all …]
Dnode_slot_policy.h52 using slot_type = typename std::remove_cv< member
56 static void construct(Alloc* alloc, slot_type* slot, Args&&... args) { in construct()
61 static void destroy(Alloc* alloc, slot_type* slot) { in destroy()
67 static std::true_type transfer(Alloc*, slot_type* new_slot, in transfer()
68 slot_type* old_slot) { in transfer()
73 static size_t space_used(const slot_type* slot) { in space_used()
78 static Reference element(slot_type* slot) { return **slot; } in element()
Dcommon.h54 using slot_type = typename PolicyTraits::slot_type;
82 node_handle_base(transfer_tag_t, const allocator_type& a, slot_type* s)
106 slot_type* slot() const {
108 return reinterpret_cast<slot_type*>(std::addressof(slot_space_));
114 alignas(slot_type) mutable unsigned char slot_space_[sizeof(slot_type)] = {};
142 using slot_type = typename PolicyTraits::slot_type;
153 -> decltype(PolicyTraits::mutable_key(std::declval<slot_type*>())) {
/external/cronet/tot/third_party/abseil-cpp/absl/container/internal/
Dcommon_policy_traits.h35 using slot_type = typename Policy::slot_type; member
36 using reference = decltype(Policy::element(std::declval<slot_type*>()));
42 static void construct(Alloc* alloc, slot_type* slot, Args&&... args) { in construct()
50 static auto destroy(Alloc* alloc, slot_type* slot) { in destroy()
66 static void transfer(Alloc* alloc, slot_type* new_slot, slot_type* old_slot) { in transfer()
75 static auto element(absl::remove_const_t<slot_type>* slot)
80 static auto element(const slot_type* slot) -> decltype(P::element(slot)) {
107 static auto transfer_impl(Alloc* alloc, slot_type* new_slot,
108 slot_type* old_slot,
119 static std::true_type transfer_impl(Alloc*, slot_type* new_slot, in transfer_impl()
[all …]
Dnode_slot_policy.h52 using slot_type = typename std::remove_cv< member
56 static void construct(Alloc* alloc, slot_type* slot, Args&&... args) { in construct()
61 static void destroy(Alloc* alloc, slot_type* slot) { in destroy()
67 static std::true_type transfer(Alloc*, slot_type* new_slot, in transfer()
68 slot_type* old_slot) { in transfer()
73 static size_t space_used(const slot_type* slot) { in space_used()
78 static Reference element(slot_type* slot) { return **slot; } in element()
Dcommon.h54 using slot_type = typename PolicyTraits::slot_type;
82 node_handle_base(transfer_tag_t, const allocator_type& a, slot_type* s)
106 slot_type* slot() const {
108 return reinterpret_cast<slot_type*>(std::addressof(slot_space_));
114 alignas(slot_type) mutable unsigned char slot_space_[sizeof(slot_type)] = {};
142 using slot_type = typename PolicyTraits::slot_type;
153 -> decltype(PolicyTraits::mutable_key(std::declval<slot_type*>())) {
/external/angle/third_party/abseil-cpp/absl/container/internal/
Dcommon_policy_traits.h44 using slot_type = typename Policy::slot_type;
45 using reference = decltype(Policy::element(std::declval<slot_type*>()));
51 static void construct(Alloc* alloc, slot_type* slot, Args&&... args) {
59 static auto destroy(Alloc* alloc, slot_type* slot) {
75 static void transfer(Alloc* alloc, slot_type* new_slot, slot_type* old_slot) {
84 static auto element(absl::remove_const_t<slot_type>* slot)
89 static auto element(const slot_type* slot) -> decltype(P::element(slot)) {
116 static auto transfer_impl(Alloc* alloc, slot_type* new_slot,
117 slot_type* old_slot,
128 static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
[all …]
Dnode_slot_policy.h52 using slot_type = typename std::remove_cv< member
56 static void construct(Alloc* alloc, slot_type* slot, Args&&... args) { in construct()
61 static void destroy(Alloc* alloc, slot_type* slot) { in destroy()
67 static std::true_type transfer(Alloc*, slot_type* new_slot, in transfer()
68 slot_type* old_slot) { in transfer()
73 static size_t space_used(const slot_type* slot) { in space_used()
78 static Reference element(slot_type* slot) { return **slot; } in element()
Dcommon.h97 using slot_type = typename PolicyTraits::slot_type;
125 node_handle_base(transfer_tag_t, const allocator_type& a, slot_type* s)
149 slot_type* slot() const {
151 return reinterpret_cast<slot_type*>(std::addressof(slot_space_));
157 alignas(slot_type) mutable unsigned char slot_space_[sizeof(slot_type)] = {};
185 using slot_type = typename PolicyTraits::slot_type;
196 -> decltype(PolicyTraits::mutable_key(std::declval<slot_type*>())) {
/external/openscreen/third_party/abseil/src/absl/container/internal/
Dhash_policy_traits.h73 using slot_type = typename Policy::slot_type;
80 using reference = decltype(Policy::element(std::declval<slot_type*>()));
93 static void construct(Alloc* alloc, slot_type* slot, Args&&... args) {
100 static void destroy(Alloc* alloc, slot_type* slot) {
116 static void transfer(Alloc* alloc, slot_type* new_slot, slot_type* old_slot) {
123 static auto element(slot_type* slot) -> decltype(P::element(slot)) {
134 static size_t space_used(const slot_type* slot) {
176 static auto mutable_key(slot_type* slot)
191 static auto transfer_impl(Alloc* alloc, slot_type* new_slot,
192 slot_type* old_slot, int)
[all …]
Dnode_hash_policy.h52 using slot_type = typename std::remove_cv< member
56 static void construct(Alloc* alloc, slot_type* slot, Args&&... args) { in construct()
61 static void destroy(Alloc* alloc, slot_type* slot) { in destroy()
66 static void transfer(Alloc*, slot_type* new_slot, slot_type* old_slot) { in transfer()
70 static size_t space_used(const slot_type* slot) { in space_used()
75 static Reference element(slot_type* slot) { return **slot; } in element()
Dcommon.h54 using slot_type = typename PolicyTraits::slot_type;
82 node_handle_base(transfer_tag_t, const allocator_type& a, slot_type* s)
88 node_handle_base(move_tag_t, const allocator_type& a, slot_type* s)
105 slot_type* slot() const {
107 return reinterpret_cast<slot_type*>(std::addressof(slot_space_));
113 alignas(slot_type) mutable unsigned char slot_space_[sizeof(slot_type)] = {};
141 using slot_type = typename PolicyTraits::slot_type;
152 -> decltype(PolicyTraits::mutable_key(std::declval<slot_type*>())) {
Dcontainer_memory.h341 using slot_type = map_slot_type<K, V>;
346 static void emplace(slot_type* slot) {
349 new (slot) slot_type;
357 static value_type& element(slot_type* slot) { return slot->value; }
358 static const value_type& element(const slot_type* slot) {
365 static K& mutable_key(slot_type* slot) {
373 static const K& mutable_key(slot_type* slot) { return key(slot); }
376 static const K& key(const slot_type* slot) {
381 static void construct(Allocator* alloc, slot_type* slot, Args&&... args) {
394 static void construct(Allocator* alloc, slot_type* slot, slot_type* other) {
[all …]
/external/abseil-cpp/absl/container/
Dbtree_set.h773 using slot_type = Key; member
777 static value_type &element(slot_type *slot) { return *slot; } in element()
778 static const value_type &element(const slot_type *slot) { return *slot; } in element()
781 static void construct(Alloc *alloc, slot_type *slot, Args &&...args) { in construct()
787 static void construct(Alloc *alloc, slot_type *slot, slot_type *other) { in construct()
792 static void construct(Alloc *alloc, slot_type *slot, const slot_type *other) { in construct()
797 static void destroy(Alloc *alloc, slot_type *slot) { in destroy()
809 using slot_type = typename set_params::common_params::slot_type; member
815 static const Key &key(const slot_type *slot) { return *slot; } in key()
816 static const Key &key(slot_type *slot) { return *slot; } in key()
/external/cronet/stable/third_party/abseil-cpp/absl/container/
Dbtree_set.h773 using slot_type = Key; member
777 static value_type &element(slot_type *slot) { return *slot; } in element()
778 static const value_type &element(const slot_type *slot) { return *slot; } in element()
781 static void construct(Alloc *alloc, slot_type *slot, Args &&...args) { in construct()
787 static void construct(Alloc *alloc, slot_type *slot, slot_type *other) { in construct()
792 static void construct(Alloc *alloc, slot_type *slot, const slot_type *other) { in construct()
797 static void destroy(Alloc *alloc, slot_type *slot) { in destroy()
809 using slot_type = typename set_params::common_params::slot_type; member
815 static const Key &key(const slot_type *slot) { return *slot; } in key()
816 static const Key &key(slot_type *slot) { return *slot; } in key()
/external/angle/third_party/abseil-cpp/absl/container/
Dbtree_set.h775 using slot_type = Key; member
779 static value_type &element(slot_type *slot) { return *slot; } in element()
780 static const value_type &element(const slot_type *slot) { return *slot; } in element()
783 static void construct(Alloc *alloc, slot_type *slot, Args &&...args) { in construct()
789 static void construct(Alloc *alloc, slot_type *slot, slot_type *other) { in construct()
794 static void construct(Alloc *alloc, slot_type *slot, const slot_type *other) { in construct()
799 static void destroy(Alloc *alloc, slot_type *slot) { in destroy()
811 using slot_type = typename set_params::common_params::slot_type; member
817 static const Key &key(const slot_type *slot) { return *slot; } in key()
818 static const Key &key(slot_type *slot) { return *slot; } in key()
/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/container/
Dbtree_set.h770 using slot_type = Key; member
774 static value_type &element(slot_type *slot) { return *slot; } in element()
775 static const value_type &element(const slot_type *slot) { return *slot; } in element()
778 static void construct(Alloc *alloc, slot_type *slot, Args &&...args) { in construct()
784 static void construct(Alloc *alloc, slot_type *slot, slot_type *other) { in construct()
789 static void construct(Alloc *alloc, slot_type *slot, const slot_type *other) { in construct()
794 static void destroy(Alloc *alloc, slot_type *slot) { in destroy()
806 using slot_type = typename set_params::common_params::slot_type; member
812 static const Key &key(const slot_type *slot) { return *slot; } in key()
813 static const Key &key(slot_type *slot) { return *slot; } in key()
Dflat_hash_map.h562 using slot_type = typename slot_policy::slot_type; member
568 static void construct(Allocator* alloc, slot_type* slot, Args&&... args) { in construct()
573 static void destroy(Allocator* alloc, slot_type* slot) { in destroy()
578 static void transfer(Allocator* alloc, slot_type* new_slot, in transfer()
579 slot_type* old_slot) { in transfer()
591 static size_t space_used(const slot_type*) { return 0; } in space_used()
593 static std::pair<const K, V>& element(slot_type* slot) { return slot->value; } in element()
/external/cronet/tot/third_party/abseil-cpp/absl/container/
Dbtree_set.h773 using slot_type = Key; member
777 static value_type &element(slot_type *slot) { return *slot; } in element()
778 static const value_type &element(const slot_type *slot) { return *slot; } in element()
781 static void construct(Alloc *alloc, slot_type *slot, Args &&...args) { in construct()
787 static void construct(Alloc *alloc, slot_type *slot, slot_type *other) { in construct()
792 static void construct(Alloc *alloc, slot_type *slot, const slot_type *other) { in construct()
797 static void destroy(Alloc *alloc, slot_type *slot) { in destroy()
809 using slot_type = typename set_params::common_params::slot_type; member
815 static const Key &key(const slot_type *slot) { return *slot; } in key()
816 static const Key &key(slot_type *slot) { return *slot; } in key()

12345