/external/curl/tests/ |
D | ftp.pm | 79 my $pidfile = $_[0]; 82 if(-f $pidfile && -s $pidfile && open(PIDFH, "<$pidfile")) { 206 my $pidfile = $_[0]; 209 my $pid = pidfromfile($pidfile); 218 unlink($pidfile) if($pid == pidfromfile($pidfile)); 327 my $pidfile; 338 $pidfile = mainsockf_pidfilename($proto, $ipvnum, $idnum); 339 $pid = processexists($pidfile); 346 unlink($pidfile) if(-f $pidfile); 352 $pidfile = datasockf_pidfilename($proto, $ipvnum, $idnum); [all …]
|
D | runtests.pl | 492 my ($cmd, $pidfile, $timeout, $fake)=@_; 521 if(open(OUT, ">$pidfile")) { 524 logmsg "startnew: $pidfile faked with pid=$child\n" if($verbose); 527 logmsg "startnew: failed to write fake $pidfile with pid=$child\n"; 539 if(-f $pidfile && -s $pidfile && open(PID, "<$pidfile")) { 867 my $pidfile = $serverpidfile{$server}; 868 my $pid = processexists($pidfile); 880 unlink($pidfile) if(-f $pidfile); 1129 my $pidfile = server_pidfilename($proto, $ipvnum, $idnum); 1131 if(open(FILE, "<$pidfile")) { [all …]
|
D | secureserver.pl | 64 my $pidfile; # stunnel pid file 160 $pidfile = "$path/". $ARGV[1]; 179 if(!$pidfile) { 180 $pidfile = "$path/". server_pidfilename($proto, $ipvnum, $idnum); 248 $cmd = "$stunnel -p $certfile -P $pidfile "; 256 print "pid file: $pidfile\n"; 292 print STUNCONF "pid = $pidfile\n"; 319 print "pid = $pidfile\n"; 341 if(open(OUT, ">$pidfile")) {
|
D | tftpserver.pl | 48 my $pidfile; 61 $pidfile = $ARGV[1]; 113 if(!$pidfile) { 114 $pidfile = "$path/". server_pidfilename($proto, $ipvnum, $idnum); 120 $flags .= "--pidfile \"$pidfile\" ".
|
D | rtspserver.pl | 48 my $pidfile; # rtsp server pid file 60 $pidfile = $ARGV[1]; 112 if(!$pidfile) { 113 $pidfile = "$path/". server_pidfilename($proto, $ipvnum, $idnum); 119 $flags .= "--pidfile \"$pidfile\" ".
|
D | http-server.pl | 49 my $pidfile; # pid file 63 $pidfile = $ARGV[1]; 131 if(!$pidfile) { 132 $pidfile = "$path/". server_pidfilename($proto, $ipvnum, $idnum); 141 $flags .= "--pidfile \"$pidfile\" ".
|
/external/strace/tests-mx32/ |
D | attach-p-cmd-p.c | 61 FILE *fp = fopen(pidfile, "r"); in wait_for_peer_termination() 63 perror_msg_and_fail("fopen: %s", pidfile); in wait_for_peer_termination() 67 perror_msg_and_fail("fscanf: %s", pidfile); in wait_for_peer_termination() 72 perror_msg_and_fail("fclose: %s", pidfile); in wait_for_peer_termination() 74 if (unlink(pidfile)) in wait_for_peer_termination() 75 perror_msg_and_fail("unlink: %s", pidfile); in wait_for_peer_termination()
|
D | attach-p-cmd-cmd.c | 40 FILE *fp = fopen(pidfile, "w"); in write_pidfile() 42 perror_msg_and_fail("fopen: %s", pidfile); in write_pidfile() 45 perror_msg_and_fail("fprintf: %s", pidfile); in write_pidfile() 48 perror_msg_and_fail("fclose: %s", pidfile); in write_pidfile()
|
/external/strace/tests/ |
D | attach-p-cmd-p.c | 61 FILE *fp = fopen(pidfile, "r"); in wait_for_peer_termination() 63 perror_msg_and_fail("fopen: %s", pidfile); in wait_for_peer_termination() 67 perror_msg_and_fail("fscanf: %s", pidfile); in wait_for_peer_termination() 72 perror_msg_and_fail("fclose: %s", pidfile); in wait_for_peer_termination() 74 if (unlink(pidfile)) in wait_for_peer_termination() 75 perror_msg_and_fail("unlink: %s", pidfile); in wait_for_peer_termination()
|
D | attach-p-cmd-cmd.c | 40 FILE *fp = fopen(pidfile, "w"); in write_pidfile() 42 perror_msg_and_fail("fopen: %s", pidfile); in write_pidfile() 45 perror_msg_and_fail("fprintf: %s", pidfile); in write_pidfile() 48 perror_msg_and_fail("fclose: %s", pidfile); in write_pidfile()
|
/external/strace/tests-m32/ |
D | attach-p-cmd-p.c | 61 FILE *fp = fopen(pidfile, "r"); in wait_for_peer_termination() 63 perror_msg_and_fail("fopen: %s", pidfile); in wait_for_peer_termination() 67 perror_msg_and_fail("fscanf: %s", pidfile); in wait_for_peer_termination() 72 perror_msg_and_fail("fclose: %s", pidfile); in wait_for_peer_termination() 74 if (unlink(pidfile)) in wait_for_peer_termination() 75 perror_msg_and_fail("unlink: %s", pidfile); in wait_for_peer_termination()
|
D | attach-p-cmd-cmd.c | 40 FILE *fp = fopen(pidfile, "w"); in write_pidfile() 42 perror_msg_and_fail("fopen: %s", pidfile); in write_pidfile() 45 perror_msg_and_fail("fprintf: %s", pidfile); in write_pidfile() 48 perror_msg_and_fail("fclose: %s", pidfile); in write_pidfile()
|
/external/selinux/restorecond/ |
D | restorecond.c | 87 static const char *pidfile = "/run/restorecond.pid"; variable 97 pidfile = 0; in write_pid_file() 100 pidfd = open(pidfile, O_CREAT | O_TRUNC | O_NOFOLLOW | O_WRONLY, 0644); in write_pid_file() 103 pidfile = 0; in write_pid_file() 225 if (pidfile) in main() 226 unlink(pidfile); in main()
|
/external/python/pyserial/examples/ |
D | port_publisher.sh | 18 $DAEMON --daemon --pidfile /var/run/$NAME.pid 23 start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid 29 start-stop-daemon --stop --quiet --pidfile \ 33 $DAEMON --daemon --pidfile /var/run/$NAME.pid
|
/external/wmediumd/tests/ |
D | diamond_fading.sh | 67 pidfile=/tmp/netns.pid.$i 69 tmux send-keys -t $win 'echo $$ > '$pidfile C-m 72 while [[ ! -e $pidfile ]]; do 73 echo "Waiting for netns $i -- $pidfile" 77 tmux send-keys -t $session:0.0 'iw phy '$phy' set netns `cat '$pidfile'`' C-m
|
D | diamond_direction.sh | 76 pidfile=/tmp/netns.pid.$i 78 tmux send-keys -t $win 'echo $$ > '$pidfile C-m 81 while [[ ! -e $pidfile ]]; do 82 echo "Waiting for netns $i -- $pidfile" 86 tmux send-keys -t $session:0.0 'iw phy '$phy' set netns `cat '$pidfile'`' C-m
|
D | diamond_log_distance.sh | 69 pidfile=/tmp/netns.pid.$i 71 tmux send-keys -t $win 'echo $$ > '$pidfile C-m 74 while [[ ! -e $pidfile ]]; do 75 echo "Waiting for netns $i -- $pidfile" 79 tmux send-keys -t $session:0.0 'iw phy '$phy' set netns `cat '$pidfile'`' C-m
|
D | diamond_per_matrix.sh | 62 pidfile=/tmp/netns.pid.$i 64 tmux send-keys -t $win 'echo $$ > '$pidfile C-m 67 while [[ ! -e $pidfile ]]; do 68 echo "Waiting for netns $i -- $pidfile" 72 tmux send-keys -t $session:0.0 'iw phy '$phy' set netns `cat '$pidfile'`' C-m
|
D | diamond_error_prob.sh | 64 pidfile=/tmp/netns.pid.$i 66 tmux send-keys -t $win 'echo $$ > '$pidfile C-m 69 while [[ ! -e $pidfile ]]; do 70 echo "Waiting for netns $i -- $pidfile" 74 tmux send-keys -t $session:0.0 'iw phy '$phy' set netns `cat '$pidfile'`' C-m
|
D | interference.sh | 80 pidfile=/tmp/netns.pid.$i 82 tmux send-keys -t $win 'echo $$ > '$pidfile C-m 85 while [[ ! -e $pidfile ]]; do 86 echo "Waiting for netns $i -- $pidfile" 90 tmux send-keys -t $session:0.0 'iw phy '$phy' set netns `cat '$pidfile'`' C-m
|
D | n-linear-mesh.sh | 53 pidfile=/tmp/netns.pid.$i 55 tmux send-keys -t $win 'echo $$ > '$pidfile C-m 58 while [[ ! -e $pidfile ]]; do 59 echo "Waiting for netns $i -- $pidfile" 63 tmux send-keys -t $session:0.0 'iw phy '$phy' set netns `cat '$pidfile'`' C-m
|
D | diamond.sh | 70 pidfile=/tmp/netns.pid.$i 73 tmux send-keys -t $win 'echo $$ > '$pidfile C-m 76 while [[ ! -e $pidfile ]]; do 77 echo "Waiting for netns $i -- $pidfile" 82 'iw phy '$phy' set netns `cat '$pidfile'`' C-m
|
/external/ot-br-posix/tools/reference_device/ |
D | testharness-discovery.init.in | 65 --pidfile $PIDFILE --make-pidfile \ 74 --pidfile $PIDFILE --remove-pidfile
|
/external/ot-br-posix/src/web/ |
D | otbr-web.init.in | 71 --pidfile $PIDFILE --make-pidfile \ 80 --pidfile $PIDFILE --remove-pidfile
|
/external/ot-br-posix/src/agent/ |
D | otbr-agent.init.in | 71 --pidfile $PIDFILE --make-pidfile \ 80 --pidfile $PIDFILE --remove-pidfile
|