Home
last modified time | relevance | path

Searched refs:Length (Results 1 – 25 of 1099) sorted by relevance

12345678910>>...44

/external/clang/test/Parser/
Dpragma-loop.cpp7 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 …]
Dpragma-unroll.cpp6 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/
DStringRef.h53 size_t Length; variable
58 static int compareMemory(const char *Lhs, const char *Rhs, size_t Length) { in compareMemory() argument
59 if (Length == 0) { return 0; } in compareMemory()
60 return ::memcmp(Lhs,Rhs,Length); in compareMemory()
68 /*implicit*/ StringRef() : Data(nullptr), Length(0) {} in StringRef()
74 Length = ::strlen(Str); // invoking strlen(NULL) is undefined behavior in StringRef()
80 : Data(data), Length(length) { in StringRef()
88 : Data(Str.data()), Length(Str.length()) {} in StringRef()
96 iterator end() const { return Data + Length; } in end()
116 bool empty() const { return Length == 0; } in empty()
[all …]
DArrayRef.h45 size_type Length; variable
52 /*implicit*/ ArrayRef() : Data(nullptr), Length(0) {} in ArrayRef()
55 /*implicit*/ ArrayRef(NoneType) : Data(nullptr), Length(0) {} in ArrayRef()
59 : Data(&OneElt), Length(1) {} in ArrayRef()
63 : Data(data), Length(length) {} in ArrayRef()
67 : Data(begin), Length(end - begin) {} in ArrayRef()
74 : Data(Vec.data()), Length(Vec.size()) { in ArrayRef()
80 : Data(Vec.data()), Length(Vec.size()) {} in ArrayRef()
85 : Data(Arr), Length(N) {} in ArrayRef()
90 Length(Vec.size()) {} in ArrayRef()
[all …]
/external/clang/test/CodeGenCXX/
Dpragma-loop.cpp4 void while_test(int *List, int Length) { in while_test() argument
12 while (i < Length) { in while_test()
20 void do_test(int *List, int Length) { in do_test() argument
28 } while (i < Length); in do_test()
34 void for_test(int *List, int Length) { in for_test() argument
38 for (int i = 0; i < Length; i++) { in for_test()
57 void disable_test(int *List, int Length) { in disable_test() argument
59 for (int i = 0; i < Length; i++) { in disable_test()
70 void for_define_test(int *List, int Length, int Value) { in for_define_test() argument
73 for (int i = 0; i < Length; i++) { in for_define_test()
[all …]
Dpragma-unroll.cpp4 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 …]
D2012-03-16-StoreAlign.cpp4 struct Length { struct
5 Length(double v) { in Length() function
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/llvm/include/llvm/CodeGen/PBQP/
DMath.h29 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/llvm/tools/llvm-readobj/
DARMWinEHPrinter.h36 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/lib/Support/
DStringRef.cpp41 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/
Drc_test_helpers.c27 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/clang/test/PCH/
Dpragma-loop.cpp27 inline void run1(int *List, int Length) { in run1() argument
32 while (i < Length) { in run1()
38 inline void run2(int *List, int Length) { in run2() argument
43 while (i - 1 < Length) { in run2()
49 inline void run3(int *List, int Length) { in run3() argument
54 while (i - 3 < Length) { in run3()
60 inline void run4(int *List, int Length) { in run4() argument
63 while (i - 3 < Length) { in run4()
69 inline void run5(int *List, int Length) { in run5() argument
72 while (i - 3 < Length) { in run5()
[all …]
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
DBitSet.cs132 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/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
DBitSet.cs146 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/
Dbytebuffer_unittest.cc59 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/clang/test/SemaTemplate/
Dext-vector-type.cpp2 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/
Ddarwin-ARM64-reloc.s42 ; 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/clang/include/clang/Tooling/Core/
DReplacement.h38 Range() : Offset(0), Length(0) {} in Range()
39 Range(unsigned Offset, unsigned Length) : Offset(Offset), Length(Length) {} in Range() argument
44 unsigned getLength() const { return Length; } in getLength()
51 return Offset + Length > RHS.Offset && Offset < RHS.Offset + RHS.Length; in overlapsWith()
57 (RHS.Offset + RHS.Length) <= (Offset + Length); in contains()
63 unsigned Length; variable
81 Replacement(StringRef FilePath, unsigned Offset, unsigned Length,
87 unsigned Length, StringRef ReplacementText);
121 SourceLocation Start, unsigned Length,
/external/clang/test/Misc/
Dast-print-pragmas.cpp10 void test(int *List, int Length) { in test() argument
15 while (i < Length) { in test()
26 while (i - 1 < Length) { in test()
37 while (i - 2 < Length) { in test()
44 void test_nontype_template_param(int *List, int Length) { in test_nontype_template_param() argument
46 for (int i = 0; i < Length; i++) { in test_nontype_template_param()
54 void test_templates(int *List, int Length) { in test_templates() argument
55 test_nontype_template_param<2, 4>(List, Length); in test_templates()
/external/sfntly/cpp/src/test/
Dbyte_array_test.cc36 b->resize(ba->Length()); in ReadByteArrayWithBuffer()
38 while (index < ba->Length()) { in ReadByteArrayWithBuffer()
48 b->resize(ba->Length()); in ReadByteArrayWithSlidingWindow()
51 while (index < ba->Length()) { in ReadByteArrayWithSlidingWindow()
61 for (int i = 0; i < ba1->Length(); ++i) { in ReadComparison()
67 int increments = std::max<int32_t>(ba1->Length() / 11, 1); in ReadComparison()
68 for (int buffer_size = 1; buffer_size < ba1->Length(); in ReadComparison()
81 for (int window_size = 1; window_size < ba1->Length(); in ReadComparison()
94 ByteArrayPtr fixed_copy = new MemoryByteArray(ba->Length()); in CopyTest()
96 EXPECT_EQ(ba->Length(), fixed_copy->Length()); in CopyTest()
[all …]
/external/curl/tests/data/
Dtest203117 Content-Length: 27
27 Content-Length: 33
37 Content-Length: 29
48 Content-Length: 27
58 Content-Length: 33
68 Content-Length: 32
78 Content-Length: 27
88 Content-Length: 33
98 Content-Length: 29
109 Content-Length: 27
[all …]
Dtest202821 Content-Length: 27
32 Content-Length: 29
44 Content-Length: 27
55 Content-Length: 33
65 Content-Length: 32
75 Content-Length: 27
86 Content-Length: 29
98 Content-Length: 27
109 Content-Length: 33
119 Content-Length: 29
[all …]
/external/clang/include/clang/AST/
DExprOpenMP.h52 OMPArraySectionExpr(Expr *Base, Expr *LowerBound, Expr *Length, QualType Type, in OMPArraySectionExpr() argument
59 (Length && Length->isTypeDependent()), in OMPArraySectionExpr()
62 (Length && Length->isValueDependent()), in OMPArraySectionExpr()
65 (Length && Length->isInstantiationDependent()), in OMPArraySectionExpr()
68 (Length && Length->containsUnexpandedParameterPack())), in OMPArraySectionExpr()
72 SubExprs[LENGTH] = Length; in OMPArraySectionExpr()
/external/llvm/test/Object/
Dobj2yaml-coff-section-aux-symbol.test10 COFF-I386-NEXT: Length: 4
17 COFF-I386-NEXT: Length: 4
24 COFF-I386-NEXT: Length: 4
31 COFF-I386-NEXT: Length: 4
38 COFF-I386-NEXT: Length: 4
45 COFF-I386-NEXT: Length: 4
52 COFF-I386-NEXT: Length: 4
59 COFF-I386-NEXT: Length: 4
66 COFF-I386-NEXT: Length: 4
73 COFF-I386-NEXT: Length: 4
[all …]
/external/llvm/test/tools/llvm-readobj/
Drelocations.test65 MACHO-PPC-NEXT: Length: 2
72 MACHO-PPC-NEXT: Length: 2
79 MACHO-PPC-NEXT: Length: 2
86 MACHO-PPC-NEXT: Length: 2
93 MACHO-PPC-NEXT: Length: 2
102 MACHO-PPC-NEXT: Length: 2
109 MACHO-PPC-NEXT: Length: 2
116 MACHO-PPC-NEXT: Length: 2
123 MACHO-PPC-NEXT: Length: 2
132 MACHO-PPC-NEXT: Length: 2
[all …]

12345678910>>...44