Searched refs:env_var (Results 1 – 1 of 1) sorted by relevance
/art/libartbase/base/ |
D | file_utils.cc | 151 static const char* GetAndroidDirSafe(const char* env_var, in GetAndroidDirSafe() argument 155 const char* android_dir = getenv(env_var); in GetAndroidDirSafe() 160 *error_msg = StringPrintf("%s not set and %s does not exist", env_var, default_dir); in GetAndroidDirSafe() 165 *error_msg = StringPrintf("Failed to find %s directory %s", env_var, android_dir); in GetAndroidDirSafe() 171 static const char* GetAndroidDir(const char* env_var, const char* default_dir) { in GetAndroidDir() argument 173 const char* dir = GetAndroidDirSafe(env_var, default_dir, /* must_exist= */ true, &error_msg); in GetAndroidDir() 330 const char* env_var, in IsLocationOnModule() argument 334 const char* module_path = GetAndroidDirSafe(env_var, in IsLocationOnModule()
|