/dalvik/libcore/text/src/main/java/org/apache/harmony/text/ |
H A D | BidiRun.java | 24 private final int start; field in class:BidiRun 30 public BidiRun(int start, int limit, int level) { argument 31 this.start = start; 45 return start; 51 : this.start == ((BidiRun) o).start
|
/dalvik/libcore/concurrent/src/main/java/java/util/concurrent/ |
H A D | Java6Arrays.java | 46 static <T> T[] copyOfRange(T[] original, int start, int end) { argument 47 if (original.length >= start && 0 <= start) { 48 if (start <= end) { 49 int length = end - start; 50 int copyLength = Math.min(length, original.length - start); 52 System.arraycopy(original, start, copy, 0, copyLength); 61 static <T, U> T[] copyOfRange(U[] original, int start, int end, argument 63 if (start <= end) { 64 if (original.length >= start [all...] |
/dalvik/libcore/regex/src/main/java/java/util/regex/ |
H A D | MatchResult.java | 24 * the whole regular expression. The start, end, and contents of each group 84 int start(); method in interface:MatchResult 96 int start(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 54 return text.substring(start(), end()); 71 public int start() { method in class:MatchResultImpl 72 return start(0); 75 public int start(int group) { method in class:MatchResultImpl
|
/dalvik/libcore/text/src/main/java/java/text/ |
H A D | StringCharacterIterator.java | 27 int start, end, offset; field in class:StringCharacterIterator 39 start = offset = 0; 59 start = 0; 73 * @param start 80 * if {@code start < 0}, {@code start > end}, {@code location < 81 * start}, {@code location > end} or if {@code end} is greater 84 public StringCharacterIterator(String value, int start, int end, argument 87 if (start < 0 || end > string.length() || start > en [all...] |
H A D | AttributedString.java | 44 int start; field in class:AttributedString.Range 51 start = s; 160 return range.start >= begin && range.start < end 168 if (range.start >= begin && range.start < end) { 173 || (range.start >= begin && range.start < end); 212 if (offset >= range.start && offset < range.end) { 263 if (offset >= range.start 425 AttributedString(AttributedCharacterIterator iterator, int start, int end, Set<Attribute> attributes) argument 483 AttributedString(AttributedCharacterIterator iterator, int start, int end) argument 510 AttributedString(AttributedCharacterIterator iterator, int start, int end, AttributedCharacterIterator.Attribute[] attributes) argument 623 addAttribute(AttributedCharacterIterator.Attribute attribute, Object value, int start, int end) argument 717 addAttributes( Map<? extends AttributedCharacterIterator.Attribute, ?> attributes, int start, int end) argument 770 getIterator( AttributedCharacterIterator.Attribute[] attributes, int start, int end) argument [all...] |
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/net/ |
H A D | NetUtil.java | 96 static void intToBytes(int value, byte bytes[], int start) { argument 101 bytes[start] = (byte) ((value >> 24) & 255); 102 bytes[start + 1] = (byte) ((value >> 16) & 255); 103 bytes[start + 2] = (byte) ((value >> 8) & 255); 104 bytes[start + 3] = (byte) (value & 255); 107 static int bytesToInt(byte bytes[], int start) { argument 114 int value = ((bytes[start + 3] & 255)) | ((bytes[start + 2] & 255) << 8) 115 | ((bytes[start + 1] & 255) << 16) | ((bytes[start] [all...] |
/dalvik/dx/src/com/android/dx/dex/code/ |
H A D | CatchTable.java | 96 /** {@code >= 0;} start address */ 97 private final int start; field in class:CatchTable.Entry 99 /** {@code > start;} end address (exclusive) */ 108 * @param start {@code >= 0;} start address 109 * @param end {@code > start;} end address (exclusive) 112 public Entry(int start, int end, CatchHandlerList handlers) { argument 113 if (start < 0) { 114 throw new IllegalArgumentException("start < 0"); 117 if (end <= start) { [all...] |
/dalvik/libcore/luni/src/main/java/java/lang/ |
H A D | CharSequence.java | 48 * Returns a {@code CharSequence} from the {@code start} index (inclusive) 51 * @param start 52 * the start offset of the sub-sequence. It is inclusive, that 61 * if {@code start < 0}, {@code end < 0}, {@code start > end}, 62 * or if {@code start} or {@code end} are greater than the 65 public CharSequence subSequence(int start, int end); argument
|
H A D | AbstractStringBuilder.java | 165 final void append0(CharSequence s, int start, int end) { argument 169 if (start < 0 || end < 0 || start > end || end > s.length()) { 174 int adding = end - start; 184 ((String) s)._getChars(start, end, value, count); 187 System.arraycopy(other.value, start, value, count, adding); 190 for (int i = start; i < end; i++) { 227 final void delete0(int start, int end) { argument 228 if (start >= 0) { 232 if (end == start) { 314 getChars(int start, int end, char[] dest, int destStart) argument 332 insert0(int index, char[] chars, int start, int length) argument 378 insert0(int index, CharSequence s, int start, int end) argument 420 replace0(int start, int end, String string) argument 608 substring(int start) argument 633 substring(int start, int end) argument 679 subSequence(int start, int end) argument 711 indexOf(String subString, int start) argument 779 lastIndexOf(String subString, int start) argument [all...] |
/dalvik/libcore/xml/src/main/java/org/apache/xpath/objects/ |
H A D | XMLStringFactoryImpl.java | 66 * @param start The start position in the array. 71 public XMLString newstr(FastStringBuffer fsb, int start, int length) argument 73 return new XStringForFSB(fsb, start, length); 81 * @param start The start position in the array. 86 public XMLString newstr(char[] string, int start, int length) argument 88 return new XStringForChars(string, start, length);
|
/dalvik/tools/ |
H A D | deadcode.py | 19 start = 0 25 result = headerPattern.search(buffer, start) 36 sections[sectionName] = buffer[anchor:result.start()] 39 start = result.end() 40 anchor = start 53 start = 0 58 result = methodPattern.search(section, start) 65 start = result.end() 72 start = 0 76 match = codes.find(method, start) [all...] |
/dalvik/dx/src/com/android/dx/cf/code/ |
H A D | ByteBlock.java | 30 /** {@code >= 0;} bytecode offset (inclusive) of the start of the block */ 31 private final int start; field in class:ByteBlock 33 /** {@code > start;} bytecode offset (exclusive) of the end of the block */ 46 * @param start {@code >= 0;} bytecode offset (inclusive) of the start 48 * @param end {@code > start;} bytecode offset (exclusive) of the end 55 public ByteBlock(int label, int start, int end, IntList successors, argument 61 if (start < 0) { 62 throw new IllegalArgumentException("start < 0"); 65 if (end <= start) { [all...] |
/dalvik/libcore/luni/src/main/java/java/util/ |
H A D | SortedSet.java | 80 * {@code SortedSet} which contains elements greater or equal to the start 85 * @param start 86 * the start element. 89 * @return a subset where the elements are greater or equal to {@code start} 92 * when the class of the start or end element is inappropriate 95 * when the start or end element is null and this 98 * when the start element is greater than the end element. 100 public SortedSet<E> subSet(E start, E end); argument 104 * {@code SortedSet} which contains elements greater or equal to the start 108 * @param start 118 tailSet(E start) argument [all...] |
/dalvik/libcore/xml/src/main/java/org/apache/xml/utils/ |
H A D | XMLStringFactory.java | 44 * @param start The start position in the array. 49 public abstract XMLString newstr(FastStringBuffer string, int start, argument 57 * @param start The start position in the array. 62 public abstract XMLString newstr(char[] string, int start, argument
|
/dalvik/libcore/xml/src/main/java/org/apache/xpath/functions/ |
H A D | FuncSubstring.java | 50 double start = m_arg1.execute(xctxt).num(); 60 if (Double.isNaN(start)) 65 start = -1000000; 70 start = Math.round(start); 71 startIndex = (start > 0) ? (int) start - 1 : 0; 77 int end = (int) (Math.round(len) + start) - 1;
|
/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; 33 start = System.nanoTime(); 38 report(start, end); 42 long start, end; 49 start = System.nanoTime(); 56 report(start, end);
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/ |
H A D | BERConstructedOctetString.java | 91 int start = 0; 99 byte[] nStr = new byte[end - start + 1]; 101 System.arraycopy(string, start, nStr, 0, nStr.length); 104 start = end + 1; 109 byte[] nStr = new byte[string.length - start]; 111 System.arraycopy(string, start, nStr, 0, nStr.length); 140 int start = 0; 147 byte[] nStr = new byte[end - start + 1]; 149 System.arraycopy(string, start, nStr, 0, nStr.length); 152 start [all...] |
/dalvik/tests/078-polymorphic-virtual/src/ |
H A D | Main.java | 23 derived1.start(); 24 derived2.start(); 25 derived3.start();
|
/dalvik/dx/src/com/android/dx/util/ |
H A D | ByteArray.java | 33 /** {@code >= 0}; start index of the slice (inclusive) */ 34 private final int start; field in class:ByteArray 37 * {@code end - start} (in the constructor) */ 44 * @param start {@code >= 0;} start index of the slice (inclusive) 45 * @param end {@code >= start, <= bytes.length;} end index of 48 public ByteArray(byte[] bytes, int start, int end) { argument 53 if (start < 0) { 54 throw new IllegalArgumentException("start < 0"); 57 if (end < start) { 96 slice(int start, int end) argument [all...] |
/dalvik/libdex/ |
H A D | SysUtil.c | 89 off_t start, end; local 95 start = lseek(fd, 0L, SEEK_CUR); 97 (void) lseek(fd, start, SEEK_SET); 99 if (start == (off_t) -1 || end == (off_t) -1) { 104 length = end - start; 110 *start_ = start; 126 off_t start; local 132 if (getFileStartAndLength(fd, &start, &length) < 0) 163 off_t start; local 169 if (getFileStartAndLength(fd, &start, 196 off_t start; local 235 off_t start; local 275 sysMapFileSegmentInShmem(int fd, off_t start, long length, MemMapping* pMap) argument [all...] |
/dalvik/libcore/xml/src/main/java/org/apache/xml/serializer/ |
H A D | WriterChain.java | 35 * write(char[] chars, int start, int count) 37 * write(String chars, int start, int count) 58 public void write(char[] chars, int start, int count) throws IOException; argument 62 public void write(String chars, int start, int count) throws IOException; argument
|
/dalvik/libcore/xml/src/main/java/org/xml/sax/ |
H A D | DocumentHandler.java | 171 * @param start The start position in the array. 178 public abstract void characters (char ch[], int start, int length) argument 200 * @param start The start position in the array. 206 public abstract void ignorableWhitespace (char ch[], int start, int length) argument
|
/dalvik/tests/002-sleep/src/ |
H A D | Main.java | 11 long start = System.currentTimeMillis(); 13 long elapsed = System.currentTimeMillis() - start;
|
/dalvik/tests/030-bad-finalizer/src/ |
H A D | BadFinalizer.java | 20 long start, end; 21 start = System.nanoTime();
|