Home
last modified time | relevance | path

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

/art/runtime/
Dutils_test.cc391 TEST_F(UtilsTest, IsValidDescriptor) { in TEST_F() argument
394 EXPECT_TRUE(IsValidDescriptor(reinterpret_cast<char*>(&descriptor[0]))); in TEST_F()
398 EXPECT_FALSE(IsValidDescriptor(reinterpret_cast<char*>(&unpaired_surrogate[0]))); in TEST_F()
402 EXPECT_FALSE(IsValidDescriptor(reinterpret_cast<char*>(&unpaired_surrogate_at_end[0]))); in TEST_F()
406 EXPECT_FALSE(IsValidDescriptor(reinterpret_cast<char*>(&invalid_surrogate[0]))); in TEST_F()
411 IsValidDescriptor(reinterpret_cast<char*>(&unpaired_surrogate_with_multibyte_sequence[0]))); in TEST_F()
Dutils.h118 bool IsValidDescriptor(const char* s); // "Ljava/lang/String;"
Ddex_file_verifier.cc2033 if (UNLIKELY(!IsValidDescriptor(descriptor))) { in CheckInterTypeIdItem()
2139 if (UNLIKELY(!IsValidDescriptor(class_descriptor) || class_descriptor[0] != 'L')) { in CheckInterFieldIdItem()
2146 if (UNLIKELY(!IsValidDescriptor(type_descriptor) || type_descriptor[0] == 'V')) { in CheckInterFieldIdItem()
2186 if (UNLIKELY(!IsValidDescriptor(class_descriptor) || (class_descriptor[0] != 'L' && in CheckInterMethodIdItem()
2251 if (UNLIKELY(!IsValidDescriptor(class_descriptor) || class_descriptor[0] != 'L')) { in CheckInterClassDefItem()
2308 if (UNLIKELY(!IsValidDescriptor(superclass_descriptor) || superclass_descriptor[0] != 'L')) { in CheckInterClassDefItem()
2349 if (UNLIKELY(!IsValidDescriptor(inf_descriptor) || inf_descriptor[0] != 'L')) { in CheckInterClassDefItem()
Dutils.cc668 bool IsValidDescriptor(const char* s) { in IsValidDescriptor() function
/art/runtime/verifier/
Dreg_type_cache.cc214 if (IsValidDescriptor(descriptor)) { in From()