Searched refs:Length (Results 1 - 25 of 915) 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* @_ZZN3Foo19getPageSizeFromNameERK6LengthE10legalWidth, i32 0, i32 0), align 1
33 bool bar(Length
[all...]
/external/chromium_org/third_party/WebKit/Source/core/animation/animatable/
H A DAnimatableLengthTest.cpp17 PassRefPtrWillBeRawPtr<AnimatableLength> create(const Length& length, double zoom = 1)
26 EXPECT_EQ(Length(0, Fixed), create(Length(0, Fixed))->length(1, ValueRangeAll));
27 EXPECT_EQ(Length(0, Percent), create(Length(0, Percent))->length(1, ValueRangeAll));
28 EXPECT_EQ(Length(10, Fixed), create(Length(10, Fixed))->length(1, ValueRangeAll));
29 EXPECT_EQ(Length(10, Percent), create(Length(10, Percent))->length(1, ValueRangeAll));
30 EXPECT_EQ(Length(
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/
H A DLengthBox.h25 #include "platform/Length.h"
47 : m_left(Length(v, Fixed))
48 , m_right(Length(v, Fixed))
49 , m_top(Length(v, Fixed))
50 , m_bottom(Length(v, Fixed))
54 LengthBox(const Length& t, const Length& r, const Length& b, const Length& l)
63 : m_left(Length(
[all...]
H A DLengthPoint.h33 #include "platform/Length.h"
43 LengthPoint(const Length& x, const Length& y)
52 void setX(const Length& x) { m_x = x; }
53 const Length& x() const { return m_x; }
55 void setY(const Length& y) { m_y = y; }
56 const Length& y() const { return m_y; }
59 Length m_x;
60 Length m_y;
H A DLengthSize.h24 #include "platform/Length.h"
34 LengthSize(const Length& width, const Length& height)
45 void setWidth(const Length& width) { m_width = width; }
46 const Length& width() const { return m_width; }
48 void setHeight(const Length& height) { m_height = height; }
49 const Length& height() const { return m_height; }
52 Length m_width;
53 Length m_height;
H A DLengthFunctions.h33 class Length;
36 PLATFORM_EXPORT int intValueForLength(const Length&, LayoutUnit maximumValue);
37 PLATFORM_EXPORT float floatValueForLength(const Length&, float maximumValue);
38 PLATFORM_EXPORT LayoutUnit minimumValueForLength(const Length&, LayoutUnit maximumValue);
39 PLATFORM_EXPORT LayoutUnit roundedMinimumValueForLength(const Length&, LayoutUnit maximumValue);
40 PLATFORM_EXPORT LayoutUnit valueForLength(const Length&, LayoutUnit maximumValue);
H A DLength.h39 // appropriate for any given Length.
66 class PLATFORM_EXPORT Length { class in namespace:blink
69 Length() function in class:blink::Length
74 Length(LengthType t) function in class:blink::Length
80 Length(int v, LengthType t, bool q = false) function in class:blink::Length
86 Length(LayoutUnit v, LengthType t, bool q = false) function in class:blink::Length
92 Length(float v, LengthType t, bool q = false) function in class:blink::Length
98 Length(double v, LengthType t, bool q = false) function in class:blink::Length
104 explicit Length(PassRefPtr<CalculationValue>);
106 Length(cons function in class:blink::Length
124 Length(Length&& length) function in class:blink::Length
[all...]
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
H A DStyleBoxData.h29 #include "platform/Length.h"
46 const Length& width() const { return m_width; }
47 const Length& height() const { return m_height; }
49 const Length& minWidth() const { return m_minWidth; }
50 const Length& minHeight() const { return m_minHeight; }
52 const Length& maxWidth() const { return m_maxWidth; }
53 const Length& maxHeight() const { return m_maxHeight; }
55 const Length& verticalAlign() const { return m_verticalAlign; }
69 Length m_width;
70 Length m_heigh
[all...]
H A DBorderImageLength.h34 #include "platform/Length.h"
50 BorderImageLength(const Length& length)
60 const Length& length() const { ASSERT(isLength()); return m_length; }
61 Length& length() { ASSERT(isLength()); return m_length; }
76 // Ideally we would put the 2 following fields in a union, but Length has a constructor,
78 Length m_length;
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
H A DGeneratedImage.cpp39 void GeneratedImage::computeIntrinsicDimensions(Length& intrinsicWidth, Length& intrinsicHeight, FloatSize& intrinsicRatio)
/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) {
/external/clang/test/CodeGen/
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);
32 void for_test(int *List, int Length) { argument
36 for (int i = 0; i < Length; i++) {
55 void disable_test(int *List, int Length) { argument
57 for (int i = 0; i < Length; i++) {
68 void for_define_test(int *List, int Length, int Value) { argument
71 for (int i = 0; i < Length;
79 for_template_test(A *List, int Length, A Value) argument
90 for_template_define_test(A *List, int Length, A Value) argument
104 template_test(double *List, int Length) argument
[all...]
/external/clang/test/PCH/
H A Dpragma-loop.cpp22 inline void run1(int *List, int Length) { argument
27 while (i < Length) {
33 inline void run2(int *List, int Length) { argument
38 while (i - 1 < Length) {
44 inline void run3(int *List, int Length) { argument
49 while (i - 3 < Length) {
/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.h37 unsigned Length, bool Prologue);
39 unsigned Length, bool Prologue);
41 unsigned Length, bool Prologue);
43 unsigned Length, bool Prologue);
45 unsigned Length, bool Prologue);
47 unsigned Length, bool Prologue);
49 unsigned Length, bool Prologue);
51 unsigned Length, bool Prologue);
53 unsigned Length, bool Prologue);
55 unsigned Length, boo
[all...]
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/
H A Dstringutil.cc213 lhs.append(cs, rhs.Length());
220 result.reserve(s1.Length() + s2.Length() + 1);
231 result.reserve(s1.Length() + s2.Length() + s3.Length() + 1);
243 result.reserve(s1.Length() + s2.Length() + s3.Length() + s4.Length()
[all...]
/external/llvm/lib/Support/
H A DLineIterator.cpp63 size_t Length = 0; local
65 ++Length;
66 } while (Pos[Length] != '\0' && Pos[Length] != '\n');
68 CurrentLine = StringRef(Pos, Length);
/external/chromium_org/third_party/WebKit/Source/platform/transforms/
H A DTranslateTransformOperation.h28 #include "platform/Length.h"
36 static PassRefPtr<TranslateTransformOperation> create(const Length& tx, const Length& ty, OperationType type)
41 static PassRefPtr<TranslateTransformOperation> create(const Length& tx, const Length& ty, double tz, OperationType type)
51 Length x() const { return m_x; }
52 Length y() const { return m_y; }
78 TranslateTransformOperation(const Length& tx, const Length& ty, double tz, OperationType type)
87 Length m_
[all...]
/external/chromium_org/base/win/
H A Dscoped_bstr_unittest.cc21 EXPECT_EQ(0, b.Length());
37 EXPECT_EQ(test1_len, b1.Length());
42 EXPECT_EQ(test1_len, b2.Length());
43 EXPECT_EQ(0, b1.Length());
56 EXPECT_EQ(100 / sizeof(kTestString1[0]), b2.Length());
59 EXPECT_EQ(100 / sizeof(kTestString1[0]), b2.Length());
61 EXPECT_EQ(b2.Length(), lstrlen(b2));
64 EXPECT_EQ(test2_len, b1.Length());
66 EXPECT_EQ(test2_len - 1, b1.Length());
/external/chromium_org/ui/base/l10n/
H A Dtime_format.h29 enum Length { enum in class:ui::TimeFormat
40 Length length,
72 Length length,
/external/llvm/include/llvm/ADT/
H A DStringRef.h52 size_t Length; member in class:llvm::StringRef
62 static int compareMemory(const char *Lhs, const char *Rhs, size_t Length) { argument
63 if (Length == 0) { return 0; }
64 return ::memcmp(Lhs,Rhs,Length);
72 /*implicit*/ StringRef() : Data(nullptr), Length(0) {}
78 Length = ::strlen(Str); // invoking strlen(NULL) is undefined behavior
83 : Data(data), Length(length) {
90 : Data(Str.data()), Length(Str.length()) {}
98 iterator end() const { return Data + Length; }
109 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;

Completed in 4471 milliseconds

1234567891011>>