Searched refs:kSentinel (Results 1 – 10 of 10) sorted by relevance
/third_party/skia/tests/ |
D | TDPQueueTest.cpp | 83 static const Mock kSentinel = {-1, -1, -1}; in random_test() local 95 if (*mock == kSentinel) { in random_test() 117 REPORTER_ASSERT(reporter, kSentinel == array[k] || in random_test() 127 *top = kSentinel; in random_test() 134 } while (array[item] == kSentinel); in random_test() 136 array[item] = kSentinel; in random_test() 143 } while (array[item] == kSentinel); in random_test()
|
/third_party/flutter/skia/tests/ |
D | TDPQueueTest.cpp | 83 static const Dummy kSentinel = {-1, -1, -1}; in random_test() local 95 if (*dummy == kSentinel) { in random_test() 117 REPORTER_ASSERT(reporter, kSentinel == array[k] || in random_test() 127 *top = kSentinel; in random_test() 134 } while (array[item] == kSentinel); in random_test() 136 array[item] = kSentinel; in random_test() 143 } while (array[item] == kSentinel); in random_test()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/ |
D | raw_hash_set.cc | 27 ctrl_t::kSentinel, ctrl_t::kEmpty, ctrl_t::kEmpty, ctrl_t::kEmpty, 53 assert(ctrl[capacity] == ctrl_t::kSentinel); in ConvertDeletedToEmptyAndFullToDeleted() 60 ctrl[capacity] = ctrl_t::kSentinel; in ConvertDeletedToEmptyAndFullToDeleted()
|
D | raw_hash_set.h | 262 kSentinel = -1, // 0b11111111 267 static_cast<int8_t>(ctrl_t::kSentinel) & 0x80) != 0, 270 ctrl_t::kEmpty < ctrl_t::kSentinel && ctrl_t::kDeleted < ctrl_t::kSentinel, 274 ctrl_t::kSentinel == static_cast<ctrl_t>(-1), 283 static_cast<int8_t>(ctrl_t::kSentinel) & 0x7F) != 0, 321 inline bool IsEmptyOrDeleted(ctrl_t c) { return c < ctrl_t::kSentinel; } 368 auto special = _mm_set1_epi8(static_cast<int8_t>(ctrl_t::kSentinel)); 375 auto special = _mm_set1_epi8(static_cast<int8_t>(ctrl_t::kSentinel)); 607 ctrl[capacity] = ctrl_t::kSentinel; 805 if (ABSL_PREDICT_FALSE(*ctrl_ == ctrl_t::kSentinel)) ctrl_ = nullptr;
|
D | raw_hash_set_test.cc | 177 ctrl_t::kEmpty, CtrlT(5), ctrl_t::kSentinel, CtrlT(7), in TEST() 188 ctrl_t::kSentinel, CtrlT(1)}; in TEST() 200 ctrl_t::kEmpty, CtrlT(5), ctrl_t::kSentinel, CtrlT(7), in TEST() 207 ctrl_t::kSentinel, CtrlT(1)}; in TEST() 217 ctrl_t::kEmpty, CtrlT(5), ctrl_t::kSentinel, CtrlT(7), in TEST() 224 ctrl_t::kSentinel, CtrlT(1)}; in TEST() 235 ctrl[kCapacity] = ctrl_t::kSentinel; in TEST() 245 ASSERT_EQ(ctrl[kCapacity], ctrl_t::kSentinel); in TEST() 248 if (i == kCapacity) expected = ctrl_t::kSentinel; in TEST() 260 CtrlT(5), CtrlT(9), CtrlT(127), ctrl_t::kSentinel}; in TEST()
|
D | raw_hash_set_benchmark.cc | 374 ctrl[capacity] = ctrl_t::kSentinel; in BM_DropDeletes()
|
/third_party/flutter/skia/src/core/ |
D | SkFontDescriptor.cpp | 26 kSentinel = 0xFF, enumerator 69 for (size_t id; (id = read_id(stream)) != kSentinel;) { in Deserialize() 138 stream->writePackedUInt(kSentinel); in serialize()
|
/third_party/skia/src/core/ |
D | SkFontDescriptor.cpp | 24 kSentinel = 0xFF, enumerator 70 for (size_t id; (id = read_id(stream)) != kSentinel;) { in Deserialize() 135 stream->writePackedUInt(kSentinel); in serialize()
|
/third_party/skia/src/gpu/geometry/ |
D | GrQuadBuffer.h | 152 inline static constexpr unsigned kSentinel = 0xbaffe; variable 277 SkDEBUGCODE(h->fSentinel = static_cast<unsigned>(kSentinel);) in append() 323 SkASSERT(this->header(entry)->fSentinel == kSentinel); in validate()
|
/third_party/flutter/skia/src/gpu/geometry/ |
D | GrQuadBuffer.h | 150 static constexpr unsigned kSentinel = 0xbaffe; variable 284 SkDEBUGCODE(h->fSentinel = static_cast<unsigned>(kSentinel);) in append() 330 SkASSERT(this->header(entry)->fSentinel == kSentinel); in validate()
|