Home
last modified time | relevance | path

Searched refs:targetLen (Results 1 – 2 of 2) sorted by relevance

/dalvik/tools/dexdeps/src/com/android/dexdeps/
DOutput.java273 int targetLen = descr.length(); in descriptorToDot() local
278 while (targetLen > 1 && descr.charAt(offset) == '[') { in descriptorToDot()
280 targetLen--; in descriptorToDot()
284 if (targetLen == 1) { in descriptorToDot()
287 targetLen = descr.length(); in descriptorToDot()
290 if (targetLen >= 2 && descr.charAt(offset) == 'L' && in descriptorToDot()
291 descr.charAt(offset+targetLen-1) == ';') in descriptorToDot()
293 targetLen -= 2; /* two fewer chars to copy */ in descriptorToDot()
298 char[] buf = new char[targetLen + arrayDepth * 2]; in descriptorToDot()
302 for (i = 0; i < targetLen; i++) { in descriptorToDot()
/dalvik/dexdump/
DDexDump.cpp136 int targetLen = strlen(str); in descriptorToDot() local
142 while (targetLen > 1 && str[offset] == '[') { in descriptorToDot()
144 targetLen--; in descriptorToDot()
148 if (targetLen == 1) { in descriptorToDot()
152 targetLen = strlen(str); in descriptorToDot()
155 if (targetLen >= 2 && str[offset] == 'L' && in descriptorToDot()
156 str[offset+targetLen-1] == ';') in descriptorToDot()
158 targetLen -= 2; in descriptorToDot()
163 newStr = (char*)malloc(targetLen + arrayDepth * 2 +1); in descriptorToDot()
167 for (i = 0; i < targetLen; i++) { in descriptorToDot()
[all …]