Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dgetcwd.cpp45 char* allocated_buf = NULL; in getcwd() local
53 buf = allocated_buf = static_cast<char*>(malloc(allocated_size)); in getcwd()
64 free(allocated_buf); in getcwd()
70 if (allocated_buf != NULL) { in getcwd()
72 buf = strdup(allocated_buf); in getcwd()
73 free(allocated_buf); in getcwd()
75 buf = allocated_buf; in getcwd()