| /device/generic/goldfish-opengl/android-emu/android/base/ |
| D | StringView.h | 70 class StringView { 72 constexpr StringView() : mString(""), mSize(0U) {} in StringView() function 74 constexpr StringView(const StringView& other) : in StringView() function 88 constexpr StringView(const char (&buf)[size]) : in StringView() function 95 constexpr StringView(char (&buf)[size]) : in StringView() function 110 constexpr StringView(const Char* const & string) : in StringView() function 113 StringView(const std::string& str) : in StringView() function 116 constexpr StringView(const char* str, size_t len) in StringView() function 119 constexpr StringView(const char* begin, const char* end) in StringView() function 122 constexpr StringView(std::nullptr_t) : in StringView() function [all …]
|
| /device/generic/vulkan-cereal/third-party/perfetto/include/perfetto/ext/base/ |
| D | string_view.h | 34 class StringView { 38 StringView() : data_(nullptr), size_(0) {} in StringView() function 39 StringView(const StringView&) = default; 40 StringView& operator=(const StringView&) = default; 41 StringView(const char* data, size_t size) : data_(data), size_(size) { in StringView() function 48 StringView(const T& x) : StringView(x.data, x.size) { in StringView() function 54 StringView(const char* cstr) : data_(cstr), size_(strlen(cstr)) { in StringView() function 60 explicit StringView(const std::string& str) in StringView() function 82 size_t find(const StringView& str, size_t start_pos = 0) const { 91 return find(StringView(str), start_pos); [all …]
|
| D | string_writer.h | 55 void AppendStringView(StringView sv) { AppendString(sv.data(), sv.size()); } in AppendStringView() 64 void AppendString(StringView data) { AppendString(data.data(), data.size()); } in AppendString() 118 StringView GetStringView() { in GetStringView() 120 return StringView(buffer_, pos_); in GetStringView()
|
| D | string_utils.h | 97 size_t Find(const StringView& needle, const StringView& haystack);
|
| /device/generic/vulkan-cereal/host-common/avd/ |
| D | generate.h | 79 void generateAvdWithDefaults(android::base::StringView avdName, 80 android::base::StringView sdkRootPath, 81 android::base::StringView sdkHomePath, 82 android::base::StringView androidTarget, 83 android::base::StringView variant, 84 android::base::StringView abi); 86 void deleteAvd(android::base::StringView avdName, 87 android::base::StringView sdkHomePath);
|
| D | BugreportInfo.cpp | 37 using android::base::StringView; 66 deviceName = StringView(avdInfo_getName(android_avdInfo)); in BugreportInfo() 81 static constexpr StringView kAvdDetailsNoDisplayKeys[] = { in BugreportInfo() 128 [&key](StringView noDisplayKey) { in BugreportInfo()
|
| /device/generic/vulkan-cereal/base/ |
| D | StringUtils.cpp | 49 char* strDup(StringView view) { in strDup() 57 bool strContains(StringView haystack, const char* needle) { in strContains() 104 bool startsWith(StringView string, StringView prefix) { in startsWith() 109 bool endsWith(StringView string, StringView suffix) { in endsWith() 117 StringView splitBy) { in splitTokens() 118 auto removeWhiteSpace = [out](StringView strView) { in splitTokens()
|
| /device/generic/vulkan-cereal/third-party/perfetto/src/base/ |
| D | string_view.cc | 23 constexpr size_t StringView::npos;
|
| D | string_utils.cc | 42 size_t Find(const StringView& needle, const StringView& haystack) { in Find()
|
| /device/generic/goldfish-opengl/android-emu/android/base/files/ |
| D | Stream.cpp | 106 void Stream::putString(StringView str) { in putString() 112 putString(StringView(str)); in putString() 116 putString(StringView(str, len)); in putString()
|
| D | Stream.h | 80 void putString(StringView str);
|
| /device/generic/vulkan-cereal/third-party/perfetto-tracing-only/ |
| D | perfetto.cc | 2762 class StringView { class 2766 StringView() : data_(nullptr), size_(0) {} in StringView() function in perfetto::base::StringView 2767 StringView(const StringView&) = default; 2768 StringView& operator=(const StringView&) = default; 2769 StringView(const char* data, size_t size) : data_(data), size_(size) { in StringView() function in perfetto::base::StringView 2776 StringView(const T& x) : StringView(x.data, x.size) { in StringView() function in perfetto::base::StringView 2782 StringView(const char* cstr) : data_(cstr), size_(strlen(cstr)) { in StringView() function in perfetto::base::StringView 2788 explicit StringView(const std::string& str) in StringView() function in perfetto::base::StringView 2810 size_t find(const StringView& str, size_t start_pos = 0) const { in find() 2819 return find(StringView(str), start_pos); in find() [all …]
|
| /device/generic/goldfish-opengl/system/profiler/ |
| D | perfetto.cpp | 4247 class StringView { class 4251 StringView() : data_(nullptr), size_(0) {} in StringView() function in perfetto::base::StringView 4252 StringView(const StringView&) = default; 4253 StringView& operator=(const StringView&) = default; 4254 StringView(const char* data, size_t size) : data_(data), size_(size) { in StringView() function in perfetto::base::StringView 4261 StringView(const T& x) : StringView(x.data, x.size) { in StringView() function in perfetto::base::StringView 4267 StringView(const char* cstr) : data_(cstr), size_(strlen(cstr)) { in StringView() function in perfetto::base::StringView 4273 explicit StringView(const std::string& str) in StringView() function in perfetto::base::StringView 4295 size_t find(const StringView& str, size_t start_pos = 0) const { in find() 4304 return find(StringView(str), start_pos); in find() [all …]
|
| /device/generic/goldfish-opengl/system/vulkan_enc/ |
| D | ResourceTracker.cpp | 1010 mSysmemAllocator->SetDebugClientInfo(fidl::StringView::FromExternal(client_name), in setupFeatures() 2557 collection->SetName(kVulkanPriority, fidl::StringView(kName)); in setBufferCollectionImageConstraints() 2602 collection->SetName(kVulkanPriority, fidl::StringView(kName)); in setBufferCollectionBufferConstraints()
|