/external/boringssl/src/crypto/pool/ |
D | pool_test.cc | 23 static const uint8_t kData[4] = {1, 2, 3, 4}; in TEST() local 25 CRYPTO_BUFFER_new(kData, sizeof(kData), nullptr)); in TEST() 28 EXPECT_EQ(Bytes(kData), in TEST() 48 static const uint8_t kData[4] = {1, 2, 3, 4}; in TEST() local 50 CRYPTO_BUFFER_new(kData, sizeof(kData), pool.get())); in TEST() 54 CRYPTO_BUFFER_new(kData, sizeof(kData), pool.get())); in TEST()
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/rtcp_packet/ |
D | app_unittest.cc | 67 const uint8_t kData[] = {'t', 'e', 's', 't', 'd', 'a', 't', 'a'}; in TEST_F() local 68 const size_t kDataLength = sizeof(kData) / sizeof(kData[0]); in TEST_F() 69 app.WithData(kData, kDataLength); in TEST_F() 77 EXPECT_EQ(0, memcmp(kData, parsed().data(), kDataLength)); in TEST_F()
|
/external/v8/src/ |
D | property.cc | 38 PropertyDetails details(kData, attributes, kField, constness, representation, in DataField() 52 return Descriptor(key, value, kData, attributes, kDescriptor, kConst, in DataConstant() 61 os << (kind() == kData ? "data" : "accessor"); in PrintAsSlowTo() 70 os << (kind() == kData ? "data" : "accessor"); in PrintAsFastTo()
|
D | lookup.cc | 240 DCHECK_EQ(kData, property_details_.kind()); in PrepareForDataProperty() 282 old_map, descriptor_number(), i::kData, attributes); in ReconfigureDataProperty() 290 PropertyDetails details(kData, attributes, 0, PropertyCellType::kMutable); in ReconfigureDataProperty() 358 property_details_ = PropertyDetails(kData, attributes, index, in PrepareTransitionToDataProperty() 369 PropertyDetails(kData, attributes, 0, PropertyCellType::kNoCell); in PrepareTransitionToDataProperty() 383 PropertyDetails(kData, attributes, 0, PropertyCellType::kNoCell); in PrepareTransitionToDataProperty() 607 DCHECK_EQ(kData, property_details_.kind()); in FetchValue() 655 DCHECK_EQ(kData, property_details_.kind()); in GetFieldDescriptorIndex() 672 DCHECK_EQ(kData, property_details_.kind()); in GetConstantIndex() 840 case v8::internal::kData: in LookupInSpecialHolder() [all …]
|
D | map-updater.cc | 95 new_kind_ = kData; in ReconfigureToDataField() 255 DCHECK_EQ(kData, old_details.kind()); in FindRootMap() 256 DCHECK_EQ(kData, new_kind_); in FindRootMap() 467 if (next_kind == kData) { in BuildDescriptorArray() 483 if (next_kind == kData) { in BuildDescriptorArray() 513 if (next_kind == kData) { in BuildDescriptorArray() 529 if (next_kind == kData) { in BuildDescriptorArray()
|
D | property-descriptor.cc | 65 if (details.kind() == kData) { in ToPropertyDescriptorFastPath() 77 if (details.kind() == kData) { in ToPropertyDescriptorFastPath()
|
D | map-updater.h | 164 PropertyKind new_kind_ = kData;
|
D | api-natives.cc | 231 if (kind == kData) { in ConfigureInstance() 249 DCHECK_EQ(kData, details.kind()); in ConfigureInstance() 551 PropertyDetails details(kData, attributes, 0, PropertyCellType::kNoCell); in AddDataProperty() 563 PropertyDetails details(kData, attributes, 0, PropertyCellType::kNoCell); in AddDataProperty()
|
D | property.h | 43 return Descriptor(key, value, kData, attributes, kDescriptor, kConst, in DataConstant()
|
D | transitions.cc | 201 Map* target = SearchTransition(*map, kData, *name, NONE); in FindTransitionToField() 206 DCHECK_EQ(kData, details.kind()); in FindTransitionToField() 219 DCHECK_EQ(kData, details.kind()); in ExpectedTransitionKey()
|
D | property-details.h | 71 enum PropertyKind { kData = 0, kAccessor = 1 }; enumerator 255 return PropertyDetails(kData, NONE, 0, cell_type);
|
D | elements.cc | 1056 if (details.kind() == kData) { in CollectValuesOrEntriesImpl() 1297 return PropertyDetails(kData, NONE, 0, PropertyCellType::kNoCell); in GetDetailsImpl() 1301 return PropertyDetails(kData, NONE, 0, PropertyCellType::kNoCell); in GetDetailsImpl() 1467 details = PropertyDetails(kData, attributes, details.dictionary_index(), in ReconfigureImpl() 1475 PropertyDetails details(kData, attributes, 0, PropertyCellType::kNoCell); in AddImpl() 1687 case kData: { in IncludesValueImpl() 1754 case kData: { in IndexOfValueImpl() 2774 return PropertyDetails(kData, DONT_DELETE, 0, PropertyCellType::kNoCell); in GetDetailsImpl() 2779 return PropertyDetails(kData, DONT_DELETE, 0, PropertyCellType::kNoCell); in GetDetailsImpl() 3150 return PropertyDetails(kData, NONE, 0, PropertyCellType::kNoCell); in GetDetailsImpl() [all …]
|
/external/libchrome/base/files/ |
D | file_unittest.cc | 398 const char kData[] = "test"; local 399 const int kDataSize = sizeof(kData) - 1; 400 EXPECT_EQ(kDataSize, file.Write(0, kData, kDataSize)); 410 EXPECT_EQ(std::string(buffer, buffer + kDataSize), std::string(kData)); 423 const char kData[] = "test"; local 424 const int kDataSize = sizeof(kData) - 1; 427 EXPECT_EQ(first_chunk_size, file.WriteAtCurrentPos(kData, first_chunk_size)); 429 file.WriteAtCurrentPos(kData + first_chunk_size, 434 EXPECT_EQ(std::string(buffer, buffer + kDataSize), std::string(kData)); 467 static const char kData[] = "now is a good time."; local [all …]
|
/external/pdfium/fpdfsdk/ |
D | fpdftext_embeddertest.cpp | 529 static constexpr unsigned int kData[] = { in TEST_F() local 535 for (size_t i = 0; i < FX_ArraySize(kData); ++i) in TEST_F() 536 EXPECT_EQ(kData[i], FPDFText_GetUnicode(textpage, kStartIndex + i)); in TEST_F() 538 unsigned short buffer[FX_ArraySize(kData) + 1]; in TEST_F() 541 FPDFText_GetText(textpage, kStartIndex, FX_ArraySize(kData), buffer); in TEST_F() 543 ASSERT_EQ(FX_ArraySize(kData) + 1, static_cast<size_t>(count)); in TEST_F() 544 for (size_t i = 0; i < FX_ArraySize(kData); ++i) in TEST_F() 545 EXPECT_EQ(kData[i], buffer[i]); in TEST_F() 546 EXPECT_EQ(0, buffer[FX_ArraySize(kData)]); in TEST_F()
|
/external/icu/icu4c/source/test/intltest/ |
D | tztest.cpp | 1136 kData[] = in TestCustomParse() local 1166 for (i=0; kData[i].customId != 0; i++) { in TestCustomParse() 1167 UnicodeString id(kData[i].customId); in TestCustomParse() 1168 int32_t exp = kData[i].expectedOffset; in TestCustomParse() 1207 } kData[] = { in TestAliasedNames() local 1357 for(i = 0; i < UPRV_LENGTHOF(kData); i++) { in TestAliasedNames() 1358 from = TimeZone::createTimeZone(kData[i].from); in TestAliasedNames() 1359 to = TimeZone::createTimeZone(kData[i].to); in TestAliasedNames() 1375 + " to id "+ kData[i].to in TestAliasedNames() 1376 + " from id " + kData[i].from); in TestAliasedNames() [all …]
|
/external/boringssl/src/crypto/bytestring/ |
D | bytestring_test.cc | 36 static const uint8_t kData[] = {1, 2, 3}; in TEST() local 39 CBS_init(&data, kData, sizeof(kData)); in TEST() 49 static const uint8_t kData[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; in TEST() local 55 CBS_init(&data, kData, sizeof(kData)); in TEST() 73 static const uint8_t kData[] = {1, 2, 0, 2, 3, 4, 0, 0, 3, 3, 2, 1}; in TEST() local 79 CBS_init(&data, kData, sizeof(kData)); in TEST()
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
D | rtcp_sender_unittest.cc | 376 const uint8_t kData[] = {'t', 'e', 's', 't', 'd', 'a', 't', 'a'}; in TEST_F() local 377 const uint16_t kDataLength = sizeof(kData) / sizeof(kData[0]); in TEST_F() 378 EXPECT_EQ(0, rtcp_sender_->SetApplicationSpecificData(kSubType, name, kData, in TEST_F() 387 EXPECT_EQ(0, strncmp(reinterpret_cast<const char*>(kData), in TEST_F() 408 const uint8_t kData[] = {'t', 'e', 's', 't', 'd', 'a', 't'}; in TEST_F() local 409 const uint16_t kInvalidDataLength = sizeof(kData) / sizeof(kData[0]); in TEST_F() 411 0, 0, kData, kInvalidDataLength)); // Should by multiple of 4. in TEST_F()
|
D | rtcp_packet_unittest.cc | 146 const char kData[] = {'t', 'e', 's', 't', 'd', 'a', 't', 'a'}; in TEST() local 147 const size_t kDataLength = sizeof(kData) / sizeof(kData[0]); in TEST() 148 app.WithData((const uint8_t*)kData, kDataLength); in TEST() 158 EXPECT_EQ(0, strncmp(kData, (const char*)parser.app_item()->Data(), in TEST()
|
D | rtcp_receiver_unittest.cc | 434 const char kData[] = {'t', 'e', 's', 't', 'd', 'a', 't', 'a'}; in TEST_F() local 435 const size_t kDataLength = sizeof(kData) / sizeof(kData[0]); in TEST_F() 436 app.WithData((const uint8_t*)kData, kDataLength); in TEST_F()
|
/external/pdfium/core/fpdfdoc/ |
D | cpdf_nametree_unittest.cpp | 84 constexpr char kData[] = "\xFE\xFF\x00\x31"; in TEST() local 85 for (size_t i = 0; i < sizeof(kData); ++i) in TEST() 86 buf.put(kData[i]); in TEST()
|
/external/v8/src/compiler/ |
D | access-info.cc | 298 if (details.kind() == kData && !holder.is_null()) { in ComputePropertyAccessInfo() 306 if (details.kind() == kData) { in ComputePropertyAccessInfo() 356 if (details.kind() == kData) { in ComputePropertyAccessInfo() 527 if (TransitionArray::SearchTransition(map, kData, name, NONE) in LookupTransition()
|
/external/v8/src/ic/ |
D | handler-compiler.cc | 168 inline_followup = details.kind() == kData && in CompileLoadInterceptor() 280 DCHECK_EQ(kData, it->property_details().kind()); in GenerateLoadPostInterceptor()
|
/external/skia/tools/skpbench/ |
D | skpbench.cpp | 90 kData = 65, enumerator 264 exitf(ExitErr::kData, "failed to parse skp file %s", skpfile); in main()
|
/external/skqp/tools/skpbench/ |
D | skpbench.cpp | 90 kData = 65, enumerator 264 exitf(ExitErr::kData, "failed to parse skp file %s", skpfile); in main()
|
/external/v8/src/builtins/ |
D | builtins-handler.cc | 248 STATIC_ASSERT(kData == 0); in TF_BUILTIN()
|