Lines Matching refs:hidl_string
139 hidl_string::hidl_string() : mBuffer(kEmptyString), mSize(0), mOwnsBuffer(false) { in hidl_string() function in android::hardware::hidl_string
143 hidl_string::~hidl_string() { in ~hidl_string()
147 hidl_string::hidl_string(const char *s) : hidl_string() { in hidl_string() function in android::hardware::hidl_string
155 hidl_string::hidl_string(const char *s, size_t length) : hidl_string() { in hidl_string() function in android::hardware::hidl_string
159 hidl_string::hidl_string(const hidl_string &other): hidl_string() { in hidl_string() function in android::hardware::hidl_string
163 hidl_string::hidl_string(const std::string &s) : hidl_string() { in hidl_string() function in android::hardware::hidl_string
167 hidl_string::hidl_string(hidl_string&& other) noexcept : hidl_string() { in hidl_string() function in android::hardware::hidl_string
168 moveFrom(std::forward<hidl_string>(other)); in hidl_string()
171 hidl_string& hidl_string::operator=(hidl_string&& other) noexcept { in operator =()
174 moveFrom(std::forward<hidl_string>(other)); in operator =()
179 hidl_string &hidl_string::operator=(const hidl_string &other) { in operator =()
188 hidl_string &hidl_string::operator=(const char *s) { in operator =()
199 hidl_string &hidl_string::operator=(const std::string &s) { in operator =()
205 hidl_string::operator std::string() const { in operator std::string()
209 std::ostream& operator<<(std::ostream& os, const hidl_string& str) { in operator <<()
214 void hidl_string::copyFrom(const char *data, size_t size) { in copyFrom()
237 void hidl_string::moveFrom(hidl_string &&other) { in moveFrom()
248 void hidl_string::clear() { in clear()
258 void hidl_string::setToExternal(const char *data, size_t size) { in setToExternal()
277 const char *hidl_string::c_str() const { in c_str()
281 size_t hidl_string::size() const { in size()
285 bool hidl_string::empty() const { in empty()
301 sp<HidlMemory> HidlMemory::getInstance(const hidl_string& name, int fd, uint64_t size) { in getInstance()
319 HidlMemory::HidlMemory(const hidl_string& name, hidl_handle&& handle, size_t size) in HidlMemory()