/system/chre/util/ |
D | buffer_base.cc | 33 mBuffer = buffer; in wrap() 46 mBuffer = memoryAlloc(copyBytes); in copy_array() 47 if (mBuffer != nullptr) { in copy_array() 49 memcpy(mBuffer, buffer, copyBytes); in copy_array() 61 memoryFree(mBuffer); in reset() 64 mBuffer = nullptr; in reset()
|
/system/libhidl/base/include/hidl/ |
D | HidlSupport.h | 181 details::hidl_pointer<const char> mBuffer; 339 hidl_vec() : mBuffer(nullptr), mSize(0), mOwnsBuffer(false) { in hidl_vec() 374 mBuffer = new T[mSize](); in hidl_vec() 379 mBuffer[idx++] = static_cast<T>(*first); in hidl_vec() 385 delete[] mBuffer; in ~hidl_vec() 387 mBuffer = nullptr; in ~hidl_vec() 395 delete [] mBuffer; 397 mBuffer = data; 406 return mBuffer; in data() 410 return mBuffer; in data() [all …]
|
/system/libhidl/base/ |
D | HidlSupport.cpp | 139 hidl_string::hidl_string() : mBuffer(kEmptyString), mSize(0), mOwnsBuffer(false) { in hidl_string() 206 return std::string(mBuffer, mSize); in operator std::string() 222 mBuffer = kEmptyString; in copyFrom() 231 mBuffer = buf; in copyFrom() 240 mBuffer = std::move(other.mBuffer); in moveFrom() 249 if (mOwnsBuffer && (mBuffer != kEmptyString)) { in clear() 250 free(const_cast<char *>(static_cast<const char *>(mBuffer))); in clear() 253 mBuffer = kEmptyString; in clear() 272 mBuffer = data; in setToExternal() 278 return mBuffer; in c_str()
|
/system/core/libsysutils/src/ |
D | NetlinkListener.cpp | 58 mBuffer, sizeof(mBuffer), require_group, &uid)); in onDataAvailable() 65 if (evt->decode(mBuffer, count, mFormat)) { in onDataAvailable()
|
/system/media/audio_utils/ |
D | fifo_writer_T.cpp | 44 mLocalRear(0), mFrameCountP2(fifo.mFrameCountP2), mBuffer((T *) fifo.mBuffer), in audio_utils_fifo_writer_T() 70 memcpyWords(&mBuffer[rearOffset], buffer, part1); in write() 73 memcpyWords(&mBuffer[0], &buffer[part1], part2); in write()
|
D | fifo.cpp | 135 mFrameSize(frameSize), mBuffer(buffer) in audio_utils_fifo() 187 memcpy((char *) mFifo.mBuffer + iovec[0].mOffset * mFifo.mFrameSize, buffer, in write() 190 memcpy((char *) mFifo.mBuffer + iovec[1].mOffset * mFifo.mFrameSize, in write() 459 memcpy(buffer, (char *) mFifo.mBuffer + iovec[0].mOffset * mFifo.mFrameSize, in read() 463 (char *) mFifo.mBuffer + iovec[1].mOffset * mFifo.mFrameSize, in read()
|
/system/media/audio_utils/include/audio_utils/ |
D | fifo_writer_T.h | 68 mBuffer[mLocalRear++ & (mFrameCountP2 - 1)] = value; in write1() 93 T * const mBuffer; variable
|
D | fifo.h | 203 { return mBuffer; } in buffer() 208 void * const mBuffer; // non-NULL pointer to caller-allocated buffer variable
|
/system/chre/platform/android/ |
D | platform_audio.cc | 58 int16_t *audioBuffer = platformAudio->mBuffer.data(); in audioReadCallback() 62 audioBuffer = &platformAudio->mBuffer.data()[seekAmount]; in audioReadCallback() 124 mBuffer.resize(bufferSize); in PlatformAudio() 181 mDataEvent.samplesS16 = mBuffer.data(); in initAudioDataEvent()
|
/system/core/libutils/include/utils/ |
D | Tokenizer.h | 123 char* mBuffer; variable 130 inline const char* getEnd() const { return mBuffer + mLength; } in getEnd()
|
/system/chre/util/include/chre/util/ |
D | buffer_base.h | 35 void *mBuffer = nullptr; variable
|
D | buffer.h | 51 return static_cast<ElementType *>(mBuffer); in data()
|
/system/chre/platform/android/include/chre/target_platform/ |
D | platform_audio_base.h | 57 std::vector<int16_t> mBuffer; variable
|
/system/core/storaged/ |
D | storaged_diskstats.cpp | 277 mBuffer.push(perf); in update() 278 if (mBuffer.size() > mWindow) { in update() 279 evict(&mBuffer.front()); in update() 280 mBuffer.pop(); in update() 286 CHECK_EQ(mBuffer.size(), mWindow); in update()
|
/system/core/libsysutils/include/sysutils/ |
D | NetlinkListener.h | 24 char mBuffer[64 * 1024] __attribute__((aligned(4))); variable
|
/system/core/libutils/ |
D | Tokenizer.cpp | 37 mBuffer(buffer), mOwnBuffer(ownBuffer), mLength(length), in Tokenizer() 44 delete[] mBuffer; in ~Tokenizer()
|
/system/libhwbinder/ |
D | TextOutput.cpp | 53 : mBuffer(buf) in HexDump()
|
D | TextOutput.h | 108 const void* mBuffer; 189 inline const void* HexDump::buffer() const { return mBuffer; } in buffer()
|
/system/teeui/tools/framebufferizer/src/com/android/framebufferizer/utils/ |
D | FrameBufferBuffer.java | 236 private DataBufferInt mBuffer; field in FrameBufferBuffer 413 mBuffer = new DataBufferInt(h * linestride); in renderNativeBuffer() 414 WritableRaster raster = Raster.createPackedRaster(mBuffer, w, h, linestride, in renderNativeBuffer() 421 error = NativeRenderer.renderBuffer(0, 0, w, h, linestride, mBuffer.getData()); in renderNativeBuffer()
|
/system/core/storaged/include/ |
D | storaged_diskstats.h | 152 std::queue<struct disk_perf> mBuffer; variable
|
/system/libhidl/transport/ |
D | HidlBinderSupport.cpp | 132 const size_t hidl_string::kOffsetOfBuffer = offsetof(hidl_string, mBuffer);
|
/system/core/storaged/tests/ |
D | storaged_test.cpp | 268 dsm_detect.mBuffer.push(perf); in TEST() 269 EXPECT_EQ(dsm_detect.mBuffer.size(), (uint64_t)i + 1); in TEST()
|