Searched refs:start (Results 26 - 50 of 357) sorted by relevance

1234567891011>>

/dalvik/libcore/luni/src/main/java/java/lang/
H A DStringBuffer.java262 * @param start
268 * if {@code length < 0} , {@code start < 0} or {@code start +
273 public synchronized StringBuffer append(char chars[], int start, int length) { argument
274 append0(chars, start, length);
307 * @param start
308 * the inclusive start index.
313 * if {@code start} or {@code end} are negative, {@code start}
318 public synchronized StringBuffer append(CharSequence s, int start, in argument
372 delete(int start, int end) argument
414 getChars(int start, int end, char[] buffer, int idx) argument
419 indexOf(String subString, int start) argument
596 insert(int index, char chars[], int start, int length) argument
646 insert(int index, CharSequence s, int start, int end) argument
653 lastIndexOf(String subString, int start) argument
678 replace(int start, int end, String string) argument
704 subSequence(int start, int end) argument
709 substring(int start) argument
714 substring(int start, int end) argument
[all...]
H A DString.java177 * @param start
184 * if {@code length < 0, start < 0} or {@code start + length >
187 public String(byte[] data, int start, int length) { argument
188 // start + length could overflow, start/length maybe MaxInt
189 if (start >= 0 && 0 <= length && length <= data.length - start) {
194 .decode(ByteBuffer.wrap(data, start, length));
215 * @param start
228 String(byte[] data, int high, int start, int length) argument
266 String(byte[] data, int start, int length, final String encoding) argument
463 String(char[] data, int start, int length) argument
480 String(int start, int length, char[] data) argument
780 copyValueOf(char[] data, int start, int length) argument
930 getBytes(int start, int end, byte[] data, int index) argument
999 getChars(int start, int end, char[] buffer, int index) argument
1015 _getChars(int start, int end, char[] buffer, int index) argument
1080 indexOf(int c, int start) argument
1159 indexOf(String subString, int start) argument
1240 lastIndexOf(int c, int start) argument
1290 lastIndexOf(String subString, int start) argument
1348 regionMatches(int thisStart, String string, int start, int length) argument
1395 regionMatches(boolean ignoreCase, int thisStart, String string, int start, int length) argument
1534 startsWith(String prefix, int start) argument
1548 substring(int start) argument
1570 substring(int start, int end) argument
1828 valueOf(char[] data, int start, int length) argument
2085 subSequence(int start, int end) argument
[all...]
H A DAppendable.java67 * to calling {@code append(csq.subSequence(start, end))}.
73 * @param start
81 * if {@code start < 0}, {@code end < 0}, {@code start > end}
86 Appendable append(CharSequence csq, int start, int end) throws IOException; argument
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/platform/
H A DOSFileSystem.java45 private final void validateLockArgs(int type, long start, long length) { argument
52 if (start < 0) {
54 "Lock start position must be non-negative"); //$NON-NLS-1$
64 private native int lockImpl(int fileDescriptor, long start, long length, argument
74 public boolean lock(int fileDescriptor, long start, long length, int type, argument
77 validateLockArgs(type, start, length);
78 int result = lockImpl(fileDescriptor, start, length, type, waitFlag);
83 private native void unlockImpl(int fileDescriptor, long start, long length) throws IOException; argument
85 public void unlock(int fileDescriptor, long start, long length) argument
88 validateLockArgs(IFileSystem.SHARED_LOCK_TYPE, start, lengt
[all...]
/dalvik/libcore/luni/src/main/java/java/util/
H A DAbstractList.java92 FullListIterator(int start) { argument
94 if (0 <= start && start <= size()) {
95 pos = start - 1;
159 SubAbstractListRandomAccess(AbstractList<E> list, int start, int end) { argument
160 super(list, start, end);
177 private int start; field in class:AbstractList.SubAbstractList.SubAbstractListIterator
186 start = offset;
187 end = start + length;
201 return iterator.previousIndex() >= start;
241 SubAbstractList(AbstractList<E> list, int start, int end) argument
338 removeRange(int start, int end) argument
661 removeRange(int start, int end) argument
735 subList(int start, int end) argument
[all...]
/dalvik/libcore/concurrent/src/test/java/tests/api/java/util/concurrent/
H A DCyclicBarrierTest.java112 t.start();
153 t1.start();
154 t2.start();
193 t1.start();
194 t2.start();
222 t.start();
258 t1.start();
259 t2.start();
296 t1.start();
297 t2.start();
[all...]
H A DLockSupportTest.java38 t.start();
63 t.start();
86 t.start();
113 t.start();
137 t.start();
161 t.start();
/dalvik/libcore/support/src/test/java/tests/support/
H A DSupport_Format.java81 * which stores start and end indexes and an attribute this range
87 int start = iterator.getRunStart();
94 result.add(new FieldContainer(start, end, attribute, value));
95 // System.out.println(start + " " + end + ": " + attribute + ",
97 // System.out.println("v.add(new FieldContainer(" + start +"," +
106 int start, end; field in class:Support_Format.FieldContainer
113 public FieldContainer(int start, int end, argument
115 this(start, end, attribute, attribute);
119 public FieldContainer(int start, int end, Attribute attribute, int value) { argument
120 this(start, en
124 FieldContainer(int start, int end, Attribute attribute, Object value) argument
[all...]
/dalvik/libcore/text/src/test/java/org/apache/harmony/text/tests/java/text/
H A DSupport_Format.java81 * which stores start and end indexes and an attribute this range
87 int start = iterator.getRunStart();
94 result.add(new FieldContainer(start, end, attribute, value));
95 // System.out.println(start + " " + end + ": " + attribute + ",
97 // System.out.println("v.add(new FieldContainer(" + start +"," +
106 int start, end; field in class:Support_Format.FieldContainer
113 public FieldContainer(int start, int end, argument
115 this(start, end, attribute, attribute);
119 public FieldContainer(int start, int end, Attribute attribute, int value) { argument
120 this(start, en
124 FieldContainer(int start, int end, Attribute attribute, Object value) argument
[all...]
/dalvik/libcore/xml/src/main/java/org/apache/xml/utils/
H A DXMLCharacterRecognizer.java47 * @param start Start index of characters in the array
52 public static boolean isWhiteSpace(char ch[], int start, int length) argument
55 int end = start + length;
57 for (int s = start; s < end; s++)
/dalvik/libdex/
H A DDexCatch.c61 u4 start = pTry->startAddr; local
63 if (address < start) {
68 u4 end = start + pTry->insnCount;
/dalvik/libcore/luni/src/main/java/java/net/
H A DURLEncoder.java101 int start = -1;
106 if (start >= 0) {
107 convert(s.substring(start, i), buf, enc);
108 start = -1;
116 if (start < 0) {
117 start = i;
121 if (start >= 0) {
122 convert(s.substring(start, s.length()), buf, enc);
/dalvik/libcore/sql/src/main/java/java/sql/
H A DBlob.java77 * @param start
78 * the position within this {@code Blob} to start the search,
86 public long position(Blob pattern, long start) throws SQLException; argument
95 * @param start
96 * the position within this {@code Blob} to start the search,
104 public long position(byte[] pattern, long start) throws SQLException; argument
110 * the position within this {@code Blob} at which to start
125 * the position within this {@code Blob} at which to start
142 * the position within this {@code Blob} at which to start
148 * the offset into the byte array from which to start writin
[all...]
/dalvik/libcore/concurrent/src/main/java/java/util/concurrent/
H A DCopyOnWriteArrayList.java310 * @param index the index at which to start the search.
313 * found at or beyond the given start index.
338 * @param index the index at which to start the search.
341 * found at or before the given start index.
490 final int removeAll(Collection c, int start, int size) { argument
502 for (int i = start; i < (start + size); i++) {
509 System.arraycopy(old, 0, result, 0, start);
510 System.arraycopy(data, 0, result, start, j);
511 System.arraycopy(old, start
526 retainAll(Collection c, int start, int size) argument
566 removeRange(int start, int size) argument
593 toArray(Object[] data, int start, int size) argument
605 toArray(Object[] to, Object[] data, int start, int size) argument
628 containsAll(Collection c, Object[] data, int start, int size) argument
653 lastIndexOf(Object o, Object[] data, int start, int size) argument
683 indexOf(Object o, Object[] data, int start, int size) argument
829 private final int start; field in class:CopyOnWriteArrayList.SubList
[all...]
/dalvik/libcore/nio/src/main/java/java/nio/
H A DCharBuffer.java73 * The new buffer's position will be {@code start}, limit will be
74 * {@code start + len}, capacity will be the length of the array.
78 * @param start
79 * the start index, must not be negative and not greater than
83 * {@code array.length - start}.
86 * if either {@code start} or {@code len} is invalid.
88 public static CharBuffer wrap(char[] array, int start, int len) { argument
90 if ((start < 0) || (len < 0) || (long) start + (long) len > length) {
95 buf.position = start;
134 wrap(CharSequence chseq, int start, int end) argument
641 put(String str, int start, int end) argument
701 subSequence(int start, int end) argument
777 append(CharSequence csq, int start, int end) argument
[all...]
H A DCharArrayBuffer.java93 public final CharSequence subSequence(int start, int end) { argument
94 if (start < 0 || end < start || end > remaining()) {
100 result.position(position + start);
H A DCharSequenceAdapter.java147 public CharBuffer put(String src, int start, int end) { argument
148 if ((start < 0) || (end < 0)
149 || (long) start + (long) end > src.length()) {
161 public CharSequence subSequence(int start, int end) { argument
162 if (end < start || start < 0 || end > remaining()) {
167 result.position = position + start;
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/file/
H A DHandler.java94 * @param start
103 protected void parseURL(URL u, String str, int start, int end) { argument
104 if (end < start) {
108 if (start < end) {
109 parseString = str.substring(start, end).replace('\\', '/');
/dalvik/libcore/xml/src/main/java/org/apache/xml/serializer/
H A DToTextStream.java188 * @param start The start position in the array.
195 public void characters(char ch[], int start, int length) argument
215 m_writer.write(ch, start, length);
219 writeNormalizedChars(ch, start, length, m_lineSepUse);
223 super.fireCharEvent(ch, start, length);
236 * @param start The start position in the array.
242 public void charactersRaw(char ch[], int start, int length) argument
248 writeNormalizedChars(ch, start, lengt
270 writeNormalizedChars( final char ch[], final int start, final int length, final boolean useLineSep) argument
377 cdata(char ch[], int start, int length) argument
418 ignorableWhitespace(char ch[], int start, int length) argument
493 comment(char ch[], int start, int length) argument
[all...]
/dalvik/libcore-disabled/sound/src/main/java/javax/sound/sampled/
H A DClip.java39 void setLoopPoints(int start, int end); argument
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/encodings/
H A DPKCS1Encoding.java194 int start;
196 for (start = 1; start != block.length; start++)
198 byte pad = block[start];
210 start++; // data should start at the next byte
212 if (start >= block.length || start < HEADER_LENGTH)
217 byte[] result = new byte[block.length - start];
[all...]
/dalvik/libcore/json/src/main/java/org/json/
H A DJSONTokener.java199 int start = pos;
206 return new String(in.substring(start, pos - 1));
208 builder.append(in, start, pos - 1);
220 builder.append(in, start, pos - 1);
222 start = pos;
332 int start = pos;
336 return in.substring(start, pos);
339 return in.substring(start);
/dalvik/libcore/regex/src/main/java/java/util/regex/
H A DMatcher.java66 * Holds the start of the region, or 0 if the matching should start at the
145 buffer.append(input.substring(appendPos, start()));
191 * an occurrence of the Pattern in the string will start at the beginning of
197 * @param start
198 * the start of the region.
204 private Matcher reset(CharSequence input, int start, int end) { argument
209 if (start < 0 || end < 0 || start > input.length() ||
210 end > input.length() || start > en
278 region(int start, int end) argument
402 find(int start) argument
456 public int start(int group) throws IllegalStateException { method in class:Matcher
542 public int start() { method in class:Matcher
[all...]
/dalvik/libcore/regex/src/test/java/org/apache/harmony/regex/tests/java/util/regex/
H A DMatcher2Test.java49 notes = "Verifies start, end, group, usePattern methods with wrong conditions, IllegalStateException should be thrown",
50 method = "start",
55 notes = "Verifies start, end, group, usePattern methods with wrong conditions, IllegalStateException should be thrown",
61 notes = "Verifies start, end, group, usePattern methods with wrong conditions, IllegalStateException should be thrown",
67 notes = "Verifies start, end, group, usePattern methods with wrong conditions, IllegalStateException should be thrown",
68 method = "start",
73 notes = "Verifies start, end, group, usePattern methods with wrong conditions, IllegalStateException should be thrown",
79 notes = "Verifies start, end, group, usePattern methods with wrong conditions, IllegalStateException should be thrown",
85 notes = "Verifies start, end, group, usePattern methods with wrong conditions, IllegalStateException should be thrown",
97 m.start();
[all...]
/dalvik/docs/
H A Dprettify.js43 * Java annotations (start with "@") are now captured as literals ("lit")
465 // A <span class="nocode"> will start a section that should be
535 * @param {Array} shortcutStylePatterns patterns that always start with
621 // Splits any of the source|style|xmp entries above into a start tag,
633 var start, end;
634 start = decorations[i];
636 // Split out start and end script tags as actual tags, and leave the
638 var sourceChunk = source.substring(start, end);
643 start, PR_TAG, // the open chunk
644 start
[all...]

Completed in 464 milliseconds

1234567891011>>