Searched defs:start (Results 76 - 100 of 101) sorted by relevance

12345

/libcore/luni/src/main/java/org/xml/sax/helpers/
H A DParserAdapter.java435 * Adapt a SAX1 start document event.
639 * @param start The starting position in the array.
645 public void characters (char ch[], int start, int length)
649 contentHandler.characters(ch, start, length);
659 * @param start The starting position in the array.
665 public void ignorableWhitespace (char ch[], int start, int length)
669 contentHandler.ignorableWhitespace(ch, start, length);
643 characters(char ch[], int start, int length) argument
663 ignorableWhitespace(char ch[], int start, int length) argument
/libcore/luni/src/test/java/libcore/java/net/
H A DOldURLTest.java550 // start HARMONY branch
617 public void parse(URL url, String spec, int start, int end) { argument
618 parseURL(url, spec, start, end);
/libcore/ojluni/src/main/java/java/lang/
H A DAbstractStringBuilder.java365 * @param srcBegin start copying at this offset.
514 * index {@code start}, are appended, in order, to the contents of
516 * of this sequence is increased by the value of {@code end - start}.
523 * <i>k+start-n</i> in the argument {@code s}.
530 * @param start the starting index of the subsequence to be appended.
534 * {@code start} is negative, or
535 * {@code start} is greater than {@code end} or
540 public AbstractStringBuilder append(CharSequence s, int start, int end) { argument
543 if ((start < 0) || (start > en
770 delete(int start, int end) argument
868 replace(int start, int end, String str) argument
899 substring(int start) argument
930 subSequence(int start, int end) argument
948 substring(int start, int end) argument
1176 insert(int dstOffset, CharSequence s, int start, int end) argument
[all...]
H A DMath.java1864 * <li> If {@code start} is
1867 * magnitude, then a zero with the same sign as {@code start}
1870 * <li> If {@code start} is infinite and
1873 * same sign as {@code start} is returned.
1875 * <li> If {@code start} is equal to &plusmn;
1878 * infinity with same sign as {@code start} is returned.
1881 * @param start starting floating-point value
1883 * {@code start}'s neighbors or {@code start} should
1885 * @return The floating-point number adjacent to {@code start} i
1889 nextAfter(double start, double direction) argument
1988 nextAfter(float start, double direction) argument
[all...]
H A DStrictMath.java1456 * <li> If {@code start} is
1459 * magnitude, then a zero with the same sign as {@code start}
1462 * <li> If {@code start} is infinite and
1465 * same sign as {@code start} is returned.
1467 * <li> If {@code start} is equal to &plusmn;
1470 * infinity with same sign as {@code start} is returned.
1473 * @param start starting floating-point value
1475 * {@code start}'s neighbors or {@code start} should
1477 * @return The floating-point number adjacent to {@code start} i
1481 nextAfter(double start, double direction) argument
1523 nextAfter(float start, double direction) argument
[all...]
H A DString.java725 * @param dstBegin the start offset in the destination array.
774 * ensuring that start >= 0 && start <= end && end <= count.
777 native void getCharsNoCheck(int start, int end, char[] buffer, int index); argument
810 * The start offset in the destination array
1480 * @param fromIndex the index to start the search from.
1510 private native int fastIndexOf(int c, int start); argument
1578 * @param fromIndex the index to start the search from. There is no
1652 * @param fromIndex the index from which to start the search.
1791 * @param fromIndex the index to start th
1983 fastSubstring(int start, int length) argument
[all...]
H A DThread.java95 * The following code would then create a thread and start it running:
98 * p.start();
121 * The following code would then create a thread and start it running:
124 * new Thread(p).start();
365 long start = System.nanoTime();
376 long elapsed = now - start;
383 start = now;
702 * <code>start</code> method) and the other thread (which executes its
705 * It is never legal to start a thread more than once.
714 public synchronized void start() { method in class:Thread
[all...]
H A DCharacter.java5029 * {@code index} greater than or equal to {@code start}
5033 * {@code start}, and the {@code char} value at
5042 * @param start the index of the first array element in the
5047 * argument is not greater than the {@code start} argument or
5049 * if the {@code start} argument is negative or not less than
5053 public static int codePointBefore(char[] a, int index, int start) { argument
5054 if (index <= start || start < 0 || start >= a.length) {
5057 return codePointBeforeImpl(a, index, start);
5061 codePointBeforeImpl(char[] a, int index, int start) argument
5373 offsetByCodePoints(char[] a, int start, int count, int index, int codePointOffset) argument
5382 offsetByCodePointsImpl(char[]a, int start, int count, int index, int codePointOffset) argument
[all...]
/libcore/ojluni/src/main/java/java/text/
H A DMessageFormat.java105 * interpreted as a sequence of <code>'{</code> (start of quoting and a
679 * element counting from the start of the pattern string.
1554 private static final void copyAndFixQuotes(String source, int start, int end, argument
1558 for (int i = start; i < end; ++i) {
H A DSimpleDateFormat.java77 * <code>SimpleDateFormat</code> allows you to start by choosing
949 * @return the start of the 100-year period into which two digit years are
1538 int start = pos.index;
1539 int oldStart = start;
1556 if (start >= textLength || text.charAt(start) != (char)count) {
1558 pos.errorIndex = start;
1561 start++;
1566 if (start >= textLength || text.charAt(start) !
1662 matchString(String text, int start, int field, String[] data, CalendarBuilder calb) argument
1710 matchString(String text, int start, int field, Map<String,Integer> data, CalendarBuilder calb) argument
1732 matchZoneString(String text, int start, String[] zoneNames) argument
1751 subParseZoneString(String text, int start, CalendarBuilder calb) argument
1785 subParseZoneStringFromICU(String text, int start, CalendarBuilder calb) argument
1865 subParseZoneStringFromSymbols(String text, int start, CalendarBuilder calb) argument
1944 subParseNumericZone(String text, int start, int sign, int count, boolean colonRequired, CalendarBuilder calb) argument
2027 subParse(String text, int start, int patternCharIndex, int count, boolean obeyCount, boolean[] ambiguousYear, ParsePosition origPos, boolean useFollowingMinusSignAsDelimiter, CalendarBuilder calb) argument
2392 parseMonth(String text, int count, int value, int start, int field, ParsePosition pos, boolean useDateFormatSymbols, boolean standalone, CalendarBuilder out) argument
2435 parseWeekday(String text, int start, int field, boolean useDateFormatSymbols, boolean standalone, CalendarBuilder out) argument
[all...]
/libcore/ojluni/src/main/java/java/util/regex/
H A DMatcher.java73 * <p> The explicit state of a matcher includes the start and end indices of
74 * the most recent successful match. It also includes the start and end
132 * Holds the start of the region, or 0 if the matching should start at the
315 * <i>s.</i><tt>substring(</tt><i>m.</i><tt>start(),</tt>&nbsp;<i>m.</i><tt>end())</tt>
339 * <i>s.</i><tt>substring(</tt><i>m.</i><tt>start(</tt><i>g</i><tt>),</tt>&nbsp;<i>m.</i><tt>end(</tt><i>g</i><tt>))</tt>
440 * <tt>start</tt>, <tt>end</tt>, and <tt>group</tt> methods. </p>
462 * <tt>start</tt>, <tt>end</tt>, and <tt>group</tt> methods. </p>
480 * <tt>start</tt>, <tt>end</tt>, and <tt>group</tt> methods, and subsequent
481 * invocations of the {@link #find()} method will start a
492 find(int start) argument
822 region(int start, int end) argument
1064 reset(CharSequence input, int start, int end) argument
1114 public int start() { method in class:Matcher
1142 public int start(int group) throws IllegalStateException { method in class:Matcher
1169 public int start(String name) { method in class:Matcher
1194 setInputImpl(long addr, String s, int start, int end) argument
1214 public int start() { method in class:Matcher.OffsetBasedMatchResult
1219 public int start(int group) { method in class:Matcher.OffsetBasedMatchResult
[all...]
/libcore/xml/src/main/java/org/kxml2/io/
H A DKXmlSerializer.java524 throw new IllegalArgumentException("</{"+namespace+"}"+name+"> does not match start");
570 public XmlSerializer text(char[] text, int start, int len) argument
572 text(new String(text, start, len));
579 // so break and start a new one when necessary.
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DVectorTest.java501 t1.start();
756 t1.start();
1235 t1.start();
1400 public void removeRange(int start, int end) { argument
1401 super.removeRange(start, end);
H A DFormatterTest.java125 public Appendable append(CharSequence csq, int start, int end) argument
128 data.append(csq, start, end);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/
H A DSAXParserTestSupport.java215 public void characters(char[] ch, int start, int length) { argument
216 String str = new String(ch, start, length);
260 public void ignorableWhitespace(char[] ch, int start, int length) { argument
261 /* String s = new String(ch, start, length);
395 public void characters(char[] ch, int start, int length) { argument
396 String str = new String(ch, start, length);
433 public void ignorableWhitespace(char[] ch, int start, int length) { argument
/libcore/luni/src/test/java/libcore/java/sql/
H A DOldPreparedStatementTest.java2340 public long position(Blob pattern, long start) throws SQLException { argument
2344 public long position(byte[] pattern, long start) throws SQLException { argument
2390 public long position(Clob searchstr, long start) throws SQLException { argument
2394 public long position(String searchstr, long start) throws SQLException { argument
/libcore/luni/src/test/java/libcore/xml/
H A DExpatSaxParserTest.java93 public void characters(char ch[], int start, int length)
164 public void characters(char ch[], int start, int length) argument
166 this.text.append(ch, start, length);
332 public void characters(char ch[], int start, int length) argument
334 String s = new String(ch, start, length).trim();
345 public void ignorableWhitespace(char ch[], int start, int length) argument
481 public void characters(char ch[], int start, int length) { argument
482 buffer.append(ch, start, length);
561 public void characters(char ch[], int start, int length)
563 text.append(ch, start, lengt
[all...]
H A DXmlPullParserFactoryTest.java202 public XmlSerializer text(char[] buf, int start, int len) throws IOException { argument
/libcore/ojluni/src/main/java/java/lang/invoke/
H A DMethodType.java450 * @param start the position (zero-based) of the first replaced parameter type(s)
454 * @throws IndexOutOfBoundsException if {@code start} is negative or greater than {@code parameterCount()}
456 * or if {@code start} is greater than {@code end}
461 /*non-public*/ MethodType replaceParameterTypes(int start, int end, Class<?>... ptypesToInsert) { argument
462 if (start == end)
463 return insertParameterTypes(start, ptypesToInsert);
465 if (!(0 <= start && start <= end && end <= len))
466 throw newIndexOutOfBoundsException("start="+start
552 dropParameterTypes(int start, int end) argument
[all...]
/libcore/ojluni/src/main/java/java/net/
H A DHttpCookie.java197 * should start with "set-cookie", or "set-cookie2" token; or it
222 // if header start with set-cookie or set-cookie2, strip it off
1160 private static boolean startsWithIgnoreCase(String s, String start) { argument
1161 if (s == null || start == null) return false;
1163 if (s.length() >= start.length() &&
1164 start.equalsIgnoreCase(s.substring(0, start.length()))) {
H A DURI.java546 * domain label are permitted to start with an <i>alphanum</i>
2264 // Note start of segment
2895 private String substring(int start, int end) { argument
2896 return input.substring(start, end);
2906 // Tells whether start < end and, if so, whether charAt(start) == c
2908 private boolean at(int start, int end, char c) { argument
2909 return (start < end) && (charAt(start) == c);
2912 // Tells whether start
2915 at(int start, int end, String s) argument
2961 scan(int start, int end, char c) argument
2974 scan(int start, int end, String err, String stop) argument
2993 scanEscape(int start, int n, char first) argument
3017 scan(int start, int n, long lowMask, long highMask) argument
3041 checkChars(int start, int end, long lowMask, long highMask, String what) argument
3116 parseHierarchical(int start, int n) argument
3153 parseAuthority(int start, int n) argument
3223 parseServer(int start, int n) argument
3289 scanByte(int start, int n) argument
3314 scanIPv4Address(int start, int n, boolean strict) argument
3342 takeIPv4Address(int start, int n, String expected) argument
3355 parseIPv4Address(int start, int n) argument
3385 parseHostname(int start, int n) argument
3480 parseIPv6Reference(int start, int n) argument
3514 scanHexPost(int start, int n) argument
3540 scanHexSeq(int start, int n) argument
[all...]
/libcore/ojluni/src/main/java/java/nio/file/
H A DFiles.java2630 * @param start
2651 public static Path walkFileTree(Path start, argument
2662 FileTreeWalker.Event ev = walker.walk(start);
2710 return start;
2719 * walkFileTree(start, EnumSet.noneOf(FileVisitOption.class), Integer.MAX_VALUE, visitor)
2724 * @param start
2739 public static Path walkFileTree(Path start, FileVisitor<? super Path> visitor) argument
2742 return walkFileTree(start,
3494 * Path#resolve(Path) resolving} the relative path against {@code start}.
3549 * @param start
3569 walk(Path start, int maxDepth, FileVisitOption... options) argument
3624 walk(Path start, FileVisitOption... options) argument
3681 find(Path start, int maxDepth, BiPredicate<Path, BasicFileAttributes> matcher, FileVisitOption... options) argument
[all...]
/libcore/ojluni/src/main/java/java/awt/font/
H A DNumericShaper.java64 * shaper.shape(text, start, count);
74 * shaper.shape(text, start, count);
348 private final int start, // inclusive field in class:NumericShaper.Range
351 private Range(int base, int start, int end) { argument
353 this.start = start;
366 return start <= c && c < end;
578 if (codepoint < range.start) {
1089 * Converts the digits in the text that occur between start and
1090 * start
1100 shape(char[] text, int start, int count) argument
1131 shape(char[] text, int start, int count, int context) argument
1163 shape(char[] text, int start, int count, Range context) argument
1185 checkParams(char[] text, int start, int count) argument
1244 shapeNonContextually(char[] text, int start, int count) argument
1268 shapeContextually(char[] text, int start, int count, int ctxKey) argument
1313 shapeContextually(char[] text, int start, int count, Range ctxKey) argument
1481 search(int value, int[] array, int start, int length) argument
[all...]
/libcore/ojluni/src/main/native/
H A Dzip_util.c309 /* Pretend there are some NUL bytes before start of file */
1356 jlong start; local
1384 /* Get file offset to start reading data */
1385 start = ZIP_GetEntryDataOffset(zip, entry);
1386 if (start < 0)
1388 start += pos;
1390 if (start + len > zip->len) {
1395 if (readFullyAt(zip->zfd, buf, len, start) == -1) {
/libcore/ojluni/src/test/java/time/tck/java/time/
H A DTCKDuration.java774 Instant start = Instant.ofEpochSecond(secs1, nanos1);
776 Duration t = Duration.between(start, end);
783 Instant start = Instant.ofEpochSecond(secs1, nanos1);
785 assertEquals(Duration.between(end, start), Duration.between(start, end).negated());
797 public void factory_between_TemporalTemporal_LT(LocalTime start, LocalTime end, long expectedSeconds, int expectedNanoOfSecond) { argument
798 Duration t = Duration.between(start, end);
804 public void factory_between_TemporalTemporal_LT_negated(LocalTime start, LocalTime end, long expectedSeconds, int expectedNanoOfSecond) { argument
805 assertEquals(Duration.between(end, start), Duration.between(start, en
836 factory_between_TemporalTemporal_LDT(LocalDateTime start, LocalDateTime end, long expectedSeconds, int expectedNanoOfSecond) argument
843 factory_between_TemporalTemporal_LDT_negated(LocalDateTime start, LocalDateTime end, long expectedSeconds, int expectedNanoOfSecond) argument
[all...]

Completed in 746 milliseconds

12345