/external/chromium_org/third_party/WebKit/Source/platform/ |
H A D | Length.cpp | 26 #include "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); 171 Length::Length(PassRefPtr<CalculationValue> calc) function in class:blink::Length 179 Length Lengt [all...] |
H A D | LengthBox.cpp | 36 const Length& LengthBox::logicalLeft(WritingMode writingMode) const 41 const Length& LengthBox::logicalRight(WritingMode writingMode) const 46 const Length& LengthBox::before(WritingMode writingMode) const 62 const Length& LengthBox::after(WritingMode writingMode) const 78 const Length& LengthBox::start(WritingMode writingMode, TextDirection direction) const 85 const Length& LengthBox::end(WritingMode writingMode, TextDirection direction) const
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/ |
H A D | NinePieceImage.cpp | 61 , imageSlices(Length(100, Percent), Length(100, Percent), Length(100, Percent), Length(100, Percent)) 63 , outset(Length(0, Fixed), Length(0, Fixed), Length(0, Fixed), Length(0, Fixed))
|
H A D | BasicShapes.h | 34 #include "platform/Length.h" 85 BasicShapeCenterCoordinate(Direction direction = TopLeft, const Length& length = Length(0, Fixed)) argument 102 const Length& length() const { return m_length; } 103 const Length& computedLength() const { return m_computedLength; } 112 Length m_length; 113 Length m_computedLength; 124 explicit BasicShapeRadius(const Length& v) : m_value(v), m_type(Value) { } 129 const Length& value() const { return m_value; } 147 Length m_valu [all...] |
H A D | GridLength.h | 34 #include "platform/Length.h" 40 // an new unit to Length.h. 43 GridLength(const Length& length) 59 const Length& length() const { ASSERT(isLength()); return m_length; } 73 // Ideally we would put the 2 following fields in a union, but Length has a constructor, 75 Length m_length;
|
H A D | StyleReflection.h | 30 #include "platform/Length.h" 49 Length offset() const { return m_offset; } 53 void setOffset(const Length& l) { m_offset = l; } 65 Length m_offset;
|
/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...] |
/external/llvm/lib/DebugInfo/ |
H A D | DWARFDebugAranges.h | 37 : LowPC(LowPC), Length(HighPC - LowPC), CUOffset(CUOffset) {} 41 Length = 0; 43 Length = HighPC - LowPC; 46 if (Length) 47 return LowPC + Length; 59 uint32_t Length; // End of address range (not including this address). member in struct:llvm::DWARFDebugAranges::Range
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/tests/ |
H A D | rc_test_helpers.c | 27 int Length; member in struct:match_info 107 tokens.Negate.Length = match_length(matches, 1); 109 tokens.Abs.Length = match_length(matches, 2); 111 tokens.File.Length = match_length(matches, 3); 113 tokens.Index.Length = match_length(matches, 4); 115 tokens.Swizzle.Length = match_length(matches, 5); 118 if (tokens.Negate.Length > 0) { 123 if (tokens.Abs.Length > 0) { 128 if (!strncmp(tokens.File.String, "temp", tokens.File.Length)) { 130 } else if (!strncmp(tokens.File.String, "input", tokens.File.Length)) { [all...] |
/external/mesa3d/src/gallium/drivers/r300/compiler/tests/ |
H A D | rc_test_helpers.c | 27 int Length; member in struct:match_info 107 tokens.Negate.Length = match_length(matches, 1); 109 tokens.Abs.Length = match_length(matches, 2); 111 tokens.File.Length = match_length(matches, 3); 113 tokens.Index.Length = match_length(matches, 4); 115 tokens.Swizzle.Length = match_length(matches, 5); 118 if (tokens.Negate.Length > 0) { 123 if (tokens.Abs.Length > 0) { 128 if (!strncmp(tokens.File.String, "temp", tokens.File.Length)) { 130 } else if (!strncmp(tokens.File.String, "input", tokens.File.Length)) { [all...] |
/external/llvm/lib/Support/ |
H A D | StringRef.cpp | 41 static int ascii_strncasecmp(const char *LHS, const char *RHS, size_t Length) { argument 42 for (size_t I = 0; I < Length; ++I) { 53 if (int Res = ascii_strncasecmp(Data, RHS.Data, min(Length, RHS.Length))) 55 if (Length == RHS.Length) 57 return Length < RHS.Length ? -1 : 1; 62 return Length >= Prefix.Length [all...] |
/external/chromium_org/third_party/webrtc/base/ |
H A D | bytebuffer_unittest.cc | 58 EXPECT_EQ(size, buffer.Length()); 62 EXPECT_EQ(size, buffer.Length()); 66 EXPECT_EQ(size, buffer.Length()); 70 EXPECT_EQ(size, buffer.Length()); 74 EXPECT_EQ(size, buffer.Length()); 78 EXPECT_EQ(size, buffer.Length()); 81 EXPECT_EQ(size, buffer.Length()); 85 EXPECT_EQ(size, buffer.Length()); 90 EXPECT_EQ(6U, buffer.Length()); 93 EXPECT_EQ(6U, buffer.Length()); [all...] |
/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/chromium_org/third_party/sfntly/cpp/src/test/ |
H A D | byte_array_test.cc | 36 b->resize(ba->Length()); 38 while (index < ba->Length()) { 48 b->resize(ba->Length()); 51 while (index < ba->Length()) { 61 for (int i = 0; i < ba1->Length(); ++i) { 67 int increments = std::max<int32_t>(ba1->Length() / 11, 1); 68 for (int buffer_size = 1; buffer_size < ba1->Length(); 81 for (int window_size = 1; window_size < ba1->Length(); 94 ByteArrayPtr fixed_copy = new MemoryByteArray(ba->Length()); 96 EXPECT_EQ(ba->Length(), fixed_cop [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 return Offset + Length > RHS.Offset && Offset < RHS.Offset + RHS.Length; 57 (RHS.Offset + RHS.Length) <= (Offset + Length); 63 unsigned Length; member in class:clang::tooling::Range [all...] |
H A D | ReplacementsYaml.h | 36 : FilePath(""), Offset(0), Length(0), ReplacementText("") {} 40 Length(R.getLength()), ReplacementText(R.getReplacementText()) {} 43 return clang::tooling::Replacement(FilePath, Offset, Length, 49 unsigned int Length; member in struct:llvm::yaml::MappingTraits::NormalizedReplacement 58 Io.mapRequired("Length", Keys->Length);
|
/external/sfntly/cpp/src/test/ |
H A D | byte_array_test.cc | 36 b->resize(ba->Length()); 38 while (index < ba->Length()) { 48 b->resize(ba->Length()); 51 while (index < ba->Length()) { 61 for (int i = 0; i < ba1->Length(); ++i) { 67 int increments = std::max<int32_t>(ba1->Length() / 11, 1); 68 for (int buffer_size = 1; buffer_size < ba1->Length(); 81 for (int window_size = 1; window_size < ba1->Length(); 94 ByteArrayPtr fixed_copy = new MemoryByteArray(ba->Length()); 96 EXPECT_EQ(ba->Length(), fixed_cop [all...] |
/external/chromium_org/third_party/WebKit/Source/core/animation/animatable/ |
H A D | AnimatableLength.cpp | 51 AnimatableLength::AnimatableLength(const Length& length, float zoom) 61 Length AnimatableLength::length(float zoom, ValueRange range) const 64 return Length(clampNumber(m_pixels, range) * zoom, Fixed); 66 return Length(clampNumber(m_percent, range), Percent); 67 return Length(CalculationValue::create(PixelsAndPercent(m_pixels * zoom, m_percent), range));
|
/external/llvm/include/llvm/CodeGen/PBQP/ |
H A D | Math.h | 27 explicit Vector(unsigned Length) argument 28 : Length(Length), Data(new PBQPNum[Length]) { 30 // << this << " (length " << Length << ")\n"; 34 Vector(unsigned Length, PBQPNum InitVal) argument 35 : Length(Length), Data(new PBQPNum[Length]) { 37 // << this << " (length " << Length << ", fil [all...] |
/external/clang/test/Parser/ |
H A D | pragma-loop.cpp | 6 void test(int *List, int Length) { argument 12 while (i + 1 < Length) { 19 while (i < Length) { 26 while (i - 1 < Length) { 31 while (i - 2 < Length) { 36 while (i - 3 < Length) { 40 int VList[Length]; 68 while (i-4 < Length) { 75 while (i-5 < Length) { 82 while (i-6 < Length) { [all...] |
/external/chromium_org/content/browser/geolocation/ |
H A D | wifi_data_provider_common_win.cc | 40 if (bss_id->Length < sizeof(NDIS_WLAN_BSSID) || 41 iterator + bss_id->Length > end_of_buffer) { 50 iterator += bss_id->Length;
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
H A D | RenderLayerReflectionInfo.cpp | 98 transform.operations().append(TranslateTransformOperation::create(Length(0, Fixed), 99 Length(100., Percent), TransformOperation::Translate)); 100 transform.operations().append(TranslateTransformOperation::create(Length(0, Fixed), 107 transform.operations().append(TranslateTransformOperation::create(Length(0, Fixed), 108 Length(100., Percent), TransformOperation::Translate)); 109 transform.operations().append(TranslateTransformOperation::create(Length(0, Fixed), 114 transform.operations().append(TranslateTransformOperation::create(Length(100., Percent), 115 Length(0, Fixed), TransformOperation::Translate)); 117 box().style()->boxReflect()->offset(), Length(0, Fixed), TransformOperation::Translate)); 123 transform.operations().append(TranslateTransformOperation::create(Length(10 [all...] |
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
H A D | page_heap.h | 118 Span* New(Length n); 139 Span* Split(Span* span, Length n); 181 bool CheckList(Span* list, Length min_pages, Length max_pages, 190 Length ReleaseAtLeastNPages(Length num_pages); 249 Span* SearchFreeAndLargeLists(Length n); 251 bool GrowHeap(Length n); 260 Span* Carve(Span* span, Length n); 271 Span* AllocLarge(Length [all...] |
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
H A D | page_heap.h | 110 Span* New(Length n); 131 Span* Split(Span* span, Length n); 171 bool CheckList(Span* list, Length min_pages, Length max_pages, 180 Length ReleaseAtLeastNPages(Length num_pages); 238 Span* SearchFreeAndLargeLists(Length n); 240 bool GrowHeap(Length n); 249 Span* Carve(Span* span, Length n); 260 Span* AllocLarge(Length [all...] |