/dalvik/libdex/ |
H A D | DexProto.cpp | 185 const char* descriptor = dexParameterIteratorNextDescriptor(&iterator); local 186 if (descriptor == NULL) { 190 length += strlen(descriptor); 199 const char* descriptor = dexParameterIteratorNextDescriptor(&iterator); local 200 if (descriptor == NULL) { 204 strcpy(at, descriptor); 205 at += strlen(descriptor); 330 * descriptor from a method descriptor string. 332 static const char* methodDescriptorReturnType(const char* descriptor) { argument 349 methodDescriptorNextType(const char* descriptor) argument 380 protoCompareToParameterDescriptors(const DexProto* proto, const char* descriptor, bool expectParens) argument 443 dexProtoCompareToDescriptor(const DexProto* proto, const char* descriptor) argument [all...] |
H A D | DexProto.h | 95 * Get the short-form method descriptor for the given prototype. The 101 * Get the full method descriptor for the given prototype. 107 * Get a copy of the descriptor string associated with the given prototype. 121 * Return the utf-8 encoded descriptor string from the proto of a MethodId. 133 * Get a copy of the utf-8 encoded method descriptor string from the 147 * Get the type descriptor for the return type of the given prototype. 184 * Compare a prototype and a string method descriptor. The comparison 185 * is done as if the descriptor were converted to a prototype and compared 188 int dexProtoCompareToDescriptor(const DexProto* proto, const char* descriptor); 223 * Get the type descriptor fo [all...] |
H A D | DexSwapVerify.cpp | 592 const char* descriptor = local 595 if (!dexIsValidTypeDescriptor(descriptor)) { 596 ALOGE("Invalid type descriptor: '%s'", descriptor); 626 * to see if it is compatible with a type descriptor. Returns true if 628 static bool shortyDescMatch(char shorty, const char* descriptor, bool argument 646 if ((descriptor[0] != shorty) || (descriptor[1] != '\0')) { 648 shorty, descriptor); 654 if ((descriptor[ 971 const char* descriptor = dexStringByTypeIdx(state->pDexFile, classIdx); local 2285 const char* descriptor = dexStringByTypeIdx(state->pDexFile, idx); local [all...] |
/dalvik/vm/ |
H A D | AllocTracker.cpp | 334 dvmPointerSetAddEntry(classNames, pRec->clazz->descriptor); 343 dvmPointerSetAddEntry(classNames, method->clazz->descriptor); 407 dvmPointerSetFind(classNames, pRec->clazz->descriptor)); 424 method->clazz->descriptor)); 621 pRec->threadId, pRec->size, pRec->clazz->descriptor); 631 method->clazz->descriptor, method->name); 634 method->clazz->descriptor, method->name,
|
H A D | CheckJni.cpp | 57 * shortcut here and allow the call to succeed if the descriptor strings 74 ALOGW(" in %s.%s:%s", method->clazz->descriptor, method->name, desc); 87 const char* objType = objClazz->descriptor; 91 method->clazz->descriptor, method->name, objType, declType); 109 method->clazz->descriptor, method->name, declType); 117 method->clazz->descriptor, method->name); 122 method->clazz->descriptor, method->name, objType, declType); 313 field->name, field->signature, objClass->descriptor); 365 fieldID, obj->clazz->descriptor); 402 ALOGW(" calling %s.%s %s", method->clazz->descriptor, metho [all...] |
H A D | Debugger.cpp | 313 ALOGV("+++ registering %p (%s)", obj, obj->clazz->descriptor); 508 * Get the class's type descriptor from a reference type ID. 515 return clazz->descriptor; 635 LOGVV(" match '%s'", clazz->descriptor); 651 return clazz->descriptor; 665 if (clazz->descriptor[0] == '[') { 827 * Return a basic tag value based solely on a type descriptor. 833 static u1 basicTagFromDescriptor(const char* descriptor) argument 835 return descriptor[0]; 917 u1 tag = basicTagFromDescriptor(arrayClass->descriptor 1381 variableTableCb(void *cnxt, u2 reg, u4 startAddress, u4 endAddress, const char *name, const char *descriptor, const char *signature) argument 2749 const char* descriptor = dexProtoGetReturnType(&method->prototype); local [all...] |
H A D | Exception.cpp | 130 excepClass->descriptor); 131 if (strcmp(excepClass->descriptor, "Ljava/lang/InternalError;") == 0) 151 excepClass->descriptor, msg != NULL ? msg : "(no msg)"); 161 excepClass->descriptor, msg); 274 msg, excepClass->descriptor); 282 cause->clazz->descriptor); 371 excepClass->descriptor, msg, initKind); 372 assert(strcmp(excepClass->descriptor, 413 self->exception->clazz->descriptor, exception->clazz->descriptor); 1248 dvmThrowClassCircularityError(const char* descriptor) argument 1341 dvmThrowIncompatibleClassChangeErrorWithClassMessage( const char* descriptor) argument 1372 dvmThrowNoClassDefFoundError(const char* descriptor) argument 1377 dvmThrowChainedNoClassDefFoundError(const char* descriptor, Object* cause) argument 1424 dvmThrowTypeNotPresentException(const char* descriptor) argument 1446 dvmThrowVerifyError(const char* descriptor) argument [all...] |
H A D | Exception.h | 72 * human-readable form for a descriptor. 80 * and turn the given message into the human-readable form for a descriptor. 261 * human-readable form of the given descriptor as the detail message. 263 void dvmThrowClassCircularityError(const char* descriptor); 346 * human-readable form of the given descriptor as the detail message. 349 const char* descriptor); 385 * human-readable form of the given descriptor as the detail message. 387 extern "C" void dvmThrowNoClassDefFoundError(const char* descriptor); 391 * cause, and the human-readable form of the given descriptor as the 394 void dvmThrowChainedNoClassDefFoundError(const char* descriptor, [all...] |
H A D | InitRefs.cpp | 159 ALOGE("Could not find essential field %s.%s of type %s", clazz->descriptor, name, type); 183 { &gDvm.offJavaIoFileDescriptor_descriptor, "descriptor", "I" }, 298 const char* name, const char* descriptor) { 299 Method* method = dvmFindDirectMethodByDescriptor(clazz, name, descriptor); 302 ALOGE("Could not find essential direct method %s.%s with descriptor %s", 303 clazz->descriptor, name, descriptor); 312 const char* name, const char* descriptor) { 320 return initDirectMethodReferenceByClass(pMethod, clazz, name, descriptor); 324 static struct { Method** method; const char* name; const char* descriptor; } constructor member in struct:__anon25 297 initDirectMethodReferenceByClass(Method** pMethod, ClassObject* clazz, const char* name, const char* descriptor) argument 311 initDirectMethodReference(Method** pMethod, const char* className, const char* name, const char* descriptor) argument 358 const char* descriptor; member in struct:__anon26 394 initVirtualMethodOffset(int* pOffset, const char* className, const char* name, const char* descriptor) argument 420 const char* descriptor; member in struct:__anon27 [all...] |
H A D | InlineNative.cpp | 836 clazz->descriptor, methodName, methodSignature); 845 clazz->descriptor, method->name); 851 clazz->descriptor, method->name); 889 method->clazz->descriptor, method->name, desc);
|
H A D | Jni.cpp | 176 (strcmp(meth->clazz->descriptor, "Ljava/lang/Runtime;") == 0)) { 448 ALOGI("Adding global ref on class %s", clazz->descriptor); 493 dvmGetCurrentJNIMethod()->clazz->descriptor, 616 arrayObj, arrayObj->clazz->descriptor, count); 691 ALOGE("Candidate: %s.%s:%s", method->clazz->descriptor, name, desc); 699 ALOGE("Requested: %s.%s:%s", clazz->descriptor, methodName, signature); 720 ALOGV("fast JNI method %s.%s:%s detected", clazz->descriptor, methodName, signature); 733 ALOGW("Unable to register: not native: %s.%s:%s", clazz->descriptor, methodName, signature); 743 clazz->descriptor, methodName, signature); 751 clazz->descriptor, methodNam 1245 char* descriptor = dvmNameToDescriptor(name); local [all...] |
H A D | Misc.cpp | 221 std::string dvmHumanReadableDescriptor(const char* descriptor) { argument 223 const char* c = descriptor; 247 default: return descriptor; 278 std::string result(dvmHumanReadableDescriptor(obj->clazz->descriptor)); 281 result += "<" + dvmHumanReadableDescriptor(clazz->descriptor) + ">"; 291 std::string result(dvmHumanReadableDescriptor(field->clazz->descriptor)); 302 std::string result(dvmHumanReadableDescriptor(method->clazz->descriptor)); 316 * name for the given type descriptor. That is, The initial "L" and 348 * Return a newly-allocated string for the type descriptor 395 * the given type descriptor 424 char* descriptor = (char*)malloc(length + 3); local [all...] |
H A D | Misc.h | 145 * of 'descriptor'. So "I" would be "int", "[[I" would be "int[][]", 148 std::string dvmHumanReadableDescriptor(const char* descriptor); 173 * name for the given type descriptor. That is, The initial "L" and 183 * Return a newly-allocated string for the type descriptor 194 * the given type descriptor. That is, the initial "L" and final ";" (if 200 * Return a newly-allocated string for the type descriptor for the given 271 * Set the "close on exec" flag on a file descriptor.
|
H A D | Native.cpp | 96 clazz->descriptor, method->name, desc); 101 ALOGE("Failing on %s.%s", method->clazz->descriptor, method->name); 122 clazz->descriptor, method->name, desc); 531 meth->clazz->descriptor, meth->name, meth->shorty); 710 createJniNameString(meth->clazz->descriptor, meth->name, &len);
|
H A D | Profile.cpp | 313 name = dvmDescriptorToName(meth->clazz->descriptor); 326 name = dvmDescriptorToName(meth->clazz->descriptor); 357 * takes ownership of the file descriptor, closing it on completion. 903 pMagic+action, addr, method->clazz->descriptor, method->name);
|
H A D | SignalCatcher.cpp | 222 ALOGE("class %s", (*classPP)->descriptor);
|
H A D | Thread.cpp | 1602 // handlerObj->clazz->descriptor); 1609 handlerObj->clazz->descriptor);
|
/dalvik/vm/alloc/ |
H A D | Alloc.cpp | 91 static Object* createStockException(const char* descriptor, const char* msg) argument 100 clazz = dvmFindSystemClass(descriptor); 102 ALOGE("Unable to find %s", descriptor); 109 ALOGE("Unable to find String-arg constructor for %s", descriptor);
|
H A D | Copying.cpp | 883 assert(obj->obj.clazz->descriptor != NULL); 884 assert(!strcmp(obj->obj.clazz->descriptor, "Ljava/lang/Class;")); 885 assert(obj->descriptor != NULL); 886 LOG_SCAV("scavengeClassObject: descriptor='%s',vtableCount=%zu", 887 obj->descriptor, obj->vtableCount); 1222 LOG_SCAV("scavengeReferenceObject(obj=%p),'%s'", obj, obj->clazz->descriptor); 1532 method->clazz->descriptor, method->name, method); 1576 method->clazz->descriptor, method->name, method->insns); 1606 //LOG_SCAV("PGC: %s.%s", method->clazz->descriptor, method->name); 1615 method->clazz->descriptor, metho [all...] |
H A D | Visit.cpp | 140 method->clazz->descriptor, method->name,
|
H A D | VisitInlines.h | 90 assert(!strcmp(obj->clazz->descriptor, "Ljava/lang/Class;"));
|
/dalvik/vm/analysis/ |
H A D | CodeVerify.cpp | 611 * Look up a class reference given as a simple string descriptor. 646 /* We are looking at an array descriptor. */ 669 * We are looking at a non-array reference descriptor; 783 const char* descriptor; local 813 descriptor = dexParameterIteratorNextDescriptor(&iterator); 815 if (descriptor == NULL) { 821 expectedArgs, descriptor); 825 switch (*descriptor) { 838 lookupClassByDescriptor(meth, descriptor, &failure); 880 LOG_VFY("VFY: unexpected signature type char '%c'", *descriptor); 963 const char* descriptor = dexProtoGetReturnType(&meth->prototype); local 6064 logLocalsCb(void *cnxt, u2 reg, u4 startAddress, u4 endAddress, const char *name, const char *descriptor, const char *signature) argument [all...] |
H A D | DexPrepare.cpp | 125 * On success, the file descriptor will be positioned just past the "opt" 316 * Unlock the file descriptor. 328 * Given a descriptor for a file with DEX data in it, produce an 1058 clazz->descriptor);
|
H A D | DexVerify.cpp | 45 ALOGD("Ignoring duplicate verify attempt on %s", clazz->descriptor); 51 LOG_VFY("Verifier rejected class %s", clazz->descriptor); 57 LOG_VFY("Verifier rejected class %s", clazz->descriptor);
|
H A D | Liveness.cpp | 72 meth->clazz->descriptor, meth->name, meth->shorty); 738 const char* name, const char* descriptor, const char* signature) 745 startAddress, endAddress, reg, name, descriptor); 748 bool wide = (descriptor[0] == 'D' || descriptor[0] == 'J'); 789 meth->clazz->descriptor, meth->prototype.protoIdx, meth->accessFlags, 737 markLocalsCb(void* ctxt, u2 reg, u4 startAddress, u4 endAddress, const char* name, const char* descriptor, const char* signature) argument
|