Lines Matching refs:pi
75 // private boolean matches (int pi, int si, final char [] string)
77 // System.out.println ("pi = " + pi + ", si = " + si);
79 // if (pi == m_pattern.length)
83 // switch (m_pattern [pi])
87 // return (si < string.length) && matches (pi + 1, si + 1, string);
92 // return matches (pi + 1, si, string) || ((si < string.length) && matches (pi, si + 1, string));
97 // return (si < string.length) && (m_pattern [pi] == string [si]) && matches (pi + 1, si + 1, string);
245 int si = 0, pi = 0;
251 //System.out.println ("pi = " + pi + ", si = " + si);
254 for ( ; pi + i < patternLength; ++ i)
256 final char patternChar = pattern [pi + i];
261 pi += (i + 1);
304 int si = 0, pi = 0;
310 //System.out.println ("pi = " + pi + ", si = " + si);
313 for ( ; pi + i < patternLength; ++ i)
315 final char patternChar = pattern [pi + i];
320 pi += (i + 1);