Lines Matching refs:name

107   const std::string name(this->GetDescriptor(&name_storage));  in IsMirrored()  local
108 return mirror_types.find(name) != mirror_types.end(); in IsMirrored()
111 ObjPtr<mirror::Class> Class::GetPrimitiveClass(ObjPtr<mirror::String> name) { in GetPrimitiveClass() argument
114 if (name != nullptr && name->GetLength() >= 2) { in GetPrimitiveClass()
117 char hash = name->CharAt(0) ^ ((name->CharAt(1) & 0x10) << 1); in GetPrimitiveClass()
131 if (expected_name != nullptr && name->Equals(expected_name)) { in GetPrimitiveClass()
137 if (name == nullptr) { in GetPrimitiveClass()
141 self->ThrowNewException("Ljava/lang/ClassNotFoundException;", name->ToModifiedUtf8().c_str()); in GetPrimitiveClass()
377 ObjPtr<String> name = h_this->GetName(); in ComputeName() local
378 if (name != nullptr) { in ComputeName()
379 return name; in ComputeName()
401 name = String::AllocFromModifiedUtf8(self, c_name); in ComputeName()
405 name = String::AllocFromModifiedUtf8(self, DescriptorToDot(descriptor).c_str()); in ComputeName()
407 h_this->SetName(name); in ComputeName()
408 return name; in ComputeName()
559 std::string_view name, in FindInterfaceMethodWithSignature() argument
570 if (method.GetNameView() == name && method.GetSignature() == signature) { in FindInterfaceMethodWithSignature()
582 if (method.GetNameView() == name && method.GetSignature() == signature) { in FindInterfaceMethodWithSignature()
594 method.GetNameView() == name && method.GetSignature() == signature) { in FindInterfaceMethodWithSignature()
602 ArtMethod* Class::FindInterfaceMethod(std::string_view name, in FindInterfaceMethod() argument
605 return FindInterfaceMethodWithSignature(this, name, signature, pointer_size); in FindInterfaceMethod()
608 ArtMethod* Class::FindInterfaceMethod(std::string_view name, in FindInterfaceMethod() argument
611 return FindInterfaceMethodWithSignature(this, name, signature, pointer_size); in FindInterfaceMethod()
620 std::string_view name = dex_file.StringViewByIdx(method_id.name_idx_); in FindInterfaceMethod() local
622 return FindInterfaceMethod(name, signature, pointer_size); in FindInterfaceMethod()
661 std::string_view name, in FindClassMethodWithSignature() argument
668 if (np_method->GetName() == name && np_method->GetSignature() == signature) { in FindClassMethodWithSignature()
681 if (method.GetName() == name && method.GetSignature() == signature) { in FindClassMethodWithSignature()
706 if (method.GetName() == name && method.GetSignature() == signature) { in FindClassMethodWithSignature()
715 ArtMethod* Class::FindClassMethod(std::string_view name, in FindClassMethod() argument
718 return FindClassMethodWithSignature(this, name, signature, pointer_size); in FindClassMethod()
721 ArtMethod* Class::FindClassMethod(std::string_view name, in FindClassMethod() argument
724 return FindClassMethodWithSignature(this, name, signature, pointer_size); in FindClassMethod()
748 std::string_view name; // Delay strlen() until actually needed. in FindClassMethod() local
751 DCHECK(name.empty()); in FindClassMethod()
754 name = dex_file.GetMethodName(method_id, &length); in FindClassMethod()
759 if (length == other_length && name == other_name && signature == method.GetSignature()) { in FindClassMethod()
785 if (!declared_methods.empty() && name.empty()) { in FindClassMethod()
786 name = dex_file.StringDataByIdx(method_id.name_idx_); in FindClassMethod()
789 if (method.GetName() == name && method.GetSignature() == signature) { in FindClassMethod()
813 if (!copied_methods.empty() && name.empty()) { in FindClassMethod()
814 name = dex_file.StringDataByIdx(method_id.name_idx_); in FindClassMethod()
817 if (method.GetName() == name && method.GetSignature() == signature) { in FindClassMethod()
828 std::string_view name("<init>"); in FindConstructor() local
830 if (method.GetName() == name && method.GetSignature() == signature) { in FindConstructor()
837 ArtMethod* Class::FindDeclaredDirectMethodByName(std::string_view name, PointerSize pointer_size) { in FindDeclaredDirectMethodByName() argument
840 if (name == np_method->GetName()) { in FindDeclaredDirectMethodByName()
847 ArtMethod* Class::FindDeclaredVirtualMethodByName(std::string_view name, PointerSize pointer_size) { in FindDeclaredVirtualMethodByName() argument
850 if (name == np_method->GetName()) { in FindDeclaredVirtualMethodByName()
935 std::string_view name, in FindFieldByNameAndType() argument
952 int result = std::string_view(field.GetName()).compare(name); in FindFieldByNameAndType()
968 if (name == field.GetName() && type == field.GetTypeDescriptor()) { in FindFieldByNameAndType()
978 ArtField* Class::FindDeclaredInstanceField(std::string_view name, std::string_view type) { in FindDeclaredInstanceField() argument
980 return FindFieldByNameAndType(GetIFieldsPtr(), name, type); in FindDeclaredInstanceField()
994 ArtField* Class::FindInstanceField(std::string_view name, std::string_view type) { in FindInstanceField() argument
998 ArtField* f = c->FindDeclaredInstanceField(name, type); in FindInstanceField()
1018 ArtField* Class::FindDeclaredStaticField(std::string_view name, std::string_view type) { in FindDeclaredStaticField() argument
1020 return FindFieldByNameAndType(GetSFieldsPtr(), name, type); in FindDeclaredStaticField()
1036 std::string_view name, in FindStaticField() argument
1042 ArtField* f = k->FindDeclaredStaticField(name, type); in FindStaticField()
1050 f = FindStaticField(self, interface, name, type); in FindStaticField()
1087 std::string_view name, in FindField() argument
1092 ArtField* f = k->FindDeclaredInstanceField(name, type); in FindField()
1096 f = k->FindDeclaredStaticField(name, type); in FindField()
1104 f = FindStaticField(self, interface, name, type); in FindField()
1162 ObjPtr<mirror::String> name = klass->GetName<kVerifyNone, kWithoutReadBarrier>(); in GetDescriptor() local
1163 DCHECK(name != nullptr); in GetDescriptor()
1164 *storage = DotToDescriptor(name->ToModifiedUtf8().c_str()); in GetDescriptor()
1454 ObjPtr<String> name, in GetDeclaredMethodInternal() argument
1465 auto h_method_name = hs.NewHandle(name); in GetDeclaredMethodInternal()
1548 ObjPtr<String> name,
1555 ObjPtr<String> name,