Searched refs:Length (Results 1 - 25 of 460) 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/webkit/Source/WebCore/platform/
H A DLengthBox.h24 #include "Length.h"
42 : m_left(Length(v, Fixed))
43 , m_right(Length(v, Fixed))
44 , m_top(Length(v, Fixed))
45 , m_bottom(Length(v, Fixed))
49 LengthBox(Length t, Length r, Length b, Length l)
58 : m_left(Length(
[all...]
H A DLengthSize.h24 #include "Length.h"
34 LengthSize(Length width, Length height)
45 void setWidth(Length width) { m_width = width; }
46 Length width() const { return m_width; }
48 void setHeight(Length height) { m_height = height; }
49 Length height() const { return m_height; }
52 Length m_width;
53 Length m_height;
H A DLength.h39 struct Length { struct in namespace:WebCore
42 Length() function in struct:WebCore::Length
47 Length(LengthType t) function in struct:WebCore::Length
52 Length(int v, LengthType t, bool q = false) function in struct:WebCore::Length
57 Length(float v, LengthType t, bool q = false) function in struct:WebCore::Length
62 Length(double v, LengthType t, bool q = false) function in struct:WebCore::Length
68 bool operator==(const Length& o) const { return (getFloatValue() == o.getFloatValue()) && (m_type == o.m_type) && (m_quirk == o.m_quirk); }
69 bool operator!=(const Length& o) const { return (getFloatValue() != o.getFloatValue()) || (m_type != o.m_type) || (m_quirk != o.m_quirk); }
71 const Length& operator*=(float v)
115 *this = Length(valu
[all...]
H A DLength.cpp26 #include "Length.h"
38 static Length parseLength(const UChar* data, unsigned length)
41 return Length(1, Relative);
65 return Length(r, Percent);
66 return Length(1, Relative);
71 return Length(r, Relative);
72 return Length(1, Relative);
75 return Length(r, Fixed);
76 return Length(0, Relative);
87 PassOwnArrayPtr<Length> newCoordsArra
[all...]
H A DPopupMenuStyle.h31 #include "Length.h"
38 PopupMenuStyle(const Color& foreground, const Color& background, const Font& font, bool visible, bool isDisplayNone, Length textIndent, TextDirection textDirection, bool hasTextDirectionOverride)
55 Length textIndent() const { return m_textIndent; }
65 Length m_textIndent;
/external/webkit/Source/WebCore/rendering/style/
H A DStyleBoxData.h28 #include "Length.h"
46 Length width() const { return m_width; }
47 Length height() const { return m_height; }
49 Length minWidth() const { return m_minWidth; }
50 Length minHeight() const { return m_minHeight; }
52 Length maxWidth() const { return m_maxWidth; }
53 Length maxHeight() const { return m_maxHeight; }
55 Length verticalAlign() const { return m_verticalAlign; }
68 Length m_width;
69 Length m_heigh
[all...]
H A DStyleReflection.h29 #include "Length.h"
49 Length offset() const { return m_offset; }
53 void setOffset(const Length& l) { m_offset = l; }
64 Length m_offset;
/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/webkit/Source/WebCore/platform/graphics/transforms/
H A DTranslateTransformOperation.cpp34 return TranslateTransformOperation::create(Length(m_x.type()).blend(m_x, narrowPrecisionToFloat(progress)),
35 Length(m_y.type()).blend(m_y, narrowPrecisionToFloat(progress)),
36 Length(m_z.type()).blend(m_z, narrowPrecisionToFloat(progress)), m_type);
39 Length fromX = fromOp ? fromOp->m_x : Length(m_x.type());
40 Length fromY = fromOp ? fromOp->m_y : Length(m_y.type());
41 Length fromZ = fromOp ? fromOp->m_z : Length(m_z.type());
H A DTranslateTransformOperation.h28 #include "Length.h"
35 static PassRefPtr<TranslateTransformOperation> create(const Length& tx, const Length& ty, OperationType type)
37 return adoptRef(new TranslateTransformOperation(tx, ty, Length(0, Fixed), type));
40 static PassRefPtr<TranslateTransformOperation> create(const Length& tx, const Length& ty, const Length& tz, OperationType type)
49 Length x() const { return m_x; }
50 Length y() const { return m_y; }
51 Length
[all...]
H A DPerspectiveTransformOperation.h29 #include "Length.h"
36 static PassRefPtr<PerspectiveTransformOperation> create(const Length& p)
41 Length perspective() const { return m_p; }
64 PerspectiveTransformOperation(const Length& p)
70 Length m_p;
H A DPerspectiveTransformOperation.cpp43 return PerspectiveTransformOperation::create(Length(clampToPositiveInteger(p), Fixed));
47 Length fromP = fromOp ? fromOp->m_p : Length(m_p.type());
48 Length toP = m_p;
60 return PerspectiveTransformOperation::create(Length(clampToPositiveInteger(val), Fixed));
62 return PerspectiveTransformOperation::create(Length(0, Fixed));
/external/llvm/include/llvm/ADT/
H A DStringRef.h54 size_t Length; member in class:llvm::StringRef
64 static int compareMemory(const char *Lhs, const char *Rhs, size_t Length) { argument
65 if (Length == 0) { return 0; }
66 return ::memcmp(Lhs,Rhs,Length);
74 /*implicit*/ StringRef() : Data(0), Length(0) {}
80 Length = ::strlen(Str); // invoking strlen(NULL) is undefined behavior
85 : Data(data), Length(length) {
92 : Data(Str.data()), Length(Str.length()) {}
100 iterator end() const { return Data + Length; }
111 bool empty() const { return Length
[all...]
/external/llvm/runtime/libprofile/
H A DCommonProfiling.c38 unsigned Length, i; local
65 for (Length = 0, i = 0; i != (unsigned)argc; ++i)
66 Length += strlen(argv[i])+1;
72 if (Length == 0) {
78 SavedArgs = (char*)malloc(Length);
79 for (Length = 0, i = 0; i != (unsigned)argc; ++i) {
81 memcpy(SavedArgs+Length, argv[i], Len);
82 Length += Len;
83 SavedArgs[Length++] = ' ';
86 SavedArgsLength = Length;
[all...]
/external/chromium/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/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/webkit/Source/WebCore/rendering/
H A DRenderFullScreen.cpp60 fullscreenStyle->setWidth(Length(100.0, Percent));
61 fullscreenStyle->setHeight(Length(100.0, Percent));
62 fullscreenStyle->setLeft(Length(0, Fixed));
63 fullscreenStyle->setTop(Length(0, Fixed));
/external/llvm/lib/DebugInfo/
H A DDWARFDebugAranges.h25 : LoPC(lo), Length(hi-lo), Offset(off) {}
29 Length = 0;
35 Length = 0;
37 Length = HiPC - LoPC;
40 if (Length)
41 return LoPC + Length;
44 bool isValidRange() const { return Length > 0; }
59 uint32_t Length; // End of address range (not including this address) member in struct:llvm::DWARFDebugAranges::Range
/external/webkit/Source/JavaScriptCore/wtf/haiku/
H A DStringHaiku.cpp37 if (string.Length())
38 m_impl = String::fromUTF8(string.String(), string.Length()).impl();
/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/llvm/lib/Target/
H A DTargetInstrInfo.cpp73 unsigned Length = 0; local
79 Length += MAI.getMaxInstLength();
87 return Length;

Completed in 360 milliseconds

1234567891011>>