Home
last modified time | relevance | path

Searched refs:kData (Results 1 – 25 of 41) sorted by relevance

12

/external/boringssl/src/crypto/pool/
Dpool_test.cc23 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/
Dapp_unittest.cc67 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/
Dproperty.cc38 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()
Dlookup.cc240 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 …]
Dmap-updater.cc95 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()
Dproperty-descriptor.cc65 if (details.kind() == kData) { in ToPropertyDescriptorFastPath()
77 if (details.kind() == kData) { in ToPropertyDescriptorFastPath()
Dmap-updater.h164 PropertyKind new_kind_ = kData;
Dapi-natives.cc231 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()
Dproperty.h43 return Descriptor(key, value, kData, attributes, kDescriptor, kConst, in DataConstant()
Dtransitions.cc201 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()
Dproperty-details.h71 enum PropertyKind { kData = 0, kAccessor = 1 }; enumerator
255 return PropertyDetails(kData, NONE, 0, cell_type);
Delements.cc1056 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/
Dfile_unittest.cc398 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/
Dfpdftext_embeddertest.cpp529 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/
Dtztest.cpp1136 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/
Dbytestring_test.cc36 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/
Drtcp_sender_unittest.cc376 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()
Drtcp_packet_unittest.cc146 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()
Drtcp_receiver_unittest.cc434 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/
Dcpdf_nametree_unittest.cpp84 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/
Daccess-info.cc298 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/
Dhandler-compiler.cc168 inline_followup = details.kind() == kData && in CompileLoadInterceptor()
280 DCHECK_EQ(kData, it->property_details().kind()); in GenerateLoadPostInterceptor()
/external/skia/tools/skpbench/
Dskpbench.cpp90 kData = 65, enumerator
264 exitf(ExitErr::kData, "failed to parse skp file %s", skpfile); in main()
/external/skqp/tools/skpbench/
Dskpbench.cpp90 kData = 65, enumerator
264 exitf(ExitErr::kData, "failed to parse skp file %s", skpfile); in main()
/external/v8/src/builtins/
Dbuiltins-handler.cc248 STATIC_ASSERT(kData == 0); in TF_BUILTIN()

12