Home
last modified time | relevance | path

Searched refs:setLength (Results 1 – 25 of 144) 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.java229 formattingTemplate.setLength(0); in createFormattingTemplate()
264 accruedInput.setLength(0); in clear()
265 accruedInputWithoutFormatting.setLength(0); in clear()
266 formattingTemplate.setLength(0); in clear()
269 prefixBeforeNationalNumber.setLength(0); in clear()
271 nationalNumber.setLength(0); in clear()
403 prefixBeforeNationalNumber.setLength(indexOfPreviousNdd); in ableToExtractLongerNdd()
556 nationalNumber.setLength(0); in attemptToExtractIdd()
558 prefixBeforeNationalNumber.setLength(0); in attemptToExtractIdd()
585 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/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()
156 bool SkPoint::setLength(float x, float y, float length) { in setLength() function in SkPoint
/external/chromium_org/third_party/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()
156 bool SkPoint::setLength(float x, float y, float 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/skia/tests/
DPointTest.cpp100 REPORTER_ASSERT(reporter, pt.setLength(SK_Scalar1)); in test_overflow()
116 REPORTER_ASSERT(reporter, !pt.setLength(SK_Scalar1)); in test_underflow()
150 slow.setLength(tests[i]); in DEF_TEST()
/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/chromium_org/third_party/WebKit/Source/modules/filesystem/
DFileWriterSync.cpp61 setLength(position()); in write()
88 setLength(offset); in truncate()
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLOptionsCollection.cpp94 void HTMLOptionsCollection::setLength(unsigned length, ExceptionState& exceptionState) in setLength() function in WebCore::HTMLOptionsCollection
96 toHTMLSelectElement(ownerNode())->setLength(length, exceptionState); in setLength()
DHTMLOptionsCollection.h47 void setLength(unsigned, ExceptionState&);
/external/chromium_org/third_party/icu/source/common/
Dunistr.cpp196 setLength(length); in UnicodeString()
291 setLength(length); in UnicodeString()
485 setLength(srcLength); in copyFrom()
1242 setLength(oldLength - length); in doReplace()
1248 setLength(start); in doReplace()
1270 setLength(newSize); in doReplace()
1324 setLength(newSize); in doReplace()
1442 setLength(targetLength); in padLeading()
1461 setLength(targetLength); in padTrailing()
1511 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/icu4c/common/
Dunistr.cpp194 setLength(length); in UnicodeString()
293 setLength(length); in UnicodeString()
487 setLength(srcLength); in copyFrom()
1313 setLength(oldLength - length); in doReplace()
1319 setLength(start); in doReplace()
1354 setLength(newLength); in doReplace()
1408 setLength(newLength); in doReplace()
1526 setLength(targetLength); in padLeading()
1545 setLength(targetLength); in padTrailing()
1595 setLength(newLength); in releaseBuffer()
[all …]
Dunistr_props.cpp50 setLength(length); in trim()
/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()
/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 …]

123456