Home
last modified time | relevance | path

Searched refs:endOfInput (Results 1 – 21 of 21) sorted by relevance

/external/apache-commons-io/src/main/java/org/apache/commons/io/input/
DReaderInputStream.java116 private boolean endOfInput; field in ReaderInputStream
254 if (!endOfInput && (lastCoderResult == null || lastCoderResult.isUnderflow())) { in fillBuffer()
262 endOfInput = true; in fillBuffer()
269 lastCoderResult = charsetEncoder.encode(encoderIn, encoderOut, endOfInput); in fillBuffer()
270 if (endOfInput) { in fillBuffer()
301 if (endOfInput && !encoderOut.hasRemaining()) { in read()
345 } else if (endOfInput) { // Already reach EOF in the last read in read()
351 return read == 0 && endOfInput ? EOF : read; in read()
/external/owasp/java-encoder/core/src/main/java/org/owasp/encoder/
DEncoder.java163 public CoderResult encode(CharBuffer input, CharBuffer output, boolean endOfInput) { in encode() argument
166 return encodeArrays(input, output, endOfInput); in encode()
168 return encodeBuffers(input, output, endOfInput); in encode()
185 CoderResult encodeArrays(CharBuffer input, CharBuffer output, boolean endOfInput) { in encodeArrays() argument
204 CoderResult encodeBuffers(CharBuffer input, CharBuffer output, boolean endOfInput) in encodeBuffers() argument
DChainedEncoder.java136 public CoderResult encode(CharBuffer input, CharBuffer output, boolean endOfInput) { in encode() argument
138 CoderResult cr1 = _first.encode(input, _buffer, endOfInput); in encode()
140 CoderResult cr2 = _last.encode(_buffer, output, endOfInput && cr1.isUnderflow()); in encode()
156 protected CoderResult encodeArrays(CharBuffer input, CharBuffer output, boolean endOfInput) { in encodeArrays() argument
157 return encode(input, output, endOfInput); // TODO: invert. in encodeArrays()
DCDATAEncoder.java166 protected CoderResult encodeArrays(CharBuffer input, CharBuffer output, boolean endOfInput) { in encodeArrays() argument
219 } else if (endOfInput) { in encodeArrays()
231 } else if (endOfInput) { in encodeArrays()
279 } else if (endOfInput) { in encodeArrays()
DCSSEncoder.java186 protected CoderResult encodeArrays(CharBuffer input, CharBuffer output, boolean endOfInput) { in encodeArrays() argument
225 } else if (endOfInput) { in encodeArrays()
271 } else if (!endOfInput) { in encodeArrays()
DXMLCommentEncoder.java121 protected CoderResult encodeArrays(CharBuffer input, CharBuffer output, boolean endOfInput) { in encodeArrays() argument
147 } else if (endOfInput) { in encodeArrays()
204 } else if (endOfInput) { in encodeArrays()
DJavaEncoder.java92 protected CoderResult encodeArrays(CharBuffer input, CharBuffer output, boolean endOfInput) { in encodeArrays() argument
166 } else if (!endOfInput) { in encodeArrays()
DHTMLEncoder.java283 CoderResult encodeArrays(CharBuffer input, CharBuffer output, boolean endOfInput) { in encodeArrays() argument
469 } else if (!endOfInput) { in encodeArrays()
DXMLEncoder.java247 protected CoderResult encodeArrays(CharBuffer input, CharBuffer output, boolean endOfInput) { in encodeArrays() argument
360 } else if (endOfInput) { in encodeArrays()
DURIEncoder.java282 protected CoderResult encodeArrays(CharBuffer input, CharBuffer output, boolean endOfInput) { in encodeArrays() argument
368 } else if (endOfInput) { in encodeArrays()
DJavaScriptEncoder.java171 protected CoderResult encodeArrays(CharBuffer input, CharBuffer output, boolean endOfInput) { in encodeArrays() argument
/external/guava/android/guava/src/com/google/common/io/
DReaderInputStream.java67 private boolean endOfInput; field in ReaderInputStream
135 boolean doneEncoding = endOfInput; in read()
159 result = encoder.encode(charBuffer, byteBuffer, endOfInput); in read()
175 } else if (endOfInput) { // (b) in read()
222 endOfInput = true; in readMoreChars()
/external/guava/guava/src/com/google/common/io/
DReaderInputStream.java67 private boolean endOfInput; field in ReaderInputStream
135 boolean doneEncoding = endOfInput; in read()
159 result = encoder.encode(charBuffer, byteBuffer, endOfInput); in read()
175 } else if (endOfInput) { // (b) in read()
222 endOfInput = true; in readMoreChars()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DHttp1xStream.java355 protected final void endOfInput() throws IOException { in endOfInput() method in Http1xStream.AbstractSource
384 endOfInput(); in FixedLengthSource()
401 endOfInput(); in read()
466 endOfInput(); in readChunkSize()
492 endOfInput(); in read()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/http/
DHttp1xStream.java357 protected final void endOfInput() throws IOException { in endOfInput() method in Http1xStream.AbstractSource
386 endOfInput(); in FixedLengthSource()
403 endOfInput(); in read()
468 endOfInput(); in readChunkSize()
494 endOfInput(); in read()
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/async/
DNonBlockingInputFeeder.java30 public void endOfInput(); in endOfInput() method
/external/apache-commons-io/src/main/java/org/apache/commons/io/output/
DWriterOutputStream.java289 private void processInput(final boolean endOfInput) throws IOException { in processInput() argument
294 coderResult = decoder.decode(decoderIn, decoderOut, endOfInput); in processInput()
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/testsupport/
DAsyncReaderWrapperForByteArray.java44 feeder.endOfInput(); in nextToken()
/external/cronet/third_party/libxml/src/
DxmlIO.c3164 endOfInput (void * context ATTRIBUTE_UNUSED, in endOfInput() function
3217 in->readcallback = endOfInput; in xmlParserInputBufferGrow()
/external/libxml2/
DxmlIO.c3164 endOfInput (void * context ATTRIBUTE_UNUSED, in endOfInput() function
3217 in->readcallback = endOfInput; in xmlParserInputBufferGrow()
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/json/async/
DNonBlockingJsonParser.java123 public void endOfInput() { in endOfInput() method in NonBlockingJsonParser