Home
last modified time | relevance | path

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

/system/iorap/src/common/
Dcmd_utils.h128 std::string env_str = prop; in GetEnvOrProperty() local
130 std::replace(env_str.begin(), env_str.end(), '.', '_'); in GetEnvOrProperty()
132 std::transform(env_str.begin(), env_str.end(), env_str.begin(), ::toupper); in GetEnvOrProperty()
133 char *env = getenv(env_str.c_str()); in GetEnvOrProperty()
147 std::string env_str = prop; in GetBoolEnvOrProperty() local
149 std::replace(env_str.begin(), env_str.end(), '.', '_'); in GetBoolEnvOrProperty()
151 std::transform(env_str.begin(), env_str.end(), env_str.begin(), ::toupper); in GetBoolEnvOrProperty()
152 char *env = getenv(env_str.c_str()); in GetBoolEnvOrProperty()
/system/core/fastboot/
Dfs.cpp48 std::string env_str; in exec_cmd() local
51 env_str += std::string(*envp) + std::string("\0", 1); in exec_cmd()
62 env_str.empty() ? nullptr : LPSTR(env_str.c_str()), in exec_cmd()