/system/netd/libnetdutils/include/netdutils/ |
D | InternetAddresses.h | 138 : mData({AF_INET, IPV4_ADDR_BITS, 0U, 0U, {.v4 = ipv4}}) {} in IPAddress() 140 : mData({AF_INET6, IPV6_ADDR_BITS, 0U, 0U, {.v6 = ipv6}}) {} in IPAddress() 142 : mData({AF_INET6, in IPAddress() 149 mData.scope_id = (family() == AF_INET6 && usesScopedIds(mData.ip.v6)) ? scope_id : 0U; in IPAddress() 155 constexpr sa_family_t family() const noexcept { return mData.family; } in family() 156 constexpr uint32_t scope_id() const noexcept { return mData.scope_id; } in scope_id() 164 friend bool operator==(const IPAddress& a, const IPAddress& b) { return (a.mData == b.mData); } 165 friend bool operator!=(const IPAddress& a, const IPAddress& b) { return (a.mData != b.mData); } 166 friend bool operator<(const IPAddress& a, const IPAddress& b) { return (a.mData < b.mData); } 167 friend bool operator>(const IPAddress& a, const IPAddress& b) { return (b.mData < a.mData); } [all …]
|
D | MemBlock.h | 36 : mData((len > 0U) ? new uint8_t[len]{} : nullptr), in MemBlock() 53 Slice get() const noexcept { return Slice(mData.get(), mLen); } in get() 60 std::unique_ptr<uint8_t[]> mData;
|
/system/chre/util/include/chre/util/ |
D | priority_queue_impl.h | 40 return mData.size(); in size() 45 return mData.capacity(); in capacity() 50 return mData.empty(); in empty() 56 bool success = mData.push_back(element); in push() 58 push_heap(mData, mCompare); in push() 66 bool success = mData.emplace_back(args...); in emplace() 68 push_heap(mData, mCompare); in emplace() 76 return mData[index]; 82 return mData[index]; 87 return mData[0]; in top() [all …]
|
D | dynamic_vector_impl.h | 49 mData = other.mData; 53 other.mData = nullptr; 69 return static_cast<ElementType *>(mData); in data() 74 return static_cast<const ElementType *>(mData); in data() 195 mData = newData; in doReserve()
|
D | dynamic_vector_base.h | 83 void *mData = nullptr; variable
|
D | priority_queue.h | 176 DynamicVector<ElementType> mData;
|
D | fixed_size_vector.h | 203 mData[kCapacity];
|
D | fixed_size_vector_impl.h | 60 return reinterpret_cast<ElementType *>(mData); in data() 65 return reinterpret_cast<const ElementType *>(mData); in data()
|
D | array_queue.h | 251 mData[kCapacity];
|
D | array_queue_impl.h | 236 return reinterpret_cast<ElementType *>(mData); in data() 241 return reinterpret_cast<const ElementType *>(mData); in data()
|
/system/netd/libnetdutils/ |
D | InternetAddresses.cpp | 36 switch (mData.family) { in toString() 40 const in_addr v4 = mData.ip.v4; in toString() 45 const in6_addr v6 = mData.ip.v6; in toString() 53 if (mData.family == AF_INET6 && mData.scope_id > 0) { in toString() 54 return StringPrintf("%s%%%u", repr, mData.scope_id); in toString() 95 if (length >= mData.cidrlen) return; in IPPrefix() 97 switch (mData.family) { in IPPrefix() 102 mData.ip.v4.s_addr &= htonl(mask); in IPPrefix() 103 mData.cidrlen = static_cast<uint8_t>(length); in IPPrefix() 110 mData.ip.v6.s6_addr[which] &= mask; in IPPrefix() [all …]
|
/system/chre/util/ |
D | dynamic_vector_base.cc | 27 : mData(other.mData), mSize(other.mSize), mCapacity(other.mCapacity) { in DynamicVectorBase() 28 other.mData = nullptr; in DynamicVectorBase() 38 memcpy(newData, mData, mSize * elementSize); in doReserve() 39 memoryFree(mData); in doReserve() 40 mData = newData; in doReserve() 69 memmove(static_cast<uint8_t *>(mData) + (index * elementSize), in doErase() 70 static_cast<uint8_t *>(mData) + ((index + 1) * elementSize), in doErase() 77 memcpy(static_cast<uint8_t *>(mData) + (mSize * elementSize), element, in doPushBack()
|
/system/chre/apps/test/chqts/src/general_test/ |
D | send_event_test.cc | 139 for (uint32_t i = 0; i < arrayLength(mData); i++) { in setUp() 140 mData[i] = i; in setUp() 144 if (!chreSendEvent(kEventType0, &mData[0], completeCallback0, id)) { in setUp() 149 if (!chreSendEvent(kEventType0, &mData[1], completeCallback1, id)) { in setUp() 154 if (!chreSendEvent(kEventType1, &mData[2], completeCallback0, id)) { in setUp() 159 if (!chreSendEvent(kEventType1, &mData[3], completeCallback1, id)) { in setUp() 164 if (!chreSendEvent(kEventType0, &mData[4], nullptr, id)) { in setUp() 169 if (!chreSendEvent(kEventType1, &mData[5], nullptr, id)) { in setUp() 201 expectedData = &mData[mNextNum]; in handleEvent()
|
D | send_event_test.h | 44 uint32_t mData[6]; variable
|
/system/libhidl/transport/memory/1.0/default/ |
D | AshmemMemory.cpp | 29 mData(data) in AshmemMemory() 35 munmap(mData, mMemory.size()); in ~AshmemMemory() 65 return mData; in getPointer()
|
D | AshmemMemory.h | 60 void* mData; member
|
/system/libhwbinder/ |
D | Parcel.cpp | 274 return mData; in data() 438 memcpy(mData+mDataPos, data, len); in writeUnpadded() 481 uint8_t* const data = mData+mDataPos; in writeInplace() 631 *reinterpret_cast<T*>(mData+mDataPos) = val; in writeObject() 633 const binder_object_header* hdr = reinterpret_cast<binder_object_header*>(mData+mDataPos); in writeObject() 703 (mData + mObjects[child_buffer_handle]); in validateBufferChild() 719 (mData + mObjects[parent_buffer_handle]); in validateBufferParent() 781 reinterpret_cast<binder_buffer_object*>(mData+dataPos); in updateCache() 902 memcpy(outData, mData+mDataPos, len); in read() 920 const void* data = mData+mDataPos; in readInplace() [all …]
|
/system/media/audio_utils/spdif/ |
D | BitFieldParser.cpp | 29 : mData(data) in BitFieldParser() 44 uint8_t byte = mData[byteCursor]; in readBits()
|
D | BitFieldParser.h | 50 uint8_t *mData;
|
/system/core/libutils/include/utils/ |
D | String16.h | 208 constexpr StaticString16(const char16_t (&s)[N]) : String16(mData), mData(makeStaticData(s)) {} in StaticString16() 211 : String16(mData), mData(other.mData) {} in StaticString16() 220 const StaticData<N> mData;
|
/system/chre/platform/slpi/ |
D | system_timer.cc | 62 mData = data; in set() 96 systemTimer->mCallback(systemTimer->mData); in systemTimerNotifyCallback()
|
/system/chre/platform/linux/ |
D | system_timer.cc | 41 sysTimer->mCallback(sysTimer->mData); in systemTimerNotifyCallback() 87 mData = data; in set()
|
/system/media/audio_utils/include/audio_utils/ |
D | Statistics.h | 439 mData.push_front(value); 444 return mData.size(); 450 mData.clear(); 457 for (size_t i = 0; i < mData.size(); ++i) { 467 for (size_t i = 0; i < mData.size(); ++i) { 477 for (size_t i = 0; i < mData.size(); ++i) { 478 wsum += alpha_i * mData[i]; 531 std::deque<T> mData; // store all the data for exact summation, mData[0] most recent. 538 for (size_t i = 0; i < mData.size(); ++i) { 539 const D diff = mData[i] - mean;
|
/system/chre/platform/include/chre/platform/ |
D | system_timer.h | 105 void *mData; variable
|
/system/libhwbinder/include/hwbinder/ |
D | Parcel.h | 291 uint8_t* mData; variable
|