Home
last modified time | relevance | path

Searched refs:cur (Results 1 – 17 of 17) sorted by relevance

/dalvik/libdex/
DLeb128.h36 int cur = *(ptr++); in readUnsignedLeb128() local
37 result = (result & 0x7f) | ((cur & 0x7f) << 7); in readUnsignedLeb128()
38 if (cur > 0x7f) { in readUnsignedLeb128()
39 cur = *(ptr++); in readUnsignedLeb128()
40 result |= (cur & 0x7f) << 14; in readUnsignedLeb128()
41 if (cur > 0x7f) { in readUnsignedLeb128()
42 cur = *(ptr++); in readUnsignedLeb128()
43 result |= (cur & 0x7f) << 21; in readUnsignedLeb128()
44 if (cur > 0x7f) { in readUnsignedLeb128()
50 cur = *(ptr++); in readUnsignedLeb128()
[all …]
/dalvik/libcore/auth/src/main/java/javax/security/auth/
DSubjectDomainCombiner.java99 int cur = 0; in combine() local
105 for (cur = 0; cur < currentDomains.length; cur++) { in combine()
107 newPD = new ProtectionDomain(currentDomains[cur].getCodeSource(), in combine()
108 currentDomains[cur].getPermissions(), currentDomains[cur] in combine()
110 pd[cur] = newPD; in combine()
116 System.arraycopy(assignedDomains, 0, pd, cur, assignedDomains.length); in combine()
/dalvik/libcore/logging/src/main/java/java/util/logging/
DFileHandler.java282 int cur = 0;
301 while ((next = pattern.indexOf('%', cur)) >= 0) {
305 sb.append(value, cur, next - cur - 1).append(gen);
309 sb.append(value, cur, next - cur - 1).append(uniqueID);
317 sb.append(value, cur, next - cur - 1).append(tempPath);
323 sb.append(value, cur, next - cur - 1).append(homePath);
329 sb.append(value, cur, next - cur - 1).append('%');
332 sb.append(value, cur, next - cur);
334 cur = ++next;
340 sb.append(value, cur, value.length - cur);
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/x509/tsp/
DPKIFailureInfo.java115 for (PKIFailureInfo cur : values()) in getMaxValue()
116 if (cur.value > maxValue) { in getMaxValue()
117 maxValue = cur.value; in getMaxValue()
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/asn1/
DASN1Type.java199 for (int cur = out.length >> 8; cur > 0; len++) { in getEncodedLength()
200 cur = cur >> 8; in getEncodedLength()
/dalvik/dx/src/com/android/dx/dex/code/
DPositionList.java74 SourcePosition cur = noInfo; in make() local
90 if (pos.equals(noInfo) || pos.sameLine(cur)) { in make()
98 cur = pos; in make()
/dalvik/dx/src/com/android/dx/dex/file/
DDebugInfoDecoder.java604 int cur; in readSignedLeb128() local
609 cur = bs.read(); in readSignedLeb128()
610 result |= (cur & 0x7f) << (count * 7); in readSignedLeb128()
613 } while (((cur & 0x80) == 0x80) && count < 5); in readSignedLeb128()
615 if ((cur & 0x80) == 0x80) { in readSignedLeb128()
638 int cur; in readUnsignedLeb128() local
642 cur = bs.read(); in readUnsignedLeb128()
643 result |= (cur & 0x7f) << (count * 7); in readUnsignedLeb128()
645 } while (((cur & 0x80) == 0x80) && count < 5); in readUnsignedLeb128()
647 if ((cur & 0x80) == 0x80) { in readUnsignedLeb128()
/dalvik/dx/src/com/android/dx/ssa/
DSsaMethod.java746 SsaBasicBlock cur = stack.pop(); in forEachBlockDepthFirst() local
749 if (!visited.get(cur.getIndex())) { in forEachBlockDepthFirst()
751 = reverse ? cur.getPredecessors() : cur.getSuccessors(); in forEachBlockDepthFirst()
754 stack.add(cur); in forEachBlockDepthFirst()
757 visited.set(cur.getIndex()); in forEachBlockDepthFirst()
758 v.visitBlock(cur, parent); in forEachBlockDepthFirst()
777 SsaBasicBlock cur = stack.pop(); in forEachBlockDepthFirstDom() local
778 ArrayList<SsaBasicBlock> curDomChildren = cur.getDomChildren(); in forEachBlockDepthFirstDom()
780 if (!visited.get(cur.getIndex())) { in forEachBlockDepthFirstDom()
786 visited.set(cur.getIndex()); in forEachBlockDepthFirstDom()
[all …]
DSsaRenamer.java411 RegisterSpec cur = currentMapping[i]; in addMapping() local
413 if (ssaRegNum == cur.getReg()) { in addMapping()
428 RegisterSpec cur = currentMapping[i]; in addMapping() local
430 if (ssaRegNum != cur.getReg() in addMapping()
431 && ssaRegLocal.equals(cur.getLocalItem())) { in addMapping()
432 currentMapping[i] = cur.withLocalItem(null); in addMapping()
/dalvik/vm/
DPointerSet.c39 const void* cur = pSet->list[i]; in verifySorted() local
40 if (cur < last) in verifySorted()
42 last = cur; in verifySorted()
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/provider/cert/
DX509CertFactoryImpl.java851 int cur = pos % BUFF_SIZE; in read() local
853 if (cur < bar) { in read()
856 return buff[cur]; in read()
859 if (cur != end) { in read()
862 buff[cur] = inStream.read(); in read()
863 bar = cur+1; in read()
865 return buff[cur]; in read()
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/x509/
DDNParser.java55 protected int cur; field in DNParser
254 cur = end; in escapedAV()
265 return new String(chars, beg, cur - beg); in escapedAV()
/dalvik/vm/reflect/
DAnnotation.c1567 u4 cur; in getMethodIdx() local
1571 cur = (lo + hi) / 2; in getMethodIdx()
1573 cmp = compareMethodStr(pDexFile, cur, method); in getMethodIdx()
1575 lo = cur + 1; in getMethodIdx()
1577 hi = cur - 1; in getMethodIdx()
1592 return cur; in getMethodIdx()
1848 u4 cur; in getFieldIdx() local
1852 cur = (lo + hi) / 2; in getFieldIdx()
1854 cmp = compareFieldStr(pDexFile, cur, field); in getFieldIdx()
1856 lo = cur + 1; in getFieldIdx()
[all …]
/dalvik/libcore/text/src/main/java/java/text/
DDecimalFormat.java830 final Currency cur = dform.getCurrency(); in getCurrency() local
831 final String code = (cur == null) ? "XXX" : cur.getCurrencyCode(); //$NON-NLS-1$ in getCurrency()
/dalvik/libcore/text/src/test/java/org/apache/harmony/text/tests/java/text/
DDateFormatTest.java985 char[] cur = df.format(current).toCharArray(); in test_parseObjectLjava_lang_StringLjava_text_ParsePosition() local
986 cur[cur.length / 2] = 'Z'; in test_parseObjectLjava_lang_StringLjava_text_ParsePosition()
987 String partialCorrect = new String(cur); in test_parseObjectLjava_lang_StringLjava_text_ParsePosition()
992 pp.getErrorIndex() == cur.length / 2); in test_parseObjectLjava_lang_StringLjava_text_ParsePosition()
DMessageFormatTest.java1260 char[] cur = result.toCharArray(); in test_parseObjectLjava_lang_StringLjavajava_text_ParsePosition() local
1261 cur[cur.length / 2] = 'Z'; in test_parseObjectLjava_lang_StringLjavajava_text_ParsePosition()
1262 String partialCorrect = new String(cur); in test_parseObjectLjava_lang_StringLjavajava_text_ParsePosition()
1267 pp.getErrorIndex() == cur.length / 2); in test_parseObjectLjava_lang_StringLjavajava_text_ParsePosition()
/dalvik/vm/analysis/
DRegisterMap.c1311 int prev, cur, bit; in computeMapStats() local
1314 cur = dataStart[regByte]; in computeMapStats()
1317 if (((prev >> bit) & 1) != ((cur >> bit) & 1)) { in computeMapStats()
1334 prev, cur); in computeMapStats()