Lines Matching refs:endIndex
61 private int endIndex; field in JavascriptTokenBuffer
70 endIndex = 0; in JavascriptTokenBuffer()
83 endIndex = aJavascriptTokenBuffer.endIndex; in JavascriptTokenBuffer()
115 buffer[endIndex] = input; in appendChar()
116 endIndex = (endIndex + 1) % buffer.length; in appendChar()
117 if (endIndex == startIndex) { in appendChar()
118 startIndex = (endIndex + 1) % buffer.length; in appendChar()
129 if (startIndex == endIndex) { in popChar()
132 endIndex--; in popChar()
133 if (endIndex < 0) { in popChar()
134 endIndex += buffer.length; in popChar()
136 return buffer[endIndex]; in popChar()
250 int len = endIndex - startIndex;
257 int absolutePosition = (position + endIndex) % buffer.length;