/external/llvm/lib/Fuzzer/test/ |
H A D | FullCoverageSetTest.cpp | 7 extern "C" void TestOneInput(const uint8_t *Data, size_t Size) { argument 9 if (Size > 0 && Data[0] == 'F') bits |= 1; 10 if (Size > 1 && Data[1] == 'U') bits |= 2; 11 if (Size > 2 && Data[2] == 'Z') bits |= 4; 12 if (Size > 3 && Data[3] == 'Z') bits |= 8; 13 if (Size > 4 && Data[4] == 'E') bits |= 16; 14 if (Size > 5 && Data[5] == 'R') bits |= 32;
|
H A D | InfiniteTest.cpp | 9 extern "C" void TestOneInput(const uint8_t *Data, size_t Size) { argument 10 if (Size > 0 && Data[0] == 'H') { 12 if (Size > 1 && Data[1] == 'i') { 14 if (Size > 2 && Data[2] == '!') {
|
H A D | TimeoutTest.cpp | 9 extern "C" void TestOneInput(const uint8_t *Data, size_t Size) { argument 10 if (Size > 0 && Data[0] == 'H') { 12 if (Size > 1 && Data[1] == 'i') { 14 if (Size > 2 && Data[2] == '!') {
|
H A D | FourIndependentBranchesTest.cpp | 7 extern "C" void TestOneInput(const uint8_t *Data, size_t Size) { argument 9 if (Size > 0 && Data[0] == 'F') bits |= 1; 10 if (Size > 1 && Data[1] == 'U') bits |= 2; 11 if (Size > 2 && Data[2] == 'Z') bits |= 4; 12 if (Size > 3 && Data[3] == 'Z') bits |= 8;
|
H A D | NullDerefTest.cpp | 10 extern "C" void TestOneInput(const uint8_t *Data, size_t Size) { argument 11 if (Size > 0 && Data[0] == 'H') { 13 if (Size > 1 && Data[1] == 'i') { 15 if (Size > 2 && Data[2] == '!') {
|
H A D | SimpleTest.cpp | 9 extern "C" void TestOneInput(const uint8_t *Data, size_t Size) { argument 10 if (Size > 0 && Data[0] == 'H') { 12 if (Size > 1 && Data[1] == 'i') { 14 if (Size > 2 && Data[2] == '!') {
|
H A D | CounterTest.cpp | 5 extern "C" void TestOneInput(const uint8_t *Data, size_t Size) { argument 7 for (size_t i = 0; i < Size; i++)
|
/external/clang/test/Sema/ |
H A D | offsetof-64.c | 5 const unsigned long Size = (1l << 60); variable 8 char padding[Size]; 9 char more_padding[1][Size]; 16 char padding[Size][Size][Size]; // expected-error 2{{array is too large}}
|
/external/llvm/lib/Support/ |
H A D | LEB128.cpp | 21 unsigned Size = 0; local 24 Size += sizeof(int8_t); 26 return Size; 31 unsigned Size = 0; local 39 Size += sizeof(int8_t); 41 return Size;
|
H A D | raw_os_ostream.cpp | 26 void raw_os_ostream::write_impl(const char *Ptr, size_t Size) { argument 27 OS.write(Ptr, Size);
|
H A D | circular_raw_ostream.cpp | 18 void circular_raw_ostream::write_impl(const char *Ptr, size_t Size) { argument 20 TheStream->write(Ptr, Size); 25 while (Size != 0) { 27 std::min(unsigned(Size), unsigned(BufferSize - (Cur - BufferArray))); 29 Size -= Bytes;
|
H A D | FormattedStream.cpp | 24 static void UpdatePosition(std::pair<unsigned, unsigned> &Position, const char *Ptr, size_t Size) { argument 30 for (const char *End = Ptr + Size; Ptr != End; ++Ptr) { 48 void formatted_raw_ostream::ComputePosition(const char *Ptr, size_t Size) { argument 52 if (Ptr <= Scanned && Scanned <= Ptr + Size) 55 UpdatePosition(Position, Scanned, Size - (Scanned - Ptr)); 57 UpdatePosition(Position, Ptr, Size); 60 Scanned = Ptr + Size; 76 void formatted_raw_ostream::write_impl(const char *Ptr, size_t Size) { argument 78 ComputePosition(Ptr, Size); 82 TheStream->write(Ptr, Size); [all...] |
/external/deqp/framework/delibs/decpp/ |
H A D | deArrayUtil.hpp | 33 template <int LastElementIndex, int Size, typename Elem> 34 const Elem& getSizedArrayElement (const Elem (&array)[Size], typename de::meta::EnableIf<int, LastElementIndex==Size>::Type offset) 36 DE_ASSERT(inBounds(offset, 0, Size)); 41 template <int Size, typename Elem> 42 const Elem& getArrayElement (const Elem (&array)[Size], int offset) 44 DE_ASSERT(inBounds(offset, 0, Size));
|
/external/deqp/framework/common/ |
H A D | tcuVector.hpp | 36 template <typename T, int VecSize, int Size> 44 VecAccess& operator= (const Vector<T, Size>& v); 46 operator Vector<T, Size> (void) const; 50 int m_index[Size]; 53 template <typename T, int VecSize, int Size> 54 VecAccess<T, VecSize, Size>::VecAccess (Vector<T, VecSize>& v, int x, int y) 57 DE_STATIC_ASSERT(Size == 2); 62 template <typename T, int VecSize, int Size> 63 VecAccess<T, VecSize, Size>::VecAccess (Vector<T, VecSize>& v, int x, int y, int z) 66 DE_STATIC_ASSERT(Size [all...] |
H A D | tcuArray.hpp | 34 template <typename T, int Size> 48 T m_data[Size]; 52 template <typename T, int Size> 53 std::ostream& operator<< (std::ostream& stream, const Array<T, Size>& arr) 55 return stream << Format::Array<T*>(arr.getPtr(), arr.getPtr() + Size);
|
H A D | tcuCPUWarmup.cpp | 41 template <typename T, int Size> 42 static inline float floatMedian (const T (&v)[Size]) 44 T temp[Size]; 45 for (int i = 0; i < Size; i++) 50 return Size % 2 == 0 51 ? 0.5f * ((float)temp[Size/2-1] + (float)temp[Size/2]) 52 : (float)temp[Size/2]; 55 template <typename T, int Size> 56 static inline float floatRelativeMedianAbsoluteDeviation (const T (&v)[Size]) [all...] |
H A D | tcuVectorUtil.hpp | 132 template <typename T, int Size> 133 inline T dot (const Vector<T, Size>& a, const Vector<T, Size>& b) 136 for (int i = 0; i < Size; i++) 141 template <typename T, int Size> 142 inline T lengthSquared (const Vector<T, Size>& a) 145 for (int i = 0; i < Size; i++) 150 template <typename T, int Size> 151 inline T length (const Vector<T, Size>& a) 156 template <typename T, int Size> [all...] |
H A D | tcuTexVerifierUtil.hpp | 39 template<int Size> 40 inline Vector<float, Size> computeFloatingPointError (const Vector<float, Size>& value, const Vector<deInt32, Size>& numAccurateBits) 42 Vector<float, Size> res; 43 for (int ndx = 0; ndx < Size; ndx++) 48 template<int Size> 49 inline Vector<float, Size> computeFixedPointError (const Vector<deInt32, Size>& numAccurateBits) 51 Vector<float, Size> re [all...] |
/external/llvm/lib/Fuzzer/test/dfsan/ |
H A D | DFSanSimpleCmpTest.cpp | 7 extern "C" void TestOneInput(const uint8_t *Data, size_t Size) { argument 8 if (Size < 14) return; 14 memcpy(&y, Data + Size - 8, 8); 15 memcpy(&z, Data + Size / 2, sizeof(z)); 16 memcpy(&a, Data + Size / 2 + 4, sizeof(a)); 27 Size, x, y, z, a);
|
/external/clang/test/SemaCXX/ |
H A D | dependent-types.cpp | 5 template<typename T, int Size> void f() { 10 T x5[Size]; 11 int x6[Size];
|
/external/eigen/Eigen/src/Eigen2Support/ |
H A D | VectorBlock.h | 54 template<int Size> 55 inline VectorBlock<Derived,Size> 59 return VectorBlock<Derived,Size>(derived(), 0); 64 template<int Size> 65 inline const VectorBlock<const Derived,Size> 69 return VectorBlock<const Derived,Size>(derived(), 0); 74 template<int Size> 75 inline VectorBlock<Derived,Size> 79 return VectorBlock<Derived, Size>(derived(), size() - Size); [all...] |
/external/compiler-rt/test/profile/ |
H A D | instrprof-without-libc.c | 28 uint64_t Size = __llvm_profile_get_size_for_buffer(); local 29 if (Size > MaxSize) 44 if (fwrite(Buffer, 1, Size, File) != Size)
|
/external/llvm/lib/Fuzzer/ |
H A D | FuzzerMain.cpp | 16 extern "C" void TestOneInput(const uint8_t *Data, size_t Size);
|
/external/eigen/Eigen/src/Core/ |
H A D | VectorBlock.h | 22 * \param Size size of the sub-vector we are taking at compile time (optional) 48 template<typename VectorType, int Size> 49 struct traits<VectorBlock<VectorType, Size> > 51 traits<VectorType>::Flags & RowMajorBit ? 1 : Size, 52 traits<VectorType>::Flags & RowMajorBit ? Size : 1> > 57 template<typename VectorType, int Size> class VectorBlock 59 internal::traits<VectorType>::Flags & RowMajorBit ? 1 : Size, 60 internal::traits<VectorType>::Flags & RowMajorBit ? Size : 1> 63 internal::traits<VectorType>::Flags & RowMajorBit ? 1 : Size, 64 internal::traits<VectorType>::Flags & RowMajorBit ? Size [all...] |
/external/llvm/include/llvm/Support/ |
H A D | AlignOf.h | 74 template<std::size_t Alignment, std::size_t Size> 76 alignas(Alignment) char buffer[Size]; 81 template<std::size_t Alignment, std::size_t Size> 85 template<std::size_t Size> \ 86 struct AlignedCharArray<x, Size> { \ 87 __attribute__((aligned(x))) char buffer[Size]; \ 108 template<std::size_t Alignment, std::size_t Size> 119 template<std::size_t Size> 120 struct AlignedCharArray<1, Size> { 123 char buffer[Size]; [all...] |