| /llvm-project-15.0.7/libc/src/__support/CPP/ |
| H A D | Array.h | 17 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() 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() 38 constexpr size_t size() const { return N; } in size() 42 constexpr iterator begin() { return Data; } in begin() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/ |
| H A D | allocate_shared.array.unbounded.pass.cpp | 51 using Array = int[]; in main() typedef 58 using Array = int[]; in main() typedef 68 using Array = int[]; in main() typedef 76 using Array = int[]; in main() typedef 87 using Array = int[]; in main() typedef 94 using Array = int[][3]; in main() typedef 117 using Array = int[]; in main() typedef 125 using Array = int[][3]; in main() typedef 270 using Array = T[]; in main() typedef 278 using Array = T[][3]; in main() typedef [all …]
|
| H A D | make_shared.array.unbounded.pass.cpp | 49 using Array = int[]; in main() typedef 56 using Array = int[]; in main() typedef 66 using Array = int[]; in main() typedef 74 using Array = int[]; in main() typedef 85 using Array = int[]; in main() typedef 92 using Array = int[][3]; in main() typedef 101 using Array = int[][3][2]; in main() typedef 115 using Array = int[]; in main() typedef 123 using Array = int[][3]; in main() typedef 268 using Array = T[]; in main() typedef [all …]
|
| H A D | allocate_shared.array.bounded.pass.cpp | 45 using Array = int[8]; in main() typedef 52 using Array = int[8][3]; in main() typedef 61 using Array = int[8][3][2]; in main() typedef 75 using Array = int[8]; in main() typedef 83 using Array = int[8][3]; in main() typedef 93 using Array = int[8][3][2]; in main() typedef 228 using Array = T[8]; in main() typedef 236 using Array = T[8][3]; in main() typedef 278 using Array = Sentinel[8]; in main() typedef 370 using Array = int[8][3]; in main() typedef [all …]
|
| H A D | make_shared.array.bounded.pass.cpp | 44 using Array = int[8]; in main() typedef 51 using Array = int[8][3]; in main() typedef 60 using Array = int[8][3][2]; in main() typedef 74 using Array = int[8]; in main() typedef 82 using Array = int[8][3]; in main() typedef 92 using Array = int[8][3][2]; in main() typedef 227 using Array = T[8]; in main() typedef 235 using Array = T[8][3]; in main() typedef 245 using Array = T[8][3][2]; in main() typedef 277 using Array = Sentinel[8]; in main() typedef [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/containers/sequences/array/array.cons/ |
| H A D | implicit_copy.pass.cpp | 40 typedef std::array<double, 3> Array; in tests() typedef 48 typedef std::array<double const, 3> Array; in tests() typedef 55 typedef std::array<double, 0> Array; in tests() typedef 64 typedef std::array<double const, 0> Array; in tests() typedef 71 typedef std::array<NoDefault, 0> Array; in tests() typedef 79 typedef std::array<NoDefault const, 0> Array; in tests() typedef 88 typedef std::array<NonTrivialCopy, 0> Array; in tests() typedef 95 typedef std::array<NonTrivialCopy, 1> Array; in tests() typedef 102 typedef std::array<NonTrivialCopy, 2> Array; in tests() typedef
|
| /llvm-project-15.0.7/libcxx/test/libcxx/utilities/tuple/tuple.tuple/tuple.assign/ |
| H A D | array.extension.pass.cpp | 51 typedef std::array<int, 1> Array; in main() typedef 56 typedef std::array<int, 1> Array; in main() typedef 72 typedef std::array<int, 1> Array; in main() typedef 77 typedef std::array<int, 1> Array; in main() typedef 85 typedef std::array<int, 1> Array; in main() typedef
|
| /llvm-project-15.0.7/clang/test/SemaTemplate/ |
| H A D | instantiate-member-initializers.cpp | 39 template<typename T> struct Array { struct 41 Array() : a() {} in Array() function
|
| H A D | temp_arg_type.cpp | 48 struct Array { struct 53 A1<Array<int, 17>::type> ax; argument
|
| /llvm-project-15.0.7/libcxx/test/libcxx/utilities/function.objects/func.require/ |
| H A D | invoke.pass.cpp | 17 struct Array struct 24 Array<char, 1>::type& f1(); argument
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | BinaryStreamWriter.h | 145 template <typename T> Error writeArray(ArrayRef<T> Array) { in writeArray() 162 Error writeArray(VarStreamArray<T, U> Array) { in writeArray() 170 template <typename T> Error writeArray(FixedStreamArray<T> Array) { in writeArray()
|
| H A D | BinaryStreamReader.h | 180 Error readArray(ArrayRef<T> &Array, uint32_t NumElements) { in readArray() 228 Error readArray(FixedStreamArray<T> &Array, uint32_t NumItems) { in readArray()
|
| /llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/tests/ |
| H A D | checksum_test.cpp | 15 static scudo::u16 computeSoftwareChecksum(scudo::u32 Seed, scudo::uptr *Array, in computeSoftwareChecksum() 23 static scudo::u16 computeHardwareChecksum(scudo::u32 Seed, scudo::uptr *Array, in computeHardwareChecksum() 36 scudo::uptr Array[sizeof(scudo::u64) / sizeof(scudo::uptr)]; in verifyChecksumFunctionBitFlip() local
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/ |
| H A D | signed-char-misuse.cpp | 104 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()
|
| /llvm-project-15.0.7/clang/test/CXX/temp/temp.spec/temp.expl.spec/ |
| H A D | p11.cpp | 4 template<class T> class Array { /* ... */ }; class
|
| /llvm-project-15.0.7/clang/test/CXX/temp/temp.spec/temp.explicit/ |
| H A D | p2.cpp | 6 template<class T> class Array { void mf() { } }; in mf() class 8 template class Array<char>; variable
|
| /llvm-project-15.0.7/libc/benchmarks/ |
| H A D | LibcBenchmark.h | 265 llvm::ArrayRef<T> Array; variable 277 llvm::ArrayRef<T> Array; variable 283 : Array(Array), Index(Index), Offset(Index % Array.size()) {} in Array() argument 296 CircularArrayRef(llvm::ArrayRef<T> Array, size_t Size) in CircularArrayRef() 307 CircularArrayRef<T> cycle(llvm::ArrayRef<T> Array, size_t Size) { in cycle()
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/memory/specialized.algorithms/specialized.destroy/ |
| H A D | ranges_destroy.pass.cpp | 107 using Array = Counted[M]; in test_arrays() typedef 132 using Array = Counted[A]; in test_arrays() typedef 159 using Array = Counted[A][B]; in test_arrays() typedef 187 using Array = Counted[A][B]; in test_arrays() typedef
|
| H A D | destroy.pass.cpp | 34 using Array = Counted[3]; in test_arrays() typedef 55 using Array = Counted[3][2]; in test_arrays() typedef
|
| /llvm-project-15.0.7/clang/test/Frontend/ |
| H A D | optimization-remark-analysis.c | 7 double foo(int N, int *Array) { in foo()
|
| /llvm-project-15.0.7/libcxxabi/test/ |
| H A D | catch_array_01.pass.cpp | 20 typedef char Array[4]; in main() typedef
|
| H A D | catch_array_02.pass.cpp | 16 typedef char Array[4]; in main() typedef
|
| /llvm-project-15.0.7/clang/test/Sema/ |
| H A D | offsetof.c | 66 typedef struct Array { int array[1]; } Array; argument
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | 2002-01-24-ComplexSpaceInType.c | 9 struct { int X, Y; } Array[10]; variable
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/mpi/ |
| H A D | BufferDerefCheck.h | 45 enum class IndirectionType : unsigned char { Pointer, Array }; enumerator
|