Home
last modified time | relevance | path

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

123

/third_party/node/test/parallel/
Dtest-webcrypto-digest.js36 const kData = (new TextEncoder()).encode('hello');
41 createHash(test[1]).update(kData).digest().toString('hex');
45 subtle.digest({ name: test[0] }, kData),
46 subtle.digest({ name: test[0], length: test[2] }, kData),
47 subtle.digest(test[0], kData),
48 subtle.digest(test[0], kData.buffer),
49 subtle.digest(test[0], new DataView(kData.buffer)),
50 subtle.digest(test[0], Buffer.from(kData)),
56 kData[0] = 0x1;
57 kData[2] = 0x2;
[all …]
Dtest-webcrypto-random.js58 let kData; variable
60 kData = Buffer.alloc(65536 + 1);
65 if (kData !== undefined) {
67 () => webcrypto.getRandomValues(kData),
/third_party/skia/third_party/externals/zlib/google/
Dcompression_utils_unittest.cc21 const uint8_t kData[] = {0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x20, variable
36 std::string data(reinterpret_cast<const char*>(kData), base::size(kData)); in TEST()
52 std::string golden_data(reinterpret_cast<const char*>(kData), in TEST()
53 base::size(kData)); in TEST()
61 std::string golden_data(reinterpret_cast<const char*>(kData), in TEST()
62 base::size(kData)); in TEST()
86 const std::string original_data(reinterpret_cast<const char*>(kData), in TEST()
87 base::size(kData)); in TEST()
/third_party/node/deps/v8/third_party/zlib/google/
Dcompression_utils_unittest.cc21 const uint8_t kData[] = {0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x20, variable
36 std::string data(reinterpret_cast<const char*>(kData), std::size(kData)); in TEST()
52 std::string golden_data(reinterpret_cast<const char*>(kData), in TEST()
53 std::size(kData)); in TEST()
61 std::string golden_data(reinterpret_cast<const char*>(kData), in TEST()
62 std::size(kData)); in TEST()
86 const std::string original_data(reinterpret_cast<const char*>(kData), in TEST()
87 std::size(kData)); in TEST()
/third_party/node/deps/zlib/google/
Dcompression_utils_unittest.cc21 const uint8_t kData[] = {0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x20, variable
36 std::string data(reinterpret_cast<const char*>(kData), std::size(kData)); in TEST()
52 std::string golden_data(reinterpret_cast<const char*>(kData), in TEST()
53 std::size(kData)); in TEST()
61 std::string golden_data(reinterpret_cast<const char*>(kData), in TEST()
62 std::size(kData)); in TEST()
86 const std::string original_data(reinterpret_cast<const char*>(kData), in TEST()
87 std::size(kData)); in TEST()
/third_party/node/deps/v8/src/objects/
Dliteral-objects.cc58 if (value_kind == ClassBoilerplate::kData) { in AddToDescriptorArrayTemplate()
72 if (value_kind == ClassBoilerplate::kData) { in AddToDescriptorArrayTemplate()
175 value_kind != ClassBoilerplate::kData ? PropertyKind::kAccessor in AddToDictionaryTemplate()
176 : PropertyKind::kData, in AddToDictionaryTemplate()
178 if (value_kind == ClassBoilerplate::kData) { in AddToDictionaryTemplate()
208 if (value_kind == ClassBoilerplate::kData) { in AddToDictionaryTemplate()
226 PropertyKind::kData, DONT_ENUM, in AddToDictionaryTemplate()
274 DCHECK(value_kind == ClassBoilerplate::kData); in AddToDictionaryTemplate()
288 PropertyKind::kData, DONT_ENUM, in AddToDictionaryTemplate()
301 PropertyKind::kData, DONT_ENUM, in AddToDictionaryTemplate()
[all …]
Dproperty.cc92 PropertyDetails details(PropertyKind::kData, attributes, in DataField()
101 return Descriptor(key, MaybeObjectHandle(value), PropertyKind::kData, in DataConstant()
127 os << (kind() == PropertyKind::kData ? "data" : "accessor"); in PrintAsSlowTo()
138 os << (kind() == PropertyKind::kData ? "data" : "accessor"); in PrintAsFastTo()
Dlookup.cc379 DCHECK_EQ(PropertyKind::kData, property_details_.kind()); in PrepareForDataProperty()
489 isolate_, old_map, descriptor_number(), i::PropertyKind::kData, in ReconfigureDataProperty()
516 PropertyDetails details(PropertyKind::kData, attributes, in ReconfigureDataProperty()
528 PropertyDetails details(PropertyKind::kData, attributes, in ReconfigureDataProperty()
592 PropertyDetails(PropertyKind::kData, attributes, in PrepareTransitionToDataProperty()
600 PropertyDetails(PropertyKind::kData, attributes, in PrepareTransitionToDataProperty()
617 PropertyDetails(PropertyKind::kData, attributes, in PrepareTransitionToDataProperty()
904 DCHECK_EQ(PropertyKind::kData, property_details_.kind()); in FetchValue()
1019 DCHECK_EQ(PropertyKind::kData, property_details_.kind()); in GetFieldDescriptorIndex()
1063 DCHECK_EQ(PropertyKind::kData, property_details_.kind()); in GetDataValue()
[all …]
Dmap-updater.cc189 new_kind_ = PropertyKind::kData; in ReconfigureToDataField()
617 DCHECK_EQ(PropertyKind::kData, old_details.kind()); in FindRootMap()
618 DCHECK_EQ(PropertyKind::kData, new_kind_); in FindRootMap()
853 if (next_kind == PropertyKind::kData) { in BuildDescriptorArray()
900 if (next_kind == PropertyKind::kData) { in BuildDescriptorArray()
916 if (next_kind == PropertyKind::kData) { in BuildDescriptorArray()
1079 os << ": " << (kind == PropertyKind::kData ? "kData" : "ACCESSORS") in PrintReconfiguration()
1095 DCHECK_EQ(PropertyKind::kData, kind); // Only kData case is supported so far. in ReconfigureExistingProperty()
1124 DCHECK_EQ(PropertyKind::kData, details.kind()); in UpdateFieldType()
Dproperty-descriptor.cc65 if (details.kind() == PropertyKind::kData) { in ToPropertyDescriptorFastPath()
77 if (details.kind() == PropertyKind::kData) { in ToPropertyDescriptorFastPath()
Dtransitions.cc269 Map target = SearchTransition(*name, PropertyKind::kData, attributes); in FindTransitionToDataProperty()
273 DCHECK_EQ(PropertyKind::kData, details.kind()); in FindTransitionToDataProperty()
727 PropertyKind kind = PropertyKind::kData; in Sort()
740 PropertyKind temp_kind = PropertyKind::kData; in Sort()
Dliteral-objects.h96 enum ValueKind { kData, kGetter, kSetter }; enumerator
Dmap-updater.h231 PropertyKind new_kind_ = PropertyKind::kData;
Dproperty-details.h87 enum class PropertyKind { kData = 0, kAccessor = 1 }; enumerator
306 return PropertyDetails(PropertyKind::kData, NONE, cell_type);
/third_party/skia/third_party/externals/abseil-cpp/absl/random/
Dexamples_test.cc89 const char kData[] = "A simple seed string"; in TEST() local
90 std::seed_seq my_seed(std::begin(kData), std::end(kData)); in TEST()
/third_party/icu/icu4c/source/test/intltest/
Dtztest.cpp1164 kData[] = in TestCustomParse() local
1194 for (i=0; kData[i].customId != 0; i++) { in TestCustomParse()
1195 UnicodeString id(kData[i].customId); in TestCustomParse()
1196 int32_t exp = kData[i].expectedOffset; in TestCustomParse()
1237 } kData[] = { in TestAliasedNames() local
1386 for(i = 0; i < UPRV_LENGTHOF(kData); i++) { in TestAliasedNames()
1387 from = TimeZone::createTimeZone(kData[i].from); in TestAliasedNames()
1388 to = TimeZone::createTimeZone(kData[i].to); in TestAliasedNames()
1404 + " to id "+ kData[i].to in TestAliasedNames()
1405 + " from id " + kData[i].from); in TestAliasedNames()
[all …]
/third_party/gn/src/gn/
Dsource_file_unittest.cc26 } kData[] = { in TEST() local
59 for (const auto& data : kData) { in TEST()
/third_party/node/deps/v8/src/wasm/
Dvalue-type.h66 kData, // shorthand: o enumerator
86 return HeapType(kData); in from_code()
137 case kData: in name()
160 case kData: in code()
474 case HeapType::kData: in value_type_code()
503 heap_representation() != HeapType::kData; in encoding_needs_heap_type()
610 ValueType::Ref(HeapType::kData, kNonNullable);
Dwasm-subtyping.cc174 case HeapType::kData: in IsSubtypeOfImpl()
178 return super_heap == HeapType::kArray || super_heap == HeapType::kData || in IsSubtypeOfImpl()
194 case HeapType::kData: in IsSubtypeOfImpl()
/third_party/node/lib/internal/worker/
Dio.js68 const kData = Symbol('kData'); constant
128 return value != null && kData in value;
140 this[kData] = data;
159 return this[kData];
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DQueueTests.cpp655 constexpr uint8_t kData[] = {1, 2}; in TEST_P() local
668 queue.WriteTexture(&imageCopyTexture, kData, sizeof(kData), &textureDataLayout, in TEST_P()
676 expectedData[kOutputBufferOffset1] = kData[kDataOffset1]; in TEST_P()
689 queue.WriteTexture(&imageCopyTexture, kData, sizeof(kData), &textureDataLayout, in TEST_P()
697 expectedData[kOutputBufferOffset2] = kData[kDataOffset2]; in TEST_P()
/third_party/skia/tools/skpbench/
Dskpbench.cpp123 kData = 65, enumerator
538 exitf(ExitErr::kData, "failed to parse file %s", srcfile.c_str()); in main()
706 exitf(ExitErr::kData, "failed to build svg dom from file %s", filename); in create_skp_from_svg()
718 exitf(ExitErr::kData, "SK_ENABLE_SVG is disabled; cannot open svg file %s", filename); in create_skp_from_svg()
/third_party/node/deps/v8/src/api/
Dapi-natives.cc247 if (kind == PropertyKind::kData) { in ConfigureInstance()
266 DCHECK_EQ(PropertyKind::kData, details.kind()); in ConfigureInstance()
628 PropertyDetails details(PropertyKind::kData, attributes, in AddDataProperty()
640 PropertyDetails details(PropertyKind::kData, attributes, in AddDataProperty()
/third_party/node/deps/v8/src/builtins/
Dbuiltins-struct.cc60 PropertyKind::kData, SEALED, PropertyLocation::kField, in BUILTIN()
/third_party/node/deps/v8/src/compiler/
Daccess-info.cc654 if (details.kind() == PropertyKind::kData) { in ComputeDictionaryProtoAccessInfo()
770 if (details.kind() == PropertyKind::kData && holder.has_value()) { in ComputePropertyAccessInfo()
814 if (details.kind() == PropertyKind::kData) { in ComputePropertyAccessInfo()
1092 .SearchTransition(*name.object(), PropertyKind::kData, attrs); in LookupTransition()

123