Home
last modified time | relevance | path

Searched refs:targetLen (Results 1 – 3 of 3) 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.cpp128 int targetLen = strlen(str); in descriptorToDot() local
134 while (targetLen > 1 && str[offset] == '[') { in descriptorToDot()
136 targetLen--; in descriptorToDot()
140 if (targetLen == 1) { in descriptorToDot()
144 targetLen = strlen(str); in descriptorToDot()
147 if (targetLen >= 2 && str[offset] == 'L' && in descriptorToDot()
148 str[offset+targetLen-1] == ';') in descriptorToDot()
150 targetLen -= 2; in descriptorToDot()
155 newStr = (char*)malloc(targetLen + arrayDepth * 2 +1); in descriptorToDot()
159 for (i = 0; i < targetLen; i++) { in descriptorToDot()
[all …]
/dalvik/vm/jdwp/
DJdwpEvent.cpp422 int targetLen = strlen(target); in patternMatch() local
426 pattern+1, target + (targetLen-patLen)); in patternMatch()
428 if (targetLen < patLen) in patternMatch()
430 return strcmp(pattern+1, target + (targetLen-patLen)) == 0; in patternMatch()