Home
last modified time | relevance | path

Searched defs:Array (Results 1 – 25 of 362) sorted by relevance

12345678910>>...15

/external/llvm-project/libc/utils/CPP/
DArray.h17 template <class T, size_t N> struct Array { struct
20 T Data[N];
22 using iterator = T *;
23 using const_iterator = const T *;
25 constexpr T *data() { return Data; } in data()
26 constexpr const T *data() const { return Data; } in data()
28 constexpr T &front() { return Data[0]; } in front()
29 constexpr T &front() const { return Data[0]; } in front()
31 constexpr T &back() { return Data[N - 1]; } in back()
32 constexpr T &back() const { return Data[N - 1]; } in back()
[all …]
/external/llvm-project/libcxx/test/std/containers/sequences/array/array.cons/
Dimplicit_copy.pass.cpp44 typedef std::array<double, 3> Array; in tests() typedef
52 typedef std::array<double const, 3> Array; in tests() typedef
59 typedef std::array<double, 0> Array; in tests() typedef
68 typedef std::array<double const, 0> Array; in tests() typedef
75 typedef std::array<NoDefault, 0> Array; in tests() typedef
83 typedef std::array<NoDefault const, 0> Array; in tests() typedef
92 typedef std::array<NonTrivialCopy, 0> Array; in tests() typedef
99 typedef std::array<NonTrivialCopy, 1> Array; in tests() typedef
106 typedef std::array<NonTrivialCopy, 2> Array; in tests() typedef
/external/rust/crates/tinyvec/src/array/
Dgenerated_impl.rs7 impl<T: Default> Array for [T; 0] { impl
29 impl<T: Default> Array for [T; 1] { impl
51 impl<T: Default> Array for [T; 2] { impl
73 impl<T: Default> Array for [T; 3] { impl
95 impl<T: Default> Array for [T; 4] { impl
117 impl<T: Default> Array for [T; 5] { impl
139 impl<T: Default> Array for [T; 6] { impl
168 impl<T: Default> Array for [T; 7] { impl
198 impl<T: Default> Array for [T; 8] { impl
229 impl<T: Default> Array for [T; 9] { impl
[all …]
/external/cbor-java/src/test/java/co/nstant/in/cbor/builder/
DArrayBuilderTest.java29 assertTrue(dataItems.get(0) instanceof Array); in shouldAddBoolean() local
44 assertTrue(dataItems.get(0) instanceof Array); in shouldAddFloat() local
58 assertTrue(dataItems.get(0) instanceof Array); in shouldAddDouble() local
72 assertTrue(dataItems.get(0) instanceof Array); in shouldAddByteArray() local
/external/llvm-project/clang/test/SemaTemplate/
Dinstantiate-member-initializers.cpp39 template<typename T> struct Array { struct
41 Array() : a() {} in Array() function
/external/clang/test/SemaTemplate/
Dinstantiate-member-initializers.cpp39 template<typename T> struct Array { struct
41 Array() : a() {} in Array() function
Dtemp_arg_type.cpp47 struct Array { struct
52 A1<Array<int, 17>::type> ax; argument
/external/llvm/include/llvm/DebugInfo/CodeView/
DStreamWriter.h53 template <typename T> Error writeArray(ArrayRef<T> Array) { in writeArray()
66 Error writeArray(VarStreamArray<T, U> Array) { in writeArray()
70 template <typename T> Error writeArray(FixedStreamArray<T> Array) { in writeArray()
DStreamReader.h57 Error readArray(ArrayRef<T> &Array, uint32_t NumElements) { in readArray()
74 Error readArray(VarStreamArray<T, U> &Array, uint32_t Size) { in readArray()
83 Error readArray(FixedStreamArray<T> &Array, uint32_t NumItems) { in readArray()
/external/libcxx/test/libcxx/utilities/function.objects/func.require/
Dinvoke.pass.cpp18 struct Array struct
25 Array<char, 1>::type& f1(); argument
/external/scudo/standalone/tests/
Dchecksum_test.cpp15 scudo::u16 computeSoftwareChecksum(scudo::u32 Seed, scudo::uptr *Array, in computeSoftwareChecksum()
23 scudo::u16 computeHardwareChecksum(scudo::u32 Seed, scudo::uptr *Array, in computeHardwareChecksum()
36 scudo::uptr Array[sizeof(scudo::u64) / sizeof(scudo::uptr)]; in verifyChecksumFunctionBitFlip() local
/external/llvm-project/compiler-rt/lib/scudo/standalone/tests/
Dchecksum_test.cpp15 scudo::u16 computeSoftwareChecksum(scudo::u32 Seed, scudo::uptr *Array, in computeSoftwareChecksum()
23 scudo::u16 computeHardwareChecksum(scudo::u32 Seed, scudo::uptr *Array, in computeHardwareChecksum()
36 scudo::uptr Array[sizeof(scudo::u64) / sizeof(scudo::uptr)]; in verifyChecksumFunctionBitFlip() local
/external/llvm-project/llvm/include/llvm/Support/
DBinaryStreamWriter.h151 template <typename T> Error writeArray(ArrayRef<T> Array) { in writeArray()
168 Error writeArray(VarStreamArray<T, U> Array) { in writeArray()
176 template <typename T> Error writeArray(FixedStreamArray<T> Array) { in writeArray()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DBinaryStreamWriter.h151 template <typename T> Error writeArray(ArrayRef<T> Array) { in writeArray()
168 Error writeArray(VarStreamArray<T, U> Array) { in writeArray()
176 template <typename T> Error writeArray(FixedStreamArray<T> Array) { in writeArray()
/external/llvm-project/libcxx/test/libcxx/utilities/function.objects/func.require/
Dinvoke.pass.cpp17 struct Array struct
24 Array<char, 1>::type& f1(); argument
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dbugprone-signed-char-misuse.cpp104 int Array[3] = {1, 2, 3}; in SignedCharCArraySubscript() local
109 int SignedCharSTDArraySubscript(std::array<int, 3> Array, signed char SCharacter) { in SignedCharSTDArraySubscript()
232 int Array[3] = {1, 2, 3}; in UnsignedCharCArraySubscript() local
238 int Array[3] = {1, 2, 3}; in CastedCArraySubscript() local
243 int UnsignedCharSTDArraySubscript(std::array<int, 3> Array, unsigned char USCharacter) { in UnsignedCharSTDArraySubscript()
247 int CastedSTDArraySubscript(std::array<int, 3> Array, signed char SCharacter) { in CastedSTDArraySubscript()
/external/rust/crates/tinyvec/src/
Darray.rs19 pub trait Array { interface
/external/dokka/core/testdata/format/
DsummarizeSignatures.kt3 class Array<T> class
DsummarizeSignaturesProperty.kt3 class Array<T> class
/external/cbor-java/src/main/java/co/nstant/in/cbor/model/
DArray.java7 public class Array extends ChunkableDataItem { class
11 public Array() { in Array() method in Array
/external/pigweed/pw_polyfill/
Dtest.cc49 TEST(Array, ToArray_StringLiteral) { in TEST() argument
54 TEST(Array, ToArray_Inline) { in TEST() argument
60 TEST(Array, ToArray_Array) { in TEST() argument
78 TEST(Array, ToArray_MoveOnly) { in TEST() argument
/external/llvm-project/libc/benchmarks/
DLibcBenchmark.h268 llvm::ArrayRef<T> Array; variable
280 llvm::ArrayRef<T> Array; variable
285 : Array(Array), Index(Index) {} in Array() argument
295 CircularArrayRef(llvm::ArrayRef<T> Array, size_t Size) in CircularArrayRef()
306 CircularArrayRef<T> cycle(llvm::ArrayRef<T> Array, size_t Size) { in cycle()
/external/deqp/framework/common/
DtcuArray.hpp35 class Array class
38 Array (void) {} in Array() function in tcu::Array
/external/llvm-project/clang/test/CXX/temp/temp.spec/temp.explicit/
Dp2.cpp6 template<class T> class Array { void mf() { } }; in mf() class
8 template class Array<char>; variable
/external/clang/test/CXX/temp/temp.spec/temp.explicit/
Dp2.cpp6 template<class T> class Array { void mf() { } }; in mf() class
8 template class Array<char>; variable

12345678910>>...15