Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/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 …]
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*>())) {
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.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 …]
Draw_hash_set.h676 using slot_type = typename PolicyTraits::slot_type;
705 allocator_type>::template rebind_alloc<slot_type>;
707 allocator_type>::template rebind_traits<slot_type>;
793 iterator(ctrl_t* ctrl, slot_type* slot) : ctrl_(ctrl), slot_(slot) {
812 slot_type* slot_;
847 const_iterator(const ctrl_t* ctrl, const slot_type* slot)
848 : inner_(const_cast<ctrl_t*>(ctrl), const_cast<slot_type*>(slot)) {}
976 sizeof(slot_type));
1079 ResetCtrl(capacity_, ctrl_, slots_, sizeof(slot_type));
1210 alignas(slot_type) unsigned char raw[sizeof(slot_type)];
[all …]
Dbtree.h245 using slot_type = typename slot_policy::slot_type;
289 static value_type &element(slot_type *slot) {
292 static const value_type &element(const slot_type *slot) {
296 static void construct(Alloc *alloc, slot_type *slot, Args &&... args) {
299 static void construct(Alloc *alloc, slot_type *slot, slot_type *other) {
302 static void destroy(Alloc *alloc, slot_type *slot) {
305 static void transfer(Alloc *alloc, slot_type *new_slot, slot_type *old_slot) {
309 static void swap(Alloc *alloc, slot_type *a, slot_type *b) {
312 static void move(Alloc *alloc, slot_type *src, slot_type *dest) {
328 using slot_type = typename super_type::slot_type;
[all …]
Draw_hash_set_benchmark.cc39 using slot_type = int64_t; typedef
49 static int64_t& element(slot_type* slot) { return *slot; } in element()
72 struct slot_type { struct in absl::container_internal::__anond8554bb80111::StringPolicy
76 slot_type(ctor, Ts&&... ts) : pair(std::forward<Ts>(ts)...) {} in slot_type() argument
85 static void construct(allocator_type* alloc, slot_type* slot, Args... args) { in construct()
87 *alloc, slot, typename slot_type::ctor(), std::forward<Args>(args)...); in construct()
91 static void destroy(allocator_type* alloc, slot_type* slot) { in destroy()
96 static void transfer(allocator_type* alloc, slot_type* new_slot, in transfer()
97 slot_type* old_slot) { in transfer()
102 static std::pair<std::string, std::string>& element(slot_type* slot) { in element()
Draw_hash_set_allocator_test.cc130 using slot_type = Tracked<int32_t>; typedef
135 static void construct(allocator_type* alloc, slot_type* slot, in construct()
142 static void destroy(allocator_type* alloc, slot_type* slot) { in destroy()
147 static void transfer(allocator_type* alloc, slot_type* new_slot, in transfer()
148 slot_type* old_slot) { in transfer()
159 static auto apply(F&& f, const slot_type& v) in apply()
165 static auto apply(F&& f, slot_type&& v) in apply()
170 static slot_type& element(slot_type* slot) { return *slot; } in element()
Draw_hash_set_probe_benchmark.cc49 using slot_type = T; typedef
54 static void construct(allocator_type* alloc, slot_type* slot, in construct()
60 static void destroy(allocator_type* alloc, slot_type* slot) { in destroy()
64 static slot_type& element(slot_type* slot) { return *slot; } in element()
67 static auto apply(F&& f, const slot_type& arg) in apply()
Dcontainer_memory_test.cc232 using slot_type = typename slot_policy::slot_type; in TEST() typedef
237 slot_type slots[100]; in TEST()
Draw_hash_set_test.cc282 using slot_type = T; typedef
287 static void construct(Allocator* alloc, slot_type* slot, Args&&... args) { in construct()
293 static void destroy(Allocator* alloc, slot_type* slot) { in destroy()
298 static void transfer(Allocator* alloc, slot_type* new_slot, in transfer()
299 slot_type* old_slot) { in transfer()
304 static T& element(slot_type* slot) { return *slot; } in element()
333 struct slot_type { struct in absl::container_internal::__anona9b2930d0111::StringPolicy
337 slot_type(ctor, Ts&&... ts) : pair(std::forward<Ts>(ts)...) {} in slot_type() function
346 static void construct(allocator_type* alloc, slot_type* slot, Args... args) { in construct()
348 *alloc, slot, typename slot_type::ctor(), std::forward<Args>(args)...); in construct()
[all …]
Dhash_policy_traits_test.cc37 using slot_type = Slot; typedef
/third_party/skia/third_party/externals/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()
Dflat_hash_set.h455 using slot_type = T; member
461 static void construct(Allocator* alloc, slot_type* slot, Args&&... args) { in construct()
467 static void destroy(Allocator* alloc, slot_type* slot) { in destroy()
472 static void transfer(Allocator* alloc, slot_type* new_slot, in transfer()
473 slot_type* old_slot) { in transfer()
478 static T& element(slot_type* slot) { return *slot; } in element()
/third_party/node/deps/v8/src/heap/
Dremembered-set-inl.h16 SlotType slot_type, in UpdateTypedSlot() argument
19 switch (slot_type) { in UpdateTypedSlot()
Dremembered-set.h217 static void InsertTyped(MemoryChunk* memory_chunk, SlotType slot_type, in InsertTyped() argument
223 slot_set->Insert(slot_type, offset); in InsertTyped()
240 [=](SlotType slot_type, Address slot_addr) { in RemoveRangeTyped()
299 static SlotCallbackResult UpdateTypedSlot(Heap* heap, SlotType slot_type,
Dmark-compact.cc1304 info.slot_type, info.offset); in RecordRelocSlot()
3095 SlotType slot_type; in ProcessRelocInfo() local
3101 slot_type = SlotType::kConstPoolCodeEntry; in ProcessRelocInfo()
3103 slot_type = SlotType::kConstPoolEmbeddedObjectCompressed; in ProcessRelocInfo()
3106 slot_type = SlotType::kConstPoolEmbeddedObjectFull; in ProcessRelocInfo()
3112 slot_type = SlotType::kCodeEntry; in ProcessRelocInfo()
3114 slot_type = SlotType::kEmbeddedObjectFull; in ProcessRelocInfo()
3116 slot_type = SlotType::kEmbeddedObjectCompressed; in ProcessRelocInfo()
3119 slot_type = SlotType::kEmbeddedObjectData; in ProcessRelocInfo()
3127 result.slot_type = slot_type; in ProcessRelocInfo()
[all …]
Dmarking-barrier.cc133 typed_slots->Insert(info.slot_type, info.offset); in RecordRelocSlot()
Dconcurrent-marking.cc336 data.typed_slots->Insert(info.slot_type, info.offset); in RecordRelocSlot()
Dmark-compact.h510 SlotType slot_type; member
Dheap.cc7418 RememberedSet<OLD_TO_NEW>::InsertTyped(info.memory_chunk, info.slot_type, in GenerationalBarrierForCodeSlow()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_compiler.c763 unroll_struct_type(const struct glsl_type *slot_type, unsigned *slot_idx) in unroll_struct_type() argument
765 const struct glsl_type *type = slot_type; in unroll_struct_type()
769 …for (unsigned i = 0; i < glsl_get_length(slot_type) && cur_slot <= *slot_idx; i++, cur_slot += slo… in unroll_struct_type()
771 const struct glsl_type *arraytype = glsl_get_struct_field(slot_type, i); in unroll_struct_type()
/third_party/mesa3d/src/gallium/drivers/zink/nir_to_spirv/
Dnir_to_spirv.c1451 unroll_struct_type(struct ntv_context *ctx, const struct glsl_type *slot_type, unsigned *slot_idx, … in unroll_struct_type() argument
1453 const struct glsl_type *type = slot_type; in unroll_struct_type()
1458 …for (unsigned i = 0; i < glsl_get_length(slot_type) && cur_slot <= *slot_idx; i++, cur_slot += slo… in unroll_struct_type()
1460 *arraytype = glsl_get_struct_field(slot_type, i); in unroll_struct_type()
1465 …mposite_extract(&ctx->builder, get_glsl_type(ctx, glsl_get_struct_field(slot_type, idx)), *deref, … in unroll_struct_type()
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h34932 u8 slot_type[8]; member