Home
last modified time | relevance | path

Searched refs:StringBuffer (Results 1 – 25 of 1098) sorted by relevance

12345678910>>...44

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/
DIDNAReference.java42 private static boolean startsWithPrefix(StringBuffer src){ in startsWithPrefix()
63 private static StringBuffer toASCIILower(StringBuffer src){ in toASCIILower()
64 StringBuffer dest = new StringBuffer(); in toASCIILower()
71 private static int compareCaseInsensitiveASCII(StringBuffer s1, StringBuffer s2){ in compareCaseInsensitiveASCII()
119 public static StringBuffer convertToASCII(String src, int options) in convertToASCII()
124 public static StringBuffer convertToASCII(StringBuffer src, int options) in convertToASCII()
129 public static StringBuffer convertToASCII(UCharacterIterator srcIter, int options) in convertToASCII()
151 StringBuffer processOut = null; in convertToASCII()
157 processOut = new StringBuffer(srcIter.getText()); in convertToASCII()
163 StringBuffer dest = new StringBuffer(); in convertToASCII()
[all …]
DTestIDNA.java87 StringBuffer inBuf = new StringBuffer(src); in doTestToUnicode()
91 StringBuffer out = IDNA.convertToUnicode(src,options); in doTestToUnicode()
106 StringBuffer out = IDNA.convertToUnicode(inBuf,options); in doTestToUnicode()
121 StringBuffer out = IDNA.convertToUnicode(inIter,options); in doTestToUnicode()
138 StringBuffer inBuf = new StringBuffer(src); in doTestIDNToUnicode()
142 StringBuffer out = IDNA.convertIDNToUnicode(src,options); in doTestIDNToUnicode()
156 StringBuffer out = IDNA.convertIDNToUnicode(inBuf,options); in doTestIDNToUnicode()
171 StringBuffer out = IDNA.convertIDNToUnicode(inIter,options); in doTestIDNToUnicode()
187 StringBuffer inBuf = new StringBuffer(src); in doTestToASCII()
191 StringBuffer out = IDNA.convertToASCII(src,options); in doTestToASCII()
[all …]
DTestIDNARef.java116 StringBuffer inBuf = new StringBuffer(src); in doTestToUnicode()
120 StringBuffer out = IDNAReference.convertToUnicode(src,options); in doTestToUnicode()
135 StringBuffer out = IDNAReference.convertToUnicode(inBuf,options); in doTestToUnicode()
150 StringBuffer out = IDNAReference.convertToUnicode(inIter,options); in doTestToUnicode()
173 StringBuffer inBuf = new StringBuffer(src); in doTestIDNToUnicode()
177 StringBuffer out = IDNAReference.convertIDNToUnicode(src,options); in doTestIDNToUnicode()
191 StringBuffer out = IDNAReference.convertIDNToUnicode(inBuf,options); in doTestIDNToUnicode()
206 StringBuffer out = IDNAReference.convertIDNToUnicode(inIter,options); in doTestIDNToUnicode()
228 StringBuffer inBuf = new StringBuffer(src); in doTestToASCII()
232 StringBuffer out = IDNAReference.convertToASCII(src,options); in doTestToASCII()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/stringprep/
DIDNAReference.java45 private static boolean startsWithPrefix(StringBuffer src){ in startsWithPrefix()
66 private static StringBuffer toASCIILower(StringBuffer src){ in toASCIILower()
67 StringBuffer dest = new StringBuffer(); in toASCIILower()
74 private static int compareCaseInsensitiveASCII(StringBuffer s1, StringBuffer s2){ in compareCaseInsensitiveASCII()
122 public static StringBuffer convertToASCII(String src, int options) in convertToASCII()
127 public static StringBuffer convertToASCII(StringBuffer src, int options) in convertToASCII()
132 public static StringBuffer convertToASCII(UCharacterIterator srcIter, int options) in convertToASCII()
154 StringBuffer processOut = null; in convertToASCII()
160 processOut = new StringBuffer(srcIter.getText()); in convertToASCII()
166 StringBuffer dest = new StringBuffer(); in convertToASCII()
[all …]
DTestIDNA.java90 StringBuffer inBuf = new StringBuffer(src); in doTestToUnicode()
94 StringBuffer out = IDNA.convertToUnicode(src,options); in doTestToUnicode()
109 StringBuffer out = IDNA.convertToUnicode(inBuf,options); in doTestToUnicode()
124 StringBuffer out = IDNA.convertToUnicode(inIter,options); in doTestToUnicode()
141 StringBuffer inBuf = new StringBuffer(src); in doTestIDNToUnicode()
145 StringBuffer out = IDNA.convertIDNToUnicode(src,options); in doTestIDNToUnicode()
159 StringBuffer out = IDNA.convertIDNToUnicode(inBuf,options); in doTestIDNToUnicode()
174 StringBuffer out = IDNA.convertIDNToUnicode(inIter,options); in doTestIDNToUnicode()
190 StringBuffer inBuf = new StringBuffer(src); in doTestToASCII()
194 StringBuffer out = IDNA.convertToASCII(src,options); in doTestToASCII()
[all …]
DTestIDNARef.java119 StringBuffer inBuf = new StringBuffer(src); in doTestToUnicode()
123 StringBuffer out = IDNAReference.convertToUnicode(src,options); in doTestToUnicode()
138 StringBuffer out = IDNAReference.convertToUnicode(inBuf,options); in doTestToUnicode()
153 StringBuffer out = IDNAReference.convertToUnicode(inIter,options); in doTestToUnicode()
176 StringBuffer inBuf = new StringBuffer(src); in doTestIDNToUnicode()
180 StringBuffer out = IDNAReference.convertIDNToUnicode(src,options); in doTestIDNToUnicode()
194 StringBuffer out = IDNAReference.convertIDNToUnicode(inBuf,options); in doTestIDNToUnicode()
209 StringBuffer out = IDNAReference.convertIDNToUnicode(inIter,options); in doTestIDNToUnicode()
231 StringBuffer inBuf = new StringBuffer(src); in doTestToASCII()
235 StringBuffer out = IDNAReference.convertToASCII(src,options); in doTestToASCII()
[all …]
/external/javapoet/src/test/java/com/squareup/javapoet/
DLineWrapperTest.java27 StringBuffer out = new StringBuffer(); in wrap()
37 StringBuffer out = new StringBuffer(); in noWrap()
47 StringBuffer out = new StringBuffer(); in zeroWidthNoWrap()
57 StringBuffer out = new StringBuffer(); in nospaceWrapMax()
67 StringBuffer out = new StringBuffer(); in multipleWrite()
91 StringBuffer out = new StringBuffer(); in fencepost()
103 StringBuffer out = new StringBuffer(); in fencepostZeroWidth()
115 StringBuffer out = new StringBuffer(); in overlyLongLinesWithoutLeadingSpace()
123 StringBuffer out = new StringBuffer(); in overlyLongLinesWithLeadingSpace()
132 StringBuffer out = new StringBuffer(); in overlyLongLinesWithLeadingZeroWidth()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DIDNA2003.java39 private static boolean startsWithPrefix(StringBuffer src){ in startsWithPrefix()
58 private static StringBuffer toASCIILower(CharSequence src){ in toASCIILower()
59 StringBuffer dest = new StringBuffer(); in toASCIILower()
66 private static int compareCaseInsensitiveASCII(StringBuffer s1, StringBuffer s2){ in compareCaseInsensitiveASCII()
153 public static StringBuffer convertToASCII(UCharacterIterator src, int options) in convertToASCII()
175 StringBuffer processOut = null; in convertToASCII()
181 processOut = new StringBuffer(src.getText()); in convertToASCII()
188 StringBuffer dest = new StringBuffer(); in convertToASCII()
244 StringBuffer lowerOut = toASCIILower(punyout); in convertToASCII()
263 public static StringBuffer convertIDNToASCII(String src,int options) in convertIDNToASCII()
[all …]
DUtilityExtensions.java27 public static void appendToRule(StringBuffer rule, in appendToRule()
31 StringBuffer quoteBuf) { in appendToRule()
43 public static void appendToRule(StringBuffer rule, in appendToRule()
46 StringBuffer quoteBuf) { in appendToRule()
59 StringBuffer appendTo = new StringBuffer(); in formatInput()
69 public static StringBuffer formatInput(StringBuffer appendTo, in formatInput()
110 public static StringBuffer formatInput(StringBuffer appendTo, in formatInput()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DIDNA2003.java37 private static boolean startsWithPrefix(StringBuffer src){ in startsWithPrefix()
56 private static StringBuffer toASCIILower(CharSequence src){ in toASCIILower()
57 StringBuffer dest = new StringBuffer(); in toASCIILower()
64 private static int compareCaseInsensitiveASCII(StringBuffer s1, StringBuffer s2){ in compareCaseInsensitiveASCII()
152 public static StringBuffer convertToASCII(UCharacterIterator src, int options) in convertToASCII()
174 StringBuffer processOut = null; in convertToASCII()
180 processOut = new StringBuffer(src.getText()); in convertToASCII()
187 StringBuffer dest = new StringBuffer(); in convertToASCII()
243 StringBuffer lowerOut = toASCIILower(punyout); in convertToASCII()
262 public static StringBuffer convertIDNToASCII(String src,int options) in convertIDNToASCII()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DIntlTestNumberFormatAPI.java89 StringBuffer res3 = new StringBuffer(); in TestAPI()
90 StringBuffer res4 = new StringBuffer(); in TestAPI()
91 StringBuffer res5 = new StringBuffer(); in TestAPI()
92 StringBuffer res6 = new StringBuffer(); in TestAPI()
224 …public StringBuffer format(double number, StringBuffer toAppendTo, FieldPosition pos) {return null… in TestCoverage()
226 … public StringBuffer format(long number, StringBuffer toAppendTo, FieldPosition pos) {return null;} in TestCoverage()
228 …public StringBuffer format(BigInteger number, StringBuffer toAppendTo, FieldPosition pos) {return … in TestCoverage()
230 …public StringBuffer format(java.math.BigDecimal number, StringBuffer toAppendTo, FieldPosition pos… in TestCoverage()
232 …public StringBuffer format(com.ibm.icu.math.BigDecimal number, StringBuffer toAppendTo, FieldPosit… in TestCoverage()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DIDNA.java480 public static StringBuffer convertToASCII(String src, int options) in convertToASCII()
512 public static StringBuffer convertToASCII(StringBuffer src, int options) in convertToASCII()
544 public static StringBuffer convertToASCII(UCharacterIterator src, int options) in convertToASCII()
580 public static StringBuffer convertIDNToASCII(UCharacterIterator src, int options) in convertIDNToASCII()
616 public static StringBuffer convertIDNToASCII(StringBuffer src, int options) in convertIDNToASCII()
652 public static StringBuffer convertIDNToASCII(String src,int options) in convertIDNToASCII()
684 public static StringBuffer convertToUnicode(String src, int options) in convertToUnicode()
716 public static StringBuffer convertToUnicode(StringBuffer src, int options) in convertToUnicode()
748 public static StringBuffer convertToUnicode(UCharacterIterator src, int options) in convertToUnicode()
781 public static StringBuffer convertIDNToUnicode(UCharacterIterator src, int options) in convertIDNToUnicode()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DIDNA.java499 public static StringBuffer convertToASCII(String src, int options) in convertToASCII()
530 public static StringBuffer convertToASCII(StringBuffer src, int options) in convertToASCII()
561 public static StringBuffer convertToASCII(UCharacterIterator src, int options) in convertToASCII()
596 public static StringBuffer convertIDNToASCII(UCharacterIterator src, int options) in convertIDNToASCII()
631 public static StringBuffer convertIDNToASCII(StringBuffer src, int options) in convertIDNToASCII()
666 public static StringBuffer convertIDNToASCII(String src,int options) in convertIDNToASCII()
697 public static StringBuffer convertToUnicode(String src, int options) in convertToUnicode()
728 public static StringBuffer convertToUnicode(StringBuffer src, int options) in convertToUnicode()
759 public static StringBuffer convertToUnicode(UCharacterIterator src, int options) in convertToUnicode()
791 public static StringBuffer convertIDNToUnicode(UCharacterIterator src, int options) in convertIDNToUnicode()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DIntlTestNumberFormatAPI.java92 StringBuffer res3 = new StringBuffer(); in TestAPI()
93 StringBuffer res4 = new StringBuffer(); in TestAPI()
94 StringBuffer res5 = new StringBuffer(); in TestAPI()
95 StringBuffer res6 = new StringBuffer(); in TestAPI()
227 …public StringBuffer format(double number, StringBuffer toAppendTo, FieldPosition pos) {return null… in TestCoverage()
229 … public StringBuffer format(long number, StringBuffer toAppendTo, FieldPosition pos) {return null;} in TestCoverage()
231 …public StringBuffer format(BigInteger number, StringBuffer toAppendTo, FieldPosition pos) {return … in TestCoverage()
233 …public StringBuffer format(java.math.BigDecimal number, StringBuffer toAppendTo, FieldPosition pos… in TestCoverage()
235 …public StringBuffer format(android.icu.math.BigDecimal number, StringBuffer toAppendTo, FieldPosit… in TestCoverage()
/external/pigweed/pw_string/public/pw_string/
Dstring_builder.h273 class StringBuffer : public StringBuilder {
275 StringBuffer() : StringBuilder(buffer_) {} in StringBuffer() function
278 StringBuffer(const StringBuffer& other) : StringBuilder(buffer_, other) { in StringBuffer() function
284 StringBuffer(const StringBuffer<kOtherSizeBytes>& other) in StringBuffer() function
286 static_assert(StringBuffer<kOtherSizeBytes>::max_size() <= max_size(), in StringBuffer()
292 StringBuffer& operator=(const StringBuffer<kOtherSizeBytes>& other) {
297 StringBuffer& operator=(const StringBuffer& other) {
303 StringBuffer& assign(const StringBuffer<kOtherSizeBytes>& other) { in assign()
304 static_assert(StringBuffer<kOtherSizeBytes>::max_size() <= max_size(), in assign()
317 StringBuffer& append(Args&&... args) { in append()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/expected_output/
Dcom_github_javaparser_ast_body_MethodDeclaration.txt74 Line 235) StringBuffer sb = new StringBuffer() ==> java.lang.StringBuffer
75 Line 235) new StringBuffer() ==> java.lang.StringBuffer
79 Line 238) sb.append(accessSpecifier.getCodeRepresenation()) ==> java.lang.StringBuffer
80 …ne 239) sb.append(accessSpecifier == AccessSpecifier.DEFAULT ? "" : " ") ==> java.lang.StringBuffer
82 Line 241) sb.append("static ") ==> java.lang.StringBuffer
84 Line 244) sb.append("abstract ") ==> java.lang.StringBuffer
86 Line 247) sb.append("final ") ==> java.lang.StringBuffer
88 Line 250) sb.append("native ") ==> java.lang.StringBuffer
90 Line 253) sb.append("synchronized ") ==> java.lang.StringBuffer
91 Line 257) sb.append(getType().toStringWithoutComments()) ==> java.lang.StringBuffer
[all …]
/external/proguard/src/proguard/gui/
DFilterBuilder.java53 StringBuffer positive = new StringBuffer(); in buildFilter()
54 StringBuffer negative = new StringBuffer(); in buildFilter()
73 StringBuffer positive, in buildFilter()
74 StringBuffer negative) in buildFilter()
136 StringBuffer positiveFilter = new StringBuffer(); in buildFilter()
137 StringBuffer negativeFilter = new StringBuffer(); in buildFilter()
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/impl/
DUtilityExtensions.java25 public static void appendToRule(StringBuffer rule, in appendToRule()
29 StringBuffer quoteBuf) { in appendToRule()
41 public static void appendToRule(StringBuffer rule, in appendToRule()
44 StringBuffer quoteBuf) { in appendToRule()
57 StringBuffer appendTo = new StringBuffer(); in formatInput()
67 public static StringBuffer formatInput(StringBuffer appendTo, in formatInput()
108 public static StringBuffer formatInput(StringBuffer appendTo, in formatInput()
/external/pigweed/pw_string/
Dstring_builder_test.cc115 StringBuffer<16> sb; in TEST()
121 StringBuffer<16> sb; in TEST()
136 StringBuffer<2> sb = MakeString<2>("Won't fit!!!!!"); in TEST()
154 StringBuffer<12> sb; in TEST()
162 StringBuffer<1> sb; in TEST()
177 StringBuffer<12> sb; in TEST()
187 StringBuffer<6> sb; in TEST()
193 StringBuffer<8> sb; in TEST()
200 StringBuffer<8> sb; in TEST()
207 StringBuffer<12> sb; in TEST()
[all …]
/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/
DCollationPerformanceTest.java62 static StringBuffer temp_opt_fName = new StringBuffer("");
63 static StringBuffer temp_opt_locale = new StringBuffer("en_US");
65 static StringBuffer temp_opt_rules = new StringBuffer("");
66 static StringBuffer temp_opt_help = new StringBuffer("");
67 static StringBuffer temp_opt_loopCount = new StringBuffer("1");
68 static StringBuffer temp_opt_iLoopCount = new StringBuffer("1");
69 static StringBuffer temp_opt_terse = new StringBuffer("false");
70 static StringBuffer temp_opt_qsort = new StringBuffer("");
71 static StringBuffer temp_opt_binsearch = new StringBuffer("");
72 static StringBuffer temp_opt_icu = new StringBuffer("true");
[all …]
/external/nist-sip/java/gov/nist/javax/sip/header/
DSIPHeader.java98 StringBuffer buffer = new StringBuffer(encodedHdr); in getHeaderValue()
118 return encode(new StringBuffer()).toString(); in encode()
121 public StringBuffer encode(StringBuffer buffer) { in encode()
136 protected StringBuffer encodeBody(StringBuffer buffer) { in encodeBody()
/external/icu/icu4j/samples/src/com/ibm/icu/samples/text/pluralformat/
DPluralFormatSample.java52 StringBuffer msgEn = new StringBuffer(); in PluralFormatExample()
53 StringBuffer msgSl = new StringBuffer(); in PluralFormatExample()
72 StringBuffer msgEn = new StringBuffer(); in PluralFormatExample()
73 StringBuffer msgSl = new StringBuffer(); in PluralFormatExample()
/external/icu/android_icu4j/src/samples/java/android/icu/samples/text/pluralformat/
DPluralFormatSample.java53 StringBuffer msgEn = new StringBuffer(); in PluralFormatExample()
54 StringBuffer msgSl = new StringBuffer(); in PluralFormatExample()
73 StringBuffer msgEn = new StringBuffer(); in PluralFormatExample()
74 StringBuffer msgSl = new StringBuffer(); in PluralFormatExample()
/external/testng/src/main/java/org/testng/reporters/
DSuiteHTMLReporter.java95 StringBuffer sb = new StringBuffer("<html>"); in generateXmlFile()
110 StringBuffer sb = new StringBuffer(); in generateIndex()
123 StringBuffer suiteBuf= new StringBuffer(); in generateIndex()
176 StringBuffer sb2 = new StringBuffer("<h2>Methods that were not run</h2><table>\n"); in generateExcludedMethodsReport()
195 StringBuffer sb = new StringBuffer(); in generateReporterOutput()
213 StringBuffer sb = new StringBuffer(); in generateClasses()
236 StringBuffer sb = new StringBuffer(); in generateClass()
287 StringBuffer sb = new StringBuffer(); in dumpMethods()
326 StringBuffer sb = new StringBuffer(); in dumpGroups()
415 StringBuffer instances = new StringBuffer(); in generateMethodsChronologically()
[all …]
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/
DNumberFormatJDK.java66 …public StringBuffer format(java.math.BigDecimal number, StringBuffer toAppendTo, FieldPosition pos… in format()
71 public StringBuffer format(BigDecimal number, StringBuffer toAppendTo, FieldPosition pos) { in format()
76 …public StringBuffer format(java.math.BigInteger number, StringBuffer toAppendTo, FieldPosition pos… in format()
85 public StringBuffer format(CurrencyAmount currAmt, StringBuffer toAppendTo, FieldPosition pos) { in format()
102 public StringBuffer format(double number, StringBuffer toAppendTo, FieldPosition pos) { in format()
109 public StringBuffer format(long number, StringBuffer toAppendTo, FieldPosition pos) { in format()
114 public StringBuffer format(Object number, StringBuffer toAppendTo, FieldPosition pos) { in format()

12345678910>>...44