/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...] |
H A D | AttributedString.java | 48 int end; field in class:AttributedString.Range 54 end = e; 61 private int begin, end, offset; field in class:AttributedString.AttributedIterator 70 end = attrString.text.length(); 76 int end) { 77 if (begin < 0 || end > attrString.text.length() || begin > end) { 81 this.end = end; 96 * begin, end, an 74 AttributedIterator(AttributedString attrString, AttributedCharacterIterator.Attribute[] attributes, int begin, int end) argument 428 AttributedString(AttributedCharacterIterator iterator, int start, int end, Set<Attribute> attributes) argument 487 AttributedString(AttributedCharacterIterator iterator, int start, int end) argument 515 AttributedString(AttributedCharacterIterator iterator, int start, int end, AttributedCharacterIterator.Attribute[] attributes) argument 632 addAttribute(AttributedCharacterIterator.Attribute attribute, Object value, int start, int end) argument 731 addAttributes( Map<? extends AttributedCharacterIterator.Attribute, ?> attributes, int start, int end) argument 787 getIterator( AttributedCharacterIterator.Attribute[] attributes, int start, int end) argument [all...] |
/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/security/src/main/java/org/bouncycastle/asn1/ |
H A D | OIDTokenizer.java | 34 int end = oid.indexOf('.', index); 36 if (end == -1) 43 token = oid.substring(index, end); 45 index = end + 1;
|
H A D | BERConstructedOctetString.java | 92 int end = 0; 95 while ((end + 1) < string.length) 97 if (string[end] == 0 && string[end + 1] == 0) 99 byte[] nStr = new byte[end - start + 1]; 104 start = end + 1; 106 end++; 141 int end = 0; 143 while ((end + 1) < string.length) 145 if (string[end] [all...] |
/dalvik/dx/src/com/android/dx/util/ |
H A D | ByteArrayAnnotatedOutput.java | 122 * bytes at the end). 150 int end = writeAt + 1; 153 ensureCapacity(end); 154 } else if (end > data.length) { 160 cursor = end; 166 int end = writeAt + 2; 169 ensureCapacity(end); 170 } else if (end > data.length) { 177 cursor = end; 183 int end 562 private int end; field in class:ByteArrayAnnotatedOutput.Annotation 575 Annotation(int start, int end, String text) argument 597 setEndIfUnset(int end) argument 608 setEnd(int end) argument [all...] |
H A D | Leb128Utils.java | 65 int end = ((value & Integer.MIN_VALUE) == 0) ? 0 : -1; 68 hasMore = (remaining != end)
|
/dalvik/libcore/luni/src/main/java/java/lang/ |
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
|
H A D | AbstractStringBuilder.java | 181 final void append0(CharSequence s, int start, int end) { argument 185 if (start < 0 || end < 0 || start > end || end > s.length()) { 190 int adding = end - start; 201 ((String) s)._getChars(start, end, value, count); 205 for (int i = start; i < end; i++) { 242 final void delete0(int start, int end) { argument 244 if (end > count) { 245 end 328 getChars(int start, int end, char[] dest, int destStart) argument 391 insert0(int index, CharSequence s, int start, int end) argument 433 replace0(int start, int end, String string) argument 589 substring(int start, int end) argument 632 subSequence(int start, int end) argument [all...] |
/dalvik/dx/src/com/android/dx/dex/code/ |
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/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...] |
H A D | AbstractList.java | 158 SubAbstractListRandomAccess(AbstractList<E> list, int start, int end) { argument 159 super(list, start, end); 178 private int end; field in class:AbstractList.SubAbstractList.SubAbstractListIterator 186 end = start + length; 192 end++; 196 return iterator.nextIndex() < end; 204 if (iterator.nextIndex() < end) { 232 end--; 240 SubAbstractList(AbstractList<E> list, int start, int end) { argument 245 size = end 337 removeRange(int start, int end) argument 673 removeRange(int start, int end) argument 749 subList(int start, int end) argument [all...] |
/dalvik/libcore/security/src/main/java/java/security/ |
H A D | BasicPermission.java | 37 * matching anything, or at the end of the name, immediately preceded by a '.'. 178 int end = thisName.length(); 179 if (end > thatName.length()) { 182 if (thisName.charAt(--end) == '*' 183 && (end == 0 || thisName.charAt(end - 1) == '.')) { 185 end--; 186 } else if (end != (thatName.length()-1)) { 190 for (int i = end; i >= 0; i--) {
|
/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/libcore/security/src/main/java/org/bouncycastle/util/encoders/ |
H A D | HexEncoder.java | 85 int end = off + length; 87 while (end > off) 89 if (!ignore((char)data[end - 1])) 94 end--; 98 while (i < end) 100 while (i < end && ignore((char)data[i])) 107 while (i < end && ignore((char)data[i])) 136 int end = data.length(); 138 while (end > 0) 140 if (!ignore(data.charAt(end [all...] |
H A D | Base64Encoder.java | 74 * process the tail end. 133 int end = off + length; 135 while (end > off) 137 if (!ignore((char)data[end - 1])) 142 end--; 146 int finish = end - 4; 175 outLen += decodeLastBlock(out, (char)data[end - 4], (char)data[end - 3], (char)data[end - 2], (char)data[end [all...] |
/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/libcore/luni/src/main/java/org/apache/harmony/luni/util/ |
H A D | FloatingPointParser.java | 99 int start, end, decimal; 113 end = Math.max(s.indexOf('E'), s.indexOf('e')); 114 if (end > -1) { 115 if (end + 1 == length) 118 int exponent_offset = end + 1; 136 end = length; 155 e -= end - decimal - 1; 156 s = s.substring(start, decimal) + s.substring(decimal + 1, end); 158 s = s.substring(start, end); 164 end [all...] |
H A D | Base64.java | 137 int index = 0, i, crlr = 0, end = in.length - in.length%3; 138 for (i=0; i<end; i+=3) { 154 out[index++] = map[(in[end] & 0xff) >> 2]; 155 out[index++] = map[(in[end] & 0x03) << 4]; 160 out[index++] = map[(in[end] & 0xff) >> 2]; 161 out[index++] = map[((in[end] & 0x03) << 4) 162 | ((in[end+1] & 0xff) >> 4)]; 163 out[index++] = map[((in[end+1] & 0x0f) << 2)];
|
/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/tests/030-bad-finalizer/src/ |
H A D | BadFinalizer.java | 20 long start, end; 24 end = System.nanoTime();
|
/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/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/security/src/main/java/org/bouncycastle/asn1/x509/ |
H A D | X509NameTokenizer.java | 43 int end = index + 1; 49 while (end != value.length()) 51 char c = value.charAt(end); 96 end++; 99 index = end;
|