Home
last modified time | relevance | path

Searched refs:setLength (Results 1 – 25 of 145) sorted by relevance

123456

/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
DStringBuilderTest.java100 sb.setLength(0); in test_appendZ()
112 sb.setLength(0); in test_appendC()
124 sb.setLength(0); in test_append$C()
142 sb.setLength(0); in test_append$CII()
146 sb.setLength(0); in test_append$CII()
150 sb.setLength(0); in test_append$CII()
154 sb.setLength(0); in test_append$CII()
194 sb.setLength(0); in test_appendLjava_lang_CharSequence()
197 sb.setLength(0); in test_appendLjava_lang_CharSequence()
210 sb.setLength(0); in test_appendLjava_lang_CharSequenceII()
[all …]
DStringBufferTest.java35 buffer.setLength(-1); in test_setLengthI()
42 buffer.setLength(1); in test_setLengthI()
48 buffer.setLength(3); in test_setLengthI()
53 buffer.setLength(2); in test_setLengthI()
63 buffer.setLength(2); in test_setLengthI()
64 buffer.setLength(5); in test_setLengthI()
72 buffer.setLength(7); in test_setLengthI()
85 buffer.setLength(7); in test_setLengthI()
100 buffer.setLength(1000); in test_toString()
106 buffer.setLength(5); in test_toString()
[all …]
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/
DAsYouTypeFormatter.java211 formattingTemplate.setLength(0); in createFormattingTemplate()
246 accruedInput.setLength(0); in clear()
247 accruedInputWithoutFormatting.setLength(0); in clear()
248 formattingTemplate.setLength(0); in clear()
251 prefixBeforeNationalNumber.setLength(0); in clear()
253 nationalNumber.setLength(0); in clear()
383 prefixBeforeNationalNumber.setLength(indexOfPreviousNdd); in ableToExtractLongerNdd()
494 nationalNumber.setLength(0); in attemptToExtractIdd()
496 prefixBeforeNationalNumber.setLength(0); in attemptToExtractIdd()
523 nationalNumber.setLength(0); in attemptToExtractCountryCallingCode()
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
DMemoryHandlerTest.java104 writer.getBuffer().setLength(0); in testClose()
119 writer.getBuffer().setLength(0); in testFlush()
299 writer.getBuffer().setLength(0); in testSetPushLevel()
305 writer.getBuffer().setLength(0); in testSetPushLevel()
313 writer.getBuffer().setLength(0); in testPushPublic()
320 writer.getBuffer().setLength(0); in testPushPublic()
326 writer.getBuffer().setLength(0); in testPushPublic()
351 writer.getBuffer().setLength(0); in testPushPublic()
/external/webkit/Source/WebCore/bindings/cpp/
DWebDOMHTMLOptionsCollectionCustom.cpp34 void WebDOMHTMLOptionsCollection::setLength(unsigned length) in setLength() function in WebDOMHTMLOptionsCollection
40 impl()->setLength(length, ec); in setLength()
/external/apache-xml/src/main/java/org/apache/xalan/templates/
DAVT.java254 buffer.setLength(0); in AVT()
257 exprBuffer.setLength(0); in AVT()
306 buffer.setLength(0); in AVT()
417 buffer.setLength(0); in AVT()
466 buf.setLength(0); in getSimpleString()
506 buf.setLength(0); in evaluate()
/external/skia/src/core/
DSkPoint.cpp79 return this->setLength(fX, fY, SK_Scalar1); in normalize()
83 return this->setLength(x, y, SK_Scalar1); in setNormalize()
86 bool SkPoint::setLength(SkScalar length) { in setLength() function in SkPoint
87 return this->setLength(fX, fY, length); in setLength()
112 bool SkPoint::setLength(float x, float y, float length) { in setLength() function in SkPoint
229 bool SkPoint::setLength(SkFixed ox, SkFixed oy, SkFixed length) { in setLength() function in SkPoint
297 bool SkPoint::setLength(SkFixed ox, SkFixed oy, SkFixed length) { in setLength() function in SkPoint
/external/jsilver/src/com/google/streamhtmlparser/util/
DCharacterRecorder.java91 sb.setLength(0); in startRecording()
120 sb.setLength(0); in clear()
/external/apache-xml/src/main/java/org/apache/xml/serializer/
DAttributesImplSerializer.java131 m_buff.setLength(0); in addAttribute()
158 m_buff.setLength(0); in switchOverToHash()
227 m_buff.setLength(0); in getIndex()
/external/jmonkeyengine/engine/src/xml/com/jme3/export/xml/
DDOMOutputCapsule.java119 buf.setLength(buf.length() - 1); in write()
140 buf.setLength(buf.length() - 2); in write()
166 buf.setLength(Math.max(0, buf.length() - 1)); in write()
206 buf.setLength(buf.length() - 1); in write()
227 buf.setLength(buf.length() - 1); in write()
253 buf.setLength(buf.length() - 1); in write()
292 buf.setLength(buf.length() - 1); in write()
331 buf.setLength(buf.length() - 1); in write()
370 buf.setLength(Math.max(0, buf.length() - 1)); in write()
441 buf.setLength(Math.max(0, buf.length() - 1)); in write()
[all …]
/external/webkit/Source/WebCore/html/
DHTMLOptionsCollection.cpp85 void HTMLOptionsCollection::setLength(unsigned length, ExceptionCode& ec) in setLength() function in WebCore::HTMLOptionsCollection
87 static_cast<HTMLSelectElement*>(base())->setLength(length, ec); in setLength()
DHTMLOptionsCollection.h47 void setLength(unsigned, ExceptionCode&);
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
DChoiceFormatTest.java255 buf.setLength(0); in test_formatDLjava_lang_StringBufferLjava_text_FieldPosition()
258 buf.setLength(0); in test_formatDLjava_lang_StringBufferLjava_text_FieldPosition()
261 buf.setLength(0); in test_formatDLjava_lang_StringBufferLjava_text_FieldPosition()
264 buf.setLength(0); in test_formatDLjava_lang_StringBufferLjava_text_FieldPosition()
286 buf.setLength(0); in test_formatJLjava_lang_StringBufferLjava_text_FieldPosition()
289 buf.setLength(0); in test_formatJLjava_lang_StringBufferLjava_text_FieldPosition()
/external/webkit/Source/WebCore/bindings/js/
DJSHTMLOptionsCollectionCustom.cpp44 void JSHTMLOptionsCollection::setLength(ExecState* exec, JSValue value) in setLength() function in WebCore::JSHTMLOptionsCollection
59 imp->setLength(newLength, ec); in setLength()
/external/webkit/Source/WebCore/fileapi/
DFileWriterSync.cpp62 setLength(position()); in write()
91 setLength(offset); in truncate()
DFileWriter.cpp152 setLength(position()); in didWrite()
166 setLength(m_truncateLength); in didTruncate()
DFileWriterBase.h75 void setLength(long long length) in setLength() function
/external/icu4c/common/
Dunistr.cpp197 setLength(length); in UnicodeString()
292 setLength(length); in UnicodeString()
486 setLength(srcLength); in copyFrom()
1243 setLength(oldLength - length); in doReplace()
1249 setLength(start); in doReplace()
1281 setLength(newLength); in doReplace()
1335 setLength(newLength); in doReplace()
1453 setLength(targetLength); in padLeading()
1472 setLength(targetLength); in padTrailing()
1522 setLength(newLength); in releaseBuffer()
[all …]
Dunistr_props.cpp49 setLength(length); in trim()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DStackTest.java168 public void setLength(int elementCount) in setLength() method in StackTest.BugStack
184 testStack.setLength(20); in test_pop_modify_elementCount()
/external/javassist/src/main/javassist/compiler/
DLex.java127 tbuf.setLength(0); in readLine()
212 tbuf.setLength(0); in readStringL()
298 tbuf.setLength(0); in readNumber()
431 tbuf.setLength(0); in readIdentifier()
/external/apache-xml/src/main/java/org/apache/xml/utils/
DStringBufferPool.java57 sb.setLength(0); in free()
/external/emma/core/java12/com/vladium/emma/report/html/
DReportGenerator.java198 buf.setLength (0); in visit()
377 buf.setLength (0); in visit()
494 buf.setLength (0); in visit()
671 buf.setLength (0); in visit()
925 buf.setLength (0); in addItemRow()
938 buf.setLength (0); in addItemRow()
981 buf.setLength (0); in addClassRow()
1050 buf.setLength (0); in addClassItemRow()
1063 buf.setLength (0); in addClassItemRow()
1215 tooltipBuffer.setLength (0); in embedSrcFile()
[all …]
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
DStringBuilderExtensions.cs68 public static void setLength( this StringBuilder buffer, int length ) in setLength() method in Antlr.Runtime.JavaExtensions.StringBuilderExtensions
/external/jsilver/src/com/google/clearsilver/jsilver/output/
DThreadLocalOutputBufferProvider.java47 sb.setLength(0); in get()

123456