/external/clang/test/CodeGenCXX/ |
H A D | 2012-03-16-StoreAlign.cpp | 4 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 D | LengthBox.h | 24 #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 D | LengthSize.h | 24 #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 D | Length.h | 39 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 D | Length.cpp | 26 #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 D | PopupMenuStyle.h | 31 #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 D | StyleBoxData.h | 28 #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 D | StyleReflection.h | 29 #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 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 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 D | TranslateTransformOperation.cpp | 34 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 D | TranslateTransformOperation.h | 28 #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 D | PerspectiveTransformOperation.h | 29 #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 D | PerspectiveTransformOperation.cpp | 43 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 D | StringRef.h | 54 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 D | CommonProfiling.c | 38 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 D | scoped_bstr_unittest.cc | 21 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 D | StringTokenizer.cs | 54 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 D | StringTokenizer.cs | 55 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 D | invalid-member-expr.cpp | 45 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 D | RenderFullScreen.cpp | 60 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 D | DWARFDebugAranges.h | 25 : 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 D | StringHaiku.cpp | 37 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 D | BitSet.cs | 132 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 D | BitSet.cs | 146 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 D | TargetInstrInfo.cpp | 73 unsigned Length = 0; local 79 Length += MAI.getMaxInstLength(); 87 return Length;
|