Home
last modified time | relevance | path

Searched refs:ctrl_t (Results 1 - 9 of 9) sorted by relevance

/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
H A Draw_hash_set.cc26 alignas(16) ABSL_CONST_INIT ABSL_DLL const ctrl_t kEmptyGroup[16] = {
27 ctrl_t::kSentinel, ctrl_t::kEmpty, ctrl_t::kEmpty, ctrl_t::kEmpty,
28 ctrl_t::kEmpty, ctrl_t::kEmpty, ctrl_t::kEmpty, ctrl_t::kEmpty,
29 ctrl_t
[all...]
H A Draw_hash_set.h258 // enabled, the compiler knows ctrl_t doesn't alias other types.
259 enum class ctrl_t : int8_t { class
265 (static_cast<int8_t>(ctrl_t::kEmpty) &
266 static_cast<int8_t>(ctrl_t::kDeleted) &
267 static_cast<int8_t>(ctrl_t::kSentinel) & 0x80) != 0,
270 ctrl_t::kEmpty < ctrl_t::kSentinel && ctrl_t::kDeleted < ctrl_t::kSentinel,
271 "ctrl_t
[all...]
H A Draw_hash_set_benchmark.cc318 // Like std::iota, except that ctrl_t doesn't support operator++.
322 *begin = static_cast<ctrl_t>(value); in Iota()
327 std::array<ctrl_t, Group::kWidth> group; in BM_Group_Match()
339 std::array<ctrl_t, Group::kWidth> group; in BM_Group_MatchEmpty()
347 std::array<ctrl_t, Group::kWidth> group; in BM_Group_MatchEmptyOrDeleted()
355 std::array<ctrl_t, Group::kWidth> group; in BM_Group_CountLeadingEmptyOrDeleted()
364 std::array<ctrl_t, Group::kWidth> group; in BM_Group_MatchFirstEmptyOrDeleted()
373 std::vector<ctrl_t> ctrl(capacity + 1 + Group::kWidth); in BM_DropDeletes()
374 ctrl[capacity] = ctrl_t::kSentinel; in BM_DropDeletes()
375 std::vector<ctrl_t> patter in BM_DropDeletes()
[all...]
H A Draw_hash_set_test.cc61 // Convenience function to static cast to ctrl_t.
62 ctrl_t CtrlT(int i) { return static_cast<ctrl_t>(i); } in CtrlT()
176 ctrl_t group[] = {ctrl_t::kEmpty, CtrlT(1), ctrl_t::kDeleted, CtrlT(3), in TEST()
177 ctrl_t::kEmpty, CtrlT(5), ctrl_t::kSentinel, CtrlT(7), in TEST()
186 ctrl_t group[] = {ctrl_t in TEST()
[all...]
/third_party/node/deps/v8/src/objects/
H A Dswiss-hash-table-helpers.h171 using ctrl_t = signed char;
176 enum Ctrl : ctrl_t {
217 inline static swiss_table::ctrl_t H2(uint32_t hash) {
241 explicit GroupSse2Impl(const ctrl_t* pos) {
277 void ConvertSpecialToEmptyAndFullToDeleted(ctrl_t* dst) const {
299 explicit GroupSse2Polyfill(const ctrl_t* pos) { memcpy(ctrl_, pos, kWidth); }
327 void ConvertSpecialToEmptyAndFullToDeleted(ctrl_t* dst) const {
348 ctrl_t ctrl_[kWidth];
354 explicit GroupPortableImpl(const ctrl_t* pos)
356 reinterpret_cast<uintptr_t>(const_cast<ctrl_t*>(po
[all...]
H A Dswiss-name-dictionary.h266 using ctrl_t = swiss_table::ctrl_t;
300 inline ctrl_t* CtrlTable();
302 inline static bool IsEmpty(ctrl_t c);
303 inline static bool IsFull(ctrl_t c);
304 inline static bool IsDeleted(ctrl_t c);
305 inline static bool IsEmptyOrDeleted(ctrl_t c);
309 inline void SetCtrl(int entry, ctrl_t h);
310 inline ctrl_t GetCtrl(int entry);
H A Dswiss-name-dictionary-inl.h32 swiss_table::ctrl_t* SwissNameDictionary::CtrlTable() { in CtrlTable()
33 return reinterpret_cast<ctrl_t*>( in CtrlTable()
173 ctrl_t* ctrl = CtrlTable(); in FindEntry()
351 swiss_table::ctrl_t SwissNameDictionary::GetCtrl(int entry) { in GetCtrl()
357 void SwissNameDictionary::SetCtrl(int entry, ctrl_t h) { in SetCtrl()
361 ctrl_t* ctrl = CtrlTable(); in SetCtrl()
722 bool SwissNameDictionary::IsEmpty(ctrl_t c) { return c == Ctrl::kEmpty; } in IsEmpty()
725 bool SwissNameDictionary::IsFull(ctrl_t c) { in IsFull()
733 bool SwissNameDictionary::IsDeleted(ctrl_t c) { return c == Ctrl::kDeleted; }
736 bool SwissNameDictionary::IsEmptyOrDeleted(ctrl_t
[all...]
/third_party/node/deps/v8/src/diagnostics/
H A Dobjects-debug.cc1424 ctrl_t ctrl = GetCtrl(i); in SwissNameDictionaryVerify()
1475 ctrl_t ctrl = GetCtrl(entry); in SwissNameDictionaryVerify()
H A Dobjects-printer.cc1047 ctrl_t ctrl = CtrlTable()[i]; in SwissNameDictionaryPrint()

Completed in 14 milliseconds