Lines Matching refs:to

8  * particular file as subject to the "Classpath" exception as provided
18 * 2 along with this work; if not, write to the Free Software Foundation,
46 * of such buffers. The output $otype$ sequence is written to a $otype$ buffer
48 * the following sequence of method invocations, hereinafter referred to as $a$
65 * flush any internal state to the output buffer. </p></li>
71 * to the output buffer. The {@link #$code$ $code$} method returns when more
74 * object is returned to describe the reason for termination. An invoker can
76 * attempt to recover from $a$ $coding$ error, as appropriate, and try again.
82 * the input $itype$ sequence is legal but cannot be mapped to a valid
89 * CodingErrorAction} class. The possible error actions are to {@link
91 * CodingErrorAction#REPORT </code>report<code>} the error to the invoker via
97 * is initially set to the $coder$'s default replacement, which often
108 * is to {@link CodingErrorAction#REPORT </code>report<code>} them. The
114 * <p> This class is designed to handle many of the details of the $coding$
293 * Reports a change to this $coder$'s replacement value.
296 * should be overridden by $coder$s that require notification of changes to
313 * bytes in this encoder's charset; that is, it must be possible to decode
317 * should generally be overridden to improve performance. </p>
319 * @param repl The byte array to be tested
375 * Reports a change to this $coder$'s malformed-input action.
378 * should be overridden by $coder$s that require notification of changes to
418 * Reports a change to this $coder$'s unmappable-character action.
421 * should be overridden by $coder$s that require notification of changes to
428 * $itype$ of input. This heuristic value may be used to estimate the size
440 * $itype$ of input. This value may be used to compute the worst-case size
452 * writing the results to the given output buffer.
454 * <p> The buffers are read from, and written to, starting at their current
457 * $otype$s will be written. The buffers' positions will be advanced to
461 * <p> In addition to reading $itype$s from the input buffer and writing
462 * $otype$s to the output buffer, this method returns a {@link CoderResult}
463 * object to describe its reason for termination:
469 * input then the invoker can proceed to the next step of the
474 * insufficient space in the output buffer to $code$ any more $itype$s.
503 * In any case, if this method is to be reinvoked in the same $coding$
504 * operation then care should be taken to preserve any $itype$s remaining
505 * in the input buffer so that they are available to the next invocation.
507 * <p> The <tt>endOfInput</tt> parameter advises this method as to whether
513 * common, to pass <tt>false</tt> in one invocation and later discover that
574 // Fall through to malformed-input case
612 * <p> Some $coder$s maintain internal state and may need to write some
613 * final $otype$s to the output buffer once the overall input sequence has
616 * <p> Any additional output is written to the output buffer beginning at
625 * more room, in order to complete the current <a href="#steps">$coding$
631 * <p> This method invokes the {@link #implFlush implFlush} method to
667 * by $coder$s that may need to write final $otype$s to the output buffer
684 * {@link #implReset() implReset} method in order to perform any
713 * <p> The buffers are read from, and written to, starting at their current
716 * $otype$s will be written. The buffers' positions will be advanced to
720 * <p> This method returns a {@link CoderResult} object to describe its
769 * position cannot be mapped to an equivalent $otype$ sequence and
810 * <tt>false</tt>; it should be overridden by auto-detecting decoders to
826 * <tt>true</tt> to indicate that a specific charset has been detected in
828 * detectedCharset} method may be invoked to retrieve the detected charset.
837 * auto-detecting decoders to return <tt>true</tt> once the input charset
858 * read to determine the actual charset then this method throws an {@link
863 * auto-detecting decoders to return the appropriate value. </p>
869 * If insufficient bytes have been read to determine a charset
910 * canEncode(CharSequence)} method may be used to test whether or not a
918 * should generally be overridden to improve performance. </p>
946 * should generally be overridden to improve performance. </p>
967 private void throwIllegalStateException(int from, int to) {
969 + ", new state = " + stateNames[to]);