Home
last modified time | relevance | path

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

12

/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/test/cctest/
Dtest-transitions.cc34 CheckPropertyDetailsFieldsConsistency(DATA, kData, kField); in TEST()
35 CheckPropertyDetailsFieldsConsistency(DATA_CONSTANT, kData, kDescriptor); in TEST()
67 TransitionArray::SearchTransition(*map0, kData, *name1, attributes)); in TEST()
76 TransitionArray::SearchTransition(*map0, kData, *name1, attributes)); in TEST()
78 TransitionArray::SearchTransition(*map0, kData, *name2, attributes)); in TEST()
118 TransitionArray::SearchTransition(*map0, kData, *name1, attributes)); in TEST()
127 TransitionArray::SearchTransition(*map0, kData, *name1, attributes)); in TEST()
129 TransitionArray::SearchTransition(*map0, kData, *name2, attributes)); in TEST()
174 *map0, kData, *names[i], attributes)); in TEST()
224 *map0, kData, *name, attributes)); in TEST()
[all …]
Dtest-field-type-tracking.cc342 TransitionArray::SearchTransition(*map, kData, *name, attributes); in FollowDataTransition()
440 map, 0, kData, NONE, Representation::None(), none_type, FORCE_FIELD); in TEST()
453 map, 0, kData, NONE, Representation::None(), none_type, FORCE_FIELD); in TEST()
576 detach_point_map, detach_property_at_index, kData, NONE, in TestGeneralizeRepresentation()
593 Map::ReconfigureProperty(map, property_index, kData, NONE, in TestGeneralizeRepresentation()
894 map, i, kData, NONE, Representation::Double(), any_type, FORCE_FIELD); in TEST()
982 Map::ReconfigureExistingProperty(map2, kSplitProp, kData, NONE); in TestReconfigureDataFieldAttribute_GeneralizeRepresentation()
1067 Map::ReconfigureExistingProperty(map2, kSplitProp, kData, NONE); in TestReconfigureDataFieldAttribute_GeneralizeRepresentationTrivial()
1327 Map::ReconfigureExistingProperty(map2, kSplitProp, kData, NONE); in TestReconfigureProperty_CustomPropertyAfterTargetMap()
1575 TransitionArray::SearchTransition(*map2, kData, *name, NONE); in TEST()
[all …]
/external/libchrome/base/files/
Dfile_unittest.cc396 const char kData[] = "test"; local
397 const int kDataSize = sizeof(kData) - 1;
398 EXPECT_EQ(kDataSize, file.Write(0, kData, kDataSize));
408 EXPECT_EQ(std::string(buffer, buffer + kDataSize), std::string(kData));
420 const char kData[] = "test"; local
421 const int kDataSize = sizeof(kData) - 1;
424 EXPECT_EQ(first_chunk_size, file.WriteAtCurrentPos(kData, first_chunk_size));
426 file.WriteAtCurrentPos(kData + first_chunk_size,
431 EXPECT_EQ(std::string(buffer, buffer + kDataSize), std::string(kData));
464 static const char kData[] = "now is a good time."; local
[all …]
/external/boringssl/src/crypto/bytestring/
Dbytestring_test.cc33 static const uint8_t kData[] = {1, 2, 3}; in TestSkip() local
36 CBS_init(&data, kData, sizeof(kData)); in TestSkip()
46 static const uint8_t kData[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; in TestGetUint() local
52 CBS_init(&data, kData, sizeof(kData)); in TestGetUint()
65 static const uint8_t kData[] = {1, 2, 0, 2, 3, 4, 0, 0, 3, 3, 2, 1}; in TestGetPrefixed() local
71 CBS_init(&data, kData, sizeof(kData)); in TestGetPrefixed()
/external/icu/icu4c/source/test/intltest/
Dtztest.cpp1131 kData[] = in TestCustomParse() local
1161 for (i=0; kData[i].customId != 0; i++) { in TestCustomParse()
1162 UnicodeString id(kData[i].customId); in TestCustomParse()
1163 int32_t exp = kData[i].expectedOffset; in TestCustomParse()
1202 } kData[] = { in TestAliasedNames() local
1330 for(i = 0; i < (int32_t)(sizeof(kData)/sizeof(kData[0])); i++) { in TestAliasedNames()
1331 from = TimeZone::createTimeZone(kData[i].from); in TestAliasedNames()
1332 to = TimeZone::createTimeZone(kData[i].to); in TestAliasedNames()
1348 + " to id "+ kData[i].to in TestAliasedNames()
1349 + " from id " + kData[i].from); in TestAliasedNames()
[all …]
/external/v8/src/
Dproperty.cc36 os << (details.kind() == kData ? "data" : "accessor"); in operator <<()
50 os << (details.kind() == kData ? "data" : "accessor"); in operator <<()
Dproperty-details.h67 enum PropertyKind { kData = 0, kAccessor = 1 }; enumerator
79 DATA = (kField << 1) | kData,
80 DATA_CONSTANT = (kDescriptor << 1) | kData,
Dapi-natives.cc172 if (kind == kData) { in ConfigureInstance()
191 DCHECK_EQ(kData, details.kind()); in ConfigureInstance()
Dlookup.cc205 holder_map_, descriptor_number(), i::kData, attributes); in ReconfigureDataProperty()
685 case v8::internal::kData: in LookupInHolder()
Dobjects-debug.cc1180 PropertyKind prev_kind = kData; in IsSortedNoDuplicates()
1186 PropertyKind kind = kData; in IsSortedNoDuplicates()
Dtransitions.cc199 Map* target = SearchTransition(*map, kData, *name, NONE); in FindTransitionToField()
/external/skia/tests/
DBitmapCopyTest.cpp643 static const SkPMColor kData[] = { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
648 uint32_t swizData[SK_ARRAY_COUNT(kData)]; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
649 for (size_t i = 0; i < SK_ARRAY_COUNT(kData); ++i) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
650 swizData[i] = SkSwizzle_RB(kData[i]); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
667 const void* srcData = (kSkia8888_GrPixelConfig == desc.fConfig) ? kData : swizData; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
695 refData = (kRGBA_8888_SkColorType == dstBmp.colorType()) ? kData : swizData; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
697 refData = (kBGRA_8888_SkColorType == dstBmp.colorType()) ? kData : swizData; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/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/v8/src/compiler/
Daccess-info.cc254 if (details.kind() == kData && !holder.is_null()) { in ComputePropertyAccessInfo()
435 if (TransitionArray::SearchTransition(map, kData, name, NONE) in LookupTransition()
/external/v8/src/arm64/
Dcode-stubs-arm64.cc5414 PropertyDetails::KindField::encode(kData)); in Generate()
5445 PropertyDetails::KindField::encode(kData)); in Generate()
5449 PropertyDetails::KindField::encode(kData)); in Generate()
5453 PropertyDetails::KindField::encode(kData)); in Generate()
5464 PropertyDetails::KindField::encode(kData)); in Generate()
/external/v8/src/x64/
Dcode-stubs-x64.cc4938 PropertyDetails::KindField::encode(kData))); in Generate()
4969 PropertyDetails::KindField::encode(kData))); in Generate()
4974 PropertyDetails::KindField::encode(kData))); in Generate()
4979 PropertyDetails::KindField::encode(kData))); in Generate()
4991 PropertyDetails::KindField::encode(kData))); in Generate()
/external/v8/src/x87/
Dcode-stubs-x87.cc4884 PropertyDetails::KindField::encode(kData))); in Generate()
4915 PropertyDetails::KindField::encode(kData))); in Generate()
4920 PropertyDetails::KindField::encode(kData))); in Generate()
4925 PropertyDetails::KindField::encode(kData))); in Generate()
4937 PropertyDetails::KindField::encode(kData))); in Generate()
/external/v8/src/arm/
Dcode-stubs-arm.cc4990 PropertyDetails::KindField::encode(kData))); in Generate()
5022 PropertyDetails::KindField::encode(kData))); in Generate()
5026 PropertyDetails::KindField::encode(kData))); in Generate()
5030 PropertyDetails::KindField::encode(kData))); in Generate()
5041 PropertyDetails::KindField::encode(kData))); in Generate()
/external/v8/src/ia32/
Dcode-stubs-ia32.cc5204 PropertyDetails::KindField::encode(kData))); in Generate()
5235 PropertyDetails::KindField::encode(kData))); in Generate()
5240 PropertyDetails::KindField::encode(kData))); in Generate()
5245 PropertyDetails::KindField::encode(kData))); in Generate()
5257 PropertyDetails::KindField::encode(kData))); in Generate()
/external/v8/src/mips/
Dcode-stubs-mips.cc5217 PropertyDetails::KindField::encode(kData))); in Generate()
5244 PropertyDetails::KindField::encode(kData))); in Generate()
5248 PropertyDetails::KindField::encode(kData))); in Generate()
5252 PropertyDetails::KindField::encode(kData))); in Generate()
5263 PropertyDetails::KindField::encode(kData))); in Generate()
/external/v8/src/ppc/
Dcode-stubs-ppc.cc5218 PropertyDetails::KindField::encode(kData))); in Generate()
5251 PropertyDetails::KindField::encode(kData))); in Generate()
5256 PropertyDetails::KindField::encode(kData))); in Generate()
5261 PropertyDetails::KindField::encode(kData))); in Generate()
5272 PropertyDetails::KindField::encode(kData))); in Generate()
/external/v8/src/mips64/
Dcode-stubs-mips64.cc5243 PropertyDetails::KindField::encode(kData))); in Generate()
5270 PropertyDetails::KindField::encode(kData))); in Generate()
5274 PropertyDetails::KindField::encode(kData))); in Generate()
5278 PropertyDetails::KindField::encode(kData))); in Generate()
5289 PropertyDetails::KindField::encode(kData))); in Generate()

12