Lines Matching refs:memory
112 void *memory = allocateRaw(bytes, alignment); in allocate() local
114 if(memory) in allocate()
116 memset(memory, 0, bytes); in allocate()
119 return memory; in allocate()
122 void deallocate(void *memory) in deallocate() argument
125 free(memory); in deallocate()
127 if(memory) in deallocate()
129 unsigned char *aligned = (unsigned char *)memory; in deallocate()
137 void clear(uint16_t *memory, uint16_t element, size_t count) in clear() argument
140 __stosw(memory, element, count); in clear()
143 : "+D"(memory), "+c"(count) in clear()
149 memory[i] = element; in clear()
154 void clear(uint32_t *memory, uint32_t element, size_t count) in clear() argument
157 __stosd((unsigned long *)memory, element, count); in clear()
160 : "+D"(memory), "+c"(count) in clear()
166 memory[i] = element; in clear()