Home
last modified time | relevance | path

Searched refs:len (Results 1 – 25 of 40) 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 StringBuffer sb = new StringBuffer(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/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()
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()
DTwoColumnOutput.java235 int len = buf.length(); in appendNewlineIfNecessary() local
237 if ((len != 0) && (buf.charAt(len - 1) != '\n')) { in appendNewlineIfNecessary()
/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()
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()
DTwoColumnOutput.java235 int len = buf.length(); in appendNewlineIfNecessary() local
237 if ((len != 0) && (buf.charAt(len - 1) != '\n')) { in appendNewlineIfNecessary()
/dalvik/tools/hprof-conv/
DHprofConv.c322 static int computeClassDumpLen(const unsigned char* origBuf, int len) in computeClassDumpLen() argument
330 len -= blockLen; in computeClassDumpLen()
332 if (len < 0) in computeClassDumpLen()
337 len -= 2; in computeClassDumpLen()
351 len -= 2 + 1 + basicLen; in computeClassDumpLen()
352 if (len < 0) in computeClassDumpLen()
358 len -= 2; in computeClassDumpLen()
372 len -= kIdentSize + 1 + basicLen; in computeClassDumpLen()
373 if (len < 0) in computeClassDumpLen()
379 len -= 2; in computeClassDumpLen()
[all …]
/dalvik/tools/dmtracedump/
DCreateTestTrace.c86 char *strndup(const char *src, size_t len) in strndup() argument
88 char *dest = (char *) malloc(len + 1); in strndup()
89 strncpy(dest, src, len); in strndup()
90 dest[len] = 0; in strndup()
122 int len; in parseInputFile() local
223 len = cp - save_cp; in parseInputFile()
224 records[nextRecord].fullName = strndup(save_cp, len); in parseInputFile()
232 len = cp - save_cp; in parseInputFile()
233 if (len > 0) in parseInputFile()
234 records[nextRecord].className = strndup(save_cp, len); in parseInputFile()
[all …]
/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()
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/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.java124 public void parsed(ByteArray bytes, int offset, int len, String human) { in parsed() argument
138 String hex = rawBytes ? hexDump(offset, len) : ""; in parsed()
140 at += len; in parsed()
261 protected final String hexDump(int offset, int len) { in hexDump() argument
262 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()
237 int len; in regularDump() local
238 for (int j = start; j < end; j += len) { in regularDump()
239 len = code.parseInstruction(j, codeObserver); in regularDump()
/dalvik/dx/src/com/android/dx/command/
DMain.java183 int len = orig.length - 1; in without() local
184 String[] newa = new String[len]; in without()
186 System.arraycopy(orig, n + 1, newa, n, len - n); in without()
/dalvik/libdex/
Dsha1.h17 unsigned long len);
DCmdUtils.cpp114 int len = strlen(fileName); in dexOpenAndMap() local
119 if (len < 5) { in dexOpenAndMap()
128 if (strcasecmp(fileName + len -3, "dex") != 0) { in dexOpenAndMap()
/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/cf/code/
DOneLocalsArray.java81 int len = locals.length; in makeInitialized() local
83 if (len == 0) { in makeInitialized()
92 for (int i = 0; i < len; i++) { in makeInitialized()
/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/dex/code/
DStdCatchBuilder.java123 int len = order.length; in build() local
126 new ArrayList<CatchTable.Entry>(len); in build()
131 for (int i = 0; i < len; i++) { in build()

12