Home
last modified time | relevance | path

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

123

/external/abseil-cpp/absl/container/internal/
Dhash_policy_traits.h53 using slot_type = typename Policy::slot_type;
63 using reference = decltype(Policy::element(std::declval<slot_type*>()));
76 static void construct(Alloc* alloc, slot_type* slot, Args&&... args) {
83 static void destroy(Alloc* alloc, slot_type* slot) {
99 static void transfer(Alloc* alloc, slot_type* new_slot, slot_type* old_slot) {
106 static auto element(slot_type* slot) -> decltype(P::element(slot)) {
117 static size_t space_used(const slot_type* slot) {
159 static auto key(slot_type* slot)
174 static auto transfer_impl(Alloc* alloc, slot_type* new_slot,
175 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()
Dcontainer_memory.h328 using slot_type = map_slot_type<K, V>;
333 static void emplace(slot_type* slot) {
336 new (slot) slot_type;
344 static value_type& element(slot_type* slot) { return slot->value; }
345 static const value_type& element(const slot_type* slot) {
349 static const K& key(const slot_type* slot) {
354 static void construct(Allocator* alloc, slot_type* slot, Args&&... args) {
367 static void construct(Allocator* alloc, slot_type* slot, slot_type* other) {
379 static void destroy(Allocator* alloc, slot_type* slot) {
388 static void transfer(Allocator* alloc, slot_type* new_slot,
[all …]
/external/webrtc/third_party/abseil-cpp/absl/container/internal/
Dhash_policy_traits.h53 using slot_type = typename Policy::slot_type;
63 using reference = decltype(Policy::element(std::declval<slot_type*>()));
76 static void construct(Alloc* alloc, slot_type* slot, Args&&... args) {
83 static void destroy(Alloc* alloc, slot_type* slot) {
99 static void transfer(Alloc* alloc, slot_type* new_slot, slot_type* old_slot) {
106 static auto element(slot_type* slot) -> decltype(P::element(slot)) {
117 static size_t space_used(const slot_type* slot) {
159 static auto key(slot_type* slot)
174 static auto transfer_impl(Alloc* alloc, slot_type* new_slot,
175 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()
Dcontainer_memory.h328 using slot_type = map_slot_type<K, V>;
333 static void emplace(slot_type* slot) {
336 new (slot) slot_type;
344 static value_type& element(slot_type* slot) { return slot->value; }
345 static const value_type& element(const slot_type* slot) {
349 static const K& key(const slot_type* slot) {
354 static void construct(Allocator* alloc, slot_type* slot, Args&&... args) {
367 static void construct(Allocator* alloc, slot_type* slot, slot_type* other) {
379 static void destroy(Allocator* alloc, slot_type* slot) {
388 static void transfer(Allocator* alloc, slot_type* new_slot,
[all …]
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)] = {};
/external/angle/third_party/abseil-cpp/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/libtextclassifier/abseil-cpp/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/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/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/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/libtextclassifier/abseil-cpp/absl/container/
Dflat_hash_map.h555 using slot_type = typename slot_policy::slot_type; member
561 static void construct(Allocator* alloc, slot_type* slot, Args&&... args) { in construct()
566 static void destroy(Allocator* alloc, slot_type* slot) { in destroy()
571 static void transfer(Allocator* alloc, slot_type* new_slot, in transfer()
572 slot_type* old_slot) { in transfer()
584 static size_t space_used(const slot_type*) { return 0; } in space_used()
586 static std::pair<const K, V>& element(slot_type* slot) { return slot->value; } in element()
/external/openscreen/third_party/abseil/src/absl/container/
Dflat_hash_map.h555 using slot_type = typename slot_policy::slot_type; member
561 static void construct(Allocator* alloc, slot_type* slot, Args&&... args) { in construct()
566 static void destroy(Allocator* alloc, slot_type* slot) { in destroy()
571 static void transfer(Allocator* alloc, slot_type* new_slot, in transfer()
572 slot_type* old_slot) { in transfer()
584 static size_t space_used(const slot_type*) { return 0; } in space_used()
586 static std::pair<const K, V>& element(slot_type* slot) { return slot->value; } in element()

123