Lines Matching refs:string_view

35 inline int DexFile::CompareDescriptors(std::string_view lhs, std::string_view rhs) {  in CompareDescriptors()
42 inline int DexFile::CompareMemberNames(std::string_view lhs, std::string_view rhs) { in CompareMemberNames()
49 inline std::string_view DexFile::StringViewFromUtf16Length(const char* utf8_data, in StringViewFromUtf16Length()
54 return std::string_view(utf8_data, utf8_length); in StringViewFromUtf16Length()
91 inline std::string_view DexFile::GetStringView(const dex::StringId& string_id) const { in GetStringView()
98 inline std::string_view DexFile::GetStringView(dex::StringIndex string_idx) const { in GetStringView()
110 inline std::string_view DexFile::GetTypeDescriptorView(const dex::TypeId& type_id) const { in GetTypeDescriptorView()
114 inline std::string_view DexFile::GetTypeDescriptorView(dex::TypeIndex type_idx) const { in GetTypeDescriptorView()
126 inline std::string_view DexFile::GetFieldDeclaringClassDescriptorView( in GetFieldDeclaringClassDescriptorView()
131 inline std::string_view DexFile::GetFieldDeclaringClassDescriptorView(uint32_t field_idx) const { in GetFieldDeclaringClassDescriptorView()
143 inline std::string_view DexFile::GetFieldTypeDescriptorView(const dex::FieldId& field_id) const { in GetFieldTypeDescriptorView()
147 inline std::string_view DexFile::GetFieldTypeDescriptorView(uint32_t field_idx) const { in GetFieldTypeDescriptorView()
159 inline std::string_view DexFile::GetFieldNameView(const dex::FieldId& field_id) const { in GetFieldNameView()
163 inline std::string_view DexFile::GetFieldNameView(uint32_t field_idx) const { in GetFieldNameView()
176 inline std::string_view DexFile::GetMethodDeclaringClassDescriptorView( in GetMethodDeclaringClassDescriptorView()
181 inline std::string_view DexFile::GetMethodDeclaringClassDescriptorView(uint32_t method_idx) const { in GetMethodDeclaringClassDescriptorView()
211 inline std::string_view DexFile::GetMethodNameView(const dex::MethodId& method_id) const { in GetMethodNameView()
216 inline std::string_view DexFile::GetMethodNameView(uint32_t method_idx) const { in GetMethodNameView()
224 inline std::string_view DexFile::GetMethodShortyView(uint32_t idx) const { in GetMethodShortyView()
238 inline std::string_view DexFile::GetMethodShortyView(const dex::MethodId& method_id) const { in GetMethodShortyView()
256 inline std::string_view DexFile::GetShortyView(dex::ProtoIndex proto_idx) const { in GetShortyView()
261 inline std::string_view DexFile::GetShortyView(const dex::ProtoId& proto_id) const { in GetShortyView()
265 return std::string_view(shorty_data, shorty_len); in GetShortyView()