Home
last modified time | relevance | path

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

1234567

/llvm-project-15.0.7/libc/src/__support/CPP/
H A 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()
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 Dallocate_shared.array.unbounded.pass.cpp51 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 Dmake_shared.array.unbounded.pass.cpp49 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 Dallocate_shared.array.bounded.pass.cpp45 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 Dmake_shared.array.bounded.pass.cpp44 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 Dimplicit_copy.pass.cpp40 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 Darray.extension.pass.cpp51 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 Dinstantiate-member-initializers.cpp39 template<typename T> struct Array { struct
41 Array() : a() {} in Array() function
H A Dtemp_arg_type.cpp48 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 Dinvoke.pass.cpp17 struct Array struct
24 Array<char, 1>::type& f1(); argument
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DBinaryStreamWriter.h145 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 DBinaryStreamReader.h180 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 Dchecksum_test.cpp15 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 Dsigned-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()
/llvm-project-15.0.7/clang/test/CXX/temp/temp.spec/temp.expl.spec/
H A Dp11.cpp4 template<class T> class Array { /* ... */ }; class
/llvm-project-15.0.7/clang/test/CXX/temp/temp.spec/temp.explicit/
H A Dp2.cpp6 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 DLibcBenchmark.h265 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 Dranges_destroy.pass.cpp107 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 Ddestroy.pass.cpp34 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 Doptimization-remark-analysis.c7 double foo(int N, int *Array) { in foo()
/llvm-project-15.0.7/libcxxabi/test/
H A Dcatch_array_01.pass.cpp20 typedef char Array[4]; in main() typedef
H A Dcatch_array_02.pass.cpp16 typedef char Array[4]; in main() typedef
/llvm-project-15.0.7/clang/test/Sema/
H A Doffsetof.c66 typedef struct Array { int array[1]; } Array; argument
/llvm-project-15.0.7/clang/test/CodeGen/
H A D2002-01-24-ComplexSpaceInType.c9 struct { int X, Y; } Array[10]; variable
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/mpi/
H A DBufferDerefCheck.h45 enum class IndirectionType : unsigned char { Pointer, Array }; enumerator

1234567