Home
last modified time | relevance | path

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

12345678910>>...22

/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/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 …]
DStreamTest.cpp100 REPORTER_ASSERT(reporter, 100 * 26 == stream->getLength()); in TestWStream()
287 test_fully_peekable_stream(reporter, &memStream, memStream.getLength()); in DEF_TEST()
295 SkAutoMalloc storage(fileStream.getLength()); in DEF_TEST()
296 for (size_t i = 1; i < fileStream.getLength(); i++) { in DEF_TEST()
301 for (size_t i = 1; i < memStream.getLength(); i++) { in DEF_TEST()
311 if (asset->getLength() != expected->size()) { in stream_peek_test()
318 for (size_t i = 0; i < asset->getLength(); ++i) { in stream_peek_test()
320 SkToU32(SkTMin(sizeof(buffer), asset->getLength() - i)); in stream_peek_test()
324 SkASSERT(size + i <= asset->getLength()); in stream_peek_test()
360 sk_sp<SkData> expected(SkData::MakeUninitialized(asset->getLength())); in DEF_TEST()
[all …]
DPDFDeflateWStreamTest.cpp53 size_t inputLength = src->getLength(); in stream_inflate()
138 if (decompressed->getLength() != size) { in DEF_TEST()
140 " %u != %u", i, (unsigned)(decompressed->getLength()), in DEF_TEST()
144 o.writeStream(compressed.get(), compressed->getLength()); in DEF_TEST()
154 (uint32_t)(decompressed->getLength())); in DEF_TEST()
/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/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-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/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/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ArrayReference/
DSetValuesTest.java74 for (int j = 0; j < valuesRegion.getLength(); j++) { in testSetValues001()
81 for (int j = 0; j < valuesRegion.getLength(); j++) { in testSetValues001()
88 for (int j = 0; j < valuesRegion.getLength(); j++) { in testSetValues001()
114 int length = valuesRegion.getLength(); in checkArrayValues()
147 assertEquals("Invalud returned array length,", length, region.getLength()); in checkArrayRegion()
148 for (int i = 0; i < region.getLength(); i++) { in checkArrayRegion()
/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/robolectric/v1/src/main/java/com/xtremelabs/robolectric/res/
DDrawableResourceLoader.java73 if (nodes != null && nodes.getLength() > 0) { in getXmlDrawable()
78 if (nodes != null && nodes.getLength() > 0) { in getXmlDrawable()
83 if (nodes != null && nodes.getLength() > 0) { in getXmlDrawable()
138 int[] drawableIds = new int[items.getLength()]; in getDrawableIds()
140 for (int i = 0; i < items.getLength(); i++) { in getDrawableIds()
164 for (int i = 0; i < items.getLength(); i++) { in buildStateListDrawable()
/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/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/tools/llvm-pdbdump/
DBuiltinDumper.cpp30 if (Symbol.getLength() == 4) in getTypeName()
34 switch (Symbol.getLength()) { in getTypeName()
47 switch (Symbol.getLength()) { in getTypeName()
DCompilandDumper.cpp80 if (Line->getLength() > 0) { in start()
82 uint64_t AddrEnd = AddrStart + Line->getLength() - 1; in start()
86 Printer << " (" << Line->getLength() << " bytes)"; in start()
134 if (Symbol.getLength() == 0) in dump()
171 << format_hex(VA + Symbol.getLength(), 10) << "]"; in dump()
/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()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bidi/
DTestMultipleParagraphs.java217 gotLevels = new byte[bidi.getLength()]; in testMultipleParagraphs()
241 gotLevels = new byte[bidiLine.getLength()]; in testMultipleParagraphs()
244 length = bidiLine.getLength(); in testMultipleParagraphs()
271 gotLevels = new byte[bidi.getLength()]; in testMultipleParagraphs()
297 gotLevels = new byte[bidiLine.getLength()]; in testMultipleParagraphs()
300 length = bidiLine.getLength(); in testMultipleParagraphs()
330 gotLevels = new byte[bidi.getLength()]; in testMultipleParagraphs()
368 gotLevels = new byte[bidi.getLength()]; in testMultipleParagraphs()
401 gotLevels = new byte[bidi.getLength()]; in testMultipleParagraphs()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DUCharacterIterator.java171 public abstract int getLength(); in getLength() method in UCharacterIterator
255 setIndex(getLength()); in setToLimit()
317 char[] text = new char[getLength()]; in getText()
335 int x = Math.max(0, Math.min(getIndex() + delta, getLength())); in moveIndex()
DCollationKey.java226 int length = getLength() + 1; in toByteArray()
509 if (source == null || source.getLength() == 0) { in merge()
516 byte result[] = new byte[getLength() + source.getLength() + 2]; in merge()
601 private int getLength() in getLength() method in CollationKey
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DUCharacterIterator.java183 public abstract int getLength(); in getLength() method in UCharacterIterator
275 setIndex(getLength()); in setToLimit()
342 char[] text = new char[getLength()]; in getText()
361 int x = Math.max(0, Math.min(getIndex() + delta, getLength())); in moveIndex()
/external/mockito/src/main/java/org/mockito/internal/matchers/
DEquality.java30 return Array.getLength(o1) == Array.getLength(o2); in areArrayLengthsEqual()
34 for (int i = 0; i < Array.getLength(o1); i++) { in areArrayElementsEqual()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DCollationKey.java232 int length = getLength() + 1; in toByteArray()
521 if (source == null || source.getLength() == 0) { in merge()
528 byte result[] = new byte[getLength() + source.getLength() + 2]; in merge()
613 private int getLength() in getLength() method in CollationKey
/external/llvm/include/llvm/CodeGen/PBQP/
DReductionRules.h48 for (unsigned j = 0; j < YCosts.getLength(); ++j) { in applyR1()
50 for (unsigned i = 1; i < XCosts.getLength(); ++i) { in applyR1()
58 for (unsigned i = 0; i < YCosts.getLength(); ++i) { in applyR1()
60 for (unsigned j = 1; j < XCosts.getLength(); ++j) { in applyR1()
103 unsigned XLen = XCosts.getLength(), in applyR2()
151 unsigned VL = V.getLength(); in hasRegisterOptions()

12345678910>>...22