Home
last modified time | relevance | path

Searched refs:allocated_buf (Results 1 – 1 of 1) sorted by relevance

/bionic/libc/bionic/
Dgetcwd.cpp42 char* allocated_buf = NULL; in getcwd() local
50 buf = allocated_buf = static_cast<char*>(malloc(allocated_size)); in getcwd()
61 free(allocated_buf); in getcwd()
67 if (allocated_buf != NULL) { in getcwd()
69 buf = strdup(allocated_buf); in getcwd()
70 free(allocated_buf); in getcwd()
72 buf = allocated_buf; in getcwd()