Home
last modified time | relevance | path

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

/art/runtime/
Dcommon_runtime_test.cc144 char* cwd = getcwd(nullptr, 0); in SetUpAndroidRoot() local
145 setenv("ANDROID_BUILD_TOP", cwd, 1); in SetUpAndroidRoot()
146 root += cwd; in SetUpAndroidRoot()
147 free(cwd); in SetUpAndroidRoot()
206 char* cwd = getcwd(nullptr, 0); in GetAndroidToolsDir() local
207 setenv("ANDROID_BUILD_TOP", cwd, 1); in GetAndroidToolsDir()
208 root = cwd; in GetAndroidToolsDir()
209 free(cwd); in GetAndroidToolsDir()
Doat_file_assistant_test.cc823 std::string cwd = getcwd(buf, MAXPATHLEN); in MakePathRelative() local
829 Split(cwd, '/', &cwd_path); in MakePathRelative()
/art/test/115-native-bridge/
Dnativebridge.cc289 char cwd[1024]; in native_bridge_loadLibrary() local
290 if (getcwd(cwd, sizeof(cwd)) != nullptr) { in native_bridge_loadLibrary()
291 printf("Current working dir: %s\n", cwd); in native_bridge_loadLibrary()