/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
D | StringRef.h | 42 size_t Length; variable 52 static int compareMemory(const char *Lhs, const char *Rhs, size_t Length) { in compareMemory() argument 53 if (Length == 0) { return 0; } in compareMemory() 54 return ::memcmp(Lhs,Rhs,Length); in compareMemory() 62 /*implicit*/ StringRef() : Data(0), Length(0) {} in StringRef() 68 Length = ::strlen(Str); // invoking strlen(NULL) is undefined behavior in StringRef() 73 : Data(data), Length(length) { in StringRef() 80 : Data(Str.data()), Length(Str.length()) {} in StringRef() 88 iterator end() const { return Data + Length; } in end() 99 bool empty() const { return Length == 0; } in empty() [all …]
|
D | ArrayRef.h | 42 size_type Length; variable 49 /*implicit*/ ArrayRef() : Data(0), Length(0) {} in ArrayRef() 53 : Data(&OneElt), Length(1) {} in ArrayRef() 57 : Data(data), Length(length) {} in ArrayRef() 61 : Data(begin), Length(end - begin) {} in ArrayRef() 65 : Data(Vec.data()), Length(Vec.size()) {} in ArrayRef() 69 : Data(Vec.empty() ? (T*)0 : &Vec[0]), Length(Vec.size()) {} in ArrayRef() 74 : Data(Arr), Length(N) {} in ArrayRef() 81 iterator end() const { return Data + Length; } in end() 84 bool empty() const { return Length == 0; } in empty() [all …]
|
/external/clang/test/Parser/ |
D | pragma-loop.cpp | 7 void test_nontype_template_param(int *List, int Length) { in test_nontype_template_param() argument 9 for (int i = 0; i < Length; i++) { in test_nontype_template_param() 14 for (int i = 0; i < Length; i++) { in test_nontype_template_param() 20 void test_nontype_template_vectorize(int *List, int Length) { in test_nontype_template_vectorize() argument 22 for (int i = 0; i < Length; i++) { in test_nontype_template_vectorize() 27 for (int i = 0; i < Length; i++) { in test_nontype_template_vectorize() 33 void test_nontype_template_interleave(int *List, int Length) { in test_nontype_template_interleave() argument 35 for (int i = 0; i < Length; i++) { in test_nontype_template_interleave() 40 for (int i = 0; i < Length; i++) { in test_nontype_template_interleave() 46 void test_nontype_template_char(int *List, int Length) { in test_nontype_template_char() argument [all …]
|
D | pragma-unroll.cpp | 6 void test(int *List, int Length) { in test() argument 10 while (i + 1 < Length) { in test() 15 while (i < Length) { in test() 20 while (i - 1 < Length) { in test() 25 while (i - 2 < Length) { in test() 32 while (i-6 < Length) { in test() 37 while (i-7 < Length) { in test() 47 while (i-8 < Length) { in test() 52 …ted-error {{expected a for, while, or do-while loop to follow '#pragma unroll'}} */ int j = Length; in test() 54 …ted-error {{expected a for, while, or do-while loop to follow '#pragma unroll'}} */ int k = Length; in test() [all …]
|
/external/llvm/include/llvm/ADT/ |
D | StringRef.h | 54 size_t Length; variable 59 static int compareMemory(const char *Lhs, const char *Rhs, size_t Length) { in compareMemory() argument 60 if (Length == 0) { return 0; } in compareMemory() 61 return ::memcmp(Lhs,Rhs,Length); in compareMemory() 69 /*implicit*/ StringRef() : Data(nullptr), Length(0) {} in StringRef() 75 Length = ::strlen(Str); // invoking strlen(NULL) is undefined behavior in StringRef() 81 : Data(data), Length(length) { in StringRef() 89 : Data(Str.data()), Length(Str.length()) {} in StringRef() 97 iterator end() const { return Data + Length; } in end() 120 bool empty() const { return Length == 0; } in empty() [all …]
|
/external/clang/test/CodeGenCXX/ |
D | pragma-loop.cpp | 4 void while_test(int *List, int Length) { in while_test() argument 13 while (i < Length) { in while_test() 21 void do_test(int *List, int Length) { in do_test() argument 29 } while (i < Length); in do_test() 35 void for_test(int *List, int Length) { in for_test() argument 39 for (int i = 0; i < Length; i++) { in for_test() 58 void disable_test(int *List, int Length) { in disable_test() argument 60 for (int i = 0; i < Length; i++) { in disable_test() 71 void for_define_test(int *List, int Length, int Value) { in for_define_test() argument 74 for (int i = 0; i < Length; i++) { in for_define_test() [all …]
|
D | pragma-unroll.cpp | 4 void while_test(int *List, int Length) { in while_test() argument 9 while (i < Length) { in while_test() 17 void do_test(int *List, int Length) { in do_test() argument 26 } while (i < Length); in do_test() 30 void for_test(int *List, int Length) { in for_test() argument 33 for (int i = 0; i < Length; i++) { in for_test() 54 void for_define_test(int *List, int Length, int Value) { in for_define_test() argument 57 for (int i = 0; i < Length; i++) { in for_define_test() 65 void for_template_test(A *List, int Length, A Value) { in for_template_test() argument 68 for (int i = 0; i < Length; i++) { in for_template_test() [all …]
|
D | 2012-03-16-StoreAlign.cpp | 4 struct Length { struct 5 Length(double v) { in Length() argument 9 bool operator==(const Length& o) const { in operator ==() argument 12 bool operator!=(const Length& o) const { return !(*this == o); } in operator !=() argument 22 static Length inchLength(double inch); argument 23 static bool getPageSizeFromName(const Length &A) { in getPageSizeFromName() 24 static const Length legalWidth = inchLength(8.5); in getPageSizeFromName() 33 bool bar(Length &b) { in bar()
|
/external/e2fsprogs/tests/d_fallocate_bigalloc/ |
D | expect.gz | 1
2Warning: the bigalloc feature is still under development
3See https://ext4. ... |
/external/llvm/include/llvm/CodeGen/PBQP/ |
D | Math.h | 29 explicit Vector(unsigned Length) in Vector() argument 30 : Length(Length), Data(new PBQPNum[Length]) { in Vector() 36 Vector(unsigned Length, PBQPNum InitVal) in Vector() argument 37 : Length(Length), Data(new PBQPNum[Length]) { in Vector() 41 std::fill(Data, Data + Length, InitVal); in Vector() 46 : Length(V.Length), Data(new PBQPNum[Length]) { in Vector() 49 std::copy(V.Data, V.Data + Length, Data); in Vector() 54 : Length(V.Length), Data(V.Data) { in Vector() 55 V.Length = 0; in Vector() 70 Length = V.Length; [all …]
|
/external/e2fsprogs/tests/d_fallocate/ |
D | expect.gz |
|
/external/llvm/tools/llvm-readobj/ |
D | ARMWinEHPrinter.h | 36 unsigned Length, bool Prologue); 38 unsigned Length, bool Prologue); 40 unsigned Length, bool Prologue); 42 unsigned Length, bool Prologue); 44 unsigned Length, bool Prologue); 46 unsigned Length, bool Prologue); 48 unsigned Length, bool Prologue); 50 unsigned Length, bool Prologue); 52 unsigned Length, bool Prologue); 54 unsigned Length, bool Prologue); [all …]
|
/external/llvm/include/llvm/DebugInfo/CodeView/ |
D | StreamRef.h | 21 StreamRef() : Stream(nullptr), ViewOffset(0), Length(0) {} in StreamRef() 23 : Stream(&Stream), ViewOffset(0), Length(Stream.getLength()) {} in StreamRef() 24 StreamRef(const StreamInterface &Stream, uint32_t Offset, uint32_t Length) in StreamRef() argument 25 : Stream(&Stream), ViewOffset(Offset), Length(Length) {} in StreamRef() 28 StreamRef(const StreamRef &S, uint32_t Offset, uint32_t Length) = delete; 34 if (Size + Offset > Length) in readBytes() 43 if (Offset >= Length) in readLongestContiguousChunk() 51 uint32_t MaxLength = Length - Offset; in readLongestContiguousChunk() 58 if (Data.size() + Offset > Length) in writeBytes() 63 uint32_t getLength() const { return Length; } in getLength() [all …]
|
/external/llvm/lib/Support/ |
D | StringRef.cpp | 41 static int ascii_strncasecmp(const char *LHS, const char *RHS, size_t Length) { in ascii_strncasecmp() argument 42 for (size_t I = 0; I < Length; ++I) { in ascii_strncasecmp() 53 if (int Res = ascii_strncasecmp(Data, RHS.Data, std::min(Length, RHS.Length))) in compare_lower() 55 if (Length == RHS.Length) in compare_lower() 57 return Length < RHS.Length ? -1 : 1; in compare_lower() 62 return Length >= Prefix.Length && in startswith_lower() 63 ascii_strncasecmp(Data, Prefix.Data, Prefix.Length) == 0; in startswith_lower() 68 return Length >= Suffix.Length && in endswith_lower() 69 ascii_strncasecmp(end() - Suffix.Length, Suffix.Data, Suffix.Length) == 0; in endswith_lower() 74 for (size_t I = 0, E = std::min(Length, RHS.Length); I != E; ++I) { in compare_numeric() [all …]
|
/external/mesa3d/src/gallium/drivers/r300/compiler/tests/ |
D | rc_test_helpers.c | 27 int Length; member 107 tokens.Negate.Length = match_length(matches, 1); in init_rc_normal_src() 109 tokens.Abs.Length = match_length(matches, 2); in init_rc_normal_src() 111 tokens.File.Length = match_length(matches, 3); in init_rc_normal_src() 113 tokens.Index.Length = match_length(matches, 4); in init_rc_normal_src() 115 tokens.Swizzle.Length = match_length(matches, 5); in init_rc_normal_src() 118 if (tokens.Negate.Length > 0) { in init_rc_normal_src() 123 if (tokens.Abs.Length > 0) { in init_rc_normal_src() 128 if (!strncmp(tokens.File.String, "temp", tokens.File.Length)) { in init_rc_normal_src() 130 } else if (!strncmp(tokens.File.String, "input", tokens.File.Length)) { in init_rc_normal_src() [all …]
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
D | BitSet.cs | 132 if (n >= _bits.Length) { in Add() 142 int newSize = Math.Max(_bits.Length << 1, NumWordsToHold(bit)); in GrowToInclude() 151 if (a._bits.Length > _bits.Length) { in OrInPlace() 152 SetSize(a._bits.Length); in OrInPlace() 154 int min = Math.Min(_bits.Length, a._bits.Length); in OrInPlace() 178 for (int i = _bits.Length - 1; i >= 0; i--) { in Size() 202 int n = Math.Min(this._bits.Length, otherSet._bits.Length); in Equals() 213 if (this._bits.Length > n) { in Equals() 214 for (int i = n + 1; i < this._bits.Length; i++) { in Equals() 219 } else if (otherSet._bits.Length > n) { in Equals() [all …]
|
/external/clang/test/PCH/ |
D | pragma-loop.cpp | 29 inline void run1(int *List, int Length) { in run1() argument 34 while (i < Length) { in run1() 40 inline void run2(int *List, int Length) { in run2() argument 46 while (i - 1 < Length) { in run2() 52 inline void run3(int *List, int Length) { in run3() argument 58 while (i - 3 < Length) { in run3() 64 inline void run4(int *List, int Length) { in run4() argument 67 while (i - 3 < Length) { in run4() 73 inline void run5(int *List, int Length) { in run5() argument 76 while (i - 3 < Length) { in run5() [all …]
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
D | BitSet.cs | 146 if ( n >= _bits.Length ) in Add() 158 int newSize = Math.Max( _bits.Length << 1, NumWordsToHold( bit ) ); in GrowToInclude() 169 if ( a._bits.Length > _bits.Length ) in OrInPlace() 171 SetSize( a._bits.Length ); in OrInPlace() 173 int min = Math.Min( _bits.Length, a._bits.Length ); in OrInPlace() 202 for ( int i = _bits.Length - 1; i >= 0; i-- ) in Size() 233 int n = Math.Min( this._bits.Length, otherSet._bits.Length ); in Equals() 246 if ( this._bits.Length > n ) in Equals() 248 for ( int i = n + 1; i < this._bits.Length; i++ ) in Equals() 256 else if ( otherSet._bits.Length > n ) in Equals() [all …]
|
/external/webrtc/webrtc/base/ |
D | bytebuffer_unittest.cc | 59 EXPECT_EQ(size, buffer.Length()); in TEST() 63 EXPECT_EQ(size, buffer.Length()); in TEST() 67 EXPECT_EQ(size, buffer.Length()); in TEST() 71 EXPECT_EQ(size, buffer.Length()); in TEST() 75 EXPECT_EQ(size, buffer.Length()); in TEST() 79 EXPECT_EQ(size, buffer.Length()); in TEST() 82 EXPECT_EQ(size, buffer.Length()); in TEST() 86 EXPECT_EQ(size, buffer.Length()); in TEST() 91 EXPECT_EQ(6U, buffer.Length()); in TEST() 94 EXPECT_EQ(6U, buffer.Length()); in TEST() [all …]
|
/external/boringssl/src/crypto/poly1305/ |
D | poly1305_tests.txt | 58 # Length 2048. 63 # Length 2049. 68 # Length 2050. 73 # Length 2051. 78 # Length 2052. 83 # Length 2053. 88 # Length 2054. 93 # Length 2055. 98 # Length 2056. 103 # Length 2057. [all …]
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
D | StringRef.cpp | 34 for (size_t I = 0, E = min(Length, RHS.Length); I != E; ++I) { in compare_lower() 41 if (Length == RHS.Length) in compare_lower() 43 return Length < RHS.Length ? -1 : 1; in compare_lower() 48 for (size_t I = 0, E = min(Length, RHS.Length); I != E; ++I) { in compare_numeric() 55 bool ld = J < Length && ascii_isdigit(Data[J]); in compare_numeric() 56 bool rd = J < RHS.Length && ascii_isdigit(RHS.Data[J]); in compare_numeric() 72 if (Length == RHS.Length) in compare_numeric() 74 return Length < RHS.Length ? -1 : 1; in compare_numeric() 145 if (N > Length) in find() 147 for (size_t e = Length - N + 1, i = min(From, e); i != e; ++i) in find() [all …]
|
/external/clang/test/SemaTemplate/ |
D | ext-vector-type.cpp | 2 template<typename T, unsigned Length> 4 typedef T __attribute__((ext_vector_type(Length))) type; 12 template<typename T, unsigned Length> 14 typedef T __attribute__((ext_vector_type(Length))) type; // expected-error{{zero vector size}} 21 template<typename T, unsigned Length> 23 …typedef T __attribute__((ext_vector_type(Length))) type; // expected-error{{invalid vector element… 32 template<typename T, T Length> 34 typedef T __attribute__((ext_vector_type(Length))) type; 43 template<unsigned Length> 45 …typedef int_ptr __attribute__((ext_vector_type(Length))) type; // expected-error{{invalid vector e… [all …]
|
/external/llvm/test/MC/MachO/AArch64/ |
D | darwin-ARM64-reloc.s | 42 ; CHECK-NEXT: Length: 2 49 ; CHECK-NEXT: Length: 2 56 ; CHECK-NEXT: Length: 2 63 ; CHECK-NEXT: Length: 2 70 ; CHECK-NEXT: Length: 2 77 ; CHECK-NEXT: Length: 2 84 ; CHECK-NEXT: Length: 2 91 ; CHECK-NEXT: Length: 2 98 ; CHECK-NEXT: Length: 2 105 ; CHECK-NEXT: Length: 2 [all …]
|
/external/e2fsprogs/tests/d_punch_bigalloc/ |
D | expect | 20 Level Entries Logical Physical Length Flags 22 Level Entries Logical Physical Length Flags 30 Level Entries Logical Physical Length Flags 34 Level Entries Logical Physical Length Flags 38 Level Entries Logical Physical Length Flags 42 Level Entries Logical Physical Length Flags 47 Level Entries Logical Physical Length Flags 53 Level Entries Logical Physical Length Flags 59 Level Entries Logical Physical Length Flags 65 Level Entries Logical Physical Length Flags [all …]
|
/external/e2fsprogs/tests/d_punch/ |
D | expect | 18 Level Entries Logical Physical Length Flags 20 Level Entries Logical Physical Length Flags 28 Level Entries Logical Physical Length Flags 35 Level Entries Logical Physical Length Flags 39 Level Entries Logical Physical Length Flags 44 Level Entries Logical Physical Length Flags 48 Level Entries Logical Physical Length Flags 53 Level Entries Logical Physical Length Flags 58 Level Entries Logical Physical Length Flags 63 Level Entries Logical Physical Length Flags [all …]
|