Lines Matching refs:position
152 public char getChar(int position) { in getChar() argument
153 assert(position < 0); // Developer error if it triggers. in getChar()
155 int absolutePosition = getAbsolutePosition(position); in getChar()
175 public boolean setChar(int position, char input) {
176 assert(position < 0); // Developer error if it triggers.
178 int absolutePosition = getAbsolutePosition(position);
199 int position;
200 for (position = end; HtmlUtils.isJavascriptIdentifier(getChar(position));
201 position--) {
203 if ((position + 1) >= end) {
206 return slice(position + 1, end);
229 for (int position = start; position <= end; position++) {
230 char c = getChar(position);
245 private int getAbsolutePosition(int position) {
246 assert (position < 0); // Developer error if it triggers.
247 if (position <= -buffer.length) {
254 if (position < -len) {
257 int absolutePosition = (position + endIndex) % buffer.length;