Searched refs:beginIndex (Results 26 - 35 of 35) sorted by relevance

12

/openjdk7/jdk/src/share/classes/com/sun/jndi/toolkit/dir/
H A DSearchFilter.java195 protected String relSubstring(int beginIndex, int endIndex){ argument
196 if(debug){System.out.println("relSubString: " + beginIndex +
198 return filter.substring(beginIndex+pos, endIndex+pos);
/openjdk7/jdk/src/share/classes/java/util/regex/
H A DMatcher.java1240 * @param beginIndex the beginning index, inclusive
1244 CharSequence getSubSequence(int beginIndex, int endIndex) { argument
1245 return text.subSequence(beginIndex, endIndex);
H A DPattern.java4655 int beginIndex; // group beginning index field in class:Pattern.Loop
4657 Loop(int countIndex, int beginIndex) { argument
4659 this.beginIndex = beginIndex;
4663 if (i > matcher.locals[beginIndex]) {
4725 LazyLoop(int countIndex, int beginIndex) { argument
4726 super(countIndex, beginIndex);
4730 if (i > matcher.locals[beginIndex]) {
/openjdk7/jdk/test/java/lang/StringBuffer/
H A DSupplementary.java38 test5(); // Test for codePointCount(int beginIndex, int endIndex)
346 static void testCodePointCount(StringBuffer sb, int beginIndex, int endIndex, argument
349 int n = sb.codePointCount(beginIndex, endIndex);
/openjdk7/jdk/test/java/lang/StringBuilder/
H A DSupplementary.java38 test5(); // Test for codePointCount(int beginIndex, int endIndex)
346 static void testCodePointCount(StringBuilder sb, int beginIndex, int endIndex, argument
349 int n = sb.codePointCount(beginIndex, endIndex);
/openjdk7/jdk/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/
H A DZipPath.java140 public ZipPath subpath(int beginIndex, int endIndex) { argument
142 if (beginIndex < 0 ||
143 beginIndex >= offsets.length ||
145 beginIndex >= endIndex)
149 int begin = offsets[beginIndex];
/openjdk7/jdk/test/java/nio/file/Files/
H A DPassThroughFileSystem.java406 public Path subpath(int beginIndex, int endIndex) { argument
407 return wrap(delegate.subpath(beginIndex, endIndex));
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DJTextComponent.java4571 public AttributedCharacterIterator getCommittedText(int beginIndex, argument
4582 if (beginIndex < composedStartIndex) {
4584 committed = getText(beginIndex, endIndex - beginIndex);
4586 int firstPartLength = composedStartIndex - beginIndex;
4587 committed = getText(beginIndex, firstPartLength) +
4588 getText(composedEndIndex, endIndex - beginIndex - firstPartLength);
4591 committed = getText(beginIndex + (composedEndIndex - composedStartIndex),
4592 endIndex - beginIndex);
/openjdk7/jdk/test/java/lang/String/
H A DSupplementary.java41 test8(); // Test for codePointCount(int beginIndex, int endIndex)
648 static void testCodePointCount(String str, int beginIndex, int endIndex, argument
651 int n = str.codePointCount(beginIndex, endIndex);
/openjdk7/jdk/src/share/classes/java/lang/
H A DCharacter.java4995 * specified {@code beginIndex} and extends to the
4998 * {@code endIndex-beginIndex}. Unpaired surrogates within
5002 * @param beginIndex the index to the first {@code char} of
5010 * {@code beginIndex} is negative, or {@code endIndex}
5012 * {@code beginIndex} is larger than {@code endIndex}.
5015 public static int codePointCount(CharSequence seq, int beginIndex, int endIndex) { argument
5017 if (beginIndex < 0 || endIndex > length || beginIndex > endIndex) {
5020 int n = endIndex - beginIndex;
5021 for (int i = beginIndex;
[all...]

Completed in 85 milliseconds

12