/art/runtime/base/ |
D | stringpiece.cc | 24 void StringPiece::CopyToString(std::string* target) const { in CopyToString() 28 int StringPiece::copy(char* buf, size_type n, size_type pos) const { in copy() 34 StringPiece::size_type StringPiece::find(const StringPiece& s, size_type pos) const { in find() 44 int StringPiece::compare(const StringPiece& x) const { in compare() 53 StringPiece::size_type StringPiece::find(char c, size_type pos) const { in find() 61 StringPiece::size_type StringPiece::rfind(const StringPiece& s, size_type pos) const { in rfind() 71 StringPiece::size_type StringPiece::rfind(char c, size_type pos) const { in rfind() 82 StringPiece StringPiece::substr(size_type pos, size_type n) const { in substr() 85 return StringPiece(ptr_ + pos, n); in substr() 88 const StringPiece::size_type StringPiece::npos = size_type(-1); [all …]
|
D | stringpiece.h | 39 class StringPiece { 48 StringPiece() : ptr_(NULL), length_(0) { } in StringPiece() function 49 StringPiece(const char* str) // NOLINT in StringPiece() function 51 StringPiece(const std::string& str) // NOLINT in StringPiece() function 53 StringPiece(const char* offset, int len) : ptr_(offset), length_(len) { } in StringPiece() function 95 int compare(const StringPiece& x) const; 113 bool starts_with(const StringPiece& x) const { in starts_with() 119 bool ends_with(const StringPiece& x) const { in ends_with() 150 size_type find(const StringPiece& s, size_type pos = 0) const; 152 size_type rfind(const StringPiece& s, size_type pos = npos) const; [all …]
|
/art/runtime/mirror/ |
D | class.cc | 306 bool Class::IsInSamePackage(const StringPiece& descriptor1, const StringPiece& descriptor2) { in IsInSamePackage() 311 if (descriptor1.find('/', i) != StringPiece::npos || in IsInSamePackage() 312 descriptor2.find('/', i) != StringPiece::npos) { in IsInSamePackage() 361 ArtMethod* Class::FindInterfaceMethod(const StringPiece& name, const StringPiece& signature) { in FindInterfaceMethod() 379 ArtMethod* Class::FindInterfaceMethod(const StringPiece& name, const Signature& signature) { in FindInterfaceMethod() 415 ArtMethod* Class::FindDeclaredDirectMethod(const StringPiece& name, const StringPiece& signature) { in FindDeclaredDirectMethod() 425 ArtMethod* Class::FindDeclaredDirectMethod(const StringPiece& name, const Signature& signature) { in FindDeclaredDirectMethod() 447 ArtMethod* Class::FindDirectMethod(const StringPiece& name, const StringPiece& signature) { in FindDirectMethod() 457 ArtMethod* Class::FindDirectMethod(const StringPiece& name, const Signature& signature) { in FindDirectMethod() 477 ArtMethod* Class::FindDeclaredVirtualMethod(const StringPiece& name, const StringPiece& signature) { in FindDeclaredVirtualMethod() [all …]
|
D | class.h | 73 class StringPiece; variable 535 static bool IsInSamePackage(const StringPiece& descriptor1, const StringPiece& descriptor2); 754 ArtMethod* FindInterfaceMethod(const StringPiece& name, const StringPiece& signature) 757 ArtMethod* FindInterfaceMethod(const StringPiece& name, const Signature& signature) 763 ArtMethod* FindDeclaredDirectMethod(const StringPiece& name, const StringPiece& signature) 766 ArtMethod* FindDeclaredDirectMethod(const StringPiece& name, const Signature& signature) 772 ArtMethod* FindDirectMethod(const StringPiece& name, const StringPiece& signature) 775 ArtMethod* FindDirectMethod(const StringPiece& name, const Signature& signature) 781 ArtMethod* FindDeclaredVirtualMethod(const StringPiece& name, const StringPiece& signature) 784 ArtMethod* FindDeclaredVirtualMethod(const StringPiece& name, const Signature& signature) [all …]
|
D | string.h | 30 class StringPiece; variable 94 bool Equals(const StringPiece& modified_utf8)
|
D | string.cc | 181 bool String::Equals(const StringPiece& modified_utf8) { in Equals()
|
D | art_method.h | 37 class StringPiece; variable 195 static size_t NumArgRegisters(const StringPiece& shorty);
|
D | art_method.cc | 90 size_t ArtMethod::NumArgRegisters(const StringPiece& shorty) { in NumArgRegisters()
|
/art/runtime/base/unix_file/ |
D | string_file.h | 48 void Assign(const art::StringPiece& new_data); 49 const art::StringPiece ToStringPiece() const;
|
D | string_file.cc | 90 void StringFile::Assign(const art::StringPiece &new_data) { in Assign() 94 const art::StringPiece StringFile::ToStringPiece() const { in ToStringPiece()
|
/art/runtime/ |
D | common_throws.h | 31 class StringPiece; variable 149 void ThrowNoSuchFieldError(const StringPiece& scope, mirror::Class* c, 150 const StringPiece& type, const StringPiece& name) 155 void ThrowNoSuchMethodError(InvokeType type, mirror::Class* c, const StringPiece& name,
|
D | dex_file-inl.h | 73 StringPiece lhs_shorty(lhs_shorty_data, lhs_shorty_len); 79 StringPiece rhs_shorty(rhs_shorty_data, rhs_shorty_len); 93 if (lhs_shorty.find('L', 1) != StringPiece::npos) {
|
D | oat_file.cc | 344 StringPiece key(oat_dex_file->GetDexFileLocation()); in Setup() 347 StringPiece canonical_key(oat_dex_file->GetCanonicalDexFileLocation()); in Setup() 380 StringPiece key(dex_location); in GetOatDexFile() 399 StringPiece canonical_key(dex_canonical_location); in GetOatDexFile() 408 StringPiece key_copy(string_cache_.back()); in GetOatDexFile()
|
D | common_throws.cc | 295 void ThrowNoSuchFieldError(const StringPiece& scope, mirror::Class* c, in ThrowNoSuchFieldError() 296 const StringPiece& type, const StringPiece& name) in ThrowNoSuchFieldError() 307 void ThrowNoSuchMethodError(InvokeType type, mirror::Class* c, const StringPiece& name, in ThrowNoSuchMethodError()
|
D | dex_file.h | 49 class StringPiece; variable 720 bool CreateTypeList(const StringPiece& signature, uint16_t* return_type_idx, 725 const Signature CreateSignature(const StringPiece& signature) const; 1071 bool operator==(const StringPiece& rhs) const;
|
D | dex_file.cc | 644 bool DexFile::CreateTypeList(const StringPiece& signature, uint16_t* return_type_idx, in CreateTypeList() 697 const Signature DexFile::CreateSignature(const StringPiece& signature) const { in CreateSignature() 1011 bool Signature::operator==(const StringPiece& rhs) const { in operator ==() 1015 StringPiece tail(rhs); in operator ==() 1023 StringPiece param(dex_file_->StringByTypeIdx(params->GetTypeItem(i).type_idx_)); in operator ==()
|
D | oat_file.h | 347 typedef AllocationTrackingSafeMap<StringPiece, const OatDexFile*, kAllocatorTagOatFile> Table;
|
D | parsed_options.cc | 300 const StringPiece& value = options[i].first; in Parse()
|
D | class_linker_test.cc | 417 StringPiece field_name(field->GetName()); in Check() 426 StringPiece field_name(field->GetName()); in Check()
|
/art/runtime/verifier/ |
D | reg_type_cache.h | 35 class StringPiece; variable 156 bool MatchDescriptor(size_t idx, const StringPiece& descriptor, bool precise)
|
D | reg_type_cache.cc | 125 bool RegTypeCache::MatchDescriptor(size_t idx, const StringPiece& descriptor, bool precise) { in MatchDescriptor() 163 StringPiece descriptor_sp(descriptor); in From()
|
/art/test/004-StackWalk/ |
D | stack_walk_jni.cc | 65 StringPiece m_name(m->GetName()); in VisitFrame()
|
/art/dex2oat/ |
D | dex2oat.cc | 912 const StringPiece option(argv[i]); in dex2oat() 984 StringPiece instruction_set_str = option.substr(strlen("--instruction-set=")).data(); in dex2oat() 997 StringPiece str = option.substr(strlen("--instruction-set-features=")).data(); in dex2oat() 1000 StringPiece backend_str = option.substr(strlen("--compiler-backend=")).data(); in dex2oat()
|
/art/runtime/interpreter/ |
D | interpreter.cc | 132 static void InterpreterJni(Thread* self, ArtMethod* method, const StringPiece& shorty, in InterpreterJni()
|
/art/oatdump/ |
D | oatdump.cc | 1716 const StringPiece option(argv[i]); in oatdump() 1724 StringPiece instruction_set_str = option.substr(strlen("--instruction-set=")).data(); in oatdump()
|