Searched defs:StringPiece (Results 1 – 4 of 4) sorted by relevance
/frameworks/minikin/libs/minikin/ |
D | StringPiece.h | 28 StringPiece() : mData(nullptr), mLength(0) {} in StringPiece() function 29 StringPiece(const char* data) : mData(data), mLength(data == nullptr ? 0 : strlen(data)) {} in StringPiece() function 30 StringPiece(const char* data, size_t length) : mData(data), mLength(length) {} in StringPiece() function 31 StringPiece(const std::string& str) : mData(str.data()), mLength(str.size()) {} in StringPiece() function 32 StringPiece(std::string_view str) : mData(str.data()), mLength(str.size()) {} in StringPiece() function
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | StringPiece.h | 31 using StringPiece = BasicStringPiece<char>; variable
|
/frameworks/base/libs/androidfw/ |
D | AssetsProvider.cpp | 222 base::function_ref<void(StringPiece, FileType)> f) const { in ForEachFile() 337 base::function_ref<void(StringPiece, FileType)> /* f */) const { in ForEachFile() 388 base::function_ref<void(StringPiece, FileType)> f) const { in ForEachFile() 426 base::function_ref<void(StringPiece, FileType)> /* f */) const { in ForEachFile()
|
/frameworks/base/core/jni/ |
D | android_content_res_ApkAssets.cpp | 119 android::base::function_ref<void(StringPiece, FileType)> /* f */) const { in ForEachFile()
|