Searched refs:Strdup (Results 1 – 2 of 2) sorted by relevance
122 char* msg2 = a->Strdup(msg); in TestArena()260 char* s1 = arena->Strdup(sshort); in TestArena2()261 char* s2 = arena->Strdup(slong); in TestArena2()269 char* s9 = arena->Strdup(s1); in TestArena2()272 char* s12 = arena->Strdup(s9); in TestArena2()
248 char* Strdup(const char* s) { return Memdup(s, strlen(s) + 1); } in Strdup() function