Home | History | Annotate | Download | only in examples

Lines Matching refs:mem

70   struct MemoryStruct *mem = &state->characters;
72 mem->memory = realloc(mem->memory, mem->size + len + 1);
73 if(mem->memory == NULL) {
80 memcpy(&(mem->memory[mem->size]), s, len);
81 mem->size += len;
82 mem->memory[mem->size] = 0;