Home
last modified time | relevance | path

Searched refs:slot_type (Results 1 - 23 of 23) sorted by relevance

/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
H A 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) { in construct()
100 static void destroy(Alloc* alloc, slot_type* slot) { in destroy()
116 static void transfer(Alloc* alloc, slot_type* new_slot, slot_type* old_slot) { in transfer()
123 static auto element(slot_type* slot) -> decltype(P::element(slot)) { in element()
134 static size_t space_used(const slot_type* slot) { in space_used()
176 static auto mutable_key(slot_type* slo
[all...]
H A Dnode_hash_policy.h52 using slot_type = typename std::remove_cv<
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()
H A Dcommon.h54 using slot_type = typename PolicyTraits::slot_type;
82 node_handle_base(transfer_tag_t, const allocator_type& a, slot_type* s) in node_handle_base()
88 node_handle_base(move_tag_t, const allocator_type& a, slot_type* s) in node_handle_base()
105 slot_type* slot() const { in slot()
107 return reinterpret_cast<slot_type*>(std::addressof(slot_space_)); in slot()
113 alignas(slot_type) mutable unsigned char slot_space_[sizeof(slot_type)] = {};
141 using slot_type = typename PolicyTraits::slot_type;
[all...]
H A Dcontainer_memory.h341 using slot_type = map_slot_type<K, V>;
346 static void emplace(slot_type* slot) { in emplace()
349 new (slot) slot_type; in emplace()
352 // or the other via slot_type. We are also free to access the key via
353 // slot_type::key in this case.
357 static value_type& element(slot_type* slot) { return slot->value; } in element()
358 static const value_type& element(const slot_type* slot) { in element()
365 static K& mutable_key(slot_type* slot) { in mutable_key()
373 static const K& mutable_key(slot_type* slot) { return key(slot); } in mutable_key()
376 static const K& key(const slot_type* slo
[all...]
H A Draw_hash_set.h674 // TODO(sbenza): Hide slot_type as it is an implementation detail. Needs user
676 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));
[all...]
H A Draw_hash_set_benchmark.cc39 using slot_type = int64_t;
49 static int64_t& element(slot_type* slot) { return *slot; } in element()
72 struct slot_type { struct in absl::container_internal::__anon19187::StringPolicy
76 slot_type(ctor, Ts&&... ts) : pair(std::forward<Ts>(ts)...) {} in slot_type() function
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* slo
[all...]
H A Dbtree.h245 using slot_type = typename slot_policy::slot_type;
289 static value_type &element(slot_type *slot) { in element()
292 static const value_type &element(const slot_type *slot) { in element()
296 static void construct(Alloc *alloc, slot_type *slot, Args &&... args) { in construct()
299 static void construct(Alloc *alloc, slot_type *slot, slot_type *other) { in construct()
302 static void destroy(Alloc *alloc, slot_type *slot) { in destroy()
305 static void transfer(Alloc *alloc, slot_type *new_slot, slot_type *old_slo in destroy()
[all...]
H A Draw_hash_set_allocator_test.cc130 using slot_type = Tracked<int32_t>;
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)
165 static auto apply(F&& f, slot_type&& v)
170 static slot_type& element(slot_type* slot) { return *slot; } in element()
H A Draw_hash_set_probe_benchmark.cc49 using slot_type = T;
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)
H A Dcontainer_memory_test.cc232 using slot_type = typename slot_policy::slot_type; in TEST()
237 slot_type slots[100]; in TEST()
H A Draw_hash_set_test.cc282 using slot_type = T;
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::__anon19189::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 in construct()
[all...]
H A Dhash_policy_traits_test.cc37 using slot_type = Slot;
/third_party/skia/third_party/externals/abseil-cpp/absl/container/
H A Dflat_hash_map.h555 using slot_type = typename slot_policy::slot_type;
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()
H A Dflat_hash_set.h455 using slot_type = T;
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/
H A Dremembered-set-inl.h16 SlotType slot_type, in UpdateTypedSlot()
19 switch (slot_type) { in UpdateTypedSlot()
15 UpdateTypedSlot(Heap* heap, SlotType slot_type, Address addr, Callback callback) UpdateTypedSlot() argument
H A 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()
249 // The callback should take (SlotType slot_type, Address addr) and return
262 // given callback. The callback should take (SlotType slot_type, Address addr)
299 static SlotCallbackResult UpdateTypedSlot(Heap* heap, SlotType slot_type,
H A Dmarking-barrier.cc133 typed_slots->Insert(info.slot_type, info.offset); in RecordRelocSlot()
H A 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 in ProcessRelocInfo()
[all...]
H A Dconcurrent-marking.cc336 data.typed_slots->Insert(info.slot_type, info.offset); in RecordRelocSlot()
H A Dmark-compact.h510 SlotType slot_type; member
H A Dheap.cc7418 RememberedSet<OLD_TO_NEW>::InsertTyped(info.memory_chunk, info.slot_type, in GenerationalBarrierForCodeSlow()
/third_party/mesa3d/src/gallium/drivers/zink/nir_to_spirv/
H A Dnir_to_spirv.c1451 unroll_struct_type(struct ntv_context *ctx, const struct glsl_type *slot_type, unsigned *slot_idx, SpvId *deref, const struct glsl_type **arraytype) 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 += slot_count) { in unroll_struct_type()
1460 *arraytype = glsl_get_struct_field(slot_type, i); in unroll_struct_type()
1465 *deref = spirv_builder_emit_composite_extract(&ctx->builder, get_glsl_type(ctx, glsl_get_struct_field(slot_type, idx)), *deref, &idx, 1); in unroll_struct_type()
/third_party/mesa3d/src/gallium/drivers/zink/
H A 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 += slot_count) { in unroll_struct_type()
771 const struct glsl_type *arraytype = glsl_get_struct_field(slot_type, i); in unroll_struct_type()

Completed in 53 milliseconds