/external/libchrome/base/containers/ |
D | span_unittest.cc | 79 static constexpr int kArray[] = {5, 4, 3, 2, 1}; in TEST() local 81 constexpr span<const int> dynamic_span(kArray); in TEST() 82 static_assert(kArray == dynamic_span.data(), ""); in TEST() 83 static_assert(base::size(kArray) == dynamic_span.size(), ""); in TEST() 85 static_assert(kArray[0] == dynamic_span[0], ""); in TEST() 86 static_assert(kArray[1] == dynamic_span[1], ""); in TEST() 87 static_assert(kArray[2] == dynamic_span[2], ""); in TEST() 88 static_assert(kArray[3] == dynamic_span[3], ""); in TEST() 89 static_assert(kArray[4] == dynamic_span[4], ""); in TEST() 91 constexpr span<const int, base::size(kArray)> static_span(kArray); in TEST() [all …]
|
/external/pigweed/pw_span/ |
D | span_test.cc | 357 static constexpr int kArray[] = {5, 4, 3, 2, 1}; in TEST() local 359 constexpr span<const int> dynamic_span(kArray); in TEST() 360 static_assert(kArray == dynamic_span.data(), ""); in TEST() 361 static_assert(std::size(kArray) == dynamic_span.size(), ""); in TEST() 363 static_assert(kArray[0] == dynamic_span[0], ""); in TEST() 364 static_assert(kArray[1] == dynamic_span[1], ""); in TEST() 365 static_assert(kArray[2] == dynamic_span[2], ""); in TEST() 366 static_assert(kArray[3] == dynamic_span[3], ""); in TEST() 367 static_assert(kArray[4] == dynamic_span[4], ""); in TEST() 369 constexpr span<const int, std::size(kArray)> static_span(kArray); in TEST() [all …]
|
/external/pigweed/pw_kvs/ |
D | converts_to_span_test.cc | 134 static constexpr int kArray[] = {1, 2, 3, 4, 5}; in TEST() local 135 constexpr span<const int, 5> expected_span(kArray); in TEST() 136 constexpr auto made_span = make_span(kArray); in TEST() 146 const std::array<int, 5> kArray = {{1, 2, 3, 4, 5}}; in TEST() local 147 span<const int, 5> expected_span(kArray); in TEST() 148 auto made_span = make_span(kArray); in TEST() 262 static constexpr int kArray[] = {1, 2, 3, 4, 5}; in TEST() local 263 constexpr span<const int> expected_span(kArray); in TEST() 280 static constexpr int kArray[] = {1, 2, 3, 4, 5}; in TEST() local 281 constexpr span<const int, 5> expected_span(kArray); in TEST()
|
/external/pigweed/pw_result/size_report/ |
D | result_read.cc | 26 constexpr auto kArray = pw::bytes::Array< variable 35 if (offset + size >= std::size(kArray)) { in Read() 39 return std::span<const std::byte>(std::data(kArray) + offset, size); in Read()
|
D | pointer_read.cc | 26 constexpr auto kArray = pw::bytes::Array< variable 36 if (offset + size >= std::size(kArray)) { in Read() 40 *out = std::span<const std::byte>(std::data(kArray) + offset, size); in Read()
|
/external/skqp/src/utils/ |
D | SkJSONWriter.h | 142 fScopeStack.push_back(Scope::kArray); 151 SkASSERT(Scope::kArray == this->scope()); in endArray() 256 kArray enumerator 279 if (Scope::kArray == this->scope()) { 287 fState = Scope::kArray == this->scope() ? State::kArrayValue : State::kObjectValue; 338 case Scope::kArray: in popScope()
|
D | SkJSON.h | 63 kArray, enumerator 133 kArray = 0b11000000, // ptr to external storage enumerator 273 class ArrayValue final : public VectorValue<Value, Value::Type::kArray> { 350 case Tag::kArray: return Type::kArray; in getType()
|
/external/skia/src/utils/ |
D | SkJSONWriter.h | 142 fScopeStack.push_back(Scope::kArray); 151 SkASSERT(Scope::kArray == this->scope()); in endArray() 256 kArray enumerator 279 if (Scope::kArray == this->scope()) { 287 fState = Scope::kArray == this->scope() ? State::kArrayValue : State::kObjectValue; 338 case Scope::kArray: in popScope()
|
D | SkJSON.h | 63 kArray, enumerator 132 kArray = 0b00000110, // ptr to external storage enumerator 279 class ArrayValue final : public VectorValue<Value, Value::Type::kArray> { 356 case Tag::kArray: return Type::kArray; in getType()
|
D | SkJSON.cpp | 95 this->init_tagged_pointer(Tag::kArray, MakeVector<Value>(src, size, alloc)); in ArrayValue() 96 SkASSERT(this->getTag() == Tag::kArray); in ArrayValue() 873 case Value::Type::kArray: { in Write()
|
/external/skia/src/sksl/ |
D | SkSLMemoryLayout.h | 60 case Type::TypeKind::kArray: in alignment() 87 case Type::TypeKind::kArray: { in stride() 122 case Type::TypeKind::kArray: in size() 155 case Type::TypeKind::kArray: in LayoutIsSupported()
|
/external/perfetto/src/trace_processor/importers/proto/ |
D | heap_graph_tracker_unittest.cc | 190 static const char kArray[] = "X[]"; variable 199 EXPECT_EQ(NormalizeTypeName(base::StringView(kArray, sizeof(kArray) - 1)) in TEST() 225 EXPECT_EQ(NumberOfArrays(base::StringView(kArray, sizeof(kArray) - 1)), 1u); in TEST()
|
/external/icu/icu4c/source/i18n/ |
D | fmtable.cpp | 199 : UObject(), fType(kArray) in Formattable() 202 fType = kArray; in Formattable() 233 case kArray: in operator =() 304 case kArray: in operator ==() 346 case kArray: in dispose() 590 fType = kArray; in setArray() 613 fType = kArray; in adoptArray() 676 if (fType != kArray) { in getArray() 870 case Formattable::kArray:
|
/external/skia/bench/ |
D | PathOpsBench.cpp | 144 kArray, enumerator 188 case MakeType::kArray: { in build() 222 DEF_BENCH( return new PathBuilderBench(MakeType::kArray, true); )
|
/external/pigweed/pw_bytes/ |
D | array_test.cc | 63 constexpr auto kArray = Array<1, 2, 3, 255>(); variable 64 static_assert(Equal(MakeArray(1, 2, 3, 255), kArray));
|
/external/pigweed/pw_polyfill/ |
D | test.cc | 55 constexpr std::array<int, 3> kArray = std::to_array({1, 2, 3}); in TEST() local 56 static_assert(kArray.size() == 3); in TEST() 57 EXPECT_TRUE(kArray[0] == 1); in TEST()
|
/external/openscreen/tools/cddl/ |
D | sema.h | 30 kArray, enumerator 108 case CddlType::Which::kArray: 247 kArray, enumerator
|
D | sema.cc | 52 case CddlType::Which::kArray: in ~CddlType() 183 CddlType* array = AddCddlType(table, CddlType::Which::kArray); in AnalyzeType2() 677 case CddlType::Which::kArray: { in MakeCppType() 690 cpp_type->struct_type.key_type = CppType::Struct::KeyType::kArray; in MakeCppType() 859 case CddlType::Which::kArray: in DumpType()
|
/external/skia/src/sksl/ir/ |
D | SkSLType.h | 77 kArray, enumerator 122 TypeKind::kArray, componentType, columns)); in MakeArrayType() 334 case Type::TypeKind::kArray: in slotCount() 394 return fTypeKind == TypeKind::kArray; in isArray()
|
/external/libchrome/components/json_schema/ |
D | json_schema_constants.cc | 11 const char kArray[] = "array"; variable
|
D | json_schema_constants.h | 13 extern const char kArray[];
|
D | json_schema_validator_unittest_base.cc | 408 JSONSchemaValidator::kInvalidType, schema::kBoolean, schema::kArray)); in TestArrayTuple() 432 schema->SetString(schema::kType, schema::kArray); in TestArrayNonTuple() 575 EXPECT_EQ(std::string(schema::kArray), in TestTypeClassifier() 596 schema->SetString(schema::kType, schema::kArray); in TestTypes() 659 schema::kObject, schema::kArray)); in TestTypes() 668 schema->SetString(schema::kType, schema::kArray); in TestTypes() 673 JSONSchemaValidator::kInvalidType, schema::kArray, schema::kInteger)); in TestTypes()
|
/external/skqp/tools/bookmaker/ |
D | definition.cpp | 53 kArray, enumerator 84 {{ CONST, OpType::kChar, OpMod::kArray, }}}, 87 { DEFOP::kArray, "[]", "array", BLANK, OpType::kScalar, OpMod::kNone, CONST, 89 { DEFOP::kArray, "[]", "array1", BLANK, OpType::kScalar, OpMod::kReference, BLANK, 91 { DEFOP::kArray, "[]", "array2", BLANK, OpType::kChar, OpMod::kNone, CONST, 93 { DEFOP::kArray, "[]", "array3", BLANK, OpType::kChar, OpMod::kReference, BLANK, 100 {{ CONST, OpType::kChar, OpMod::kArray, }}}, 266 paramMod = OpMod::kArray; in parseOperator()
|
/external/icu/icu4c/source/samples/numfmt/ |
D | util.cpp | 114 case Formattable::kArray: in formattableToString()
|
/external/pdfium/core/fpdfapi/parser/ |
D | cpdf_object.h | 38 kArray, enumerator
|