Home
last modified time | relevance | path

Searched refs:StringPiece (Results 1 – 25 of 41) sorted by relevance

12

/art/libartbase/base/
Dstringpiece.h34 class StringPiece {
52 StringPiece() : ptr_(nullptr), length_(0) { } in StringPiece() function
53 StringPiece(const char* str) // NOLINT implicit constructor desired in StringPiece() function
55 StringPiece(const std::string& str) // NOLINT implicit constructor desired in StringPiece() function
57 StringPiece(const char* offset, size_t len) : ptr_(offset), length_(len) { } in StringPiece() function
103 int compare(const StringPiece& x) const { in compare()
131 bool starts_with(const StringPiece& x) const { in starts_with()
137 bool ends_with(const StringPiece& x) const { in ends_with()
157 size_type find(const StringPiece& s, size_type pos = 0) const {
174 size_type rfind(const StringPiece& s, size_type pos = npos) const {
[all …]
Dutils.h124 static void ParseIntOption(const StringPiece& option,
140 static void ParseUintOption(const StringPiece& option,
/art/runtime/verifier/
Dreg_type.h188 const StringPiece& GetDescriptor() const { in GetDescriptor()
322 const StringPiece& descriptor, in RegType()
339 const StringPiece descriptor_;
392 const StringPiece& descriptor,
404 ConflictType(mirror::Class* klass, const StringPiece& descriptor, in ConflictType()
427 const StringPiece& descriptor,
439 UndefinedType(mirror::Class* klass, const StringPiece& descriptor, in UndefinedType()
450 PrimitiveType(mirror::Class* klass, const StringPiece& descriptor,
458 Cat1Type(mirror::Class* klass, const StringPiece& descriptor,
467 const StringPiece& descriptor,
[all …]
Dreg_type.cc57 PrimitiveType::PrimitiveType(mirror::Class* klass, const StringPiece& descriptor, uint16_t cache_id) in PrimitiveType()
63 Cat1Type::Cat1Type(mirror::Class* klass, const StringPiece& descriptor, uint16_t cache_id) in Cat1Type()
67 Cat2Type::Cat2Type(mirror::Class* klass, const StringPiece& descriptor, uint16_t cache_id) in Cat2Type()
133 const StringPiece& descriptor, in CreateInstance()
148 const StringPiece& descriptor, in CreateInstance()
162 const LongLoType* LongLoType::CreateInstance(mirror::Class* klass, const StringPiece& descriptor, in CreateInstance()
169 const LongHiType* LongHiType::CreateInstance(mirror::Class* klass, const StringPiece& descriptor, in CreateInstance()
190 const FloatType* FloatType::CreateInstance(mirror::Class* klass, const StringPiece& descriptor, in CreateInstance()
204 const CharType* CharType::CreateInstance(mirror::Class* klass, const StringPiece& descriptor, in CreateInstance()
218 const ShortType* ShortType::CreateInstance(mirror::Class* klass, const StringPiece& descriptor, in CreateInstance()
[all …]
Dreg_type_cache.h35 class StringPiece; variable
83 const RegType* InsertClass(const StringPiece& descriptor, mirror::Class* klass, bool precise)
163 bool MatchDescriptor(size_t idx, const StringPiece& descriptor, bool precise)
174 StringPiece AddString(const StringPiece& string_piece);
Dreg_type_cache.cc138 bool RegTypeCache::MatchDescriptor(size_t idx, const StringPiece& descriptor, bool precise) { in MatchDescriptor()
172 StringPiece RegTypeCache::AddString(const StringPiece& string_piece) { in AddString()
175 return StringPiece(ptr, string_piece.length()); in AddString()
181 StringPiece sp_descriptor(descriptor); in From()
256 const RegType* RegTypeCache::InsertClass(const StringPiece& descriptor, in InsertClass()
272 reg_type = InsertClass(AddString(StringPiece(descriptor)), klass, precise); in FromClass()
488 const StringPiece& descriptor(type.GetDescriptor()); in Uninitialized()
525 const StringPiece& descriptor(uninit_type.GetDescriptor()); in FromUninitialized()
575 const StringPiece& descriptor(type.GetDescriptor()); in UninitializedThisArgument()
/art/compiler/driver/
Dcompiler_options.h283 void ParseDumpCfgPasses(const StringPiece& option, UsageFn Usage);
284 void ParseInlineMaxCodeUnits(const StringPiece& option, UsageFn Usage);
285 void ParseNumDexMethods(const StringPiece& option, UsageFn Usage);
286 void ParseTinyMethodMax(const StringPiece& option, UsageFn Usage);
287 void ParseSmallMethodMax(const StringPiece& option, UsageFn Usage);
288 void ParseLargeMethodMax(const StringPiece& option, UsageFn Usage);
289 void ParseHugeMethodMax(const StringPiece& option, UsageFn Usage);
/art/runtime/mirror/
Dclass.cc399 bool Class::IsInSamePackage(const StringPiece& descriptor1, const StringPiece& descriptor2) { in IsInSamePackage()
405 if (descriptor1.find('/', i) != StringPiece::npos || in IsInSamePackage()
406 descriptor2.find('/', i) != StringPiece::npos) { in IsInSamePackage()
453 const StringPiece& name, in FindInterfaceMethodWithSignature()
496 ArtMethod* Class::FindInterfaceMethod(const StringPiece& name, in FindInterfaceMethod()
497 const StringPiece& signature, in FindInterfaceMethod()
502 ArtMethod* Class::FindInterfaceMethod(const StringPiece& name, in FindInterfaceMethod()
514 StringPiece name = dex_file.StringDataByIdx(method_id.name_idx_); in FindInterfaceMethod()
555 const StringPiece& name, in FindClassMethodWithSignature()
609 ArtMethod* Class::FindClassMethod(const StringPiece& name, in FindClassMethod()
[all …]
Dclass.h50 class StringPiece; variable
579 static bool IsInSamePackage(const StringPiece& descriptor1, const StringPiece& descriptor2);
882 ArtMethod* FindInterfaceMethod(const StringPiece& name,
883 const StringPiece& signature,
887 ArtMethod* FindInterfaceMethod(const StringPiece& name,
921 ArtMethod* FindClassMethod(const StringPiece& name,
922 const StringPiece& signature,
926 ArtMethod* FindClassMethod(const StringPiece& name,
936 ArtMethod* FindConstructor(const StringPiece& signature, PointerSize pointer_size)
939 ArtMethod* FindDeclaredVirtualMethodByName(const StringPiece& name,
[all …]
Dstring.h28 class StringPiece; variable
151 bool Equals(const StringPiece& modified_utf8)
Dstring.cc293 bool String::Equals(const StringPiece& modified_utf8) { in Equals()
/art/runtime/
Dcommon_throws.h34 class StringPiece; variable
199 void ThrowNoSuchFieldError(const StringPiece& scope,
201 const StringPiece& type,
202 const StringPiece& name)
205 void ThrowNoSuchFieldException(ObjPtr<mirror::Class> c, const StringPiece& name)
212 const StringPiece& name,
Dcommon_throws.cc393 void ThrowNoSuchFieldError(const StringPiece& scope, ObjPtr<mirror::Class> c, in ThrowNoSuchFieldError()
394 const StringPiece& type, const StringPiece& name) { in ThrowNoSuchFieldError()
402 void ThrowNoSuchFieldException(ObjPtr<mirror::Class> c, const StringPiece& name) { in ThrowNoSuchFieldException()
411 void ThrowNoSuchMethodError(InvokeType type, ObjPtr<mirror::Class> c, const StringPiece& name, in ThrowNoSuchMethodError()
Doat_file.cc859 StringPiece key(oat_dex_file->GetDexFileLocation()); in Setup()
862 StringPiece canonical_key(oat_dex_file->GetCanonicalDexFileLocation()); in Setup()
1631 StringPiece key(dex_location); in GetOatDexFile()
1650 StringPiece canonical_key(dex_canonical_location); in GetOatDexFile()
1659 StringPiece key_copy(string_cache_.back()); in GetOatDexFile()
Doat_file.h395 typedef AllocationTrackingSafeMap<StringPiece, const OatDexFile*, kAllocatorTagOatFile> Table;
Dart_method.h50 class StringPiece; variable
385 static size_t NumArgRegisters(const StringPiece& shorty);
/art/compiler/jit/
Djit_compiler.cc107 for (const StringPiece option : Runtime::Current()->GetCompilerOptions()) { in JitCompiler()
111 StringPiece str = option.substr(strlen("--instruction-set-variant=")).data(); in JitCompiler()
119 StringPiece str = option.substr(strlen("--instruction-set-features=")).data(); in JitCompiler()
/art/cmdline/
Dcmdline.h146 const StringPiece option(argv[i]); in Parse()
150 StringPiece instruction_set_str = option.substr(strlen("--instruction-set=")).data(); in Parse()
294 virtual ParseStatus ParseCustom(const StringPiece& option ATTRIBUTE_UNUSED, in ParseCustom()
/art/test/004-StackWalk/
Dstack_walk_jni.cc41 StringPiece m_name(m->GetName()); in VisitFrame()
/art/libdexfile/dex/
Ddex_file.cc425 bool DexFile::CreateTypeList(const StringPiece& signature, in CreateTypeList()
475 const Signature DexFile::CreateSignature(const StringPiece& signature) const { in CreateSignature()
667 bool Signature::operator==(const StringPiece& rhs) const { in operator ==()
671 StringPiece tail(rhs); in operator ==()
679 StringPiece param(dex_file_->StringByTypeIdx(params->GetTypeItem(i).type_idx_)); in operator ==()
Ddex_file-inl.h163 StringPiece lhs_shorty(lhs_shorty_data, lhs_shorty_len);
169 StringPiece rhs_shorty(rhs_shorty_data, rhs_shorty_len);
183 if (lhs_shorty.find('L', 1) != StringPiece::npos) {
Ddex_file.h45 class StringPiece; variable
719 bool CreateTypeList(const StringPiece& signature,
725 const Signature CreateSignature(const StringPiece& signature) const;
1159 bool operator==(const StringPiece& rhs) const;
/art/dexoptanalyzer/
Ddexoptanalyzer.cc156 const StringPiece option(argv[i]); in ParseArgs()
/art/tools/hiddenapi/
Dhiddenapi.cc186 const StringPiece option(argv[i]); in ParseArgs()
/art/dexlayout/
Ddexdiag.cc458 const StringPiece option(argv[i]); in DexDiagMain()

12