Home
last modified time | relevance | path

Searched defs:StringPiece (Results 1 – 4 of 4) sorted by relevance

/frameworks/minikin/libs/minikin/
DStringPiece.h28 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/
DStringPiece.h31 using StringPiece = BasicStringPiece<char>; variable
/frameworks/base/libs/androidfw/
DAssetsProvider.cpp222 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/
Dandroid_content_res_ApkAssets.cpp119 android::base::function_ref<void(StringPiece, FileType)> /* f */) const { in ForEachFile()