/dalvik/libcore/luni/src/main/java/java/lang/ |
H A D | Appendable.java | 73 * to calling {@code append(csq.subSequence(start, end))}. 83 * @param end 88 * if {@code start < 0}, {@code end < 0}, {@code start > end} 89 * or {@code end} is greater than the length of {@code csq}. 94 Appendable append(CharSequence csq, int start, int end) throws IOException; argument
|
H A D | CharSequence.java | 53 * to the {@code end} index (exclusive) of this sequence. 59 * @param end 60 * the end offset of the sub-sequence. It is exclusive, that is, 65 * if {@code start < 0}, {@code end < 0}, {@code start > end}, 66 * or if {@code start} or {@code end} are greater than the 70 public CharSequence subSequence(int start, int end); argument
|
/dalvik/libcore/regex/src/main/java/java/util/regex/ |
H A D | MatchResult.java | 23 * the whole regular expression. The start, end, and contents of each group 41 int end(); method in interface:MatchResult 55 int end(int group); method in interface:MatchResult
|
H A D | MatchResultImpl.java | 35 * elements specifiy start and end of the zero group, the next two specify 45 public int end() { method in class:MatchResultImpl 46 return end(0); 49 public int end(int group) { method in class:MatchResultImpl 54 return text.substring(start(), end());
|
/dalvik/libcore/luni/src/main/java/java/util/ |
H A D | SortedSet.java | 55 * {@code SortedSet} which contains elements less than the end element. The 59 * @param end 60 * the end element. 61 * @return a subset where the elements are less than {@code end}. 63 * when the class of the end element is inappropriate for this 66 * when the end element is null and this {@code SortedSet} does 70 public SortedSet<E> headSet(E end); argument 86 * element but less than the end element. The returned {@code SortedSet} is 92 * @param end 93 * the end elemen 106 subSet(E start, E end) argument [all...] |
/dalvik/libcore/nio/src/main/java/java/nio/channels/spi/ |
H A D | AbstractInterruptibleChannel.java | 35 * indefinitely, then {@code end(boolean)} after completing the operation. The 36 * argument to the {@code end} method should indicate if the I/O operation has 123 * should invoke the corresponding {@code end(boolean)} method. 150 * Indicates the end of a code section that has been started with 164 protected final void end(boolean success) throws AsynchronousCloseException { method in class:AbstractInterruptibleChannel
|
H A D | AbstractSelector.java | 29 * {@code end}. It also holds the cancellation and the deletion of the key 141 * should invoke the corresponding {@code end(boolean)} method. 163 * Indicates the end of a code section that has been started with 168 protected final void end() { method in class:AbstractSelector
|
/dalvik/tests/028-array-write/src/ |
H A D | Main.java | 13 static public void report(long start, long end) { argument 18 System.out.println("Finished in " + ((end - start) / 1000000.0) 28 long start, end; 36 end = System.nanoTime(); 38 report(start, end); 42 long start, end; 54 end = System.nanoTime(); 56 report(start, end);
|
/dalvik/dx/src/com/android/dx/cf/code/ |
H A D | ByteBlock.java | 33 /** > start; bytecode offset (exclusive) of the end of the block */ 34 private final int end; field in class:ByteBlock 48 * @param end > start; bytecode offset (exclusive) of the end 55 public ByteBlock(int label, int start, int end, IntList successors, argument 65 if (end <= start) { 66 throw new IllegalArgumentException("end <= start"); 88 this.end = end; 97 Hex.u2(end) [all...] |
/dalvik/dx/src/com/android/dx/dex/code/ |
H A D | StdCatchBuilder.java | 244 * isn't at the end. 271 * @param end non-null; the start block for the range (also inclusive) 276 BasicBlock end, CatchHandlerList handlers, 284 // ...And we end *after* the last instruction of the end block. 285 CodeAddress endAddress = addresses.getEnd(end); 297 * @param end non-null; the start block for the range (also inclusive) 301 private static boolean rangeIsValid(BasicBlock start, BasicBlock end, argument 307 if (end == null) { 308 throw new NullPointerException("end 275 makeEntry(BasicBlock start, BasicBlock end, CatchHandlerList handlers, BlockAddresses addresses) argument [all...] |
H A D | CatchTable.java | 99 /** > start; end address (exclusive) */ 100 private final int end; field in class:CatchTable.Entry 109 * @param end > start; end address (exclusive) 112 public Entry(int start, int end, CatchHandlerList handlers) { argument 117 if (end <= start) { 118 throw new IllegalArgumentException("end <= start"); 126 this.end = end; 133 int hash = (start * 31) + end; [all...] |
/dalvik/libcore/luni/src/main/java/java/io/ |
H A D | StringWriter.java | 247 * StringWriter.writer(csq.subsequence(start, end).toString())}. If {@code 256 * @param end 261 * if {@code start > end}, {@code start < 0}, {@code end < 0} or 262 * either {@code start} or {@code end} are greater or equal than 267 public StringWriter append(CharSequence csq, int start, int end) { argument 271 String output = csq.subSequence(start, end).toString();
|
H A D | Writer.java | 242 * Writer.writer(csq.subsequence(start, end).toString())}. If {@code 251 * @param end 258 * if {@code start > end}, {@code start < 0}, {@code end < 0} or 259 * either {@code start} or {@code end} are greater or equal than 263 public Writer append(CharSequence csq, int start, int end) argument 266 write(TOKEN_NULL.substring(start, end)); 268 write(csq.subSequence(start, end).toString());
|
H A D | CharArrayWriter.java | 323 * specified by the parameters {@code start} and {@code end}. The 325 * {@code CharArrayWriter.write(csq.subSequence(start, end).toString)}. If 333 * @param end 338 * if {@code start < 0}, {@code end < 0}, {@code start > end}, 339 * or if {@code end} is greater than the length of {@code csq}. 343 public CharArrayWriter append(CharSequence csq, int start, int end) { argument 347 String output = csq.subSequence(start, end).toString();
|
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/file/ |
H A D | Handler.java | 86 * @param end 93 protected void parseURL(URL u, String str, int start, int end) { argument 94 if (end < start) { 98 if (start < end) { 99 parseString = str.substring(start, end).replace('\\', '/');
|
/dalvik/libcore/nio/src/main/java/java/nio/ |
H A D | CharArrayBuffer.java | 87 public final CharSequence subSequence(int start, int end) { argument 88 if (start < 0 || end < start || end > remaining()) { 93 result.limit(position + end);
|
H A D | CharSequenceAdapter.java | 131 public CharBuffer put(String src, int start, int end) { argument 132 if ((start < 0 ) || (end < 0) || (long)start + (long)end > src.length()) { 142 public CharSequence subSequence(int start, int end) { argument 143 if (end < start || start < 0 || end > remaining()) { 149 result.limit = position + end;
|
H A D | CharToByteBufferAdapter.java | 208 public CharSequence subSequence(int start, int end) { argument 209 if (start < 0 || end < start || end > remaining()) { 214 result.limit(position + end);
|
H A D | ReadOnlyCharArrayBuffer.java | 91 public CharBuffer put(String src, int start, int end) { argument 92 if ((start < 0 ) || (end < 0) || (long)start + (long)end > src.length()) {
|
/dalvik/libdex/ |
H A D | DexCatch.c | 68 u4 end = start + pTry->insnCount; local 70 if (address >= end) { 83 /* Get the handler offset just past the end of the one just iterated over.
|
/dalvik/dx/src/com/android/dx/util/ |
H A D | Bits.java | 148 * @param end >= 0; index of the last bit in the range (exclusive) 152 public static boolean anyInRange(int[] bits, int start, int end) { argument 154 return (idx >= 0) && (idx < end);
|
/dalvik/libcore/json/src/main/java/org/json/ |
H A D | JSONStringer.java | 129 * <code>endArray</code> method must be called to mark the array's end. 132 * started in the wrong place (for example as a key or after the end of the 152 private JSONStringer end(char m, char c) throws JSONException { method in class:JSONStringer 170 return end('a', ']'); 180 return end('k', '}'); 213 * <code>endObject</code> method must be called to mark the object's end. 216 * started in the wrong place (for example as a key or after the end of the
|
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/x509/ |
H A D | DNParser.java | 52 protected int pos, beg, end; field in class:DNParser 86 return null; // reached the end of DN 99 // unexpected end of DN 104 // mark the end of attribute type 105 end = pos; 114 // unexpected end of DN 129 if ((end - beg > 4) && (chars[beg + 3] == '.') 136 return new String(chars, beg, end - beg); 144 end = beg; 148 // unexpected end o [all...] |
/dalvik/libcore/support/src/test/java/tests/support/ |
H A D | Support_Format.java | 37 String text, Format.Field field, int begin, int end) { 55 assertEquals("Test " + count + ": incorrect end index for field" 56 + field, end, pos.getEndIndex()); 81 * which stores start and end indexes and an attribute this range 88 int end = iterator.getRunLimit(); 94 result.add(new FieldContainer(start, end, attribute, value)); 95 // System.out.println(start + " " + end + ": " + attribute + ", 98 // end +"," + attribute+ "," + value+ "));"); 100 iterator.setIndex(end); 106 int start, end; field in class:Support_Format.FieldContainer 36 t_FormatWithField(int count, Format format, Object object, String text, Format.Field field, int begin, int end) argument 113 FieldContainer(int start, int end, AttributedCharacterIterator.Attribute attribute) argument 119 FieldContainer(int start, int end, Attribute attribute, int value) argument 124 FieldContainer(int start, int end, Attribute attribute, Object value) argument [all...] |
/dalvik/libcore/text/src/main/java/java/text/ |
H A D | StringCharacterIterator.java | 29 int start, end, offset; field in class:StringCharacterIterator 34 * end index is set to the length of the string. 43 end = string.length(); 49 * to the beginning of the string, the end index is set to the length of the 64 end = string.length(); 65 if (location < 0 || location > end) { 73 * with the begin, end and current index set to the specified values. 79 * @param end 84 * if {@code start < 0}, {@code start > end}, 85 * {@code location < start}, {@code location > end} o 89 StringCharacterIterator(String value, int start, int end, int location) argument [all...] |