Lines Matching refs:descriptor
220 bool CheckShortyDescriptorMatch(char shorty_char, const char* descriptor, bool is_return_type);
454 const char* descriptor = dex_file_->StringByTypeIdx(idx); in VerifyTypeDescriptor() local
455 ErrorStringPrintf("%s: '%s'", error_msg, descriptor); in VerifyTypeDescriptor()
461 const char* descriptor = dex_file_->StringByTypeIdx(idx); in VerifyTypeDescriptor() local
462 if (UNLIKELY(!IsValidDescriptor(descriptor))) { in VerifyTypeDescriptor()
463 ErrorStringPrintf("%s: '%s'", error_msg, descriptor); in VerifyTypeDescriptor()
466 verified_type_descriptors_[idx.index_] = descriptor[0]; in VerifyTypeDescriptor()
468 if (!extra_check(descriptor[0])) { in VerifyTypeDescriptor()
469 ErrorStringPrintf("%s: '%s'", error_msg, descriptor); in VerifyTypeDescriptor()
475 bool DexFileVerifier::CheckShortyDescriptorMatch(char shorty_char, const char* descriptor, in CheckShortyDescriptorMatch() argument
492 if (UNLIKELY((descriptor[0] != shorty_char) || (descriptor[1] != '\0'))) { in CheckShortyDescriptorMatch()
494 shorty_char, descriptor); in CheckShortyDescriptorMatch()
499 if (UNLIKELY((descriptor[0] != 'L') && (descriptor[0] != '['))) { in CheckShortyDescriptorMatch()
500 ErrorStringPrintf("Shorty vs. type mismatch: '%c', '%s'", shorty_char, descriptor); in CheckShortyDescriptorMatch()
2559 const char* descriptor = it.GetDescriptor(); in CheckInterProtoIdItem() local
2560 if (!CheckShortyDescriptorMatch(*shorty, descriptor, false)) { in CheckInterProtoIdItem()