Lines Matching refs:ptr
34 ArrayMemory::ArrayMemory(char* ptr, size_t bufferLength,int aligned, bool tail) in ArrayMemory() argument
36 this->m_ptr=ptr; in ArrayMemory()
37 this->m_currentPtr=ptr; in ArrayMemory()
44 memset((void*)ptr, 0, bufferLength); in ArrayMemory()
49 ArrayMemory::ArrayMemory(char* ptr, size_t bufferLength) in ArrayMemory() argument
51 this->m_ptr=ptr; in ArrayMemory()
52 this->m_currentPtr=ptr; in ArrayMemory()
60 memset((void*)ptr, 0, bufferLength); in ArrayMemory()
119 bool ArrayMemory::IsTailEmpty(char *ptr, size_t length) in IsTailEmpty() argument
121 if ((ptr == NULL) || (length == 0)) in IsTailEmpty()
127 char *p=ptr + length; in IsTailEmpty()