Home
last modified time | relevance | path

Searched refs:newMemory (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/
DMemoryBuffer.cpp38 uint8_t *newMemory = reinterpret_cast<uint8_t*>(malloc(sizeof(uint8_t) * size)); in resize() local
39 if (newMemory == NULL) in resize()
47 std::copy(mData, mData + std::min(mSize, size), newMemory); in resize()
51 mData = newMemory; in resize()
/external/webrtc/src/modules/interface/
Dmodule_common_types.h452 WebRtc_Word32 Swap(WebRtc_UWord8*& newMemory,
620 VideoFrame::Swap(WebRtc_UWord8*& newMemory, WebRtc_UWord32& newLength, WebRtc_UWord32& newSize) in Swap() argument
625 _buffer = newMemory; in Swap()
628 newMemory = tmpBuffer; in Swap()
/external/chromium_org/third_party/webrtc/modules/interface/
Dmodule_common_types.h427 int32_t Swap(uint8_t*& newMemory, uint32_t& newLength, uint32_t& newSize);
576 inline int32_t VideoFrame::Swap(uint8_t*& newMemory, uint32_t& newLength, in Swap() argument
581 _buffer = newMemory; in Swap()
584 newMemory = tmpBuffer; in Swap()