Home
last modified time | relevance | path

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

12345678910>>...13

/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
DBidiTest.java150 assertEquals(0, bd.getLength()); in testEmptyParagraph()
162 assertEquals(0, bd.getLength()); in testEmptyParagraph()
174 assertEquals(0, bd.getLength()); in testEmptyParagraph()
186 assertEquals(0, bd.getLength()); in testEmptyParagraph()
200 assertEquals(1, bd.getLength()); in testSpaceParagraph()
212 assertEquals(1, bd.getLength()); in testSpaceParagraph()
224 assertEquals(1, bd.getLength()); in testSpaceParagraph()
236 assertEquals(1, bd.getLength()); in testSpaceParagraph()
250 assertEquals(1, bd.getLength()); in testSimpleParagraph()
262 assertEquals(1, bd.getLength()); in testSimpleParagraph()
[all …]
/external/skia/tests/
DPathMeasureTest.cpp26 meas.getLength(); in test_small_segment3()
44 meas.getLength(); in test_small_segment2()
78 meas.getLength(); in test_small_segment()
91 SkScalar length = meas.getLength(); in TestPathMeasure()
98 length = meas.getLength(); in TestPathMeasure()
104 length = meas.getLength(); in TestPathMeasure()
115 length = meas.getLength(); in TestPathMeasure()
118 length = meas.getLength(); in TestPathMeasure()
145 length = meas.getLength(); in TestPathMeasure()
181 length = meas.getLength(); in TestPathMeasure()
[all …]
DFlateTest.cpp50 size_t inputSize = testStream->getLength(); in TestFlate()
53 REPORTER_ASSERT(reporter, testData.getLength() == inputSize); in TestFlate()
56 testData.getLength()) == 0); in TestFlate()
72 inputSize = testStream->getLength(); in TestFlate()
82 REPORTER_ASSERT(reporter, testData.getLength() == uncompressed.getOffset()); in TestFlate()
85 testData.getLength()) == 0); in TestFlate()
/external/smack/src/org/jivesoftware/smackx/provider/
DVCardProvider.java135 if (photo.getLength() != 1) in setupPhoto()
141 int childNodeCount = childNodes.getLength(); in setupPhoto()
168 for (int i = 0; i < nodes.getLength(); i++) { in setupEmails()
182 for (int i = 0; i < allPhones.getLength(); i++) { in setupPhones()
187 for (int j = 0; j < nodes.getLength(); j++) { in setupPhones()
218 for (int i = 0; i < allAddresses.getLength(); i++) { in setupAddresses()
225 for (int j = 0; j < childNodes.getLength(); j++) { in setupAddresses()
250 if (nodes != null && nodes.getLength() == 1) { in getTagContents()
258 for (int i = 0; i < childNodes.getLength(); i++) { in setupSimpleFields()
264 if (element.getChildNodes().getLength() == 0) { in setupSimpleFields()
[all …]
/external/icu4c/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/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/webkit/Source/WebCore/bridge/
Druntime_array.cpp57 return jsNumber(thisObj->getLength()); in lengthGetter()
68 unsigned length = getLength(); in getOwnPropertyNames()
88 if (index < getLength()) { in getOwnPropertySlot()
109 if (index < getLength()) { in getOwnPropertyDescriptor()
122 if (index < getLength()) { in getOwnPropertySlot()
149 if (index >= getLength()) { in put()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
DDatagramSocketTest.java169 assertTrue("Wrong size: " + receive.getLength(), in test_connectLjava_net_InetAddressI()
170 receive.getLength() == 10); in test_connectLjava_net_InetAddressI()
259 assertTrue("Wrong size data received: " + receive.getLength(), receive in test_connectLjava_net_InetAddressI()
260 .getLength() == sendBytes.length); in test_connectLjava_net_InetAddressI()
262 + new String(receive.getData(), 0, receive.getLength()) + ":" in test_connectLjava_net_InetAddressI()
264 receive.getLength()).equals(new String(sendBytes))); in test_connectLjava_net_InetAddressI()
325 + receive.getLength(), receive.getLength() == sendBytes.length); in test_connectLjava_net_InetAddressI()
327 + new String(receive.getData(), 0, receive.getLength()) + ":" in test_connectLjava_net_InetAddressI()
329 receive.getLength()).equals(new String(sendBytes))); in test_connectLjava_net_InetAddressI()
363 + receive.getLength(), receive.getLength() == sendBytes.length); in test_connectLjava_net_InetAddressI()
[all …]
DDatagramPacketTest.java40 assertEquals("Wrong length", 5, dp.getLength()); in test_Constructor$BI()
60 assertEquals("Wrong length", 3, dp.getLength()); in test_Constructor$BII()
73 assertEquals("Wrong length", 3, dp.getLength()); in test_Constructor$BIILjava_net_InetAddressI()
87 assertEquals("Wrong length", 5, dp.getLength()); in test_Constructor$BILjava_net_InetAddressI()
114 assertEquals("Incorrect length returned", 5, dp.getLength()); in test_getLength()
184 assertEquals("Failed to set packet length", 1, dp.getLength()); in test_setLengthI()
/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/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/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/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/skia/src/pdf/
DSkPDFStream.cpp69 stream->write(fData->getMemoryBase(), fData->getLength()); in emitObject()
82 strlen(" stream\n\nendstream") + fData->getLength(); in getOutputSize()
98 if (compressedData.getOffset() < fData->getLength()) { in populate()
108 insertInt("Length", fData->getLength()); in populate()
/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/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()
132 } else if (Tok.getLength() < 256) { in GetFirstChar()
162 if (PrevSpellLoc.getLocWithOffset(PrevTok.getLength()) == SpellLoc) in AvoidConcat()
/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/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/constraints/
DBlenderTrack.java135 public float getLength() { in getLength() method in BlenderTrack
136 return spatialTrack == null ? boneTrack.getLength() : spatialTrack in getLength()
137 .getLength(); in getLength()
/external/llvm/include/llvm/CodeGen/PBQP/
DGraph.h136 assert((n1.getCosts().getLength() == ne.getCosts().getRows()) &&
137 (n2.getCosts().getLength() == ne.getCosts().getCols()) &&
183 assert(getNodeCosts(n1Itr).getLength() == costs.getRows() &&
184 getNodeCosts(n2Itr).getLength() == costs.getCols() &&
366 os << "\n" << v.getLength() << "\n";
367 assert(v.getLength() != 0 && "Empty vector in graph.");
369 for (unsigned i = 1; i < v.getLength(); ++i) {
/external/skia/src/ports/
DSkFontHost_ascender.cpp61 void* hints = sk_malloc_throw(fHintStream->getLength()); in SkScalerContext_Ascender()
62 memcpy(hints, fHintStream->getMemoryBase(), fHintStream->getLength()); in SkScalerContext_Ascender()
65 (void*)fFontStream->getMemoryBase(), fFontStream->getLength(), in SkScalerContext_Ascender()
67 hints, fHintStream->getLength()); in SkScalerContext_Ascender()
/external/skia/legacy/src/ports/
DSkFontHost_ascender.cpp61 void* hints = sk_malloc_throw(fHintStream->getLength()); in SkScalerContext_Ascender()
62 memcpy(hints, fHintStream->getMemoryBase(), fHintStream->getLength()); in SkScalerContext_Ascender()
65 (void*)fFontStream->getMemoryBase(), fFontStream->getLength(), in SkScalerContext_Ascender()
67 hints, fHintStream->getLength()); in SkScalerContext_Ascender()

12345678910>>...13