Searched refs:last_null_terminator (Results 1 – 1 of 1) sorted by relevance
138 size_t last_null_terminator = memory_buffer_size - 1; in LoadMapFromMemory() local139 if (memory_buffer[last_null_terminator] != '\0') { in LoadMapFromMemory()140 memory_buffer[last_null_terminator] = '\0'; in LoadMapFromMemory()146 while (last_null_terminator > 0 && in LoadMapFromMemory()147 memory_buffer[last_null_terminator - 1] == '\0') { in LoadMapFromMemory()148 last_null_terminator--; in LoadMapFromMemory()150 for (size_t i = 0; i < last_null_terminator; i++) { in LoadMapFromMemory()