Searched defs:end (Results 1 - 25 of 77) sorted by relevance

1234

/dalvik/libcore/luni/src/main/java/java/lang/
H A DAppendable.java73 * 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 DCharSequence.java53 * 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 DMatchResult.java23 * 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 DMatchResultImpl.java35 * 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 DSortedSet.java55 * {@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 DAbstractInterruptibleChannel.java35 * 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 DAbstractSelector.java29 * {@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 DMain.java13 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 DByteBlock.java33 /** &gt; start; bytecode offset (exclusive) of the end of the block */
34 private final int end; field in class:ByteBlock
48 * @param end &gt; 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 DStdCatchBuilder.java244 * 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 DCatchTable.java99 /** &gt; start; end address (exclusive) */
100 private final int end; field in class:CatchTable.Entry
109 * @param end &gt; 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 DStringWriter.java247 * 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 DWriter.java242 * 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 DCharArrayWriter.java323 * 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 DHandler.java86 * @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 DCharArrayBuffer.java87 public final CharSequence subSequence(int start, int end) { argument
88 if (start < 0 || end < start || end > remaining()) {
93 result.limit(position + end);
H A DCharSequenceAdapter.java131 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 DCharToByteBufferAdapter.java208 public CharSequence subSequence(int start, int end) { argument
209 if (start < 0 || end < start || end > remaining()) {
214 result.limit(position + end);
H A DReadOnlyCharArrayBuffer.java91 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 DDexCatch.c68 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 DBits.java148 * @param end &gt;= 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 DJSONStringer.java129 * <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 DDNParser.java52 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 DSupport_Format.java37 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 DStringCharacterIterator.java29 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...]

Completed in 1278 milliseconds

1234