Searched defs:allocSize (Results 1 - 1 of 1) sorted by relevance

/sdk/emulator/opengl/shared/OpenglCodecCommon/
H A DSocketStream.cpp66 size_t allocSize = (m_bufsize < minSize ? minSize : m_bufsize); local
68 m_buf = (unsigned char *)malloc(allocSize);
70 else if (m_bufsize < allocSize) {
71 unsigned char *p = (unsigned char *)realloc(m_buf, allocSize);
74 m_bufsize = allocSize;
76 ERR("%s: realloc (%zu) failed\n", __FUNCTION__, allocSize);

Completed in 111 milliseconds