Lines Matching refs:end

136  * Non-object reads which exceed the end of the allotted data will reflect the
137 * end of data in the same way that they would indicate the end of the stream:
140 * writeObject method, then the end of default serialized data marks the end of
144 * behave in the same manner--if the stream is already positioned at the end of
150 * end of data written by writeExternal methods is not demarcated, and hence
255 /** flag set when at end of field value block with no TC_ENDBLOCKDATA */
509 * knows to simulate end-of-custom-data behavior.
549 * knows to simulate end-of-custom-data behavior.
840 * @return the byte read, or -1 if the end of the stream is reached.
855 * @return the actual number of bytes read, -1 is returned when the end of
904 * @throws EOFException If end of file is reached.
915 * @throws EOFException If end of file is reached.
926 * @throws EOFException If end of file is reached.
937 * @throws EOFException If end of file is reached.
948 * @throws EOFException If end of file is reached.
959 * @throws EOFException If end of file is reached.
970 * @throws EOFException If end of file is reached.
981 * @throws EOFException If end of file is reached.
992 * @throws EOFException If end of file is reached.
1003 * @throws EOFException If end of file is reached.
1014 * @throws EOFException If end of file is reached.
1027 * @throws EOFException If end of file is reached.
1310 * Fix for 4360508: stream is currently at the end of a field
1313 * end-of-custom-data behavior explicitly.
1376 "unexpected end of block data");
2405 /** end offset of valid data in buf, or -1 if no more block data */
2406 private int end = -1;
2437 end = 0;
2439 } else if (pos < end) {
2455 * If in block data mode, skips to the end of the current group of data
2463 while (end >= 0) {
2478 * Fix for 4360508: stream is currently at the end of a field
2481 * end-of-custom-data behavior explicitly.
2542 * time of the call is considered consumed. Sets the pos, end, and
2545 * unread to 0 and end to -1.
2555 end = n;
2564 end = 0;
2567 end = -1;
2571 } while (pos == end);
2574 end = -1;
2587 return (end >= 0) ? (end - pos) + unread : 0;
2595 * the stream, or -1 if the end of the stream/block data (if in block
2600 if (pos == end) {
2603 return (end >= 0) ? (buf[pos] & 0xFF) : -1;
2611 * the stream, or throws EOFException if end of stream/block data has
2633 if (pos == end) {
2636 return (end >= 0) ? (buf[pos++] & 0xFF) : -1;
2650 if (pos == end) {
2653 if (end < 0) {
2656 int nread = (int) Math.min(remain, end - pos);
2672 if ((pos == end) && (unread == 0)) {
2681 end = -1;
2686 end = 0;
2694 return (end >= 0) ? (end - pos) + unreadAvail : 0;
2703 end = -1;
2711 * the number of bytes read, or -1 if the end of stream/block data has
2720 if (pos == end) {
2723 if (end < 0) {
2726 int nread = Math.min(len, end - pos);
2802 } else if (end - pos < 2) {
2814 } else if (end - pos < 2) {
2826 } else if (end - pos < 2) {
2838 } else if (end - pos < 4) {
2850 } else if (end - pos < 4) {
2862 } else if (end - pos < 8) {
2874 } else if (end - pos < 8) {
2907 } else if (end - pos < 1) {
2911 stop = Math.min(endoff, off + end - pos);
2928 } else if (end - pos < 2) {
2932 stop = Math.min(endoff, off + ((end - pos) >> 1));
2950 } else if (end - pos < 2) {
2954 stop = Math.min(endoff, off + ((end - pos) >> 1));
2972 } else if (end - pos < 4) {
2976 stop = Math.min(endoff, off + ((end - pos) >> 2));
2993 } else if (end - pos < 4) {
2997 span = Math.min(endoff - off, ((end - pos) >> 2));
3014 } else if (end - pos < 8) {
3018 stop = Math.min(endoff, off + ((end - pos) >> 3));
3035 } else if (end - pos < 8) {
3039 span = Math.min(endoff - off, ((end - pos) >> 3));
3065 end = pos = 0;
3069 int avail = end - pos;
3082 end = (int) Math.min(MAX_BLOCK_SIZE, utflen);
3083 in.readFully(buf, avail, end - avail);
3093 * (starting at offset pos and ending at or before offset end),
3102 int avail = Math.min(end - pos, CHAR_BUF_SIZE);
3155 * conversion loop to scan past the expected end of the utf
3385 int end;
3388 end = handle + 1;
3391 end = size;
3399 for (int i = handle; i < end; i++) {