Searched refs:pid_file (Results 1 - 25 of 32) 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.c41 int os_daemonize(const char *pid_file) argument
47 void os_daemonize_terminate(const char *pid_file) argument
H A Dos_internal.c85 int os_daemonize(const char *pid_file) argument
92 if (pid_file) {
93 FILE *f = fopen(pid_file, "w");
104 void os_daemonize_terminate(const char *pid_file) argument
106 if (pid_file)
107 unlink(pid_file);
H A Dos_unix.c156 int os_daemonize(const char *pid_file) argument
166 if (pid_file) {
167 FILE *f = fopen(pid_file, "w");
179 void os_daemonize_terminate(const char *pid_file) argument
181 if (pid_file)
182 unlink(pid_file);
H A Dos_win32.c108 int os_daemonize(const char *pid_file) argument
115 void os_daemonize_terminate(const char *pid_file) argument
H A Dos.h80 * @pid_file: File name to write the process ID to or %NULL to skip this
83 int os_daemonize(const char *pid_file);
87 * @pid_file: File name to write the process ID to or %NULL to skip this
89 void os_daemonize_terminate(const char *pid_file);
/external/wpa_supplicant_8/src/utils/
H A Dos_none.c41 int os_daemonize(const char *pid_file) argument
47 void os_daemonize_terminate(const char *pid_file) argument
H A Dos_internal.c85 int os_daemonize(const char *pid_file) argument
92 if (pid_file) {
93 FILE *f = fopen(pid_file, "w");
104 void os_daemonize_terminate(const char *pid_file) argument
106 if (pid_file)
107 unlink(pid_file);
H A Dos_unix.c156 int os_daemonize(const char *pid_file) argument
166 if (pid_file) {
167 FILE *f = fopen(pid_file, "w");
179 void os_daemonize_terminate(const char *pid_file) argument
181 if (pid_file)
182 unlink(pid_file);
H A Dos_win32.c108 int os_daemonize(const char *pid_file) argument
115 void os_daemonize_terminate(const char *pid_file) argument
H A Dos.h80 * @pid_file: File name to write the process ID to or %NULL to skip this
83 int os_daemonize(const char *pid_file);
87 * @pid_file: File name to write the process ID to or %NULL to skip this
89 void os_daemonize_terminate(const char *pid_file);
/external/wpa_supplicant_8/wpa_supplicant/src/utils/
H A Dos_none.c41 int os_daemonize(const char *pid_file) argument
47 void os_daemonize_terminate(const char *pid_file) argument
H A Dos_internal.c85 int os_daemonize(const char *pid_file) argument
92 if (pid_file) {
93 FILE *f = fopen(pid_file, "w");
104 void os_daemonize_terminate(const char *pid_file) argument
106 if (pid_file)
107 unlink(pid_file);
H A Dos_unix.c156 int os_daemonize(const char *pid_file) argument
166 if (pid_file) {
167 FILE *f = fopen(pid_file, "w");
179 void os_daemonize_terminate(const char *pid_file) argument
181 if (pid_file)
182 unlink(pid_file);
H A Dos_win32.c108 int os_daemonize(const char *pid_file) argument
115 void os_daemonize_terminate(const char *pid_file) argument
H A Dos.h80 * @pid_file: File name to write the process ID to or %NULL to skip this
83 int os_daemonize(const char *pid_file);
87 * @pid_file: File name to write the process ID to or %NULL to skip this
89 void os_daemonize_terminate(const char *pid_file);
/external/wpa_supplicant_8/hostapd/
H A Dmain.c414 static void hostapd_global_deinit(const char *pid_file) argument
440 os_daemonize_terminate(pid_file);
445 const char *pid_file)
466 if (daemonize && os_daemonize(pid_file)) {
572 char *pid_file = NULL; local
616 os_free(pid_file);
617 pid_file = os_rel2abs_path(optarg);
676 if (hostapd_global_run(&interfaces, daemonize, pid_file)) {
690 hostapd_global_deinit(pid_file);
691 os_free(pid_file);
444 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
1013 if (pid_file)
1014 os_daemonize_terminate(pid_file);
1158 if (daemonize && os_daemonize(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.c233 os_free(params.pid_file);
234 params.pid_file = os_rel2abs_path(optarg);
327 os_free(params.pid_file);
H A Dwpa_priv.c955 char *pid_file = NULL; local
980 pid_file = os_rel2abs_path(optarg);
1009 if (daemonize && os_daemonize(pid_file))
1027 os_daemonize_terminate(pid_file);
1028 os_free(pid_file);
/external/chromium_org/build/android/pylib/
H A Dforwarder.py253 with os.fdopen(fd, 'r+') as pid_file:
254 pid_with_start_time = pid_file.readline()
261 pid_file.seek(0)
262 pid_file.write(
/external/chromium_org/build/android/
H A Dlighttpd_server.py61 self.pid_file = self._Mktmp('pid_file')
101 assert int(open(self.pid_file, 'r').read()) == self.process.pid
234 server.pid-file = "%(pid_file)s"
/external/openssh/
H A Dservconf.h61 char *pid_file; /* Where to put our pid */ member in struct:__anon24413

Completed in 242 milliseconds

12