/external/chromium_org/tools/telemetry/telemetry/core/platform/profiler/ |
H A D | tcmalloc_heap_profiler.py | 61 'browser.pid'), 'w') as pid_file: 62 pid_file.write(str(self._browser_backend.pid).rjust(5, '0')) 89 'browser.pid'), 'w') as pid_file: 90 pid_file.write(str(self._browser_backend.pid))
|
/external/wpa_supplicant_8/hostapd/src/utils/ |
H A D | os_none.c | 47 int os_daemonize(const char *pid_file) argument 53 void os_daemonize_terminate(const char *pid_file) argument
|
H A D | os_internal.c | 96 int os_daemonize(const char *pid_file) argument 103 if (pid_file) { 104 FILE *f = fopen(pid_file, "w"); 115 void os_daemonize_terminate(const char *pid_file) argument 117 if (pid_file) 118 unlink(pid_file);
|
H A D | os_unix.c | 194 int os_daemonize(const char *pid_file) argument 204 if (pid_file) { 205 FILE *f = fopen(pid_file, "w"); 217 void os_daemonize_terminate(const char *pid_file) argument 219 if (pid_file) 220 unlink(pid_file);
|
H A D | os_win32.c | 119 int os_daemonize(const char *pid_file) argument 126 void os_daemonize_terminate(const char *pid_file) argument
|
H A D | os.h | 148 * @pid_file: File name to write the process ID to or %NULL to skip this 151 int os_daemonize(const char *pid_file); 155 * @pid_file: File name to write the process ID to or %NULL to skip this 157 void os_daemonize_terminate(const char *pid_file);
|
/external/wpa_supplicant_8/src/utils/ |
H A D | os_none.c | 47 int os_daemonize(const char *pid_file) argument 53 void os_daemonize_terminate(const char *pid_file) argument
|
H A D | os_internal.c | 96 int os_daemonize(const char *pid_file) argument 103 if (pid_file) { 104 FILE *f = fopen(pid_file, "w"); 115 void os_daemonize_terminate(const char *pid_file) argument 117 if (pid_file) 118 unlink(pid_file);
|
H A D | os_unix.c | 194 int os_daemonize(const char *pid_file) argument 204 if (pid_file) { 205 FILE *f = fopen(pid_file, "w"); 217 void os_daemonize_terminate(const char *pid_file) argument 219 if (pid_file) 220 unlink(pid_file);
|
H A D | os_win32.c | 119 int os_daemonize(const char *pid_file) argument 126 void os_daemonize_terminate(const char *pid_file) argument
|
H A D | os.h | 148 * @pid_file: File name to write the process ID to or %NULL to skip this 151 int os_daemonize(const char *pid_file); 155 * @pid_file: File name to write the process ID to or %NULL to skip this 157 void os_daemonize_terminate(const char *pid_file);
|
/external/wpa_supplicant_8/wpa_supplicant/src/utils/ |
H A D | os_none.c | 47 int os_daemonize(const char *pid_file) argument 53 void os_daemonize_terminate(const char *pid_file) argument
|
H A D | os_internal.c | 96 int os_daemonize(const char *pid_file) argument 103 if (pid_file) { 104 FILE *f = fopen(pid_file, "w"); 115 void os_daemonize_terminate(const char *pid_file) argument 117 if (pid_file) 118 unlink(pid_file);
|
H A D | os_unix.c | 194 int os_daemonize(const char *pid_file) argument 204 if (pid_file) { 205 FILE *f = fopen(pid_file, "w"); 217 void os_daemonize_terminate(const char *pid_file) argument 219 if (pid_file) 220 unlink(pid_file);
|
H A D | os_win32.c | 119 int os_daemonize(const char *pid_file) argument 126 void os_daemonize_terminate(const char *pid_file) argument
|
H A D | os.h | 148 * @pid_file: File name to write the process ID to or %NULL to skip this 151 int os_daemonize(const char *pid_file); 155 * @pid_file: File name to write the process ID to or %NULL to skip this 157 void os_daemonize_terminate(const char *pid_file);
|
/external/ipsec-tools/src/racoon/ |
H A D | session.c | 123 char pid_file[MAXPATHLEN]; local 158 strlcpy(pid_file, _PATH_VARRUN "racoon.pid", MAXPATHLEN); 160 strlcpy(pid_file, lcconf->pathinfo[LC_PATHTYPE_PIDFILE], MAXPATHLEN); 162 strlcat(pid_file, _PATH_VARRUN, MAXPATHLEN); 163 strlcat(pid_file, lcconf->pathinfo[LC_PATHTYPE_PIDFILE], MAXPATHLEN); 165 fp = fopen(pid_file, "w"); 177 "cannot open %s", pid_file);
|
H A D | main.c | 283 const char *pid_file = _PATH_VARRUN "racoon.pid"; 285 (void) unlink(pid_file);
|
/external/wpa_supplicant_8/wpa_supplicant/ |
H A D | main.c | 253 os_free(params.pid_file); 254 params.pid_file = os_rel2abs_path(optarg); 348 os_free(params.pid_file);
|
H A D | wpa_priv.c | 951 char *pid_file = NULL; local 976 pid_file = os_rel2abs_path(optarg); 1005 if (daemonize && os_daemonize(pid_file)) 1023 os_daemonize_terminate(pid_file); 1024 os_free(pid_file);
|
/external/wpa_supplicant_8/hostapd/ |
H A D | main.c | 361 static void hostapd_global_deinit(const char *pid_file) argument 387 os_daemonize_terminate(pid_file); 392 const char *pid_file) 413 if (daemonize && os_daemonize(pid_file)) { 545 char *pid_file = NULL; local 594 os_free(pid_file); 595 pid_file = os_rel2abs_path(optarg); 733 if (hostapd_global_run(&interfaces, daemonize, pid_file)) { 753 hostapd_global_deinit(pid_file); 754 os_free(pid_file); 391 hostapd_global_run(struct hapd_interfaces *ifaces, int daemonize, const char *pid_file) argument [all...] |
H A D | hostapd_cli.c | 101 static const char *pid_file = NULL; variable 1173 if (pid_file) 1174 os_daemonize_terminate(pid_file); 1318 if (daemonize && os_daemonize(pid_file))
|
/external/chromium_org/build/android/ |
H A D | lighttpd_server.py | 61 self.pid_file = self._Mktmp('pid_file') 102 assert int(open(self.pid_file, 'r').read()) == self.process.pid 237 server.pid-file = "%(pid_file)s"
|
/external/chromium_org/build/android/pylib/ |
H A D | forwarder.py | 262 with os.fdopen(fd, 'r+') as pid_file: 263 pid_with_start_time = pid_file.readline() 270 pid_file.seek(0) 271 pid_file.write(
|
/external/fio/ |
H A D | init.c | 1708 void *pid_file = NULL; local 1950 if (pid_file) 1951 free(pid_file); 1952 pid_file = strdup(optarg); 2031 return fio_start_server(pid_file); 2032 else if (pid_file) 2033 free(pid_file); 2051 if (pid_file) 2052 free(pid_file);
|