Searched refs:pid_file (Results 1 - 25 of 29) sorted by relevance

12

/external/chromium_org/tools/telemetry/telemetry/core/platform/profiler/
H A Dtcmalloc_heap_profiler.py61 '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 Dos_none.c47 int os_daemonize(const char *pid_file) argument
53 void os_daemonize_terminate(const char *pid_file) argument
H A Dos_internal.c96 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 Dos_unix.c194 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 Dos_win32.c119 int os_daemonize(const char *pid_file) argument
126 void os_daemonize_terminate(const char *pid_file) argument
H A Dos.h148 * @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 Dos_none.c47 int os_daemonize(const char *pid_file) argument
53 void os_daemonize_terminate(const char *pid_file) argument
H A Dos_internal.c96 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 Dos_unix.c194 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 Dos_win32.c119 int os_daemonize(const char *pid_file) argument
126 void os_daemonize_terminate(const char *pid_file) argument
H A Dos.h148 * @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 Dos_none.c47 int os_daemonize(const char *pid_file) argument
53 void os_daemonize_terminate(const char *pid_file) argument
H A Dos_internal.c96 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 Dos_unix.c194 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 Dos_win32.c119 int os_daemonize(const char *pid_file) argument
126 void os_daemonize_terminate(const char *pid_file) argument
H A Dos.h148 * @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 Dsession.c123 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 Dmain.c283 const char *pid_file = _PATH_VARRUN "racoon.pid";
285 (void) unlink(pid_file);
/external/wpa_supplicant_8/wpa_supplicant/
H A Dmain.c253 os_free(params.pid_file);
254 params.pid_file = os_rel2abs_path(optarg);
348 os_free(params.pid_file);
H A Dwpa_priv.c951 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 Dmain.c361 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 Dhostapd_cli.c101 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 Dlighttpd_server.py61 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 Dforwarder.py262 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 Dinit.c1708 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);

Completed in 1349 milliseconds

12