Home
last modified time | relevance | path

Searched refs:csq (Results 1 – 25 of 46) sorted by relevance

12

/external/snakeyaml/src/main/java/org/yaml/snakeyaml/external/com/google/gdata/util/common/base/
DUnicodeEscaper.java121 protected int nextEscapeIndex(CharSequence csq, int start, int end) { in nextEscapeIndex() argument
124 int cp = codePointAt(csq, index, end); in nextEscapeIndex()
292 public Appendable append(CharSequence csq) throws IOException { in escape() argument
293 return append(csq, 0, csq.length()); in escape()
296 public Appendable append(CharSequence csq, int start, int end) throws IOException { in escape() argument
310 char c = csq.charAt(index++); in escape()
335 index = nextEscapeIndex(csq, index, end); in escape()
337 out.append(csq, unescapedChunkStart, index); in escape()
344 int cp = codePointAt(csq, index, end); in escape()
/external/gson/gson/src/test/java/com/google/gson/functional/
DReadersWritersTest.java151 public Appendable append(CharSequence csq) throws IOException { in testToJsonAppendable() argument
152 if (csq == null) { in testToJsonAppendable()
153 csq = "null"; // Requirement by Writer.append in testToJsonAppendable()
155 append(csq, 0, csq.length()); in testToJsonAppendable()
160 public Appendable append(CharSequence csq, int start, int end) throws IOException { in testToJsonAppendable() argument
161 if (csq == null) { in testToJsonAppendable()
162 csq = "null"; // Requirement by Writer.append in testToJsonAppendable()
166 String s = csq.toString(); in testToJsonAppendable()
/external/javapoet/src/main/java/com/squareup/javapoet/
DLineWrapper.java153 @Override public Appendable append(CharSequence csq) throws IOException { in append() argument
154 int length = csq.length(); in append()
156 lastChar = csq.charAt(length - 1); in append()
158 return delegate.append(csq); in append()
161 @Override public Appendable append(CharSequence csq, int start, int end) throws IOException { in append() argument
162 CharSequence sub = csq.subSequence(start, end); in append()
/external/apache-commons-io/src/main/java/org/apache/commons/io/output/
DUncheckedAppendableImpl.java49 public UncheckedAppendable append(final CharSequence csq) { in append() argument
50 Uncheck.apply(appendable::append, csq); in append()
55 public UncheckedAppendable append(final CharSequence csq, final int start, final int end) { in append() argument
56 Uncheck.apply(appendable::append, csq, start, end); in append()
DProxyWriter.java90 public Writer append(final CharSequence csq) throws IOException { in append() argument
92 final int len = IOUtils.length(csq); in append()
94 out.append(csq); in append()
112 … public Writer append(final CharSequence csq, final int start, final int end) throws IOException { in append() argument
115 out.append(csq, start, end); in append()
DProxyCollectionWriter.java102 public Writer append(final CharSequence csq) throws IOException { in append() argument
104 final int len = IOUtils.length(csq); in append()
106 super.append(csq); in append()
125 … public Writer append(final CharSequence csq, final int start, final int end) throws IOException { in append() argument
128 super.append(csq, start, end); in append()
DAppendableWriter.java70 public Writer append(final CharSequence csq) throws IOException { in append() argument
71 appendable.append(csq); in append()
85 … public Writer append(final CharSequence csq, final int start, final int end) throws IOException { in append() argument
86 appendable.append(csq, start, end); in append()
DUncheckedFilterWriter.java70 public Writer append(final CharSequence csq) throws UncheckedIOException { in append() argument
71 return Uncheck.apply(super::append, csq); in append()
78 …public Writer append(final CharSequence csq, final int start, final int end) throws UncheckedIOExc… in append() argument
79 return Uncheck.apply(super::append, csq, start, end); in append()
DFilterCollectionWriter.java83 public Writer append(final CharSequence csq) throws IOException { in append() argument
84 return forAllWriters(w -> w.append(csq)); in append()
88 … public Writer append(final CharSequence csq, final int start, final int end) throws IOException { in append() argument
89 return forAllWriters(w -> w.append(csq, start, end)); in append()
DNullAppendable.java48 public Appendable append(final CharSequence csq) throws IOException { in append() argument
53 …public Appendable append(final CharSequence csq, final int start, final int end) throws IOExceptio… in append() argument
DUncheckedAppendable.java53 UncheckedAppendable append(CharSequence csq); in append() argument
60 UncheckedAppendable append(CharSequence csq, int start, int end); in append() argument
DNullWriter.java69 public Writer append(final CharSequence csq) { in append() argument
83 public Writer append(final CharSequence csq, final int start, final int end) { in append() argument
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/io/
DSegmentedStringWriter.java38 public Writer append(CharSequence csq) { in append() argument
39 String str = csq.toString(); in append()
45 public Writer append(CharSequence csq, int start, int end) { in append() argument
46 String str = csq.subSequence(start, end).toString(); in append()
/external/jsilver/src/com/google/clearsilver/jsilver/template/
DHtmlWhiteSpaceStripper.java111 public Appendable append(CharSequence csq) throws IOException { in append() argument
112 return append(csq, 0, csq.length()); in append()
116 public Appendable append(CharSequence csq, int start, int end) throws IOException { in append() argument
118 append(csq.charAt(i)); in append()
/external/guava/guava-tests/test/com/google/common/io/
DAppendableWriterTest.java38 public Appendable append(CharSequence csq) { in append() argument
39 result.append(csq); in append()
50 public Appendable append(CharSequence csq, int start, int end) { in append() argument
51 result.append(csq, start, end); in append()
/external/guava/android/guava-tests/test/com/google/common/io/
DAppendableWriterTest.java38 public Appendable append(CharSequence csq) { in append() argument
39 result.append(csq); in append()
50 public Appendable append(CharSequence csq, int start, int end) { in append() argument
51 result.append(csq, start, end); in append()
/external/gson/gson/src/main/java/com/google/gson/internal/
DStreams.java113 @Override public Writer append(CharSequence csq) throws IOException { in append() argument
114 appendable.append(csq); in append()
118 @Override public Writer append(CharSequence csq, int start, int end) throws IOException { in append() argument
119 appendable.append(csq, start, end); in append()
/external/apache-commons-io/src/test/java/org/apache/commons/io/
DIOUtilsWriteTest.java282 final CharSequence csq = new StringBuilder(new String(inData, StandardCharsets.US_ASCII)); in testWrite_charSequenceToOutputStream() local
287 IOUtils.write(csq, out); in testWrite_charSequenceToOutputStream()
297 final CharSequence csq = new StringBuilder(new String(inData, StandardCharsets.US_ASCII)); in testWrite_charSequenceToOutputStream_Encoding() local
302 IOUtils.write(csq, out, "UTF16"); in testWrite_charSequenceToOutputStream_Encoding()
325 final CharSequence csq = new StringBuilder(new String(inData, StandardCharsets.US_ASCII)); in testWrite_charSequenceToOutputStream_Encoding_nullStream() local
326 assertThrows(NullPointerException.class, () -> IOUtils.write(csq, (OutputStream) null)); in testWrite_charSequenceToOutputStream_Encoding_nullStream()
343 final CharSequence csq = new StringBuilder(new String(inData, StandardCharsets.US_ASCII)); in testWrite_charSequenceToOutputStream_nullEncoding() local
348 IOUtils.write(csq, out, (String) null); in testWrite_charSequenceToOutputStream_nullEncoding()
358 final CharSequence csq = new StringBuilder(new String(inData, StandardCharsets.US_ASCII)); in testWrite_charSequenceToOutputStream_nullStream() local
359 assertThrows(NullPointerException.class, () -> IOUtils.write(csq, (OutputStream) null)); in testWrite_charSequenceToOutputStream_nullStream()
[all …]
/external/guava/guava/src/com/google/common/net/
DPercentEscaper.java128 protected int nextEscapeIndex(CharSequence csq, int index, int end) { in nextEscapeIndex() argument
129 checkNotNull(csq); in nextEscapeIndex()
131 char c = csq.charAt(index); in nextEscapeIndex()
/external/guava/android/guava/src/com/google/common/net/
DPercentEscaper.java128 protected int nextEscapeIndex(CharSequence csq, int index, int end) { in nextEscapeIndex() argument
129 checkNotNull(csq); in nextEscapeIndex()
131 char c = csq.charAt(index); in nextEscapeIndex()
/external/guava/android/guava/src/com/google/common/io/
DCharStreams.java312 public Writer append(@CheckForNull CharSequence csq) { in append() argument
317 public Writer append(@CheckForNull CharSequence csq, int start, int end) { in append() argument
318 checkPositionIndexes(start, end, csq == null ? "null".length() : csq.length()); in append()
/external/guava/guava/src/com/google/common/io/
DCharStreams.java312 public Writer append(@CheckForNull CharSequence csq) { in append() argument
317 public Writer append(@CheckForNull CharSequence csq, int start, int end) { in append() argument
318 checkPositionIndexes(start, end, csq == null ? "null".length() : csq.length()); in append()
/external/conscrypt/testing/src/main/java/org/conscrypt/testing/
DNullPrintStream.java139 public PrintStream append(CharSequence csq) { in append() argument
144 public PrintStream append(CharSequence csq, int start, int end) { in append() argument
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/testing/
DNullPrintStream.java141 public PrintStream append(CharSequence csq) { in append() argument
146 public PrintStream append(CharSequence csq, int start, int end) { in append() argument
/external/guava/android/guava/src/com/google/common/escape/
DArrayBasedUnicodeEscaper.java180 protected final int nextEscapeIndex(CharSequence csq, int index, int end) { in nextEscapeIndex() argument
182 char c = csq.charAt(index); in nextEscapeIndex()

12