Home
last modified time | relevance | path

Searched refs:len (Results 1 – 25 of 32) sorted by relevance

12

/dalvik/dexgen/src/com/android/dexgen/rop/code/
DRegisterSpecSet.java63 int len = specs.length; in equals() local
65 if ((len != otherSpecs.length) || (size() != otherSet.size())) { in equals()
69 for (int i = 0; i < len; i++) { in equals()
88 int len = specs.length; in hashCode() local
91 for (int i = 0; i < len; i++) { in hashCode()
103 int len = specs.length; in toString() local
104 StringBuffer sb = new StringBuffer(len * 25); in toString()
109 for (int i = 0; i < len; i++) { in toString()
145 int len = specs.length; in size() local
148 for (int i = 0; i < len; i++) { in size()
[all …]
/dalvik/dx/src/com/android/dx/rop/code/
DRegisterSpecSet.java62 int len = specs.length; in equals() local
64 if ((len != otherSpecs.length) || (size() != otherSet.size())) { in equals()
68 for (int i = 0; i < len; i++) { in equals()
87 int len = specs.length; in hashCode() local
90 for (int i = 0; i < len; i++) { in hashCode()
102 int len = specs.length; in toString() local
103 StringBuilder sb = new StringBuilder(len * 25); in toString()
108 for (int i = 0; i < len; i++) { in toString()
144 int len = specs.length; in size() local
147 for (int i = 0; i < len; i++) { in size()
[all …]
/dalvik/tools/hprof-conv/
DHprofConv.c336 static int computeClassDumpLen(const unsigned char* origBuf, int len) in computeClassDumpLen() argument
344 len -= blockLen; in computeClassDumpLen()
346 if (len < 0) in computeClassDumpLen()
351 len -= 2; in computeClassDumpLen()
365 len -= 2 + 1 + basicLen; in computeClassDumpLen()
366 if (len < 0) in computeClassDumpLen()
372 len -= 2; in computeClassDumpLen()
386 len -= kIdentSize + 1 + basicLen; in computeClassDumpLen()
387 if (len < 0) in computeClassDumpLen()
393 len -= 2; in computeClassDumpLen()
[all …]
/dalvik/dexgen/src/com/android/dexgen/util/
DIndentingWriter.java139 public void write(char[] cbuf, int off, int len) throws IOException { in write() argument
141 while (len > 0) { in write()
144 len--; in write()
151 public void write(String str, int off, int len) throws IOException { in write() argument
153 while (len > 0) { in write()
156 len--; in write()
DBits.java114 int len = bits.length; in isEmpty() local
116 for (int i = 0; i < len; i++) { in isEmpty()
132 int len = bits.length; in bitCount() local
135 for (int i = 0; i < len; i++) { in bitCount()
167 int len = bits.length; in findFirst() local
170 for (int arrayIdx = idx >> 5; arrayIdx < len; arrayIdx++) { in findFirst()
DHexParser.java45 int len = src.length(); in parse() local
46 byte[] result = new byte[len / 2]; in parse()
50 while (at < len) { in parse()
53 nlAt = len; in parse()
DTwoColumnOutput.java235 int len = buf.length(); in appendNewlineIfNecessary() local
237 if ((len != 0) && (buf.charAt(len - 1) != '\n')) { in appendNewlineIfNecessary()
DFixedSizeList.java250 int len = arr.length; in toString0() local
251 StringBuffer sb = new StringBuffer(len * 10 + 10); in toString0()
257 for (int i = 0; i < len; i++) { in toString0()
/dalvik/dx/src/com/android/dx/util/
DIndentingWriter.java139 public void write(char[] cbuf, int off, int len) throws IOException { in write() argument
141 while (len > 0) { in write()
144 len--; in write()
151 public void write(String str, int off, int len) throws IOException { in write() argument
153 while (len > 0) { in write()
156 len--; in write()
DBits.java114 int len = bits.length; in isEmpty() local
116 for (int i = 0; i < len; i++) { in isEmpty()
132 int len = bits.length; in bitCount() local
135 for (int i = 0; i < len; i++) { in bitCount()
167 int len = bits.length; in findFirst() local
170 for (int arrayIdx = idx >> 5; arrayIdx < len; arrayIdx++) { in findFirst()
DHexParser.java45 int len = src.length(); in parse() local
46 byte[] result = new byte[len / 2]; in parse()
50 while (at < len) { in parse()
53 nlAt = len; in parse()
DTwoColumnOutput.java235 int len = buf.length(); in appendNewlineIfNecessary() local
237 if ((len != 0) && (buf.charAt(len - 1) != '\n')) { in appendNewlineIfNecessary()
DFixedSizeList.java251 int len = arr.length; in toString0() local
252 StringBuilder sb = new StringBuilder(len * 10 + 10); in toString0()
258 for (int i = 0; i < len; i++) { in toString0()
/dalvik/dx/src/com/android/dx/rop/cst/
DCstString.java47 int len = string.length(); in stringToUtf8Bytes() local
48 byte[] bytes = new byte[len * 3]; // Avoid having to reallocate. in stringToUtf8Bytes()
51 for (int i = 0; i < len; i++) { in stringToUtf8Bytes()
246 int len = string.length(); in toHuman() local
247 StringBuilder sb = new StringBuilder(len * 3 / 2); in toHuman()
249 for (int i = 0; i < len; i++) { in toHuman()
269 (i < (len - 1)) ? string.charAt(i + 1) : 0; in toHuman()
/dalvik/dexgen/src/com/android/dexgen/rop/cst/
DCstUtf8.java47 int len = string.length(); in stringToUtf8Bytes() local
48 byte[] bytes = new byte[len * 3]; // Avoid having to reallocate. in stringToUtf8Bytes()
51 for (int i = 0; i < len; i++) { in stringToUtf8Bytes()
245 int len = string.length(); in toHuman() local
246 StringBuilder sb = new StringBuilder(len * 3 / 2); in toHuman()
248 for (int i = 0; i < len; i++) { in toHuman()
268 (i < (len - 1)) ? string.charAt(i + 1) : 0; in toHuman()
/dalvik/dx/src/com/android/dx/command/dump/
DBaseDumper.java132 public void parsed(ByteArray bytes, int offset, int len, String human) { in parsed() argument
137 String hex = rawBytes ? hexDump(offset, len) : ""; in parsed()
139 readBytes += len; in parsed()
251 protected final String hexDump(int offset, int len) { in hexDump() argument
252 return Hex.dump(bytes, offset, len, offset, hexCols, 4); in hexDump()
DBlockDumper.java135 public void parsed(ByteArray bytes, int offset, int len, String human) { in parsed() argument
137 super.parsed(bytes, offset, len, human); in parsed()
231 int len; in regularDump() local
232 for (int j = start; j < end; j += len) { in regularDump()
233 len = code.parseInstruction(j, codeObserver); in regularDump()
/dalvik/dx/src/com/android/dx/command/
DMain.java172 int len = orig.length - 1; in without() local
173 String[] newa = new String[len]; in without()
175 System.arraycopy(orig, n + 1, newa, n, len - n); in without()
/dalvik/dx/src/com/android/dx/cf/code/
DOneLocalsArray.java85 int len = locals.length; in makeInitialized() local
87 if (len == 0) { in makeInitialized()
96 for (int i = 0; i < len; i++) { in makeInitialized()
DByteOps.java560 int len = s.length();
562 for (int i = 0; i < len; /*i*/) {
/dalvik/dx/src/com/android/dx/cf/iface/
DParseObserver.java67 public void parsed(ByteArray bytes, int offset, int len, String human); in parsed() argument
/dalvik/dx/src/com/android/dx/dex/code/
DStdCatchBuilder.java126 int len = order.length; in build() local
129 new ArrayList<CatchTable.Entry>(len); in build()
134 for (int i = 0; i < len; i++) { in build()
/dalvik/dexgen/src/com/android/dexgen/dex/code/
DStdCatchBuilder.java124 int len = order.length; in build() local
127 new ArrayList<CatchTable.Entry>(len); in build()
132 for (int i = 0; i < len; i++) { in build()
/dalvik/dx/src/com/android/dx/cf/direct/
DClassPathOpener.java216 int len = files.length; in processDirectory() local
228 for (int i = 0; i < len; i++) { in processDirectory()
/dalvik/dx/src/com/android/dx/dex/file/
DDexFile.java764 private static void calcSignature(byte[] bytes, int len) { in calcSignature() argument
773 md.update(bytes, 32, len - 32); in calcSignature()
793 private static void calcChecksum(byte[] bytes, int len) { in calcChecksum() argument
796 a32.update(bytes, 12, len - 12); in calcChecksum()

12