Home
last modified time | relevance | path

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

/frameworks/base/cmds/dumpstate/
Ddumpstate.c237 pid_t gzip_pid = -1; in main() local
253 gzip_pid = redirect_to_file(stdout, tmp_path, do_compress); in main()
276 if (gzip_pid > 0) { in main()
278 waitpid(gzip_pid, NULL, 0); in main()
Dutils.c278 pid_t gzip_pid = -1; in redirect_to_file() local
289 gzip_pid = fork(); in redirect_to_file()
290 if (gzip_pid < 0) { in redirect_to_file()
295 if (gzip_pid == 0) { in redirect_to_file()
317 return gzip_pid; in redirect_to_file()