Searched refs:index (Results 101 - 125 of 257) sorted by relevance

1234567891011

/dalvik/libcore/text/src/main/java/java/text/
H A DChoiceFormat.java45 * If there is no match, then either the first or last index is used. The first
46 * or last index is used depending on whether the number is too low or too high.
113 * same index as the string.
149 int length = template.length(), limitCount = 0, index = 0;
154 index = skipWhitespace(template, index);
155 if (index >= length) {
169 position.setIndex(index);
171 index = skipWhitespace(template, position.getIndex());
172 if (position.getErrorIndex() != -1 || index >
466 skipWhitespace(String string, int index) argument
[all...]
/dalvik/libcore/security/src/main/java/org/bouncycastle/x509/
H A DPKIXCertPathReviewer.java180 * The global error List is at index 0. The error lists for each certificate at index 1 to n.
191 * Returns an List of error messages for the certificate at the given index in the CertPath.
192 * If index == -1 then the list of global errors is returned with errors not specific to a certificate.
193 * @param index the index of the certificate in the CertPath
196 public List getErrors(int index) argument
199 return errors[index + 1];
205 * The global notificatio List is at index 0. The notification lists for each certificate at index
221 getNotifications(int index) argument
281 addNotification(ErrorBundle msg, int index) argument
295 addError(ErrorBundle msg, int index) argument
1841 processQcStatements( X509Certificate cert, int index) argument
1935 checkCRLs( PKIXParameters paramsPKIX, X509Certificate cert, Date validDate, X509Certificate sign, PublicKey workingPublicKey, Vector crlDistPointUrls, int index) argument
[all...]
/dalvik/libcore/luni/src/main/java/java/net/
H A DURL.java225 int index;
227 index = spec.indexOf(':');
232 if (index >= 0) {
233 if ((startIPv6Addr == -1) || (index < startIPv6Addr)) {
234 protocol = spec.substring(0, index);
253 index = -1;
311 // Note: We want "index" to be the index of the start of the scheme
313 // -1 or the index of the colon after the protocol, so we
317 strmHandler.parseURL(this, spec, ++index, spe
[all...]
/dalvik/libcore/nio/src/main/java/java/nio/
H A DByteBuffer.java100 * the start index, must not be negative and not greater than
160 * The offset is the index of the array which corresponds to the zero
497 * Returns the byte at the specified index and does not change the position.
499 * @param index
500 * the index, must not be negative and less than limit.
501 * @return the byte at the specified index.
503 * if index is invalid.
506 public abstract byte get(int index); argument
523 * Returns the char at the specified index.
525 * The 2 bytes starting from the specified index ar
538 getChar(int index) argument
571 getDouble(int index) argument
604 getFloat(int index) argument
636 getInt(int index) argument
668 getLong(int index) argument
700 getShort(int index) argument
917 put(int index, byte b) argument
956 putChar(int index, char value) argument
995 putDouble(int index, double value) argument
1034 putFloat(int index, float value) argument
1073 putInt(int index, int value) argument
1112 putLong(int index, long value) argument
1151 putShort(int index, short value) argument
[all...]
H A DCharToByteBufferAdapter.java153 public char get(int index) { argument
154 if (index < 0 || index >= limit) {
157 return byteBuffer.getChar(index << 1);
192 public CharBuffer put(int index, char c) { argument
193 if (index < 0 || index >= limit) {
196 byteBuffer.putChar(index << 1, c);
H A DIntToByteBufferAdapter.java153 public int get(int index) { argument
154 if (index < 0 || index >= limit) {
157 return byteBuffer.getInt(index << 2);
192 public IntBuffer put(int index, int c) { argument
193 if (index < 0 || index >= limit) {
196 byteBuffer.putInt(index << 2, c);
H A DShortToByteBufferAdapter.java153 public short get(int index) { argument
154 if (index < 0 || index >= limit) {
157 return byteBuffer.getShort(index << 1);
192 public ShortBuffer put(int index, short c) { argument
193 if (index < 0 || index >= limit) {
196 byteBuffer.putShort(index << 1, c);
H A DReadWriteCharArrayBuffer.java95 public CharBuffer put(int index, char c) { argument
96 if (index < 0 || index >= limit) {
99 backingArray[offset + index] = c;
H A DReadWriteDoubleArrayBuffer.java98 public DoubleBuffer put(int index, double c) { argument
99 if (index < 0 || index >= limit) {
102 backingArray[offset + index] = c;
H A DReadWriteFloatArrayBuffer.java98 public FloatBuffer put(int index, float c) { argument
99 if (index < 0 || index >= limit) {
102 backingArray[offset + index] = c;
H A DReadWriteIntArrayBuffer.java95 public IntBuffer put(int index, int c) { argument
96 if (index < 0 || index >= limit) {
99 backingArray[offset + index] = c;
H A DReadWriteLongArrayBuffer.java95 public LongBuffer put(int index, long c) { argument
96 if (index < 0 || index >= limit) {
99 backingArray[offset + index] = c;
H A DReadWriteShortArrayBuffer.java98 public ShortBuffer put(int index, short c) { argument
99 if (index < 0 || index >= limit) {
102 backingArray[offset + index] = c;
/dalvik/libcore/xml/src/main/java/org/apache/harmony/xml/
H A DExpatPullParser.java265 public String getAttributeNamespace(int index) { argument
266 return this.document.currentEvent.getAttributeNamespace(index);
269 public String getAttributeName(int index) { argument
270 return this.document.currentEvent.getAttributeName(index);
278 public String getAttributePrefix(int index) { argument
282 public String getAttributeType(int index) { argument
286 public boolean isAttributeDefault(int index) { argument
290 public String getAttributeValue(int index) { argument
291 return this.document.currentEvent.getAttributeValue(index);
364 private final int index; field in class:ExpatPullParser.NamespaceStack
415 prefixAt(int index) argument
422 uriAt(int index) argument
426 nodeAt(int index) argument
535 getAttributeNamespace(int index) argument
539 getAttributeName(int index) argument
543 getAttributeValue(int index) argument
606 getAttributeNamespace(int index) argument
611 getAttributeName(int index) argument
617 getAttributeValue(int index) argument
[all...]
/dalvik/libcore/luni/src/main/java/java/io/
H A DDataOutputStream.java88 * the index of the first byte in {@code buffer} to write.
176 for (int index = 0; index < str.length(); index++) {
177 bytes[index] = (byte) str.charAt(index);
215 for (int index = 0; index < str.length(); index++) {
216 int newIndex = index
[all...]
/dalvik/dx/src/com/android/dx/ssa/
H A DSsaBasicBlock.java48 /** non-null; predecessor set (by block list index) */
50 /** non-null; successor set (by block list index) */
57 /** block list index of primary successor, or -1 for no primary successor */
63 /** our index into parent.getBlock() */
64 private int index; field in class:SsaBasicBlock
86 * @param basicBlockIndex index this block will have
93 this.index = basicBlockIndex;
108 * @param basicBlockIndex index this block will have
294 * @return the block index of this block
297 return index;
[all...]
/dalvik/vm/mterp/armv4t/
H A DOP_AGET_WIDE.S13 GET_VREG(r1, r3) @ r1<- vCC (requested index)
17 add r0, r0, r1, lsl #3 @ r0<- arrayObj + index*width
18 cmp r1, r3 @ compare unsigned index, length
20 b common_errArrayIndex @ index >= length, bail
H A DOP_APUT_WIDE.S11 GET_VREG(r1, r3) @ r1<- vCC (requested index)
15 add r0, r0, r1, lsl #3 @ r0<- arrayObj + index*width
16 cmp r1, r3 @ compare unsigned index, length
19 b common_errArrayIndex @ index >= length, bail
/dalvik/vm/mterp/armv5te/
H A DOP_AGET_WIDE.S13 GET_VREG(r1, r3) @ r1<- vCC (requested index)
17 add r0, r0, r1, lsl #3 @ r0<- arrayObj + index*width
18 cmp r1, r3 @ compare unsigned index, length
20 b common_errArrayIndex @ index >= length, bail
H A DOP_APUT_WIDE.S13 GET_VREG(r1, r3) @ r1<- vCC (requested index)
17 add r0, r0, r1, lsl #3 @ r0<- arrayObj + index*width
18 cmp r1, r3 @ compare unsigned index, length
21 b common_errArrayIndex @ index >= length, bail
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/util/
H A DAbstractCollectionTest.java179 int index;
181 return index < values.length;
185 return values[index++];
189 removed[index - 1] = values[index - 1];
227 int index;
229 return index < values.length;
233 return values[index++];
237 removed[index - 1] = values[index
[all...]
/dalvik/libcore/luni/src/test/java/tests/api/java/util/
H A DAbstractSequentialListTest.java52 public ListIterator<E> listIterator(int index) { argument
53 return l.listIterator(index);
172 public ListIterator listIterator(int index) {
205 public ListIterator listIterator(int index) {
262 public ListIterator listIterator(int index) {
282 public ListIterator listIterator(int index) {
341 public ListIterator listIterator(int index) {
342 currPos = index;
422 public ListIterator listIterator(int index) {
437 public ListIterator listIterator(int index) {
[all...]
/dalvik/libcore/xml/src/main/java/org/w3c/dom/
H A DNamedNodeMap.java31 * also be accessed by an ordinal index, but this is simply to allow
91 * Returns the <code>index</code>th item in the map. If <code>index</code>
94 * @param index Index into this map.
95 * @return The node at the <code>index</code>th position in the map, or
96 * <code>null</code> if that is not a valid index.
98 public Node item(int index); argument
/dalvik/libcore/luni/src/main/java/java/lang/
H A DCharacter.java1708 * Returns the code point at {@code index} in the specified sequence of
1709 * character units. If the unit at {@code index} is a high-surrogate unit,
1710 * {@code index + 1} is less than the length of the sequence and the unit at
1711 * {@code index + 1} is a low-surrogate unit, then the supplementary code
1713 * value at {@code index} is returned.
1717 * @param index
1720 * @return the Unicode code point or {@code char} value at {@code index} in
1723 * if the {@code index} is negative or greater than or equal to
1727 public static int codePointAt(CharSequence seq, int index) { argument
1732 if (index <
1767 codePointAt(char[] seq, int index) argument
1810 codePointAt(char[] seq, int index, int limit) argument
1846 codePointBefore(CharSequence seq, int index) argument
1886 codePointBefore(char[] seq, int index) argument
1931 codePointBefore(char[] seq, int index, int start) argument
2140 offsetByCodePoints(CharSequence seq, int index, int codePointOffset) argument
2222 offsetByCodePoints(char[] seq, int start, int count, int index, int codePointOffset) argument
[all...]
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/modes/
H A DCCMBlockCipher.java108 int index = inOff;
117 while (index < inLen - blockSize) // S1...
119 ctrCipher.processBlock(in, index, out, outOff);
121 index += blockSize;
126 System.arraycopy(in, index, block, 0, inLen - index);
130 System.arraycopy(block, 0, out, outOff, inLen - index);
132 outOff += inLen - index;
138 int index = inOff;
154 ctrCipher.processBlock(in, index, ou
[all...]

Completed in 762 milliseconds

1234567891011