Searched refs:pids (Results 1 - 25 of 48) sorted by relevance

12

/macosx-10.10.1/dtrace-147/DTTk/Bin/
H A Dpidpersec.d44 pids = 0;
49 pids++;
54 printf("%-22Y %8d %6d\n", walltimestamp, -1, pids); /* xnu`nextpid is not exported. */
55 pids = 0;
/macosx-10.10.1/dtrace-147/DTTk/Proc/
H A Dpidpersec.d44 pids = 0;
49 pids++;
54 printf("%-22Y %8d %6d\n", walltimestamp, -1, pids); /* xnu`nextpid is not exported. */
55 pids = 0;
/macosx-10.10.1/rsync-45/rsync/support/
H A Dlogfilter19 my %pids;
27 $pids{$pid} = 1;
29 delete $pids{$pid};
32 next unless $pids{$pid};
/macosx-10.10.1/lsof-53/lsof/scripts/
H A Dwatch_a_file.perl42 $pids = "";
48 if ($pids eq "") { $pids = $curpid; }
49 else { $pids = $pids . "," . $curpid; }
56 if ($pids eq "") { die "$Pn: no processes using $fnm located.\n"; }
57 print "watch_file: $fnm being used by processes:\n\t$pids\n\n";
61 $pipe = "$LSOF -ap $pids -r $RPT $fnm";
/macosx-10.10.1/cups-408/cups/test/
H A D5.5-lp.sh58 pids=""
67 pids="$pids $!"
69 pids="$pids $!"
73 wait $pids
H A D5.6-lpr.sh58 pids=""
67 pids="$pids $!"
69 pids="$pids $!"
73 wait $pids
/macosx-10.10.1/dtrace-147/test/tst/common/pid/
H A Dtst.manypids.ksh30 set -A pids
46 pids[$i]=$!
58 # echo "pid${pids[$i]}::malloc:entry\n{}\n" >> $tmpfile
59 echo "pid${pids[$i]}::malloc:entry{}" >> $tmpfile
/macosx-10.10.1/ntp-92/scripts/rc2/
H A Dlocal.ntpd49 my @pids;
59 push @pids, $1;
63 return @pids;
/macosx-10.10.1/BerkeleyDB-21/db/test/
H A Denv012.tcl78 set pids {}
82 lappend pids $p1
86 set pids [findprocessids $testdir $pids]
87 foreach pid $pids {
110 set pids {}
114 lappend pids $p1
118 set pids [findprocessids $testdir $pids]
119 foreach pid $pids {
[all...]
H A Drep065.tcl142 set pids {}
174 lappend pids [exec $tclsh_path $test_path/wrap.tcl \
182 lappend pids [exec $tclsh_path $test_path/wrap.tcl \
192 watch_procs $pids 20
211 set pids {}
219 lappend pids [exec $tclsh_path $test_path/wrap.tcl \
229 watch_procs $pids 10
/macosx-10.10.1/Heimdal-398.1.2/appl/ftp/ftpd/
H A Dpopen.c73 static int *pids; variable
112 if (!pids) {
120 pids = (int*)calloc(fds, sizeof(int));
121 if(!pids)
198 pids[fileno(iop)] = pid;
219 if (pids == 0 || pids[fdes = fileno(iop)] == 0)
227 while ((pid = waitpid(pids[fdes], &status, 0)) < 0 && errno == EINTR)
230 pids[fdes] = 0;
/macosx-10.10.1/xnu-2782.1.97/tools/tests/libMicro/apple/
H A Dlmbench_lat_ctx.c95 pid_t* pids; member in struct:__anon15381
104 int create_daemons(int **p, pid_t *pids, int procs, int process_size);
280 create_daemons(int **p, pid_t *pids, int procs, int process_size) argument
293 switch (pids[i] = fork()) {
347 pState->pids = NULL;
393 for (i = 1; pState->pids && i < pState->procs; ++i) {
394 if (pState->pids[i] > 0) {
395 kill(pState->pids[i], SIGKILL);
396 waitpid(pState->pids[i], NULL, 0);
399 if (pState->pids)
[all...]
/macosx-10.10.1/OpenSSL098-52/bin/
H A DbuildWin32.pl51 my %pids;
158 $pids{$pid} = $buildType;
165 foreach my $pid (keys(%pids)) {
168 $errors .= " error: $pids{$pid} build failed\n";
/macosx-10.10.1/xnu-2782.1.97/libsyscall/wrappers/libproc/
H A Dproc_listpidspath.c35 int *pids; member in struct:__anon15005
71 info->pids = NULL;
105 if (info->pids != NULL) {
106 free(info->pids);
590 if (info->pids == NULL) {
591 info->pids = malloc(info->pids_size);
593 info->pids = reallocf(info->pids, info->pids_size);
595 if (info->pids == NULL) {
600 buf_used = proc_listpids(type, typeinfo, info->pids, (in
[all...]
/macosx-10.10.1/CPANInternal-159.1/IO-Socket-SSL/t/
H A Dtestlib.pl46 my @pids;
49 kill $sig, @pids;
50 #diag( "killed @pids with $sig" );
52 @pids = ();
80 push @pids,$pid;
/macosx-10.10.1/cron-39/cron/
H A Dpopen.c54 static PID_T *pids; variable
84 if (!pids) {
87 if (!(pids = (PID_T *)malloc((u_int)(fds * sizeof(PID_T)))))
89 bzero((char *)pids, fds * sizeof(PID_T));
274 pids[fileno(iop)] = pid;
299 if (pids == 0 || pids[fdes = fileno(iop)] == 0)
303 while ((pid = wait(&stat_loc)) != pids[fdes] && pid != -1)
306 pids[fdes] = 0;
/macosx-10.10.1/configd-699.1.5/libSystemConfiguration/
H A DlibSystemConfiguration_server.c87 static CFMutableArrayRef pids = NULL; local
91 pids = CFArrayCreateMutable(kCFAllocatorDefault, 0, &kCFTypeArrayCallBacks);
98 if (!CFArrayContainsValue(pids, CFRangeMake(0, CFArrayGetCount(pids)), pidNumber)) {
99 CFArrayAppendValue(pids, pidNumber);
106 CFArrayRemoveAllValues(pids);
/macosx-10.10.1/groff-38/groff/src/roff/groff/
H A Dpipeline.c220 PID_T pids[MAX_COMMANDS]; local
312 pids[i] = pid;
332 pid = pids[i];
451 PID_T pids[MAX_COMMANDS]; local
502 pids[i] = pid;
511 if (pids[i] == pid) {
512 pids[i] = -1;
530 if (pids[j] > 0)
531 (void)kill(pids[j], SIGPIPE);
/macosx-10.10.1/system_cmds-643.1.1/ltop.tproj/
H A Dltop.c266 pid_t *pids; local
275 pids = (pid_t *)malloc(sz);
276 if (pids == NULL) {
282 cnt = proc_listallpids(pids, sz);
284 perror("failed to get list of active pids");
287 qsort(pids, cnt, sizeof (pid_t), pid_compare);
289 pids[0] = pid;
293 get_proc_info(pids[i]);
294 free(pids);
/macosx-10.10.1/lsof-53/lsof/tests/
H A DLTdnlc.c296 int pids = 0; /* PID found status */ local
335 pids = 1;
345 pids = 0;
353 if (!pids)
H A DLTunix.c234 int pids = 0; /* PID found status */ local
271 pids = 1;
281 pids = 0;
289 if (!pids)
H A DLTbasic.c183 int pids = 0; /* PID found status */ local
288 pids = 1;
298 pids = 0;
305 if (!pids)
H A DLTnfs.c314 int pids = 0; /* PID found status */ local
379 pids = 1;
389 pids = 0;
397 if (!pids)
H A DLTnlink.c370 int pids = 0; /* PID found status */ local
421 pids = 1;
431 pids = 0;
439 if (!pids)
H A DLTszoff.c315 int pids = 0; /* PID found status */ local
395 pids = 1;
405 pids = 0;
413 if (!pids)

Completed in 310 milliseconds

12