/external/webkit/Source/WebCore/platform/ |
D | LengthBox.h | 42 : m_left(Length(v, Fixed)) in LengthBox() 43 , m_right(Length(v, Fixed)) in LengthBox() 44 , m_top(Length(v, Fixed)) in LengthBox() 45 , m_bottom(Length(v, Fixed)) in LengthBox() 49 LengthBox(Length t, Length r, Length b, Length l) in LengthBox() 58 : m_left(Length(l, Fixed)) in LengthBox() 59 , m_right(Length(r, Fixed)) in LengthBox() 60 , m_top(Length(t, Fixed)) in LengthBox() 61 , m_bottom(Length(b, Fixed)) in LengthBox() 65 Length left() const { return m_left; } in left() [all …]
|
D | Length.h | 39 struct Length { struct 42 Length() in Length() function 47 Length(LengthType t) in Length() argument 52 Length(int v, LengthType t, bool q = false) 57 Length(float v, LengthType t, bool q = false) argument 62 Length(double v, LengthType t, bool q = false) argument 68 …bool operator==(const Length& o) const { return (getFloatValue() == o.getFloatValue()) && (m_type … argument 69 …bool operator!=(const Length& o) const { return (getFloatValue() != o.getFloatValue()) || (m_type … 71 const Length& operator*=(float v) 115 *this = Length(value, Fixed); in setValue() argument [all …]
|
D | LengthSize.h | 34 LengthSize(Length width, Length height) in LengthSize() 45 void setWidth(Length width) { m_width = width; } in setWidth() 46 Length width() const { return m_width; } in width() 48 void setHeight(Length height) { m_height = height; } in setHeight() 49 Length height() const { return m_height; } in height() 52 Length m_width; 53 Length m_height;
|
D | Length.cpp | 38 static Length parseLength(const UChar* data, unsigned length) in parseLength() 41 return Length(1, Relative); in parseLength() 65 return Length(r, Percent); in parseLength() 66 return Length(1, Relative); in parseLength() 71 return Length(r, Relative); in parseLength() 72 return Length(1, Relative); in parseLength() 75 return Length(r, Fixed); in parseLength() 76 return Length(0, Relative); in parseLength() 87 PassOwnArrayPtr<Length> newCoordsArray(const String& string, int& len) in newCoordsArray() 104 OwnArrayPtr<Length> r = adoptArrayPtr(new Length[len]); in newCoordsArray() [all …]
|
/external/llvm/include/llvm/ADT/ |
D | StringRef.h | 53 size_t Length; variable 63 static int compareMemory(const char *Lhs, const char *Rhs, size_t Length) { in compareMemory() argument 64 if (Length == 0) { return 0; } in compareMemory() 65 return ::memcmp(Lhs,Rhs,Length); in compareMemory() 73 /*implicit*/ StringRef() : Data(0), Length(0) {} in StringRef() 79 Length = ::strlen(Str); // invoking strlen(NULL) is undefined behavior in StringRef() 84 : Data(data), Length(length) { in StringRef() 91 : Data(Str.data()), Length(Str.length()) {} in StringRef() 99 iterator end() const { return Data + Length; } in end() 110 bool empty() const { return Length == 0; } in empty() [all …]
|
D | ArrayRef.h | 43 size_type Length; variable 50 /*implicit*/ ArrayRef() : Data(0), Length(0) {} in ArrayRef() 54 : Data(&OneElt), Length(1) {} in ArrayRef() 58 : Data(data), Length(length) {} in ArrayRef() 62 : Data(begin), Length(end - begin) {} in ArrayRef() 69 : Data(Vec.data()), Length(Vec.size()) { in ArrayRef() 75 : Data(Vec.empty() ? (T*)0 : &Vec[0]), Length(Vec.size()) {} in ArrayRef() 80 : Data(Arr), Length(N) {} in ArrayRef() 87 iterator end() const { return Data + Length; } in end() 93 bool empty() const { return Length == 0; } in empty() [all …]
|
/external/webkit/Source/WebCore/rendering/style/ |
D | StyleBoxData.h | 46 Length width() const { return m_width; } in width() 47 Length height() const { return m_height; } in height() 49 Length minWidth() const { return m_minWidth; } in minWidth() 50 Length minHeight() const { return m_minHeight; } in minHeight() 52 Length maxWidth() const { return m_maxWidth; } in maxWidth() 53 Length maxHeight() const { return m_maxHeight; } in maxHeight() 55 Length verticalAlign() const { return m_verticalAlign; } in verticalAlign() 68 Length m_width; 69 Length m_height; 71 Length m_minWidth; [all …]
|
D | RenderStyle.h | 375 Length left() const { return surround->offset.left(); } in left() 376 Length right() const { return surround->offset.right(); } in right() 377 Length top() const { return surround->offset.top(); } in top() 378 Length bottom() const { return surround->offset.bottom(); } in bottom() 381 Length logicalLeft() const { return isHorizontalWritingMode() ? left() : top(); } in logicalLeft() 382 Length logicalRight() const { return isHorizontalWritingMode() ? right() : bottom(); } in logicalRight() 383 …Length logicalTop() const { return isHorizontalWritingMode() ? (isFlippedBlocksWritingMode() ? bot… in logicalTop() 384 …Length logicalBottom() const { return isHorizontalWritingMode() ? (isFlippedBlocksWritingMode() ? … in logicalBottom() 396 Length width() const { return m_box->width(); } in width() 397 Length height() const { return m_box->height(); } in height() [all …]
|
D | BorderData.h | 38 BorderData() : m_topLeft(Length(0, Fixed), Length(0, Fixed)) in BorderData() 39 , m_topRight(Length(0, Fixed), Length(0, Fixed)) in BorderData() 40 , m_bottomLeft(Length(0, Fixed), Length(0, Fixed)) in BorderData() 41 , m_bottomRight(Length(0, Fixed), Length(0, Fixed)) in BorderData()
|
/external/webkit/Source/WebCore/platform/graphics/transforms/ |
D | TranslateTransformOperation.h | 35 …static PassRefPtr<TranslateTransformOperation> create(const Length& tx, const Length& ty, Operatio… in create() 37 return adoptRef(new TranslateTransformOperation(tx, ty, Length(0, Fixed), type)); in create() 40 …c PassRefPtr<TranslateTransformOperation> create(const Length& tx, const Length& ty, const Length&… in create() 49 Length x() const { return m_x; } in x() 50 Length y() const { return m_y; } in y() 51 Length z() const { return m_z; } in z() 75 …TranslateTransformOperation(const Length& tx, const Length& ty, const Length& tz, OperationType ty… in TranslateTransformOperation() 84 Length m_x; 85 Length m_y; 86 Length m_z;
|
D | TranslateTransformOperation.cpp | 34 …return TranslateTransformOperation::create(Length(m_x.type()).blend(m_x, narrowPrecisionToFloat(pr… in blend() 35 … Length(m_y.type()).blend(m_y, narrowPrecisionToFloat(progress)), in blend() 36 … Length(m_z.type()).blend(m_z, narrowPrecisionToFloat(progress)), m_type); in blend() 39 Length fromX = fromOp ? fromOp->m_x : Length(m_x.type()); in blend() 40 Length fromY = fromOp ? fromOp->m_y : Length(m_y.type()); in blend() 41 Length fromZ = fromOp ? fromOp->m_z : Length(m_z.type()); in blend()
|
D | PerspectiveTransformOperation.cpp | 43 return PerspectiveTransformOperation::create(Length(clampToPositiveInteger(p), Fixed)); in blend() 47 Length fromP = fromOp ? fromOp->m_p : Length(m_p.type()); in blend() 48 Length toP = m_p; in blend() 60 return PerspectiveTransformOperation::create(Length(clampToPositiveInteger(val), Fixed)); in blend() 62 return PerspectiveTransformOperation::create(Length(0, Fixed)); in blend()
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
D | BitSet.cs | 132 if (n >= _bits.Length) { in Add() 142 int newSize = Math.Max(_bits.Length << 1, NumWordsToHold(bit)); in GrowToInclude() 151 if (a._bits.Length > _bits.Length) { in OrInPlace() 152 SetSize(a._bits.Length); in OrInPlace() 154 int min = Math.Min(_bits.Length, a._bits.Length); in OrInPlace() 178 for (int i = _bits.Length - 1; i >= 0; i--) { in Size() 202 int n = Math.Min(this._bits.Length, otherSet._bits.Length); in Equals() 213 if (this._bits.Length > n) { in Equals() 214 for (int i = n + 1; i < this._bits.Length; i++) { in Equals() 219 } else if (otherSet._bits.Length > n) { in Equals() [all …]
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
D | BitSet.cs | 146 if ( n >= _bits.Length ) in Add() 158 int newSize = Math.Max( _bits.Length << 1, NumWordsToHold( bit ) ); in GrowToInclude() 169 if ( a._bits.Length > _bits.Length ) in OrInPlace() 171 SetSize( a._bits.Length ); in OrInPlace() 173 int min = Math.Min( _bits.Length, a._bits.Length ); in OrInPlace() 202 for ( int i = _bits.Length - 1; i >= 0; i-- ) in Size() 233 int n = Math.Min( this._bits.Length, otherSet._bits.Length ); in Equals() 246 if ( this._bits.Length > n ) in Equals() 248 for ( int i = n + 1; i < this._bits.Length; i++ ) in Equals() 256 else if ( otherSet._bits.Length > n ) in Equals() [all …]
|
/external/clang/test/SemaTemplate/ |
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… 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 e… [all …]
|
/external/llvm/lib/Support/ |
D | StringRef.cpp | 42 for (size_t I = 0, E = min(Length, RHS.Length); I != E; ++I) { in compare_lower() 49 if (Length == RHS.Length) in compare_lower() 51 return Length < RHS.Length ? -1 : 1; in compare_lower() 56 for (size_t I = 0, E = min(Length, RHS.Length); I != E; ++I) { in compare_numeric() 63 bool ld = J < Length && ascii_isdigit(Data[J]); in compare_numeric() 64 bool rd = J < RHS.Length && ascii_isdigit(RHS.Data[J]); in compare_numeric() 80 if (Length == RHS.Length) in compare_numeric() 82 return Length < RHS.Length ? -1 : 1; in compare_numeric() 126 if (N > Length) in find() 130 if (Length < 16 || N > 255 || N == 0) { in find() [all …]
|
/external/clang/test/CodeGenCXX/ |
D | 2012-03-16-StoreAlign.cpp | 4 struct Length { struct 5 Length(double v) { in Length() function 9 bool operator==(const Length& o) const { in operator ==() argument 12 bool operator!=(const Length& o) const { return !(*this == o); } in operator !=() argument 22 static Length inchLength(double inch); argument 23 static bool getPageSizeFromName(const Length &A) { in getPageSizeFromName() 24 static const Length legalWidth = inchLength(8.5); in getPageSizeFromName() 33 bool bar(Length &b) { in bar()
|
/external/llvm/runtime/libprofile/ |
D | CommonProfiling.c | 58 unsigned Length, i; in save_arguments() local 87 for (Length = 0, i = 0; i != (unsigned)argc; ++i) in save_arguments() 88 Length += strlen(argv[i])+1; in save_arguments() 94 if (Length == 0) { in save_arguments() 100 SavedArgs = (char*)malloc(Length); in save_arguments() 101 for (Length = 0, i = 0; i != (unsigned)argc; ++i) { in save_arguments() 103 memcpy(SavedArgs+Length, argv[i], Len); in save_arguments() 104 Length += Len; in save_arguments() 105 SavedArgs[Length++] = ' '; in save_arguments() 108 SavedArgsLength = Length; in save_arguments()
|
/external/clang/lib/Tooling/ |
D | Refactoring.cpp | 29 : FilePath(InvalidLocation), Offset(0), Length(0) {} in Replacement() 32 unsigned Length, StringRef ReplacementText) in Replacement() argument 34 Length(Length), ReplacementText(ReplacementText) {} in Replacement() 37 unsigned Length, StringRef ReplacementText) { in Replacement() argument 38 setFromSourceLocation(Sources, Start, Length, ReplacementText); in Replacement() 69 bool RewriteSucceeded = !Rewrite.ReplaceText(Start, Length, ReplacementText); in apply() 77 stream << FilePath << ": " << Offset << ":+" << Length in toString() 86 if (R1.Length != R2.Length) return R1.Length < R2.Length; in operator ()() 91 SourceLocation Start, unsigned Length, in setFromSourceLocation() argument 98 this->Length = Length; in setFromSourceLocation()
|
/external/chromium/base/win/ |
D | scoped_bstr_unittest.cc | 21 EXPECT_EQ(0, b.Length()); in DumbBstrTests() 37 EXPECT_EQ(test1_len, b1.Length()); in BasicBstrTests() 42 EXPECT_EQ(test1_len, b2.Length()); in BasicBstrTests() 43 EXPECT_EQ(0, b1.Length()); in BasicBstrTests() 56 EXPECT_EQ(100 / sizeof(kTestString1[0]), b2.Length()); in BasicBstrTests() 59 EXPECT_EQ(100 / sizeof(kTestString1[0]), b2.Length()); in BasicBstrTests() 61 EXPECT_EQ(b2.Length(), lstrlen(b2)); in BasicBstrTests() 64 EXPECT_EQ(test2_len, b1.Length()); in BasicBstrTests() 66 EXPECT_EQ(test2_len - 1, b1.Length()); in BasicBstrTests()
|
/external/llvm/lib/DebugInfo/ |
D | DWARFDebugFrame.cpp | 29 FrameEntry(FrameKind K, DataExtractor D, uint64_t Offset, uint64_t Length) in FrameEntry() argument 30 : Kind(K), Data(D), Offset(Offset), Length(Length) {} in FrameEntry() 61 uint64_t Length; member in llvm::FrameEntry 205 CIE(DataExtractor D, uint64_t Offset, uint64_t Length, uint8_t Version, in CIE() argument 208 : FrameEntry(FK_CIE, D, Offset, Length), Version(Version), in CIE() 218 (uint32_t)Offset, (uint32_t)Length, DW_CIE_ID) in dumpHeader() 251 FDE(DataExtractor D, uint64_t Offset, uint64_t Length, in FDE() argument 253 : FrameEntry(FK_FDE, D, Offset, Length), LinkedCIEOffset(LinkedCIEOffset), in FDE() 262 (uint32_t)Offset, (uint32_t)Length, (int32_t)LinkedCIEOffset); in dumpHeader() 299 uint32_t Offset, int Length) { in dumpDataAux() argument [all …]
|
D | DWARFDebugAranges.h | 26 : LoPC(lo), Length(hi-lo), Offset(off) {} in LoPC() 30 Length = 0; in clear() 36 Length = 0; in setHiPC() 38 Length = HiPC - LoPC; in setHiPC() 41 if (Length) in HiPC() 42 return LoPC + Length; in HiPC() 45 bool isValidRange() const { return Length > 0; } in isValidRange() 60 uint32_t Length; // End of address range (not including this address) member
|
/external/clang/test/Index/ |
D | recursive-cxx-member-calls.cpp | 44 size_t Length; member in llvm::StringRef 47 StringRef(): Data(0), Length(0) {} in StringRef() 48 StringRef(const char *Str) : Data(Str), Length(magic_length(Str)) {} in StringRef() 49 StringRef(const char *data, size_t length) : Data(data), Length(length) {} in StringRef() 51 size_t size() const { return Length; } in size() 53 return Length >= Prefix.Length && in startswith() 54 memcmp(Data, Prefix.Data, Prefix.Length) == 0; in startswith() 57 return Length >= Suffix.Length && in endswith() 58 memcmp(end() - Suffix.Length, Suffix.Data, Suffix.Length) == 0; in endswith() 61 return StringRef(Data + Start, min(N, Length - Start)); in substr()
|
/external/llvm/test/TableGen/ |
D | TwoLevelName.td | 5 int Length = length; 24 // CHECK: Length = 16 28 // CHECK: Length = 1 32 // CHECK: Length = 2 36 // CHECK: Length = 3 40 // CHECK: Length = 4 44 // CHECK: Length = 8
|
/external/webkit/Source/WebCore/rendering/ |
D | RenderThemeWinCE.cpp | 222 style->setWidth(Length(13, Fixed)); in setCheckboxSize() 224 style->setHeight(Length(13, Fixed)); in setCheckboxSize() 337 o->style()->setWidth(Length(sliderThumbHeight, Fixed)); in adjustSliderThumbSize() 338 o->style()->setHeight(Length(sliderThumbWidth, Fixed)); in adjustSliderThumbSize() 340 o->style()->setWidth(Length(sliderThumbWidth, Fixed)); in adjustSliderThumbSize() 341 o->style()->setHeight(Length(sliderThumbHeight, Fixed)); in adjustSliderThumbSize() 349 style->setPaddingTop(Length(1, Fixed)); 350 style->setPaddingRight(Length(3, Fixed)); 351 style->setPaddingBottom(Length(1, Fixed)); 352 style->setPaddingLeft(Length(3, Fixed)); [all …]
|