Searched refs:Length (Results 1 - 25 of 403) sorted by relevance

1234567891011>>

/external/clang/test/CodeGenCXX/
H A D2012-03-16-StoreAlign.cpp4 struct Length { struct
5 Length(double v) { function in struct:Length
9 bool operator==(const Length& o) const {
12 bool operator!=(const Length& o) const { return !(*this == o); }
22 static Length inchLength(double inch);
23 static bool getPageSizeFromName(const Length &A) {
24 static const Length legalWidth = inchLength(8.5);
30 // CHECK: @_ZZN3Foo19getPageSizeFromNameERK6LengthE10legalWidth = linkonce_odr global %struct.Length zeroinitializer, align 4
31 // CHECK: store float %{{.*}}, float* getelementptr inbounds (%struct.Length, %struct.Length*
[all...]
/external/clang/test/CodeGen/
H A Dpragma-unroll.cpp4 void while_test(int *List, int Length) { argument
9 while (i < Length) {
17 void do_test(int *List, int Length) { argument
25 } while (i < Length);
29 void for_test(int *List, int Length) { argument
31 for (int i = 0; i < Length; i++) {
51 void for_define_test(int *List, int Length, int Value) { argument
53 for (int i = 0; i < Length; i++) {
61 void for_template_test(A *List, int Length, A Value) { argument
63 for (int i = 0; i < Length;
71 for_template_define_test(A *List, int Length, A Value) argument
82 template_test(double *List, int Length) argument
[all...]
H A Dpragma-loop.cpp4 void while_test(int *List, int Length) { argument
12 while (i < Length) {
20 void do_test(int *List, int Length) { argument
28 } while (i < Length);
34 void for_test(int *List, int Length) { argument
38 for (int i = 0; i < Length; i++) {
57 void disable_test(int *List, int Length) { argument
59 for (int i = 0; i < Length; i++) {
70 void for_define_test(int *List, int Length, int Value) { argument
73 for (int i = 0; i < Length;
80 for_contant_expression_test(int *List, int Length) argument
96 for_template_test(A *List, int Length, A Value) argument
106 for_template_define_test(A *List, int Length, A Value) argument
120 for_template_constant_expression_test(A *List, int Length) argument
152 template_test(double *List, int Length) argument
[all...]
/external/clang/test/Parser/
H A Dpragma-unroll.cpp6 void test(int *List, int Length) { argument
10 while (i + 1 < Length) {
15 while (i < Length) {
20 while (i - 1 < Length) {
25 while (i - 2 < Length) {
32 while (i-6 < Length) {
37 while (i-7 < Length) {
47 while (i-8 < Length) {
52 /* expected-error {{expected a for, while, or do-while loop to follow '#pragma unroll'}} */ int j = Length;
54 /* expected-error {{expected a for, while, or do-while loop to follow '#pragma unroll'}} */ int k = Length;
[all...]
H A Dpragma-loop.cpp7 void test_nontype_template_param(int *List, int Length) { argument
9 for (int i = 0; i < Length; i++) {
14 for (int i = 0; i < Length; i++) {
20 void test_nontype_template_vectorize(int *List, int Length) { argument
22 for (int i = 0; i < Length; i++) {
27 for (int i = 0; i < Length; i++) {
33 void test_nontype_template_interleave(int *List, int Length) { argument
35 for (int i = 0; i < Length; i++) {
40 for (int i = 0; i < Length; i++) {
46 void test_nontype_template_char(int *List, int Length) { argument
54 test_nontype_template_bool(int *List, int Length) argument
62 test_nontype_template_badarg(int *List, int Length) argument
71 test_type_template_vectorize(int *List, int Length) argument
79 test(int *List, int Length) argument
[all...]
/external/clang/test/Misc/
H A Dast-print-pragmas-xfail.cpp6 void run1(int *List, int Length) { argument
16 // CHECK-NEXT: while (i < Length)
17 while (i < Length) {
H A Dast-print-pragmas.cpp9 void test(int *List, int Length) { argument
13 // CHECK-NEXT: while (i < Length)
14 while (i < Length) {
24 // CHECK-NEXT: while (i - 1 < Length)
25 while (i - 1 < Length) {
35 // CHECK-NEXT: while (i - 2 < Length)
36 while (i - 2 < Length) {
43 void test_nontype_template_param(int *List, int Length) { argument
45 for (int i = 0; i < Length; i++) {
53 void test_templates(int *List, int Length) { argument
[all...]
H A Dbackend-optimization-failure.cpp7 void test_switch(int *A, int *B, int Length) { argument
9 for (int i = 0; i < Length; i++) {
/external/clang/test/PCH/
H A Dpragma-loop.cpp27 inline void run1(int *List, int Length) { argument
32 while (i < Length) {
38 inline void run2(int *List, int Length) { argument
43 while (i - 1 < Length) {
49 inline void run3(int *List, int Length) { argument
54 while (i - 3 < Length) {
60 inline void run4(int *List, int Length) { argument
63 while (i - 3 < Length) {
69 inline void run5(int *List, int Length) { argument
72 while (i - 3 < Length) {
78 run6(int *List, int Length) argument
88 run7(int *List, int Length) argument
[all...]
/external/clang/test/SemaTemplate/
H A 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 type 's'}}
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))) typ
[all...]
/external/llvm/tools/llvm-readobj/
H A 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, boo
[all...]
/external/llvm/include/llvm/ADT/
H A DStringRef.h52 size_t Length; member in class:llvm::StringRef
56 static int compareMemory(const char *Lhs, const char *Rhs, size_t Length) { argument
57 if (Length == 0) { return 0; }
58 return ::memcmp(Lhs,Rhs,Length);
66 /*implicit*/ StringRef() : Data(nullptr), Length(0) {}
72 Length = ::strlen(Str); // invoking strlen(NULL) is undefined behavior
77 : Data(data), Length(length) {
84 : Data(Str.data()), Length(Str.length()) {}
92 iterator end() const { return Data + Length; }
110 bool empty() const { return Length
[all...]
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/
H A DStringTokenizer.cs54 if ( i == _tokens.Length - 1 )
56 if (EnumerableExtensions.Contains(delims, str[str.Length - 1]))
71 delegate(string t) { return t.Length + 1; })) - 1].ToString() };
79 return _current < _tokens.Length;
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
H A DStringTokenizer.cs55 if ( i == _tokens.Length - 1 )
57 if ( delims.Contains( str[str.Length - 1] ) )
71 return new string[] { token, str[_tokens.Take( i + 1 ).Select( t => t.Length + 1 ).Sum() - 1].ToString() };
79 return _current < _tokens.Length;
/external/clang/test/SemaCXX/
H A Dinvalid-member-expr.cpp45 struct Length { struct in namespace:rdar11293995
46 explicit Length(PassRefPtr<CalculationValue>); // expected-error {{unknown type name}} \
52 Length m_width;
53 Length m_height;
/external/lzma/CPP/Common/
H A DStringConvert.cpp18 srcString.Length(), resultString.GetBuffer(srcString.Length()),
19 srcString.Length() + 1);
33 int numRequiredBytes = s.Length() * 2;
35 int numChars = WideCharToMultiByte(codePage, 0, s, s.Length(),
56 CharToOem(srcString, result.GetBuffer(srcString.Length() * 2));
67 for (int i = 0; i < srcString.Length(); i++)
72 int numChars = mbstowcs(resultString.GetBuffer(srcString.Length()), srcString, srcString.Length() + 1);
83 for (int i = 0; i < srcString.Length();
[all...]
/external/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFDebugAranges.h37 : LowPC(LowPC), Length(HighPC - LowPC), CUOffset(CUOffset) {}
41 Length = 0;
43 Length = HighPC - LowPC;
46 if (Length)
47 return LowPC + Length;
59 uint32_t Length; // End of address range (not including this address). member in struct:llvm::DWARFDebugAranges::Range
/external/mesa3d/src/gallium/drivers/r300/compiler/tests/
H A Drc_test_helpers.c27 int Length; member in struct:match_info
107 tokens.Negate.Length = match_length(matches, 1);
109 tokens.Abs.Length = match_length(matches, 2);
111 tokens.File.Length = match_length(matches, 3);
113 tokens.Index.Length = match_length(matches, 4);
115 tokens.Swizzle.Length = match_length(matches, 5);
118 if (tokens.Negate.Length > 0) {
123 if (tokens.Abs.Length > 0) {
128 if (!strncmp(tokens.File.String, "temp", tokens.File.Length)) {
130 } else if (!strncmp(tokens.File.String, "input", tokens.File.Length)) {
[all...]
/external/llvm/lib/Support/
H A DStringRef.cpp41 static int ascii_strncasecmp(const char *LHS, const char *RHS, size_t Length) { argument
42 for (size_t I = 0; I < Length; ++I) {
53 if (int Res = ascii_strncasecmp(Data, RHS.Data, std::min(Length, RHS.Length)))
55 if (Length == RHS.Length)
57 return Length < RHS.Length ? -1 : 1;
62 return Length >= Prefix.Length
[all...]
H A DLineIterator.cpp88 size_t Length = 0; local
89 while (Pos[Length] != '\0' && !isAtLineEnd(&Pos[Length])) {
90 ++Length;
93 CurrentLine = StringRef(Pos, Length);
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
H A DBitSet.cs132 if (n >= _bits.Length) {
142 int newSize = Math.Max(_bits.Length << 1, NumWordsToHold(bit));
151 if (a._bits.Length > _bits.Length) {
152 SetSize(a._bits.Length);
154 int min = Math.Min(_bits.Length, a._bits.Length);
178 for (int i = _bits.Length - 1; i >= 0; i--) {
202 int n = Math.Min(this._bits.Length, otherSet._bits.Length);
[all...]
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
H A DBitSet.cs146 if ( n >= _bits.Length )
158 int newSize = Math.Max( _bits.Length << 1, NumWordsToHold( bit ) );
169 if ( a._bits.Length > _bits.Length )
171 SetSize( a._bits.Length );
173 int min = Math.Min( _bits.Length, a._bits.Length );
202 for ( int i = _bits.Length - 1; i >= 0; i-- )
233 int n = Math.Min( this._bits.Length, otherSet._bits.Length );
[all...]
/external/clang/include/clang/Tooling/Core/
H A DReplacement.h37 Range() : Offset(0), Length(0) {}
38 Range(unsigned Offset, unsigned Length) : Offset(Offset), Length(Length) {} argument
43 unsigned getLength() const { return Length; }
50 return Offset + Length > RHS.Offset && Offset < RHS.Offset + RHS.Length;
56 (RHS.Offset + RHS.Length) <= (Offset + Length);
62 unsigned Length; member in class:clang::tooling::Range
[all...]
/external/sfntly/cpp/src/test/
H A Dbyte_array_test.cc36 b->resize(ba->Length());
38 while (index < ba->Length()) {
48 b->resize(ba->Length());
51 while (index < ba->Length()) {
61 for (int i = 0; i < ba1->Length(); ++i) {
67 int increments = std::max<int32_t>(ba1->Length() / 11, 1);
68 for (int buffer_size = 1; buffer_size < ba1->Length();
81 for (int window_size = 1; window_size < ba1->Length();
94 ByteArrayPtr fixed_copy = new MemoryByteArray(ba->Length());
96 EXPECT_EQ(ba->Length(), fixed_cop
[all...]
/external/clang/include/clang/Tooling/
H A DReplacementsYaml.h36 : FilePath(""), Offset(0), Length(0), ReplacementText("") {}
40 Length(R.getLength()), ReplacementText(R.getReplacementText()) {}
43 return clang::tooling::Replacement(FilePath, Offset, Length,
49 unsigned int Length; member in struct:llvm::yaml::MappingTraits::NormalizedReplacement
58 Io.mapRequired("Length", Keys->Length);

Completed in 619 milliseconds

1234567891011>>