/external/pdfium/core/fxcrt/ |
D | fx_system_unittest.cpp | 19 const char kSentinel = 0x7f; variable 24 buf[kBufLen - 1] = kSentinel; in Check32BitBase16Itoa() 27 EXPECT_EQ(kSentinel, buf[kBufLen - 1]); in Check32BitBase16Itoa() 33 buf[kBufLen - 1] = kSentinel; in Check32BitBase10Itoa() 36 EXPECT_EQ(kSentinel, buf[kBufLen - 1]); in Check32BitBase10Itoa() 42 buf[kBufLen - 1] = kSentinel; in Check32BitBase2Itoa() 45 EXPECT_EQ(kSentinel, buf[kBufLen - 1]); in Check32BitBase2Itoa() 51 buf[kBufLen - 1] = kSentinel; in Check64BitBase16Itoa() 54 EXPECT_EQ(kSentinel, buf[kBufLen - 1]); in Check64BitBase16Itoa() 60 buf[kBufLen - 1] = kSentinel; in Check64BitBase10Itoa() [all …]
|
/external/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()
|
/external/skqp/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()
|
/external/openscreen/third_party/abseil/src/absl/container/internal/ |
D | raw_hash_set.cc | 48 assert(ctrl[capacity] == kSentinel); in ConvertDeletedToEmptyAndFullToDeleted() 55 ctrl[capacity] = kSentinel; in ConvertDeletedToEmptyAndFullToDeleted()
|
D | raw_hash_set.h | 274 kSentinel = -1, // 0b11111111 277 kEmpty & kDeleted & kSentinel & 0x80, 279 static_assert(kEmpty < kSentinel && kDeleted < kSentinel, 282 static_assert(kSentinel == -1, 288 static_assert(~kEmpty & ~kDeleted & kSentinel & 0x7F, 300 kSentinel, kEmpty, kEmpty, kEmpty, kEmpty, kEmpty, kEmpty, kEmpty, 328 inline bool IsEmptyOrDeleted(ctrl_t c) { return c < kSentinel; } 375 auto special = _mm_set1_epi8(kSentinel); 382 auto special = _mm_set1_epi8(kSentinel); 739 if (ABSL_PREDICT_FALSE(*ctrl_ == kSentinel)) ctrl_ = nullptr; [all …]
|
D | raw_hash_set_test.cc | 165 ctrl_t group[] = {kEmpty, 1, kDeleted, 3, kEmpty, 5, kSentinel, 7, in TEST() 173 ctrl_t group[] = {kEmpty, 1, 2, kDeleted, 2, 1, kSentinel, 1}; in TEST() 184 ctrl_t group[] = {kEmpty, 1, kDeleted, 3, kEmpty, 5, kSentinel, 7, in TEST() 188 ctrl_t group[] = {kEmpty, 1, 2, kDeleted, 2, 1, kSentinel, 1}; in TEST() 197 ctrl_t group[] = {kEmpty, 1, kDeleted, 3, kEmpty, 5, kSentinel, 7, in TEST() 201 ctrl_t group[] = {kEmpty, 1, 2, kDeleted, 2, 1, kSentinel, 1}; in TEST() 212 ctrl[kCapacity] = kSentinel; in TEST() 220 ASSERT_EQ(ctrl[kCapacity], kSentinel); in TEST() 223 if (i == kCapacity) expected = kSentinel; in TEST() 233 const std::vector<ctrl_t> full_examples = {0, 1, 2, 3, 5, 9, 127, kSentinel}; in TEST()
|
/external/angle/third_party/abseil-cpp/absl/container/internal/ |
D | raw_hash_set.cc | 48 assert(ctrl[capacity] == kSentinel); in ConvertDeletedToEmptyAndFullToDeleted() 55 ctrl[capacity] = kSentinel; in ConvertDeletedToEmptyAndFullToDeleted()
|
D | raw_hash_set.h | 263 kSentinel = -1, // 0b11111111 266 kEmpty & kDeleted & kSentinel & 0x80, 268 static_assert(kEmpty < kSentinel && kDeleted < kSentinel, 271 static_assert(kSentinel == -1, 277 static_assert(~kEmpty & ~kDeleted & kSentinel & 0x7F, 289 kSentinel, kEmpty, kEmpty, kEmpty, kEmpty, kEmpty, kEmpty, kEmpty, 317 inline bool IsEmptyOrDeleted(ctrl_t c) { return c < kSentinel; } 364 auto special = _mm_set1_epi8(kSentinel); 371 auto special = _mm_set1_epi8(kSentinel); 758 if (ABSL_PREDICT_FALSE(*ctrl_ == kSentinel)) ctrl_ = nullptr; [all …]
|
D | raw_hash_set_test.cc | 173 ctrl_t group[] = {kEmpty, 1, kDeleted, 3, kEmpty, 5, kSentinel, 7, in TEST() 181 ctrl_t group[] = {kEmpty, 1, 2, kDeleted, 2, 1, kSentinel, 1}; in TEST() 192 ctrl_t group[] = {kEmpty, 1, kDeleted, 3, kEmpty, 5, kSentinel, 7, in TEST() 196 ctrl_t group[] = {kEmpty, 1, 2, kDeleted, 2, 1, kSentinel, 1}; in TEST() 205 ctrl_t group[] = {kEmpty, 1, kDeleted, 3, kEmpty, 5, kSentinel, 7, in TEST() 209 ctrl_t group[] = {kEmpty, 1, 2, kDeleted, 2, 1, kSentinel, 1}; in TEST() 220 ctrl[kCapacity] = kSentinel; in TEST() 228 ASSERT_EQ(ctrl[kCapacity], kSentinel); in TEST() 231 if (i == kCapacity) expected = kSentinel; in TEST() 241 const std::vector<ctrl_t> full_examples = {0, 1, 2, 3, 5, 9, 127, kSentinel}; in TEST()
|
D | raw_hash_set_benchmark.cc | 366 ctrl[capacity] = kSentinel; in BM_DropDeletes()
|
/external/skqp/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()
|
/external/image_io/src/base/ |
D | data_scanner.cc | 67 return DataScanner(DataScanner::kSentinel, sentinels); in CreateSentinelScanner() 319 case kSentinel: in Scan() 358 case kSentinel: in GetDescription() 384 return type_ == kSentinel ? literal_or_sentinels_ : ""; in GetSentenels() 387 char DataScanner::GetSentinel() const { return type_ == kSentinel ? data_ : 0; } in GetSentinel()
|
/external/skia/src/core/ |
D | SkFontDescriptor.cpp | 25 kSentinel = 0xFF, enumerator 84 for (size_t id; (id = read_id(stream)) != kSentinel;) { in Deserialize() 171 stream->writePackedUInt(kSentinel); in serialize()
|
/external/abseil-cpp/absl/container/internal/ |
D | raw_hash_set.h | 259 kSentinel = -1, // 0b11111111 262 kEmpty & kDeleted & kSentinel & 0x80, 264 static_assert(kEmpty < kSentinel && kDeleted < kSentinel, 267 static_assert(kSentinel == -1, 273 static_assert(~kEmpty & ~kDeleted & kSentinel & 0x7F, 285 kSentinel, kEmpty, kEmpty, kEmpty, kEmpty, kEmpty, kEmpty, kEmpty, 313 inline bool IsEmptyOrDeleted(ctrl_t c) { return c < kSentinel; } 360 auto special = _mm_set1_epi8(kSentinel); 367 auto special = _mm_set1_epi8(kSentinel); 462 assert(ctrl[capacity] == kSentinel); [all …]
|
D | raw_hash_set_test.cc | 164 ctrl_t group[] = {kEmpty, 1, kDeleted, 3, kEmpty, 5, kSentinel, 7, in TEST() 172 ctrl_t group[] = {kEmpty, 1, 2, kDeleted, 2, 1, kSentinel, 1}; in TEST() 183 ctrl_t group[] = {kEmpty, 1, kDeleted, 3, kEmpty, 5, kSentinel, 7, in TEST() 187 ctrl_t group[] = {kEmpty, 1, 2, kDeleted, 2, 1, kSentinel, 1}; in TEST() 196 ctrl_t group[] = {kEmpty, 1, kDeleted, 3, kEmpty, 5, kSentinel, 7, in TEST() 200 ctrl_t group[] = {kEmpty, 1, 2, kDeleted, 2, 1, kSentinel, 1}; in TEST() 211 ctrl[kCapacity] = kSentinel; in TEST() 219 ASSERT_EQ(ctrl[kCapacity], kSentinel); in TEST() 222 if (i == kCapacity) expected = kSentinel; in TEST() 232 const std::vector<ctrl_t> full_examples = {0, 1, 2, 3, 5, 9, 127, kSentinel}; in TEST()
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/container/internal/ |
D | raw_hash_set.h | 274 kSentinel = -1, // 0b11111111 277 kEmpty & kDeleted & kSentinel & 0x80, 279 static_assert(kEmpty < kSentinel && kDeleted < kSentinel, 282 static_assert(kSentinel == -1, 288 static_assert(~kEmpty & ~kDeleted & kSentinel & 0x7F, 300 kSentinel, kEmpty, kEmpty, kEmpty, kEmpty, kEmpty, kEmpty, kEmpty, 328 inline bool IsEmptyOrDeleted(ctrl_t c) { return c < kSentinel; } 375 auto special = _mm_set1_epi8(kSentinel); 382 auto special = _mm_set1_epi8(kSentinel); 477 assert(ctrl[capacity] == kSentinel); [all …]
|
D | raw_hash_set_test.cc | 165 ctrl_t group[] = {kEmpty, 1, kDeleted, 3, kEmpty, 5, kSentinel, 7, in TEST() 173 ctrl_t group[] = {kEmpty, 1, 2, kDeleted, 2, 1, kSentinel, 1}; in TEST() 184 ctrl_t group[] = {kEmpty, 1, kDeleted, 3, kEmpty, 5, kSentinel, 7, in TEST() 188 ctrl_t group[] = {kEmpty, 1, 2, kDeleted, 2, 1, kSentinel, 1}; in TEST() 197 ctrl_t group[] = {kEmpty, 1, kDeleted, 3, kEmpty, 5, kSentinel, 7, in TEST() 201 ctrl_t group[] = {kEmpty, 1, 2, kDeleted, 2, 1, kSentinel, 1}; in TEST() 212 ctrl[kCapacity] = kSentinel; in TEST() 220 ASSERT_EQ(ctrl[kCapacity], kSentinel); in TEST() 223 if (i == kCapacity) expected = kSentinel; in TEST() 233 const std::vector<ctrl_t> full_examples = {0, 1, 2, 3, 5, 9, 127, kSentinel}; in TEST()
|
/external/libtextclassifier/abseil-cpp/absl/container/internal/ |
D | raw_hash_set.h | 274 kSentinel = -1, // 0b11111111 277 kEmpty & kDeleted & kSentinel & 0x80, 279 static_assert(kEmpty < kSentinel && kDeleted < kSentinel, 282 static_assert(kSentinel == -1, 288 static_assert(~kEmpty & ~kDeleted & kSentinel & 0x7F, 300 kSentinel, kEmpty, kEmpty, kEmpty, kEmpty, kEmpty, kEmpty, kEmpty, 328 inline bool IsEmptyOrDeleted(ctrl_t c) { return c < kSentinel; } 375 auto special = _mm_set1_epi8(kSentinel); 382 auto special = _mm_set1_epi8(kSentinel); 477 assert(ctrl[capacity] == kSentinel); [all …]
|
D | raw_hash_set_test.cc | 165 ctrl_t group[] = {kEmpty, 1, kDeleted, 3, kEmpty, 5, kSentinel, 7, in TEST() 173 ctrl_t group[] = {kEmpty, 1, 2, kDeleted, 2, 1, kSentinel, 1}; in TEST() 184 ctrl_t group[] = {kEmpty, 1, kDeleted, 3, kEmpty, 5, kSentinel, 7, in TEST() 188 ctrl_t group[] = {kEmpty, 1, 2, kDeleted, 2, 1, kSentinel, 1}; in TEST() 197 ctrl_t group[] = {kEmpty, 1, kDeleted, 3, kEmpty, 5, kSentinel, 7, in TEST() 201 ctrl_t group[] = {kEmpty, 1, 2, kDeleted, 2, 1, kSentinel, 1}; in TEST() 212 ctrl[kCapacity] = kSentinel; in TEST() 220 ASSERT_EQ(ctrl[kCapacity], kSentinel); in TEST() 223 if (i == kCapacity) expected = kSentinel; in TEST() 233 const std::vector<ctrl_t> full_examples = {0, 1, 2, 3, 5, 9, 127, kSentinel}; in TEST()
|
/external/webrtc/third_party/abseil-cpp/absl/container/internal/ |
D | raw_hash_set.h | 259 kSentinel = -1, // 0b11111111 262 kEmpty & kDeleted & kSentinel & 0x80, 264 static_assert(kEmpty < kSentinel && kDeleted < kSentinel, 267 static_assert(kSentinel == -1, 273 static_assert(~kEmpty & ~kDeleted & kSentinel & 0x7F, 285 kSentinel, kEmpty, kEmpty, kEmpty, kEmpty, kEmpty, kEmpty, kEmpty, 313 inline bool IsEmptyOrDeleted(ctrl_t c) { return c < kSentinel; } 360 auto special = _mm_set1_epi8(kSentinel); 367 auto special = _mm_set1_epi8(kSentinel); 462 assert(ctrl[capacity] == kSentinel); [all …]
|
D | raw_hash_set_test.cc | 164 ctrl_t group[] = {kEmpty, 1, kDeleted, 3, kEmpty, 5, kSentinel, 7, in TEST() 172 ctrl_t group[] = {kEmpty, 1, 2, kDeleted, 2, 1, kSentinel, 1}; in TEST() 183 ctrl_t group[] = {kEmpty, 1, kDeleted, 3, kEmpty, 5, kSentinel, 7, in TEST() 187 ctrl_t group[] = {kEmpty, 1, 2, kDeleted, 2, 1, kSentinel, 1}; in TEST() 196 ctrl_t group[] = {kEmpty, 1, kDeleted, 3, kEmpty, 5, kSentinel, 7, in TEST() 200 ctrl_t group[] = {kEmpty, 1, 2, kDeleted, 2, 1, kSentinel, 1}; in TEST() 211 ctrl[kCapacity] = kSentinel; in TEST() 219 ASSERT_EQ(ctrl[kCapacity], kSentinel); in TEST() 222 if (i == kCapacity) expected = kSentinel; in TEST() 232 const std::vector<ctrl_t> full_examples = {0, 1, 2, 3, 5, 9, 127, kSentinel}; in TEST()
|
/external/skia/src/gpu/geometry/ |
D | GrQuadBuffer.h | 152 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()
|
/external/image_io/includes/image_io/base/ |
D | data_scanner.h | 41 kSentinel, enumerator
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/cipher_extra/ |
D | aead_test.cc | 434 constexpr uint8_t kSentinel = 42; in TEST_P() local 435 OPENSSL_memset(ciphertext, kSentinel, sizeof(ciphertext)); in TEST_P() 443 EXPECT_EQ(kSentinel, ciphertext[i]) in TEST_P() 454 OPENSSL_memset(plaintext2, kSentinel, sizeof(plaintext2)); in TEST_P() 464 EXPECT_EQ(kSentinel, plaintext2[i]) in TEST_P()
|
/external/boringssl/src/crypto/cipher_extra/ |
D | aead_test.cc | 507 constexpr uint8_t kSentinel = 42; in TEST_P() local 508 OPENSSL_memset(ciphertext, kSentinel, sizeof(ciphertext)); in TEST_P() 516 EXPECT_EQ(kSentinel, ciphertext[i]) in TEST_P() 527 OPENSSL_memset(plaintext2, kSentinel, sizeof(plaintext2)); in TEST_P() 537 EXPECT_EQ(kSentinel, plaintext2[i]) in TEST_P()
|