Searched refs:pid (Results 101 - 125 of 1657) sorted by relevance

1234567891011>>

/macosx-10.10/cxxfilt-11/cxxfilt/libiberty/
H A Dwaitpid.c3 @deftypefn Supplemental int waitpid (int @var{pid}, int *@var{status}, int)
6 values of @var{pid} depend on your implementation of @code{wait}, as
27 waitpid (pid_t pid, int *stat_loc, int options ATTRIBUTE_UNUSED) argument
32 if (wpid == pid || wpid == -1)
/macosx-10.10/dtrace-147/test/tst/common/misc/
H A Dtst.schrock.ksh37 pid\$target::\$1:entry
42 pid\$target:::entry
48 pid\$target:::return
54 pid\$target::\$1:return
/macosx-10.10/dtrace-147/test/tst/common/pid/
H A Dtst.coverage.d32 * SECTION: pid provider
45 pid$1:libsystem_c.dylib:w*:
H A Dtst.float.d32 * SECTION: pid provider
43 pid$1:a.out:main:
H A Dtst.gcc.d33 * SECTION: pid provider
45 pid$1:a.out::
/macosx-10.10/dtrace-147/test/tst/common/usdt/
H A Dtst.andpid.ksh30 pid\$target::mutex_lock_impl:
/macosx-10.10/ksh-23/ksh/src/lib/libast/comp/
H A Dsetpgid.c62 setpgid(pid_t pid, pid_t pgid)
65 return(setpgrp(pid, pgid));
70 if ((pid == 0 || pid == caller) && (pgid == 0 || pgid == caller))
H A Dwaitpid.c26 * pid < -1 WUNTRACED may not be fully supported
46 waitpid(pid_t pid, int* status, int flags)
48 return(wait4(pid, status, flags, NiL));
93 pid_t pid;
97 waitpid(pid_t pid, int* status, int flags)
117 if (zp->pid >= 0 && (zp->pid == pid || pid <= 0))
122 pid
[all...]
/macosx-10.10/mDNSResponder-561.1.1/mDNSMacOSX/
H A DVPNService.c25 if (q->pid)
27 sid = VPNAppLayerGetMatchingServiceIdentifier(q->pid, NULL);
/macosx-10.10/ruby-106/ruby/bootstraptest/
H A Dtest_fork.rb4 pid = fork {}
5 Process.wait pid
17 while !children.empty? and pid = Process.wait
18 children.delete(pid)
55 pid = $$
59 Process.kill(:INT, pid)
60 Process.kill(:TERM, pid)
/macosx-10.10/bash-94.1.2/bash-3.2/examples/loadables/
H A Dpush.c26 pid_t pid; local
42 pid = make_child (savestring ("push"), 0);
43 if (pid == -1)
48 else if (pid == 0)
75 xstatus = wait_for (pid);
/macosx-10.10/lsof-53/lsof/scripts/
H A Didrlogin.perl544 $cmd = $login = $pgrp = $pid = $ppid = ""; # process var.
73 if ($F[$i] =~ /^p(.*)/) { $pid = $1; last PROC }
123 foreach $pid (sort keys(%shcmd)) {
124 $p = $pid;
125 if (!defined($raddr{$pid})) {
138 $shlogin{$pid}, $shcmd{$pid}, $pid,
141 ($shtty{$pid} eq "") ? "(unknown)" : $shtty{$pid},
[all...]
/macosx-10.10/dtrace-147/DTTk/Bin/
H A Dtcpsnoop13 # USAGE: tcpsnoop [-a|hjsvZ] [-n name] [-p pid]
21 # -p pid # PID to snoop
83 opt_zone=0; opt_proj=0; opt_pid=0; pid=0
91 p) opt_pid=1; pid=$OPTARG ;;
97 USAGE: tcpsnoop [-a|hjsvZ] [-n name] [-p pid]
105 -p pid # PID to snoop
133 inline int PID = '$pid';
188 tpid[(int)self->connp] = pid;
206 tpid[(int)self->connp] = pid;
348 self->pid
[all...]
/macosx-10.10/dtrace-147/DTTk/Net/
H A Dtcpsnoop13 # USAGE: tcpsnoop [-a|hjsvZ] [-n name] [-p pid]
21 # -p pid # PID to snoop
83 opt_zone=0; opt_proj=0; opt_pid=0; pid=0
91 p) opt_pid=1; pid=$OPTARG ;;
97 USAGE: tcpsnoop [-a|hjsvZ] [-n name] [-p pid]
105 -p pid # PID to snoop
133 inline int PID = '$pid';
188 tpid[(int)self->connp] = pid;
206 tpid[(int)self->connp] = pid;
348 self->pid
[all...]
/macosx-10.10/xnu-2782.1.97/libsyscall/wrappers/libproc/
H A Dlibproc.c37 int __proc_info(int callnum, int pid, int flavor, uint64_t arg, void * buffer, int buffersize);
40 int proc_rlimit_control(pid_t pid, int flavor, void *arg);
94 proc_pidinfo(int pid, int flavor, uint64_t arg, void *buffer, int buffersize) argument
98 if ((retval = __proc_info(PROC_INFO_CALL_PIDINFO, pid, flavor, arg, buffer, buffersize)) == -1)
117 proc_pid_rusage(int pid, int flavor, rusage_info_t *buffer) argument
119 return (__proc_info(PROC_INFO_CALL_PIDRUSAGE, pid, flavor, 0, buffer, 0));
139 proc_pidfdinfo(int pid, int fd, int flavor, void * buffer, int buffersize) argument
143 if ((retval = __proc_info(PROC_INFO_CALL_PIDFDINFO, pid, flavor, (uint64_t)fd, buffer, buffersize)) == -1)
151 proc_pidfileportinfo(int pid, uint32_t fileport, int flavor, void *buffer, int buffersize) argument
155 if ((retval = __proc_info(PROC_INFO_CALL_PIDFILEPORTINFO, pid, flavo
162 proc_name(int pid, void * buffer, uint32_t buffersize) argument
187 proc_regionfilename(int pid, uint64_t address, void * buffer, uint32_t buffersize) argument
223 proc_pidpath(int pid, void * buffer, uint32_t buffersize) argument
285 proc_track_dirty(pid_t pid, uint32_t flags) argument
295 proc_set_dirty(pid_t pid, bool dirty) argument
305 proc_get_dirty(pid_t pid, uint32_t *flags) argument
324 proc_clear_dirty(pid_t pid, uint32_t flags) argument
334 proc_terminate(pid_t pid, int *sig) argument
353 proc_set_cpumon_params(pid_t pid, int percentage, int interval) argument
367 proc_get_cpumon_params(pid_t pid, int *percentage, int *interval) argument
387 proc_set_cpumon_defaults(pid_t pid) argument
401 proc_disable_cpumon(pid_t pid) argument
423 proc_set_cpumon_params_fatal(pid_t pid, int percentage, int interval) argument
465 proc_set_wakemon_params(pid_t pid, int rate_hz, int flags __unused) argument
481 proc_get_wakemon_params(pid_t pid, int *rate_hz, int *flags) argument
499 proc_set_wakemon_defaults(pid_t pid) argument
510 proc_disable_wakemon(pid_t pid) argument
675 proc_clear_vmpressure(pid_t pid) argument
721 proc_disable_apptype(pid_t pid, int apptype) argument
740 proc_enable_apptype(pid_t pid, int apptype) argument
761 proc_suppress(__unused pid_t pid, __unused uint64_t *generation) argument
[all...]
/macosx-10.10/dtrace-147/test/tst/common/
H A DMake.sh2 gcc -arch i386 ./pid/tst.args1.c -o a.out; mv a.out ./pid/tst.args1.exe
3 gcc -arch i386 ./pid/tst.float.c -o a.out; mv a.out ./pid/tst.float.exe
4 gcc -arch i386 ./pid/tst.fork.c -o a.out; mv a.out ./pid/tst.fork.exe
5 gcc -arch i386 ./pid/tst.gcc.c -o a.out; mv a.out ./pid/tst.gcc.exe
6 gcc -arch i386 ./pid/tst.ret1.c -o a.out; mv a.out ./pid/ts
[all...]
H A DMake.x86_64.sh2 gcc -arch x86_64 ./pid/tst.args1.c -o a.out; mv a.out ./pid/tst.args1.exe
3 gcc -arch x86_64 ./pid/tst.float.c -o a.out; mv a.out ./pid/tst.float.exe
4 gcc -arch x86_64 ./pid/tst.fork.c -o a.out; mv a.out ./pid/tst.fork.exe
5 gcc -arch x86_64 ./pid/tst.gcc.c -o a.out; mv a.out ./pid/tst.gcc.exe
6 gcc -arch x86_64 ./pid/tst.ret1.c -o a.out; mv a.out ./pid/ts
[all...]
H A DMake.ppc64.sh2 gcc -arch ppc64 ./pid/tst.args1.c -o a.out; mv a.out ./pid/tst.args1.exe
3 gcc -arch ppc64 ./pid/tst.float.c -o a.out; mv a.out ./pid/tst.float.exe
4 gcc -arch ppc64 ./pid/tst.fork.c -o a.out; mv a.out ./pid/tst.fork.exe
5 gcc -arch ppc64 ./pid/tst.gcc.c -o a.out; mv a.out ./pid/tst.gcc.exe
6 gcc -arch ppc64 ./pid/tst.ret1.c -o a.out; mv a.out ./pid/ts
[all...]
/macosx-10.10/bash-94.1.2/bash-3.2/
H A Dnojobs.c62 # define WAITPID(pid, statusp, options) waitpid (pid, statusp, options)
64 # define WAITPID(pid, statusp, options) wait (statusp)
98 /* STATUS and FLAGS are only valid if pid != NO_PID
101 pid_t pid; member in struct:proc_status
161 pid_list[i].pid = NO_PID;
172 if (pid_list[i].pid == NO_PID)
182 or the value NO_PID if the pid wasn't found. */
184 find_index_by_pid (pid)
185 pid_t pid;
429 pid_t pid; local
467 pid_t pid; local
[all...]
/macosx-10.10/OpenLDAP-499.27/OpenLDAP/servers/slapd/back-shell/
H A Dfork.c51 pid_t pid; local
68 pid = fork1();
70 pid = fork();
72 if ( pid == 0 ) { /* child */
86 if ( pid <= 0 ) {
90 switch ( pid ) {
117 return( pid );
/macosx-10.10/BerkeleyDB-21/db/common/
H A Dutil_log.c24 pid_t pid; local
34 __os_id(NULL, &pid, NULL);
36 "%s: %lu %s", progname, (u_long)pid, __os_ctime(&now, time_buf));
/macosx-10.10/MITKerberosShim-66/raft/KLLAcquireCredUI/
H A DKLLAcquireCredUI.py28 pid = os.fork()
29 if pid == 0:
37 res = os.waitpid(pid, 0)[1]
/macosx-10.10/postfix-255/postfix/src/master/
H A Dmaster_monitor.c55 pid_t pid; local
76 switch (pid = fork()) {
90 (void) kill(pid, SIGKILL);
/macosx-10.10/ruby-106/ruby/test/
H A Dtest_pty.rb15 r, w, pid = PTY.spawn(RUBY, '-e', 'puts "a"')
21 Process.wait pid if pid
25 PTY.spawn(RUBY, '-e', 'puts "b"') {|r,w,pid|
27 Process.wait(pid)
35 PTY.spawn(commandline) {|r,w,pid|
37 Process.wait(pid)
44 PTY.spawn([RUBY, "argv0"], '-e', 'puts "bar"') {|r,w,pid|
46 Process.wait(pid)
168 st1 = st2 = pid
[all...]
/macosx-10.10/security_systemkeychain-55202/src/
H A Dcs_misc.cpp42 if (pid_t pid = (pid_t)atol(target)) {
45 int rcpath = ::proc_pidpath(pid, path, sizeof(path));
46 int rcstatus = ::csops(pid, CS_OPS_STATUS, &flags, 0);
48 if (rcpath == 0 && rcstatus == -1) { // neither path nor status (probably bad pid)
53 printf("%d:", pid);
71 int rchash = ::csops(pid, CS_OPS_CDHASH, hash, sizeof(hash));
82 int rcent = ::csops(pid, CS_OPS_ENTITLEMENTS_BLOB, &header, sizeof(header)); // size request
93 rcent = ::csops(pid, CS_OPS_ENTITLEMENTS_BLOB, buffer, bufferLen);
119 if (pid_t pid = (pid_t)atol(target)) {
122 rc = ::csops(pid, CS_OPS_MARKINVALI
[all...]

Completed in 224 milliseconds

1234567891011>>