/external/clang/test/CodeGenCXX/ |
2012-03-16-StoreAlign.cpp | 4 struct Length { 5 Length(double v) { 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 &b) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/ |
StyleBoxData.h | 29 #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_height [all...] |
StyleTransformData.h | 28 #include "platform/Length.h" 47 Length m_x; 48 Length m_y;
|
/external/chromium_org/third_party/WebKit/Source/core/animation/ |
AnimatableLengthTest.cpp | 16 PassRefPtrWillBeRawPtr<AnimatableLength> create(const Length& length, double zoom = 1) 18 return AnimatableLength::create(length, zoom); 25 EXPECT_EQ(Length(0, Fixed), create(Length(0, Fixed))->length(1, ValueRangeAll)); 26 EXPECT_EQ(Length(0, Percent), create(Length(0, Percent))->length(1, ValueRangeAll)); 27 EXPECT_EQ(Length(10, Fixed), create(Length(10, Fixed))->length(1, ValueRangeAll)) [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/ |
LengthBox.h | 25 #include "platform/Length.h" 49 : m_left(Length(v, Fixed)) 50 , m_right(Length(v, Fixed)) 51 , m_top(Length(v, Fixed)) 52 , m_bottom(Length(v, Fixed)) 56 LengthBox(const Length& t, const Length& r, const Length& b, const Length& l) 65 : m_left(Length(l, Fixed) [all...] |
LengthFunctions.h | 33 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);
|
LengthPoint.h | 33 #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;
|
LengthSize.h | 24 #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;
|
Length.h | 39 // appropriate for any given Length. 66 class PLATFORM_EXPORT Length { 69 Length() 74 Length(LengthType t) 80 Length(int v, LengthType t, bool q = false) 86 Length(LayoutUnit v, LengthType t, bool q = false) 92 Length(float v, LengthType t, bool q = false) 98 Length(double v, LengthType t, bool q = false) 104 explicit Length(PassRefPtr<CalculationValue>); 106 Length(const Length& length [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
GeneratedImage.cpp | 39 void GeneratedImage::computeIntrinsicDimensions(Length& intrinsicWidth, Length& intrinsicHeight, FloatSize& intrinsicRatio)
|
/external/clang/test/Misc/ |
ast-print-pragmas-xfail.cpp | 6 void run1(int *List, int Length) { 16 // CHECK-NEXT: while (i < Length) 17 while (i < Length) {
|
ast-print-pragmas.cpp | 9 void test(int *List, int Length) { 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/ |
pragma-loop.cpp | 4 void while_test(int *List, int Length) { 12 while (i < Length) { 20 void do_test(int *List, int Length) { 28 } while (i < Length); 32 void for_test(int *List, int Length) { 36 for (int i = 0; i < Length; i++) { 55 void disable_test(int *List, int Length) { 57 for (int i = 0; i < Length; i++) { 68 void for_define_test(int *List, int Length, int Value) { 71 for (int i = 0; i < Length; i++) [all...] |
/external/clang/test/PCH/ |
pragma-loop.cpp | 22 inline void run1(int *List, int Length) { 27 while (i < Length) { 33 inline void run2(int *List, int Length) { 38 while (i - 1 < Length) { 44 inline void run3(int *List, int Length) { 49 while (i - 3 < Length) {
|
/external/clang/test/SemaTemplate/ |
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))) type; // expected-error{{invalid vector element type} [all...] |
/external/llvm/include/llvm/ADT/ |
StringRef.h | 34 /// array and a length, which need not be null terminated. 51 /// The length of the string. 52 size_t Length; 62 static int compareMemory(const char *Lhs, const char *Rhs, size_t Length) { 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 81 /// Construct a string ref from a pointer and length. 82 /*implicit*/ StringRef(const char *data, size_t length) [all...] |
/external/llvm/tools/llvm-readobj/ |
ARMWinEHPrinter.h | 37 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, bool Prologue) [all...] |
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/ |
stringutil.cc | 93 start_pos = find_pos + delimiter.length(); 95 if (start_pos != s.length()) { 112 const bool has_prefix = in.compare(0, prefix.length(), prefix) == 0; 113 out->assign(has_prefix ? in.substr(prefix.length()) : in); 119 if (s.length() < suffix.length()) { 122 return s.compare(s.length() - suffix.length(), suffix.length(), suffix) == 0; 164 for (size_t match_pos = s->find(substring.data(), pos, substring.length()); [all...] |
/external/llvm/lib/Support/ |
LineIterator.cpp | 63 size_t Length = 0; 65 ++Length; 66 } while (Pos[Length] != '\0' && Pos[Length] != '\n'); 68 CurrentLine = StringRef(Pos, Length);
|
/external/chromium_org/third_party/WebKit/Source/platform/transforms/ |
TranslateTransformOperation.h | 28 #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; } 80 TranslateTransformOperation(const Length& tx, const Length& ty, double tz, OperationType type) 89 Length m_x [all...] |
/external/clang/include/clang/Tooling/ |
Refactoring.h | 38 Range() : Offset(0), Length(0) {} 39 Range(unsigned Offset, unsigned Length) : Offset(Offset), Length(Length) {} 44 unsigned getLength() const { return Length; } 51 return Offset + Length > RHS.Offset && Offset < RHS.Offset + RHS.Length; 57 (RHS.Offset + RHS.Length) <= (Offset + Length); 63 unsigned Length; [all...] |
/external/llvm/include/llvm/CodeGen/PBQP/ |
Math.h | 27 explicit Vector(unsigned Length) 28 : Length(Length), Data(new PBQPNum[Length]) { 30 // << this << " (length " << Length << ")\n"; 34 Vector(unsigned Length, PBQPNum InitVal) 35 : Length(Length), Data(new PBQPNum[Length]) { [all...] |
/external/chromium_org/base/win/ |
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/third_party/WebKit/Source/core/rendering/ |
RenderLayerReflectionInfo.cpp | 93 transform.operations().append(TranslateTransformOperation::create(Length(0, Fixed), 94 Length(100., Percent), TransformOperation::Translate)); 95 transform.operations().append(TranslateTransformOperation::create(Length(0, Fixed), 102 transform.operations().append(TranslateTransformOperation::create(Length(0, Fixed), 103 Length(100., Percent), TransformOperation::Translate)); 104 transform.operations().append(TranslateTransformOperation::create(Length(0, Fixed), 109 transform.operations().append(TranslateTransformOperation::create(Length(100., Percent), 110 Length(0, Fixed), TransformOperation::Translate)); 112 m_box.style()->boxReflect()->offset(), Length(0, Fixed), TransformOperation::Translate)); 118 transform.operations().append(TranslateTransformOperation::create(Length(100., Percent) [all...] |
/external/chromium_org/ui/base/l10n/ |
time_format.h | 29 enum Length { 32 LENGTH_COUNT // Enum size counter, not a length. Must be last. 37 // of format and length except (FORMAT_ELAPSED, LENGTH_LONG) are implemented 40 Length length, 62 // Currently, the only combination of format and length that is implemented is 72 Length length,
|