Lines Matching refs:data
54 inline const void* data() const;
57 inline void* data();
63 static inline SharedBuffer* bufferFromData(void* data);
66 static inline const SharedBuffer* bufferFromData(const void* data);
69 static inline size_t sizeFromData(const void* data);
119 const void* SharedBuffer::data() const { in data() function
123 void* SharedBuffer::data() { in data() function
131 SharedBuffer* SharedBuffer::bufferFromData(void* data) { in bufferFromData() argument
132 return data ? static_cast<SharedBuffer *>(data)-1 : nullptr; in bufferFromData()
135 const SharedBuffer* SharedBuffer::bufferFromData(const void* data) { in bufferFromData() argument
136 return data ? static_cast<const SharedBuffer *>(data)-1 : nullptr; in bufferFromData()
139 size_t SharedBuffer::sizeFromData(const void* data) { in sizeFromData() argument
140 return data ? bufferFromData(data)->mSize : 0; in sizeFromData()