Home
last modified time | relevance | path

Searched refs:copyFrom (Results 1 – 4 of 4) sorted by relevance

/system/libhidl/base/
DHidlSupport.cpp157 copyFrom(s, strlen(s)); in hidl_string()
161 copyFrom(s, length); in hidl_string()
165 copyFrom(other.c_str(), other.size()); in hidl_string()
169 copyFrom(s.c_str(), s.size()); in hidl_string()
187 copyFrom(other.c_str(), other.size()); in operator =()
200 copyFrom(s, strlen(s)); in operator =()
206 copyFrom(s.c_str(), s.size()); in operator =()
219 void hidl_string::copyFrom(const char *data, size_t size) { in copyFrom() function in android::hardware::hidl_string
/system/libhidl/base/include/hidl/
DHidlSupport.h180 void copyFrom(const char *data, size_t size);
433 copyFrom(other, other.mSize);
444 copyFrom(other, other.size());
582 void copyFrom(const Array &data, size_t size) { in copyFrom() function
/system/libfmq/include/fmq/
DMessageQueue.h333 bool copyFrom(T* data, size_t startIdx, size_t nMessages = 1);
511 bool MessageQueue<T, flavor>::MemTransaction::copyFrom(T* data, size_t startIdx, size_t nMessages) { in copyFrom() function
1061 tx.copyFrom(data, 0 /* startIdx */, nMessages) && in read()
/system/libfmq/tests/
Dmq_test.cpp354 ASSERT_TRUE(tx.copyFrom(readData, 0 /* startIdx */, dataLen)); in TEST_F()
636 ASSERT_TRUE(tx.copyFrom(&readData[0], 0 /* startIdx */, mNumMessagesMax)); in TEST_F()