Searched refs:Size (Results 1 - 25 of 1042) sorted by relevance

1234567891011>>

/external/llvm/lib/Fuzzer/test/
H A DFullCoverageSetTest.cpp7 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 DInfiniteTest.cpp9 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 DTimeoutTest.cpp9 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 DFourIndependentBranchesTest.cpp7 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 DNullDerefTest.cpp10 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 DSimpleTest.cpp9 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 DCounterTest.cpp5 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 Doffsetof-64.c5 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 DLEB128.cpp21 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 Draw_os_ostream.cpp26 void raw_os_ostream::write_impl(const char *Ptr, size_t Size) { argument
27 OS.write(Ptr, Size);
H A Dcircular_raw_ostream.cpp18 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 DFormattedStream.cpp24 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 DdeArrayUtil.hpp33 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 DtcuVector.hpp36 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 DtcuArray.hpp34 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 DtcuCPUWarmup.cpp41 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 DtcuVectorUtil.hpp132 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 DtcuTexVerifierUtil.hpp39 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 DDFSanSimpleCmpTest.cpp7 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 Ddependent-types.cpp5 template<typename T, int Size> void f() {
10 T x5[Size];
11 int x6[Size];
/external/eigen/Eigen/src/Eigen2Support/
H A DVectorBlock.h54 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 Dinstrprof-without-libc.c28 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 DFuzzerMain.cpp16 extern "C" void TestOneInput(const uint8_t *Data, size_t Size);
/external/eigen/Eigen/src/Core/
H A DVectorBlock.h22 * \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 DAlignOf.h74 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...]

Completed in 463 milliseconds

1234567891011>>