/art/runtime/base/ |
D | stringpiece.cc | 27 char StringPiece::operator[](size_type i) const { in operator []() 33 void StringPiece::CopyToString(std::string* target) const { in CopyToString() 37 StringPiece::size_type StringPiece::copy(char* buf, size_type n, size_type pos) const { in copy() 43 StringPiece::size_type StringPiece::find(const StringPiece& s, size_type pos) const { in find() 52 int StringPiece::compare(const StringPiece& x) const { in compare() 61 StringPiece::size_type StringPiece::find(char c, size_type pos) const { in find() 69 StringPiece::size_type StringPiece::rfind(const StringPiece& s, size_type pos) const { in rfind() 79 StringPiece::size_type StringPiece::rfind(char c, size_type pos) const { in rfind() 90 StringPiece StringPiece::substr(size_type pos, size_type n) const { in substr() 93 return StringPiece(ptr_ + pos, n); in substr() [all …]
|
D | stringpiece.h | 32 class StringPiece { 50 StringPiece() : ptr_(nullptr), length_(0) { } in StringPiece() function 51 StringPiece(const char* str) // NOLINT implicit constructor desired in StringPiece() function 53 StringPiece(const std::string& str) // NOLINT implicit constructor desired in StringPiece() function 55 StringPiece(const char* offset, size_t len) : ptr_(offset), length_(len) { } in StringPiece() function 104 int compare(const StringPiece& x) const; 122 bool starts_with(const StringPiece& x) const { in starts_with() 128 bool ends_with(const StringPiece& x) const { in ends_with() 144 size_type find(const StringPiece& s, size_type pos = 0) const; 146 size_type rfind(const StringPiece& s, size_type pos = npos) const; [all …]
|
/art/runtime/mirror/ |
D | class.cc | 296 bool Class::IsInSamePackage(const StringPiece& descriptor1, const StringPiece& descriptor2) { in IsInSamePackage() 302 if (descriptor1.find('/', i) != StringPiece::npos || in IsInSamePackage() 303 descriptor2.find('/', i) != StringPiece::npos) { in IsInSamePackage() 348 ArtMethod* Class::FindInterfaceMethod(const StringPiece& name, const StringPiece& signature, in FindInterfaceMethod() 367 ArtMethod* Class::FindInterfaceMethod(const StringPiece& name, const Signature& signature, in FindInterfaceMethod() 406 ArtMethod* Class::FindDeclaredDirectMethod(const StringPiece& name, const StringPiece& signature, in FindDeclaredDirectMethod() 416 ArtMethod* Class::FindDeclaredDirectMethod(const StringPiece& name, const Signature& signature, in FindDeclaredDirectMethod() 438 ArtMethod* Class::FindDirectMethod(const StringPiece& name, const StringPiece& signature, in FindDirectMethod() 449 ArtMethod* Class::FindDirectMethod(const StringPiece& name, const Signature& signature, in FindDirectMethod() 471 ArtMethod* Class::FindDeclaredVirtualMethod(const StringPiece& name, const StringPiece& signature, in FindDeclaredVirtualMethod() [all …]
|
D | class.h | 46 class StringPiece; variable 557 static bool IsInSamePackage(const StringPiece& descriptor1, const StringPiece& descriptor2); 810 ArtMethod* FindInterfaceMethod(const StringPiece& name, const StringPiece& signature, 814 ArtMethod* FindInterfaceMethod(const StringPiece& name, const Signature& signature, 822 ArtMethod* FindDeclaredDirectMethod(const StringPiece& name, const StringPiece& signature, 826 ArtMethod* FindDeclaredDirectMethod(const StringPiece& name, const Signature& signature, 834 ArtMethod* FindDirectMethod(const StringPiece& name, const StringPiece& signature, 838 ArtMethod* FindDirectMethod(const StringPiece& name, const Signature& signature, 846 ArtMethod* FindDeclaredVirtualMethod(const StringPiece& name, const StringPiece& signature, 850 ArtMethod* FindDeclaredVirtualMethod(const StringPiece& name, const Signature& signature, [all …]
|
D | string.h | 29 class StringPiece; variable 129 bool Equals(const StringPiece& modified_utf8)
|
D | string.cc | 190 bool String::Equals(const StringPiece& modified_utf8) { in Equals()
|
/art/runtime/ |
D | common_throws.h | 31 class StringPiece; variable 152 void ThrowNoSuchFieldError(const StringPiece& scope, mirror::Class* c, 153 const StringPiece& type, const StringPiece& name) 156 void ThrowNoSuchFieldException(mirror::Class* c, const StringPiece& name) 161 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 | common_throws.cc | 290 void ThrowNoSuchFieldError(const StringPiece& scope, mirror::Class* c, in ThrowNoSuchFieldError() 291 const StringPiece& type, const StringPiece& name) { in ThrowNoSuchFieldError() 299 void ThrowNoSuchFieldException(mirror::Class* c, const StringPiece& name) { in ThrowNoSuchFieldException() 308 void ThrowNoSuchMethodError(InvokeType type, mirror::Class* c, const StringPiece& name, in ThrowNoSuchMethodError()
|
D | oat_file.cc | 496 StringPiece key(oat_dex_file->GetDexFileLocation()); in Setup() 499 StringPiece canonical_key(oat_dex_file->GetCanonicalDexFileLocation()); in Setup() 540 StringPiece key(dex_location); in GetOatDexFile() 559 StringPiece canonical_key(dex_canonical_location); in GetOatDexFile() 568 StringPiece key_copy(string_cache_.back()); in GetOatDexFile()
|
D | dex_file.h | 50 class StringPiece; variable 737 bool CreateTypeList(const StringPiece& signature, uint16_t* return_type_idx, 742 const Signature CreateSignature(const StringPiece& signature) const; 1103 bool operator==(const StringPiece& rhs) const;
|
D | dex_file.cc | 696 bool DexFile::CreateTypeList(const StringPiece& signature, uint16_t* return_type_idx, in CreateTypeList() 749 const Signature DexFile::CreateSignature(const StringPiece& signature) const { in CreateSignature() 1074 bool Signature::operator==(const StringPiece& rhs) const { in operator ==() 1078 StringPiece tail(rhs); in operator ==() 1086 StringPiece param(dex_file_->StringByTypeIdx(params->GetTypeItem(i).type_idx_)); in operator ==()
|
D | art_method.h | 37 class StringPiece; variable 215 static size_t NumArgRegisters(const StringPiece& shorty);
|
D | oat_file.h | 335 typedef AllocationTrackingSafeMap<StringPiece, const OatDexFile*, kAllocatorTagOatFile> Table;
|
D | art_method.cc | 81 size_t ArtMethod::NumArgRegisters(const StringPiece& shorty) { in NumArgRegisters()
|
D | java_vm_ext.cc | 434 StringPiece class_name(method->GetDeclaringClassDescriptor()); in ShouldTrace()
|
D | class_linker_test.cc | 424 StringPiece field_name(field->GetName()); in Check() 433 StringPiece field_name(field->GetName()); in Check()
|
/art/cmdline/ |
D | cmdline.h | 140 const StringPiece option(argv[i]); in Parse() 144 StringPiece instruction_set_str = option.substr(strlen("--instruction-set=")).data(); in Parse() 281 virtual ParseStatus ParseCustom(const StringPiece& option ATTRIBUTE_UNUSED, in ParseCustom()
|
/art/test/004-StackWalk/ |
D | stack_walk_jni.cc | 40 StringPiece m_name(m->GetName()); in VisitFrame()
|
/art/compiler/jit/ |
D | jit_compiler.cc | 90 for (const StringPiece option : Runtime::Current()->GetCompilerOptions()) { in JitCompiler() 94 StringPiece str = option.substr(strlen("--instruction-set-variant=")).data(); in JitCompiler() 102 StringPiece str = option.substr(strlen("--instruction-set-features=")).data(); in JitCompiler()
|
/art/runtime/verifier/ |
D | reg_type_cache.h | 35 class StringPiece; variable 149 bool MatchDescriptor(size_t idx, const StringPiece& descriptor, bool precise)
|
D | reg_type_cache.cc | 126 bool RegTypeCache::MatchDescriptor(size_t idx, const StringPiece& descriptor, bool precise) { in MatchDescriptor() 165 StringPiece descriptor_sp(descriptor); in From()
|
/art/dex2oat/ |
D | dex2oat.cc | 594 const StringPiece option(argv[i]); in ParseArgs() 662 StringPiece instruction_set_str = option.substr(strlen("--instruction-set=")).data(); in ParseArgs() 673 StringPiece str = option.substr(strlen("--instruction-set-variant=")).data(); in ParseArgs() 680 StringPiece str = option.substr(strlen("--instruction-set-features=")).data(); in ParseArgs() 696 StringPiece backend_str = option.substr(strlen("--compiler-backend=")).data(); in ParseArgs()
|
/art/runtime/interpreter/ |
D | interpreter.cc | 29 static void InterpreterJni(Thread* self, ArtMethod* method, const StringPiece& shorty, in InterpreterJni()
|
/art/imgdiag/ |
D | imgdiag.cc | 867 virtual ParseStatus ParseCustom(const StringPiece& option, in ParseCustom()
|