Home
last modified time | relevance | path

Searched refs:IsValidDescriptor (Results 1 – 5 of 5) sorted by relevance

/art/libdexfile/dex/
Ddescriptors_names_test.cc85 TEST_F(DescriptorsNamesTest, IsValidDescriptor) { in TEST_F() argument
88 EXPECT_TRUE(IsValidDescriptor(reinterpret_cast<char*>(&descriptor[0]))); in TEST_F()
92 EXPECT_FALSE(IsValidDescriptor(reinterpret_cast<char*>(&unpaired_surrogate[0]))); in TEST_F()
96 EXPECT_FALSE(IsValidDescriptor(reinterpret_cast<char*>(&unpaired_surrogate_at_end[0]))); in TEST_F()
100 EXPECT_FALSE(IsValidDescriptor(reinterpret_cast<char*>(&invalid_surrogate[0]))); in TEST_F()
105 IsValidDescriptor(reinterpret_cast<char*>(&unpaired_surrogate_with_multibyte_sequence[0]))); in TEST_F()
Ddescriptors_names.h55 bool IsValidDescriptor(const char* s); // "Ljava/lang/String;"
Ddescriptors_names.cc404 bool IsValidDescriptor(const char* s) { in IsValidDescriptor() function
Ddex_file_verifier.cc2201 if (UNLIKELY(!IsValidDescriptor(descriptor))) { in CheckInterTypeIdItem()
2307 if (UNLIKELY(!IsValidDescriptor(class_descriptor) || class_descriptor[0] != 'L')) { in CheckInterFieldIdItem()
2314 if (UNLIKELY(!IsValidDescriptor(type_descriptor) || type_descriptor[0] == 'V')) { in CheckInterFieldIdItem()
2354 if (UNLIKELY(!IsValidDescriptor(class_descriptor) || (class_descriptor[0] != 'L' && in CheckInterMethodIdItem()
2419 if (UNLIKELY(!IsValidDescriptor(class_descriptor) || class_descriptor[0] != 'L')) { in CheckInterClassDefItem()
2476 if (UNLIKELY(!IsValidDescriptor(superclass_descriptor) || superclass_descriptor[0] != 'L')) { in CheckInterClassDefItem()
2517 if (UNLIKELY(!IsValidDescriptor(inf_descriptor) || inf_descriptor[0] != 'L')) { in CheckInterClassDefItem()
/art/runtime/verifier/
Dreg_type_cache.cc222 if (IsValidDescriptor(descriptor)) { in From()