Home
last modified time | relevance | path

Searched refs:getLength (Results 1 – 25 of 778) sorted by relevance

12345678910>>...32

/external/clang/lib/Tooling/Core/
DReplacement.cpp70 Start, ReplacementRange.getLength(), ReplacementText); in apply()
79 << ReplacementRange.getLength() << ":\"" << ReplacementText << "\""; in toString()
90 if (LHS.getLength() != RHS.getLength()) in operator <()
91 return LHS.getLength() > RHS.getLength(); in operator <()
100 LHS.getLength() == RHS.getLength() && in operator ==()
145 if (R.getOffset() + R.getLength() <= Position) { in shiftedCodePositionInternal()
146 Offset += R.getReplacementText().size() - R.getLength(); in shiftedCodePositionInternal()
177 if (LHS.getLength() != RHS.getLength()) in deduplicate()
178 return LHS.getLength() < RHS.getLength(); in deduplicate()
184 LHS.getLength() == RHS.getLength() && in deduplicate()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DBinaryStreamRef.h31 Length = BorrowedImpl.getLength(); in BinaryStreamRefBase()
52 uint32_t getLength() const { in getLength() function
56 return BorrowedImpl ? (BorrowedImpl->getLength() - ViewOffset) : 0; in getLength()
66 N = std::min(N, getLength()); in drop_front()
85 N = std::min(N, getLength()); in drop_back()
93 Result.Length = getLength(); in drop_back()
101 assert(N <= getLength()); in keep_front()
102 return drop_back(getLength() - N); in keep_front()
107 assert(N <= getLength()); in keep_back()
108 return drop_front(getLength() - N); in keep_back()
[all …]
DBinaryStream.h54 virtual uint32_t getLength() = 0;
61 if (Offset > getLength()) in checkOffsetForRead()
63 if (getLength() < DataSize + Offset) in checkOffsetForRead()
94 if (Offset > getLength()) in checkOffsetForWrite()
/external/skia/bench/
DJSONBench.cpp73 fCStringData = SkData::MakeUninitialized(stream->getLength() + 1); in onPerCanvasPreDraw()
75 SkAssertResult(stream->read(data8, stream->getLength()) == stream->getLength()); in onPerCanvasPreDraw()
76 data8[stream->getLength()] = '\0'; in onPerCanvasPreDraw()
125 fCStringData = SkData::MakeUninitialized(stream->getLength() + 1); in onPerCanvasPreDraw()
127 SkAssertResult(stream->read(data8, stream->getLength()) == stream->getLength()); in onPerCanvasPreDraw()
128 data8[stream->getLength()] = '\0'; in onPerCanvasPreDraw()
/external/skqp/bench/
DJSONBench.cpp73 fCStringData = SkData::MakeUninitialized(stream->getLength() + 1); in onPerCanvasPreDraw()
75 SkAssertResult(stream->read(data8, stream->getLength()) == stream->getLength()); in onPerCanvasPreDraw()
76 data8[stream->getLength()] = '\0'; in onPerCanvasPreDraw()
125 fCStringData = SkData::MakeUninitialized(stream->getLength() + 1); in onPerCanvasPreDraw()
127 SkAssertResult(stream->read(data8, stream->getLength()) == stream->getLength()); in onPerCanvasPreDraw()
128 data8[stream->getLength()] = '\0'; in onPerCanvasPreDraw()
/external/skqp/tests/
DPathMeasureTest.cpp25 meas.getLength(); in test_small_segment3()
41 meas.getLength(); in test_small_segment2()
73 meas.getLength(); in test_small_segment()
85 SkScalar length = meas.getLength(); in DEF_TEST()
92 length = meas.getLength(); in DEF_TEST()
98 length = meas.getLength(); in DEF_TEST()
109 length = meas.getLength(); in DEF_TEST()
112 length = meas.getLength(); in DEF_TEST()
139 length = meas.getLength(); in DEF_TEST()
175 length = meas.getLength(); in DEF_TEST()
[all …]
/external/icu/icu4c/source/i18n/
Dsortkey.cpp76 : UObject(other), fFlagAndLength(other.getLength()), in CollationKey()
143 return getLength() == source.getLength() && in operator ==()
145 uprv_memcmp(getBytes(), source.getBytes(), getLength()) == 0); in operator ==()
158 int32_t length = other.getLength(); in operator =()
195 int32_t minLength = getLength(); in compareTo()
196 int32_t targetLength = target.getLength(); in compareTo()
272 fHashCode = computeHashCode(getBytes(), getLength()); in hashCode()
/external/skia/tests/
DPathMeasureTest.cpp25 meas.getLength(); in test_small_segment3()
41 meas.getLength(); in test_small_segment2()
73 meas.getLength(); in test_small_segment()
85 SkScalar length = meas.getLength(); in DEF_TEST()
92 length = meas.getLength(); in DEF_TEST()
98 length = meas.getLength(); in DEF_TEST()
109 length = meas.getLength(); in DEF_TEST()
112 length = meas.getLength(); in DEF_TEST()
139 length = meas.getLength(); in DEF_TEST()
175 length = meas.getLength(); in DEF_TEST()
[all …]
/external/testng/src/main/java/org/testng/xml/dom/
DDomUtil.java37 for (int i = 0; i < nodes.getLength(); i++) { in populate()
60 for (int k = 0; k < item2Children.getLength(); k++) { in populate()
121 for (int j = 0; j < children.getLength(); j++) { in parseNodeAndChildren()
141 for (int i = 0; i < children.getLength(); i++) { in findChildren()
154 for (int k = 0; k < itemChildren.getLength(); k++) { in populateTest()
161 for (int l = 0; l < item2Children.getLength(); l++) { in populateTest()
175 for (int l = 0; l < item2Children.getLength(); l++) { in populateTest()
179 for (int m = 0; m < item3Children.getLength(); m++) { in populateTest()
189 for (int m = 0; m < item3Children.getLength(); m++) { in populateTest()
214 for (int m = 0; m < item3Children.getLength(); m++) { in xmlDefine()
[all …]
/external/apache-xml/src/main/java/org/apache/xml/utils/
DAttList.java73 m_lastIndex = m_attrs.getLength() - 1; in AttList()
83 public int getLength() in getLength() method in AttList
85 return m_attrs.getLength(); in getLength()
225 for(int i=m_attrs.getLength()-1;i>=0;--i) in getIndex()
246 for(int i=m_attrs.getLength()-1;i>=0;--i) in getIndex()
/external/apache-commons-bcel/src/main/java/org/apache/bcel/classfile/
DUnknown.java63 this(c.getNameIndex(), c.getLength(), c.getBytes(), c.getConstantPool()); in Unknown()
125 if (super.getLength() > 0) { in dump()
126 file.write(bytes, 0, super.getLength()); in dump()
161 if (super.getLength() == 0 || bytes == null) { in toString()
165 if (super.getLength() > 10) { in toString()
DSynthetic.java48 this(c.getNameIndex(), c.getLength(), c.getBytes(), c.getConstantPool()); in Synthetic()
108 if (super.getLength() > 0) { in dump()
109 file.write(bytes, 0, super.getLength()); in dump()
136 if (super.getLength() > 0) { in toString()
/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/
DAttList.java82 m_lastIndex = m_attrs.getLength() - 1; in AttList()
92 public int getLength() in getLength() method in AttList
94 return m_attrs.getLength(); in getLength()
234 for(int i=m_attrs.getLength()-1;i>=0;--i) in getIndex()
255 for(int i=m_attrs.getLength()-1;i>=0;--i) in getIndex()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DBinaryStreamTest.cpp63 uint32_t getLength() override { return Data.size(); } in getLength() function in __anonec7b10030111::BrokenStream
205 ASSERT_EQ(InputData.size(), Stream.Input->getLength()); in TEST_F()
225 ASSERT_EQ(InputData.size(), Ref.getLength()); in TEST_F()
280 EXPECT_EQ(0U, ConstRef.getLength()); in TEST_F()
286 EXPECT_EQ(2U, ConstRef.getLength()); in TEST_F()
297 EXPECT_EQ(1U, Dropped.getLength()); in TEST_F()
300 EXPECT_EQ(4U, ConstRef.getLength()); in TEST_F()
301 EXPECT_EQ(3U, Dropped.getLength()); in TEST_F()
307 EXPECT_EQ(6U, ConstRef.getLength()); in TEST_F()
308 EXPECT_EQ(5U, Dropped.getLength()); in TEST_F()
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowPathMeasure.java29 protected float getLength() { in getLength() method in ShadowPathMeasure
45 if (getLength() > 0) { in getPosTan()
46 pos[0] = round(distance / getLength(), 4); in getPosTan()
47 pos[1] = round(distance / getLength(), 4); in getPosTan()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ArrayReference/
DSetValuesTest.java67 for (int j = 0; j < valuesRegion.getLength(); j++) { in testSetValues001()
74 for (int j = 0; j < valuesRegion.getLength(); j++) { in testSetValues001()
81 for (int j = 0; j < valuesRegion.getLength(); j++) { in testSetValues001()
107 int length = valuesRegion.getLength(); in checkArrayValues()
140 assertEquals("Invalud returned array length,", length, region.getLength()); in checkArrayRegion()
141 for (int i = 0; i < region.getLength(); i++) { in checkArrayRegion()
/external/apache-xml/src/main/java/org/apache/xml/serializer/
DAttributesImplSerializer.java75 if (super.getLength() < MAX) in getIndex()
110 int index = super.getLength(); in addAttribute()
173 int len = super.getLength(); in clear()
200 int numAtts = atts.getLength(); in setAttributes()
217 if (super.getLength() < MAX) in getIndex()
/external/apache-commons-math/src/main/java/org/apache/commons/math/genetics/
DOnePointCrossover.java86 int length = first.getLength(); in crossover()
87 if (length != second.getLength()) in crossover()
94 ArrayList<T> child1Rep = new ArrayList<T> (first.getLength()); in crossover()
95 ArrayList<T> child2Rep = new ArrayList<T> (second.getLength()); in crossover()
/external/skqp/src/utils/win/
DSkDWriteFontFileStream.cpp39 size_t fileSize = this->getLength(); in read()
62 size_t fileSize = this->getLength(); in read()
81 return fPos == this->getLength(); in isAtEnd()
98 size_t length = this->getLength(); in seek()
113 size_t SkDWriteFontFileStream::getLength() const { in getLength() function in SkDWriteFontFileStream
225 *fileSize = fStream->getLength(); in GetFileSize()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/DWARF/
DDWARFDebugAddr.cpp55 uint32_t TmpLength = getLength(); in extract()
63 uint32_t End = HeaderOffset + getLength(); in extract()
65 uint32_t TmpLength = getLength(); in extract()
185 uint32_t DWARFDebugAddrTable::getLength() const { in getLength() function in DWARFDebugAddrTable
195 if (getLength() == 0) in getDataSize()
197 return getLength() - getHeaderSize(); in getDataSize()
/external/skia/src/utils/win/
DSkDWriteFontFileStream.cpp39 size_t fileSize = this->getLength(); in read()
62 size_t fileSize = this->getLength(); in read()
81 return fPos == this->getLength(); in isAtEnd()
98 size_t length = this->getLength(); in seek()
113 size_t SkDWriteFontFileStream::getLength() const { in getLength() function in SkDWriteFontFileStream
225 *fileSize = fStream->getLength(); in GetFileSize()
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
DParseRDF.java130 for (int i = 0; i < rdfRdfNode.getChildNodes().getLength(); i++) in rdf_NodeElementList()
210 for (int i = 0; i < xmlNode.getAttributes().getLength(); i++) in rdf_NodeElementAttrs()
283 for (int i = 0; i < xmlParent.getChildNodes().getLength(); i++) in rdf_PropertyElementList()
373 for (int i = 0; i < attributes.getLength(); i++) in rdf_PropertyElement()
396 if (attributes.getLength() > 3) in rdf_PropertyElement()
407 for (int i = 0; i < attributes.getLength(); i++) in rdf_PropertyElement()
450 for (int i = 0; i < xmlNode.getChildNodes().getLength(); i++) in rdf_PropertyElement()
498 for (int i = 0; i < xmlNode.getAttributes().getLength(); i++) in rdf_ResourcePropertyElement()
529 for (i = 0; i < xmlNode.getChildNodes().getLength(); i++) in rdf_ResourcePropertyElement()
622 for (int i = 0; i < xmlNode.getAttributes().getLength(); i++) in rdf_LiteralPropertyElement()
[all …]
/external/llvm/lib/DebugInfo/PDB/Raw/
DMappedBlockStream.cpp45 if (Size > Data->getLength()) in readBytes()
47 if (Offset > Data->getLength() - Size) in readBytes()
125 if (Offset >= Data->getLength()) in readLongestContiguousChunk()
150 uint32_t MappedBlockStream::getLength() const { return Data->getLength(); } in getLength() function in MappedBlockStream
194 if (Buffer.size() > Data->getLength()) in readBytes()
196 if (Offset > Data->getLength() - Buffer.size()) in readBytes()
228 if (Buffer.size() > Data->getLength()) in writeBytes()
231 if (Offset > Data->getLength() - Buffer.size()) in writeBytes()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bidi/
DTestMultipleParagraphs.java219 gotLevels = new byte[bidi.getLength()]; in testMultipleParagraphs()
243 gotLevels = new byte[bidiLine.getLength()]; in testMultipleParagraphs()
246 length = bidiLine.getLength(); in testMultipleParagraphs()
273 gotLevels = new byte[bidi.getLength()]; in testMultipleParagraphs()
299 gotLevels = new byte[bidiLine.getLength()]; in testMultipleParagraphs()
302 length = bidiLine.getLength(); in testMultipleParagraphs()
332 gotLevels = new byte[bidi.getLength()]; in testMultipleParagraphs()
370 gotLevels = new byte[bidi.getLength()]; in testMultipleParagraphs()
403 gotLevels = new byte[bidi.getLength()]; in testMultipleParagraphs()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/
DTestMultipleParagraphs.java216 gotLevels = new byte[bidi.getLength()]; in testMultipleParagraphs()
240 gotLevels = new byte[bidiLine.getLength()]; in testMultipleParagraphs()
243 length = bidiLine.getLength(); in testMultipleParagraphs()
270 gotLevels = new byte[bidi.getLength()]; in testMultipleParagraphs()
296 gotLevels = new byte[bidiLine.getLength()]; in testMultipleParagraphs()
299 length = bidiLine.getLength(); in testMultipleParagraphs()
329 gotLevels = new byte[bidi.getLength()]; in testMultipleParagraphs()
367 gotLevels = new byte[bidi.getLength()]; in testMultipleParagraphs()
400 gotLevels = new byte[bidi.getLength()]; in testMultipleParagraphs()

12345678910>>...32