Lines Matching defs:offset
25 * character buffer of the scanner. The offset and length fields allow the
31 * should also not modify the offset and length if this structure (or
55 /** The offset into the character array. */
56 public int offset;
58 /** The length of characters from the offset. */
74 * @param offset The offset into the character array.
75 * @param length The length of characters from the offset.
77 public XMLString(char[] ch, int offset, int length) {
78 setValues(ch, offset, length);
103 * @param offset The offset into the character array.
104 * @param length The length of characters from the offset.
106 public void setValues(char[] ch, int offset, int length) {
108 this.offset = offset;
122 setValues(s.ch, s.offset, s.length);
128 this.offset = 0;
137 * @param offset The offset into the character array.
138 * @param length The length of characters from the offset.
140 public boolean equals(char[] ch, int offset, int length) {
149 if (this.ch[this.offset+i] != ch[offset+i] ) {
174 if (ch[offset+i] != s.charAt(i)) {
188 return length > 0 ? new String(ch, offset, length) : "";