Lines Matching refs:arr
168 char[] arr;
192 arr = value.toCharArray();
194 for (int i = 0; i < arr.length; i++) {
195 switch (arr[i]) {
199 if (isLastChar(arr, i)) {
208 if (enclosingTargetChar == arr[i]) {
210 if (isNextCharWhitespace(arr, i)) {
223 if (isPreviousCharWhitespace(arr, i)) {
226 if (value.indexOf(arr[i], i + 1) >= 0) {
229 enclosingTargetChar = arr[i];
233 if (isNextCharWhitespace(arr, i)) {
247 if (isPreviousCharWhitespace(arr, i)) {
251 if (isNextCharWhitespace(arr, i)) {
279 static private boolean isPreviousCharWhitespace(char[] arr, int curr_pos) {
280 return isCharWhitespace(arr, curr_pos - 1);
283 static private boolean isNextCharWhitespace(char[] arr, int curr_pos) {
284 return isCharWhitespace(arr, curr_pos + 1);
287 static private boolean isCharWhitespace(char[] arr, int pos) {
288 if (pos < 0 || pos >= arr.length) {
292 if (arr[pos] == ' ') {
298 static private boolean isLastChar(char[] arr, int pos) {
299 return (pos + 1 == arr.length);