Home
last modified time | relevance | path

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

/system/core/logcat/
Dlogcat_system.cpp81 std::vector<const char*> envp; in android_logcat_popen() local
83 envp.push_back(str.c_str()); in android_logcat_popen()
85 envp.push_back(NULL); in android_logcat_popen()
91 *ctx, argv.size() - 1, (char* const*)&argv[0], (char* const*)&envp[0]); in android_logcat_popen()
94 envp.clear(); in android_logcat_popen()
131 std::vector<const char*> envp; in android_logcat_system() local
133 envp.push_back(str.c_str()); in android_logcat_system()
135 envp.push_back(NULL); in android_logcat_system()
142 (char* const*)&envp[0]); in android_logcat_system()
Dlogcatd_main.cpp26 int main(int argc, char** argv, char** envp) { in main() argument
50 (char* const*)&argv_hold[0], envp); in main()
66 (char* const*)&argv_hold[0], envp); in main()
Dlogcat_main.cpp22 int main(int argc, char** argv, char** envp) { in main() argument
26 int retval = android_logcat_run_command(ctx, -1, -1, argc, argv, envp); in main()
Dlogcat.cpp85 char* const* envp; member
709 if (!context->envp || !name || !*name) return nullptr; in getenv()
711 for (size_t len = strlen(name), i = 0; context->envp[i]; ++i) { in getenv()
712 if (strncmp(context->envp[i], name, len)) continue; in getenv()
713 if (context->envp[i][len] == '=') return &context->envp[i][len + 1]; in getenv()
1698 char* const* envp) { in android_logcat_run_command() argument
1705 context->envp = envp; in android_logcat_run_command()
1714 char* const* envp) { in android_logcat_run_command_thread() argument
1748 if (envp) for (size_t i = 0; envp[i]; ++i) { in android_logcat_run_command_thread()
1749 context->envs.push_back(std::string(envp[i])); in android_logcat_run_command_thread()
[all …]
/system/core/logcat/include/log/
Dlogcat.h79 int argc, char* const* argv, char* const* envp);
88 char* const* argv, char* const* envp);
/system/update_engine/
Dtest_subprocess.cc38 int main(int argc, char** argv, char** envp) { in main() argument
/system/core/init/
Dinit.cpp616 char* const envp[]) { in fork_execve_and_wait_for_completion() argument
646 if (execve(filename, argv, envp) == -1) { in fork_execve_and_wait_for_completion()