/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/chromium_org/third_party/WebKit/Source/core/platform/ |
H A D | LengthBox.h | 25 #include "core/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(Length t, Length r, Length b, Length l) 63 : m_left(Length( [all...] |
H A D | LengthSize.h | 24 #include "core/platform/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.cpp | 26 #include "core/platform/Length.h" 63 static Length parseHTMLAreaCoordinate(const CharType* data, unsigned length) 72 return Length(r, Fixed); 73 return Length(0, Fixed); 77 Vector<Length> parseHTMLAreaElementCoords(const String& string) 93 return Vector<Length>(); 96 Vector<Length> r(len); 158 Length::Length(PassRefPtr<CalculationValue> calc) function in class:WebCore::Length 166 Length Lengt [all...] |
H A D | Length.h | 49 struct Length { struct in namespace:WebCore 52 Length() function in struct:WebCore::Length 57 Length(LengthType t) function in struct:WebCore::Length 63 Length(int v, LengthType t, bool q = false) function in struct:WebCore::Length 69 Length(LayoutUnit v, LengthType t, bool q = false) function in struct:WebCore::Length 75 Length(float v, LengthType t, bool q = false) function in struct:WebCore::Length 81 Length(double v, LengthType t, bool q = false) function in struct:WebCore::Length 87 explicit Length(PassRefPtr<CalculationValue>); 89 Length(const Length function in struct:WebCore::Length [all...] |
/external/chromium_org/third_party/WebKit/Source/core/css/ |
H A D | LengthFunctions.h | 31 struct Length; 33 int minimumIntValueForLength(const Length&, LayoutUnit maximumValue, RenderView* = 0, bool roundPercentages = false); 34 int intValueForLength(const Length&, LayoutUnit maximumValue, RenderView* = 0, bool roundPercentages = false); 35 LayoutUnit minimumValueForLength(const Length&, LayoutUnit maximumValue, RenderView* = 0, bool roundPercentages = false); 36 LayoutUnit valueForLength(const Length&, LayoutUnit maximumValue, RenderView* = 0, bool roundPercentages = false); 37 float floatValueForLength(const Length&, float maximumValue, RenderView* = 0);
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/ |
H A D | BasicShapes.h | 33 #include "core/platform/Length.h" 71 Length x() const { return m_x; } 72 Length y() const { return m_y; } 73 Length width() const { return m_width; } 74 Length height() const { return m_height; } 75 Length cornerRadiusX() const { return m_cornerRadiusX; } 76 Length cornerRadiusY() const { return m_cornerRadiusY; } 78 void setX(Length x) { m_x = x; } 79 void setY(Length y) { m_y = y; } 80 void setWidth(Length widt [all...] |
H A D | StyleBoxData.h | 28 #include "core/platform/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; } 69 Length m_width; 70 Length m_heigh [all...] |
H A D | GridLength.h | 34 #include "core/platform/Length.h" 40 // an new unit to Length.h. 50 GridLength(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;
|
H A D | NinePieceImage.cpp | 59 , imageSlices(Length(100, Percent), Length(100, Percent), Length(100, Percent), Length(100, Percent)) 60 , borderSlices(Length(1, Relative), Length(1, Relative), Length(1, Relative), Length(1, Relative))
|
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/ |
H A D | GeneratedImage.cpp | 39 void GeneratedImage::computeIntrinsicDimensions(Length& intrinsicWidth, Length& intrinsicHeight, FloatSize& intrinsicRatio)
|
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/transforms/ |
H A D | PerspectiveTransformOperation.cpp | 44 return PerspectiveTransformOperation::create(Length(clampToPositiveInteger(p), Fixed)); 48 Length fromP = fromOp ? fromOp->m_p : Length(m_p.type()); 49 Length toP = m_p; 61 return PerspectiveTransformOperation::create(Length(clampToPositiveInteger(val), Fixed)); 63 return PerspectiveTransformOperation::create(Length(0, Fixed));
|
H A D | TranslateTransformOperation.h | 29 #include "core/platform/Length.h" 36 static PassRefPtr<TranslateTransformOperation> create(const Length& tx, const Length& ty, OperationType type) 38 return adoptRef(new TranslateTransformOperation(tx, ty, Length(0, Fixed), type)); 41 static PassRefPtr<TranslateTransformOperation> create(const Length& tx, const Length& ty, const Length& tz, OperationType type) 50 Length x() const { return m_x; } 51 Length y() const { return m_y; } 52 Length [all...] |
H A D | PerspectiveTransformOperation.h | 30 #include "core/platform/Length.h" 37 static PassRefPtr<PerspectiveTransformOperation> create(const Length& p) 42 Length perspective() const { return m_p; } 65 PerspectiveTransformOperation(const Length& p) 71 Length m_p;
|
H A D | TranslateTransformOperation.cpp | 32 const Length zeroLength(0, Fixed); 37 Length fromX = fromOp ? fromOp->m_x : zeroLength; 38 Length fromY = fromOp ? fromOp->m_y : zeroLength; 39 Length fromZ = fromOp ? fromOp->m_z : zeroLength;
|
/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/llvm/include/llvm/ADT/ |
H A D | StringRef.h | 53 size_t Length; member in class:llvm::StringRef 63 static int compareMemory(const char *Lhs, const char *Rhs, size_t Length) { argument 64 if (Length == 0) { return 0; } 65 return ::memcmp(Lhs,Rhs,Length); 73 /*implicit*/ StringRef() : Data(0), Length(0) {} 79 Length = ::strlen(Str); // invoking strlen(NULL) is undefined behavior 84 : Data(data), Length(length) { 91 : Data(Str.data()), Length(Str.length()) {} 99 iterator end() const { return Data + Length; } 110 bool empty() const { return Length [all...] |
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/ |
H A D | stringutil.cc | 213 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/clang/include/clang/Tooling/ |
H A D | Refactoring.h | 38 Range() : Offset(0), Length(0) {} 39 Range(unsigned Offset, unsigned Length) : Offset(Offset), Length(Length) {} argument 44 unsigned getLength() const { return Length; } 51 if ((Offset + Length) <= RHS.Offset || Offset >= (RHS.Offset + RHS.Length)) 59 (RHS.Offset + RHS.Length) <= (Offset + Length); 65 unsigned Length; member in class:clang::tooling::Range [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/chromium_org/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/lzma/CPP/Common/ |
H A D | StringConvert.cpp | 18 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...] |