Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/RawIp4Rx/
DRawIp4Rx.c17 UINT8 mBuffer[65536]; variable
104 &mBuffer[0], in RawIp4Rx()
105 sizeof ( mBuffer ), in RawIp4Rx()
123 mBuffer[0], in RawIp4Rx()
124 mBuffer[1], in RawIp4Rx()
125 mBuffer[2], in RawIp4Rx()
126 mBuffer[3], in RawIp4Rx()
127 mBuffer[4], in RawIp4Rx()
128 mBuffer[5], in RawIp4Rx()
129 mBuffer[6], in RawIp4Rx()
[all …]
/device/generic/goldfish-opengl/android-emu/android/base/
DAlignedBuf.h42 if (other.mBuffer) { // could have got moved out in AlignedBuf()
43 std::copy(other.mBuffer, other.mBuffer + other.mSize, mBuffer); in AlignedBuf()
58 mBuffer = other.mBuffer;
61 other.mBuffer = nullptr;
67 ~AlignedBuf() { if (mBuffer) freeImpl(mBuffer); } // account for getting moved out in ~AlignedBuf()
86 T* data() { return mBuffer; } in data()
88 T& operator[](size_t index) { return mBuffer[index]; }
90 const T& operator[](size_t index) const { return mBuffer[index]; }
93 return 0 == std::memcmp(mBuffer, other.mBuffer, sizeof(T) * std::min(mSize, other.mSize));
104 std::vector<T> temp(mBuffer, mBuffer + keepSize); in resizeImpl()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/SetHostName/
DSetHostName.c25 char mBuffer[65536]; variable
82 AppStatus = gethostname ( &mBuffer[0], sizeof ( mBuffer )); in main()
87 if ( 0 == mBuffer[0]) { in main()
91 Print ( L"Host name: %a", &mBuffer[0]); in main()
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/OobTx/
DOobTx.c17 UINT8 mBuffer[8192]; variable
145 memset ( &mBuffer[0], 0, sizeof ( mBuffer )); in OobTx()
156 &mBuffer[BytesSent], in OobTx()
157 sizeof ( mBuffer ) - BytesSent, in OobTx()
166 } while ( sizeof ( mBuffer ) > BytesSent ); in OobTx()
206 &mBuffer[BytesSent], in OobTx()
207 sizeof ( mBuffer ) - BytesSent, in OobTx()
216 } while ( sizeof ( mBuffer ) > BytesSent ); in OobTx()
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/RawIp4Tx/
DRawIp4Tx.c17 UINT8 mBuffer[1024]; variable
111 memset ( &mBuffer[0], 0, sizeof ( mBuffer )); in RawIp4Tx()
120 &mBuffer[BytesSent], in RawIp4Tx()
121 sizeof ( mBuffer ) - BytesSent, in RawIp4Tx()
132 } while ( sizeof ( mBuffer ) > BytesSent ); in RawIp4Tx()
/device/google/cuttlefish_common/guest/hals/camera/
DCompressor.cpp41 return mDestManager.mBuffer; in getCompressedData()
209 manager->mBuffer.resize(16 * 1024); in initDestination()
210 manager->next_output_byte = &manager->mBuffer[0]; in initDestination()
211 manager->free_in_buffer = manager->mBuffer.size(); in initDestination()
220 size_t oldSize = manager->mBuffer.size(); in emptyOutputBuffer()
221 manager->mBuffer.resize(oldSize * 2); in emptyOutputBuffer()
222 manager->next_output_byte = &manager->mBuffer[oldSize]; in emptyOutputBuffer()
223 manager->free_in_buffer = manager->mBuffer.size() - oldSize; in emptyOutputBuffer()
232 manager->mBuffer.resize(manager->mBuffer.size() - manager->free_in_buffer); in termDestination()
DCompressor.h57 std::vector<unsigned char> mBuffer; member
/device/generic/goldfish/camera/jpeg-stub/
DCompressor.cpp41 return mDestManager.mBuffer; in getCompressedData()
209 manager->mBuffer.resize(16 * 1024); in initDestination()
210 manager->next_output_byte = &manager->mBuffer[0]; in initDestination()
211 manager->free_in_buffer = manager->mBuffer.size(); in initDestination()
220 size_t oldSize = manager->mBuffer.size(); in emptyOutputBuffer()
221 manager->mBuffer.resize(oldSize * 2); in emptyOutputBuffer()
222 manager->next_output_byte = &manager->mBuffer[oldSize]; in emptyOutputBuffer()
223 manager->free_in_buffer = manager->mBuffer.size() - oldSize; in emptyOutputBuffer()
232 manager->mBuffer.resize(manager->mBuffer.size() - manager->free_in_buffer); in termDestination()
DCompressor.h57 std::vector<unsigned char> mBuffer; member
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/OobRx/
DOobRx.c17 UINT8 mBuffer[65536]; variable
153 BytesReceived = recv ( a, &mBuffer[0], sizeof ( mBuffer ), MSG_OOB ); in OobRx()
186 BytesReceived = recv ( a, &mBuffer[0], sizeof ( mBuffer ), 0 ); in OobRx()
/device/google/contexthub/sensorhal/
Ddirectchannel.cpp28 return mBuffer != nullptr; in isValid()
37 mBuffer->write(ev, 1); in write()
62 mBuffer = std::unique_ptr<LockfreeBuffer>(new LockfreeBuffer(mBase, mSize)); in AshmemDirectChannel()
63 if (!mBuffer) { in AshmemDirectChannel()
70 mBuffer = nullptr; in ~AshmemDirectChannel()
304 mBuffer = std::make_unique<LockfreeBuffer>(mBase, mSize); in GrallocDirectChannel()
305 if (!mBuffer) { in GrallocDirectChannel()
316 mBuffer = nullptr; in ~GrallocDirectChannel()
Ddirectchannel.h42 std::unique_ptr<LockfreeBuffer> mBuffer; variable
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/RecvDgram/
DRecvDgram.c28 UINT8 mBuffer[ 65536 ]; variable
78 &mBuffer[0], in main()
79 sizeof ( mBuffer[0]), in main()
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/SetSockOpt/
DSetSockOpt.c65 UINT8 mBuffer[ 65536 ]; variable
105 Value.u8 = &mBuffer[0]; in DisplayOption()
312 LengthInBytes = sizeof ( mBuffer ); in main()
316 &mBuffer, in main()
350 &mBuffer, in main()
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Opal/OpalPasswordSmm/
DOpalPasswordSmm.c59 VOID *mBuffer = NULL; // DMA can not read/write Data to smram, so we pre-allocates … variable
717 mBuffer = NULL; in OpalPasswordSmmInit()
761 mBuffer = (VOID *)(UINTN)Address; in OpalPasswordSmmInit()
762 ZeroMem ((VOID *)(UINTN)mBuffer, SMM_SIZE_ALLOC_BYTES); in OpalPasswordSmmInit()
858 if (mBuffer != NULL) { in OpalPasswordSmmInit()
859 … gBS->FreePages ((EFI_PHYSICAL_ADDRESS)(UINTN) mBuffer, EFI_SIZE_TO_PAGES (SMM_SIZE_ALLOC_BYTES)); in OpalPasswordSmmInit()
907 ZeroMem( mBuffer, HDD_PAYLOAD ); in PerformTrustedIo()
911 CopyMem( mBuffer, Buffer, TransferLength ); in PerformTrustedIo()
923 mBuffer, in PerformTrustedIo()
929 CopyMem( Buffer, mBuffer, TransferLength ); in PerformTrustedIo()
DOpalPasswordSmm.h71 extern VOID *mBuffer;
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/GetServByPort/
DGetServByPort.c25 char mBuffer[65536]; variable
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/GetServByName/
DGetServByName.c24 char mBuffer[65536]; variable
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/GetNetByName/
DGetNetByName.c24 char mBuffer[65536]; variable
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/GetHostByDns/
DGetHostByDns.c26 char mBuffer[65536]; variable
/device/generic/goldfish-opengl/system/hwc2/
DEmuHWC2.h124 FencedBuffer() : mBuffer(nullptr), mFence(MiniFence::NO_FENCE) {} in FencedBuffer()
126 void setBuffer(buffer_handle_t buffer) { mBuffer = buffer; } in setBuffer()
129 buffer_handle_t getBuffer() const { return mBuffer; } in getBuffer()
133 buffer_handle_t mBuffer;
391 FencedBuffer& getLayerBuffer() {return mBuffer; } in getLayerBuffer()
401 FencedBuffer mBuffer; variable
DEmuHWC2.cpp1223 mBuffer(), in Layer()
1241 mBuffer.setBuffer(buffer); in setBuffer()
1242 mBuffer.setFence(acquireFence); in setBuffer()
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/GetNameInfo/
DGetNameInfo.c26 char mBuffer[65536]; variable
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/GetHostByName/
DGetHostByName.c24 char mBuffer[65536]; variable
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/GetAddrInfo/
DGetAddrInfo.c26 char mBuffer[65536]; variable