Lines Matching refs:descriptor

137 bool DexFileVerifier::CheckShortyDescriptorMatch(char shorty_char, const char* descriptor,  in CheckShortyDescriptorMatch()  argument
154 if (UNLIKELY((descriptor[0] != shorty_char) || (descriptor[1] != '\0'))) { in CheckShortyDescriptorMatch()
156 shorty_char, descriptor); in CheckShortyDescriptorMatch()
161 if (UNLIKELY((descriptor[0] != 'L') && (descriptor[0] != '['))) { in CheckShortyDescriptorMatch()
162 ErrorStringPrintf("Shorty vs. type mismatch: '%c', '%s'", shorty_char, descriptor); in CheckShortyDescriptorMatch()
1493 LOAD_STRING(descriptor, item->descriptor_idx_, "inter_type_id_item descriptor_idx") in CheckInterTypeIdItem()
1496 if (UNLIKELY(!IsValidDescriptor(descriptor))) { in CheckInterTypeIdItem()
1497 ErrorStringPrintf("Invalid type descriptor: '%s'", descriptor); in CheckInterTypeIdItem()
1538 const char* descriptor = it.GetDescriptor(); in CheckInterProtoIdItem() local
1539 if (!CheckShortyDescriptorMatch(*shorty, descriptor, false)) { in CheckInterProtoIdItem()
1606 LOAD_STRING(descriptor, item->name_idx_, "inter_field_id_item name_idx") in CheckInterFieldIdItem()
1607 if (UNLIKELY(!IsValidMemberName(descriptor))) { in CheckInterFieldIdItem()
1608 ErrorStringPrintf("Invalid field name: '%s'", descriptor); in CheckInterFieldIdItem()
1647 LOAD_STRING(descriptor, item->name_idx_, "inter_method_id_item name_idx") in CheckInterMethodIdItem()
1648 if (UNLIKELY(!IsValidMemberName(descriptor))) { in CheckInterMethodIdItem()
1649 ErrorStringPrintf("Invalid method name: '%s'", descriptor); in CheckInterMethodIdItem()