Searched refs:cwd (Results 1 – 4 of 4) sorted by relevance
67 char* cwd = getcwd(nullptr, 0); in getcwd() local68 if (cwd != nullptr) *s = cwd; in getcwd()69 free(cwd); in getcwd()70 return (cwd != nullptr); in getcwd()
27 bool getcwd(std::string* cwd);
1349 std::string cwd; in find_product_out_path() local1350 if (!getcwd(&cwd)) { in find_product_out_path()1354 return android::base::StringPrintf("%s%c%s", cwd.c_str(), OS_PATH_SEPARATOR, hint.c_str()); in find_product_out_path()
633 const char* cwd = getcwd(cwd_buffer.data(), cwd_buffer.size() - 1); in main() local634 if (cwd == nullptr) { in main()640 test_data_dir = cwd + test_data_dir; in main()