/external/boringssl/src/crypto/pool/ |
D | pool_test.cc | 28 static const uint8_t kData[4] = {1, 2, 3, 4}; in TEST() local 30 CRYPTO_BUFFER_new(kData, sizeof(kData), nullptr)); in TEST() 33 EXPECT_EQ(Bytes(kData), in TEST() 52 static const uint8_t kData[4] = {1, 2, 3, 4}; in TEST() local 54 CRYPTO_BUFFER_new(kData, sizeof(kData), pool.get())); in TEST() 58 CRYPTO_BUFFER_new(kData, sizeof(kData), pool.get())); in TEST() 70 static const uint8_t kData[4] = {1, 2, 3, 4}; in TEST() local 75 buf.reset(CRYPTO_BUFFER_new(kData, sizeof(kData), pool.get())); in TEST() 78 buf2.reset(CRYPTO_BUFFER_new(kData, sizeof(kData), pool.get())); in TEST() 91 EXPECT_EQ(Bytes(kData), in TEST() [all …]
|
/external/libchrome/base/memory/ |
D | ref_counted_memory_unittest.cc | 41 const unsigned char kData[] = {12, 11, 99}; in TEST() local 42 mem2 = MakeRefCounted<RefCountedBytes>(kData, arraysize(kData)); in TEST() 77 static const char kData[] = "shm_dummy_data"; in TEST() local 79 ASSERT_TRUE(shm->CreateAndMapAnonymous(sizeof(kData))); in TEST() 80 memcpy(shm->memory(), kData, sizeof(kData)); in TEST() 83 MakeRefCounted<RefCountedSharedMemory>(std::move(shm), sizeof(kData)); in TEST() 84 ASSERT_EQ(sizeof(kData), mem->size()); in TEST() 91 static const char kData[] = "mem_region_dummy_data"; in TEST() local 95 ReadOnlySharedMemoryRegion::Create(sizeof(kData)); in TEST() 99 memcpy(rw_mapping.memory(), kData, sizeof(kData)); in TEST() [all …]
|
/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 | 60 PropertyDetails details(kData, attributes, kField, constness, representation, in DataField() 67 return Descriptor(key, MaybeObjectHandle(value), kData, attributes, in DataConstant() 81 return Descriptor(key, MaybeObjectHandle(value), kData, attributes, in DataConstant() 99 os << (kind() == kData ? "data" : "accessor"); in PrintAsSlowTo() 108 os << (kind() == kData ? "data" : "accessor"); in PrintAsFastTo()
|
D | lookup.cc | 95 details = PropertyDetails(kData, NONE, PropertyCellType::kNoCell); in ForTransitionHandler() 430 DCHECK_EQ(kData, property_details_.kind()); in PrepareForDataProperty() 482 isolate_, old_map, descriptor_number(), i::kData, attributes); in ReconfigureDataProperty() 493 PropertyDetails details(kData, attributes, PropertyCellType::kMutable); in ReconfigureDataProperty() 574 kData, attributes, PropertyCellType::kUninitialized, index); in PrepareTransitionToDataProperty() 584 PropertyDetails(kData, attributes, PropertyCellType::kNoCell); in PrepareTransitionToDataProperty() 599 PropertyDetails(kData, attributes, PropertyCellType::kNoCell); in PrepareTransitionToDataProperty() 847 DCHECK_EQ(kData, property_details_.kind()); in FetchValue() 895 DCHECK_EQ(kData, property_details_.kind()); in GetFieldDescriptorIndex() 912 DCHECK_EQ(kData, property_details_.kind()); in GetConstantIndex() [all …]
|
D | map-updater.cc | 109 new_kind_ = kData; in ReconfigureToDataField() 284 DCHECK_EQ(kData, old_details.kind()); in FindRootMap() 285 DCHECK_EQ(kData, new_kind_); in FindRootMap() 524 if (next_kind == kData) { in BuildDescriptorArray() 540 if (next_kind == kData) { in BuildDescriptorArray() 578 if (next_kind == kData) { in BuildDescriptorArray() 595 if (next_kind == kData) { in BuildDescriptorArray()
|
D | transitions.cc | 252 Map* target = SearchTransition(*name, kData, attributes); in FindTransitionToDataProperty() 256 DCHECK_EQ(kData, details.kind()); in FindTransitionToDataProperty() 274 DCHECK_EQ(kData, details.kind()); in ExpectedTransitionKey() 599 PropertyKind kind = kData; in Sort() 612 PropertyKind temp_kind = kData; in Sort()
|
D | map-updater.h | 161 PropertyKind new_kind_ = kData;
|
D | property-descriptor.cc | 66 if (details.kind() == kData) { in ToPropertyDescriptorFastPath() 78 if (details.kind() == kData) { in ToPropertyDescriptorFastPath()
|
D | api-natives.cc | 241 if (kind == kData) { in ConfigureInstance() 259 DCHECK_EQ(kData, details.kind()); in ConfigureInstance() 580 PropertyDetails details(kData, attributes, PropertyCellType::kNoCell); in AddDataProperty() 592 PropertyDetails details(kData, attributes, PropertyCellType::kNoCell); in AddDataProperty()
|
D | property-details.h | 71 enum PropertyKind { kData = 0, kAccessor = 1 }; enumerator 257 return PropertyDetails(kData, NONE, cell_type);
|
D | elements.cc | 1103 if (details.kind() == kData) { in CollectValuesOrEntriesImpl() 1379 return PropertyDetails(kData, NONE, PropertyCellType::kNoCell); in GetDetailsImpl() 1383 return PropertyDetails(kData, NONE, PropertyCellType::kNoCell); in GetDetailsImpl() 1577 details = PropertyDetails(kData, attributes, PropertyCellType::kNoCell, in ReconfigureImpl() 1586 PropertyDetails details(kData, attributes, PropertyCellType::kNoCell); in AddImpl() 1796 case kData: { in IncludesValueImpl() 1865 case kData: { in IndexOfValueImpl() 2984 return PropertyDetails(kData, DONT_DELETE, PropertyCellType::kNoCell); in GetDetailsImpl() 2989 return PropertyDetails(kData, DONT_DELETE, PropertyCellType::kNoCell); in GetDetailsImpl() 3811 return PropertyDetails(kData, NONE, PropertyCellType::kNoCell); in GetDetailsImpl() [all …]
|
/external/libchrome/base/files/ |
D | file_unittest.cc | 444 const char kData[] = "test"; local 445 const int kDataSize = sizeof(kData) - 1; 446 EXPECT_EQ(kDataSize, file.Write(0, kData, kDataSize)); 456 EXPECT_EQ(std::string(buffer, buffer + kDataSize), std::string(kData)); 469 const char kData[] = "test"; local 470 const int kDataSize = sizeof(kData) - 1; 473 EXPECT_EQ(first_chunk_size, file.WriteAtCurrentPos(kData, first_chunk_size)); 475 file.WriteAtCurrentPos(kData + first_chunk_size, 480 EXPECT_EQ(std::string(buffer, buffer + kDataSize), std::string(kData)); 513 static const char kData[] = "now is a good time."; local [all …]
|
/external/v8/src/objects/ |
D | literal-objects.cc | 89 if (value_kind == ClassBoilerplate::kData) { in AddToDescriptorArrayTemplate() 105 if (value_kind == ClassBoilerplate::kData) { in AddToDescriptorArrayTemplate() 186 value_kind != ClassBoilerplate::kData ? kAccessor : kData, DONT_ENUM, in AddToDictionaryTemplate() 189 if (value_kind == ClassBoilerplate::kData) { in AddToDictionaryTemplate() 214 if (value_kind == ClassBoilerplate::kData) { in AddToDictionaryTemplate() 227 PropertyDetails details(kData, DONT_ENUM, PropertyCellType::kNoCell, in AddToDictionaryTemplate() 252 PropertyDetails details(kData, DONT_ENUM, PropertyCellType::kNoCell, in AddToDictionaryTemplate() 343 PropertyKind kind = is_accessor ? i::kAccessor : i::kData; in AddConstant() 520 value_kind = ClassBoilerplate::kData; in BuildClassBoilerplate()
|
D | literal-objects.h | 85 enum ValueKind { kData, kGetter, kSetter }; enumerator
|
/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/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/skqp/tools/skpbench/ |
D | skpbench.cpp | 109 kData = 65, enumerator 372 exitf(ExitErr::kData, "failed to parse file %s", srcfile.c_str()); in main() 516 exitf(ExitErr::kData, "failed to parse xml in file %s", filename); in create_skp_from_svg() 520 exitf(ExitErr::kData, "failed to build svg dom from file %s", filename); in create_skp_from_svg() 532 exitf(ExitErr::kData, "SK_XML is disabled; cannot open svg file %s", filename); in create_skp_from_svg()
|
/external/skia/tools/skpbench/ |
D | skpbench.cpp | 109 kData = 65, enumerator 372 exitf(ExitErr::kData, "failed to parse file %s", srcfile.c_str()); in main() 517 exitf(ExitErr::kData, "failed to parse xml in file %s", filename); in create_skp_from_svg() 521 exitf(ExitErr::kData, "failed to build svg dom from file %s", filename); in create_skp_from_svg() 533 exitf(ExitErr::kData, "SK_XML is disabled; cannot open svg file %s", filename); in create_skp_from_svg()
|
/external/boringssl/src/crypto/bytestring/ |
D | bytestring_test.cc | 32 static const uint8_t kData[] = {1, 2, 3}; in TEST() local 35 CBS_init(&data, kData, sizeof(kData)); in TEST() 45 static const uint8_t kData[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, in TEST() local 53 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/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 | 363 if (details.kind() == kData && !holder.is_null()) { in ComputePropertyAccessInfo() 371 if (details.kind() == kData) { in ComputePropertyAccessInfo() 419 if (details.kind() == kData) { in ComputePropertyAccessInfo() 666 TransitionsAccessor(isolate(), map).SearchTransition(*name, kData, NONE); in LookupTransition()
|