Home
last modified time | relevance | path

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

12345678910>>...17

/external/clang/lib/Tooling/Core/
DReplacement.cpp74 Start, ReplacementRange.getLength(), ReplacementText); in apply()
83 << ReplacementRange.getLength() << ":\"" << ReplacementText << "\""; in toString()
90 if (LHS.getLength() != RHS.getLength()) in operator <()
91 return LHS.getLength() < RHS.getLength(); in operator <()
99 LHS.getLength() == RHS.getLength() && in operator ==()
152 if (I->getOffset() + I->getLength() > Position) in shiftedCodePosition()
153 NewPosition += I->getOffset() + I->getLength() - Position; in shiftedCodePosition()
154 NewPosition += I->getReplacementText().size() - I->getLength(); in shiftedCodePosition()
169 if (I->getOffset() + I->getLength() > Position) in shiftedCodePosition()
170 NewPosition += I->getOffset() + I->getLength() - Position; in shiftedCodePosition()
[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 …]
DDeflateWStream.cpp45 if (decompressed->getLength() != size) { in DEF_TEST()
47 " %u != %u", i, (unsigned)(decompressed->getLength()), in DEF_TEST()
51 o.writeStream(compressed.get(), compressed->getLength()); in DEF_TEST()
61 (uint32_t)(decompressed->getLength())); in DEF_TEST()
/external/icu/icu4c/source/i18n/
Dsortkey.cpp74 : UObject(other), fFlagAndLength(other.getLength()), in CollationKey()
141 return getLength() == source.getLength() && in operator ==()
143 uprv_memcmp(getBytes(), source.getBytes(), getLength()) == 0); in operator ==()
156 int32_t length = other.getLength(); in operator =()
193 int32_t minLength = getLength(); in compareTo()
194 int32_t targetLength = target.getLength(); in compareTo()
270 fHashCode = computeHashCode(getBytes(), getLength()); in hashCode()
/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/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-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-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/robolectric/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()
DMenuLoader.java37 if (items.getLength() != 1) in processResourceXml()
47 for (int i = 0; i < childNodes.getLength(); i++) { in processChildren()
58 int length = attributes.getLength(); in processNode()
69 if (children != null && children.getLength() != 0) { in processNode()
70 for (int i = 0; i < children.getLength(); i++) { in processNode()
/external/skia/src/utils/win/
DSkDWriteFontFileStream.cpp37 size_t fileSize = this->getLength(); in read()
60 size_t fileSize = this->getLength(); in read()
79 return fPos == this->getLength(); in isAtEnd()
96 size_t length = this->getLength(); in seek()
111 size_t SkDWriteFontFileStream::getLength() const { in getLength() function in SkDWriteFontFileStream
223 *fileSize = fStream->getLength(); in GetFileSize()
/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/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/jmonkeyengine/engine/src/core/com/jme3/animation/
DAnimChannel.java192 return animation != null ? animation.getLength() : 0f; in getAnimMaxTime()
329 blendFrom.getLength(), in update()
347 if (animation.getLength() > 0){ in update()
348 if (time >= animation.getLength()) { in update()
355 time = clampWrapTime(time, animation.getLength(), loopMode); in update()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DUCharacterIterator.java175 public abstract int getLength(); in getLength() method in UCharacterIterator
275 setIndex(getLength()); in setToLimit()
343 char[] text = new char[getLength()]; in getText()
365 int x = Math.max(0, Math.min(getIndex() + delta, getLength())); in moveIndex()
/external/mockito/src/org/mockito/internal/matchers/
DEquality.java28 return Array.getLength(o1) == Array.getLength(o2); in areArrayLengthsEqual()
32 for (int i = 0; i < Array.getLength(o1); i++) { in areArrayElementsEqual()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/
DTestMultipleParagraphs.java211 gotLevels = new byte[bidi.getLength()]; in testMultipleParagraphs()
235 gotLevels = new byte[bidiLine.getLength()]; in testMultipleParagraphs()
238 length = bidiLine.getLength(); in testMultipleParagraphs()
265 gotLevels = new byte[bidi.getLength()]; in testMultipleParagraphs()
291 gotLevels = new byte[bidiLine.getLength()]; in testMultipleParagraphs()
294 length = bidiLine.getLength(); in testMultipleParagraphs()
324 gotLevels = new byte[bidi.getLength()]; in testMultipleParagraphs()
362 gotLevels = new byte[bidi.getLength()]; in testMultipleParagraphs()
395 gotLevels = new byte[bidi.getLength()]; in testMultipleParagraphs()
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/
DBerInputStreamTest.java87 assertEquals(expected, in.getLength()); in test_CtorLjava_io_ByteArrayInputStream()
141 assertEquals("boolean", 1, in.getLength()); in test_Ctor$LbyteLintLint()
145 assertEquals("boolean", 2, in.getLength()); in test_Ctor$LbyteLintLint()
149 assertEquals("any", 0, in.getLength()); in test_Ctor$LbyteLintLint()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DCollationKey.java232 int length = getLength() + 1; in toByteArray()
526 if (source == null || source.getLength() == 0) { in merge()
533 byte result[] = new byte[getLength() + source.getLength() + 2]; in merge()
618 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()
/external/hamcrest/src/org/hamcrest/core/
DIsEqual.java48 return Array.getLength(o1) == Array.getLength(o2); in areArrayLengthsEqual()
52 for (int i = 0; i < Array.getLength(o1); i++) { in areArrayElementsEqual()
/external/clang/lib/Lex/
DTokenConcatenation.cpp52 if (Tok.getLength() < 1 || Tok.getLength() > 3) in IsIdentifierStringPrefix()
56 return IsStringPrefix(StringRef(Ptr, Tok.getLength()), in IsIdentifierStringPrefix()
60 if (Tok.getLength() < 256) { in IsIdentifierStringPrefix()
136 } else if (Tok.getLength() < 256) { in GetFirstChar()
166 if (PrevSpellLoc.getLocWithOffset(PrevTok.getLength()) == SpellLoc) in AvoidConcat()
/external/clang/unittests/Tooling/
DReplacementsYamlTest.cpp77 ASSERT_EQ(56u, DocActual.Replacements[0].getLength()); in TEST()
81 ASSERT_EQ(2u, DocActual.Replacements[1].getLength()); in TEST()
104 ASSERT_EQ(10u, DocActual.Replacements[0].getLength()); in TEST()
/external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/serializers/
DArraySerializer.java56 dimensions[0] = Array.getLength(array); in getDimensions()
63 for (int i = 0, s = Array.getLength(array); i < s; i++) { in collectDimensions()
66 dimensions[dimension] = Math.max(dimensions[dimension], Array.getLength(element)); in collectDimensions()
114 int length = Array.getLength(array);
/external/llvm/tools/llvm-pdbdump/
DBuiltinDumper.cpp25 if (Symbol.getLength() == 4) in start()
32 if (Symbol.getLength() == 8) in start()
36 if (Symbol.getLength() == 4) in start()

12345678910>>...17