Home
last modified time | relevance | path

Searched refs:mBuffer (Results 1 – 21 of 21) sorted by relevance

/system/chre/util/
Dbuffer_base.cc33 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/
DHidlSupport.h174 details::hidl_pointer<const char> mBuffer;
370 mBuffer = new T[mSize](); in hidl_vec()
375 mBuffer[idx++] = static_cast<T>(*first); in hidl_vec()
381 delete[] mBuffer; in ~hidl_vec()
383 mBuffer = nullptr; in ~hidl_vec()
391 delete [] mBuffer;
393 mBuffer = data;
402 return mBuffer; in data()
406 return mBuffer; in data()
414 return mBuffer; in releaseData()
[all …]
/system/media/audio_utils/
Dfifo_writer32.cpp45 mLocalRear(0), mFrameCountP2(fifo.mFrameCountP2), mBuffer((int32_t *) fifo.mBuffer), in audio_utils_fifo_writer32()
49 ((size_t) mBuffer & ((sizeof(int32_t) - 1))) != 0) { in audio_utils_fifo_writer32()
70 memcpyWords(&mBuffer[rearOffset], buffer, part1); in write()
73 memcpyWords(&mBuffer[0], &buffer[part1], part2); in write()
Dfifo.cpp134 mFrameSize(frameSize), mBuffer(buffer) in audio_utils_fifo()
185 memcpy((char *) mFifo.mBuffer + iovec[0].mOffset * mFifo.mFrameSize, buffer, in write()
188 memcpy((char *) mFifo.mBuffer + iovec[1].mOffset * mFifo.mFrameSize, in write()
442 memcpy(buffer, (char *) mFifo.mBuffer + iovec[0].mOffset * mFifo.mFrameSize, in read()
446 (char *) mFifo.mBuffer + iovec[1].mOffset * mFifo.mFrameSize, in read()
/system/libhidl/base/
DHidlSupport.cpp145 mBuffer = kEmptyString; in hidl_string()
211 return std::string(mBuffer, mSize); in operator std::string()
228 mBuffer = buf; in copyFrom()
237 mBuffer = std::move(other.mBuffer); in moveFrom()
246 if (mOwnsBuffer && (mBuffer != kEmptyString)) { in clear()
247 free(const_cast<char *>(static_cast<const char *>(mBuffer))); in clear()
250 mBuffer = kEmptyString; in clear()
269 mBuffer = data; in setToExternal()
275 return mBuffer; in c_str()
/system/core/libsysutils/src/
DNetlinkListener.cpp58 mBuffer, sizeof(mBuffer), require_group, &uid)); in onDataAvailable()
65 if (evt->decode(mBuffer, count, mFormat)) { in onDataAvailable()
/system/media/audio_utils/include/audio_utils/
Dfifo_writer32.h67 mBuffer[mLocalRear++ & (mFrameCountP2 - 1)] = value; in write1()
83 int32_t * const mBuffer; variable
Dfifo.h194 { return mBuffer; } in buffer()
199 void * const mBuffer; // non-NULL pointer to caller-allocated buffer variable
/system/chre/platform/android/
Dplatform_audio.cc59 int16_t *audioBuffer = platformAudio->mBuffer.data(); in audioReadCallback()
63 audioBuffer = &platformAudio->mBuffer.data()[seekAmount]; in audioReadCallback()
123 mBuffer.resize(bufferSize); in PlatformAudio()
182 mDataEvent.samplesS16 = mBuffer.data(); in initAudioDataEvent()
/system/core/libutils/include/utils/
DTokenizer.h123 char* mBuffer; variable
130 inline const char* getEnd() const { return mBuffer + mLength; } in getEnd()
/system/chre/util/include/chre/util/
Dbuffer_base.h35 void *mBuffer = nullptr; variable
Dbuffer.h51 return static_cast<ElementType *>(mBuffer); in data()
/system/core/storaged/
Dstoraged_diskstats.cpp277 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/chre/platform/android/include/chre/target_platform/
Dplatform_audio_base.h57 std::vector<int16_t> mBuffer; variable
/system/core/libsysutils/include/sysutils/
DNetlinkListener.h24 char mBuffer[64 * 1024] __attribute__((aligned(4))); variable
/system/core/libutils/
DTokenizer.cpp37 mBuffer(buffer), mOwnBuffer(ownBuffer), mLength(length), in Tokenizer()
44 delete[] mBuffer; in ~Tokenizer()
/system/libhwbinder/
DTextOutput.cpp53 : mBuffer(buf) in HexDump()
/system/libhwbinder/include/hwbinder/
DTextOutput.h114 const void* mBuffer;
195 inline const void* HexDump::buffer() const { return mBuffer; } in buffer()
/system/core/storaged/include/
Dstoraged_diskstats.h152 std::queue<struct disk_perf> mBuffer; variable
/system/libhidl/transport/
DHidlBinderSupport.cpp129 const size_t hidl_string::kOffsetOfBuffer = offsetof(hidl_string, mBuffer);
/system/core/storaged/tests/
Dstoraged_test.cpp268 dsm_detect.mBuffer.push(perf); in TEST()
269 EXPECT_EQ(dsm_detect.mBuffer.size(), (uint64_t)i + 1); in TEST()