/openbsd/usr.sbin/cron/ |
H A D | job.c | 40 static SIMPLEQ_HEAD(job_queue, _job) jobs = SIMPLEQ_HEAD_INITIALIZER(jobs); 48 SIMPLEQ_FOREACH(j, &jobs, entries) { in job_add() 66 SIMPLEQ_INSERT_TAIL(&jobs, j, entries); in job_add() 74 SIMPLEQ_FOREACH(j, &jobs, entries) { in job_remove() 77 SIMPLEQ_REMOVE_HEAD(&jobs, entries); in job_remove() 79 SIMPLEQ_REMOVE_AFTER(&jobs, prev, entries); in job_remove() 93 SIMPLEQ_FOREACH(j, &jobs, entries) { in job_exit() 96 SIMPLEQ_REMOVE_HEAD(&jobs, entries); in job_exit() 113 while ((j = SIMPLEQ_FIRST(&jobs))) { in job_runqueue() 114 SIMPLEQ_REMOVE_HEAD(&jobs, entries); in job_runqueue() [all …]
|
H A D | atrun.c | 98 TAILQ_INIT(&new_db->jobs); in scan_atjobs() 122 while ((job = TAILQ_FIRST(&new_db->jobs))) { in scan_atjobs() 123 TAILQ_REMOVE(&new_db->jobs, job, entries); in scan_atjobs() 134 TAILQ_INSERT_TAIL(&new_db->jobs, job, entries); in scan_atjobs() 142 while ((job = TAILQ_FIRST(&old_db->jobs))) { in scan_atjobs() 143 TAILQ_REMOVE(&old_db->jobs, job, entries); in scan_atjobs() 182 TAILQ_REMOVE(&db->jobs, job, entries); in atrun() 188 TAILQ_REMOVE(&db->jobs, job, entries); in atrun() 195 TAILQ_REMOVE(&db->jobs, job, entries); in atrun() 213 TAILQ_REMOVE(&db->jobs, job, entries); in atrun() [all …]
|
H A D | structs.h | 73 TAILQ_HEAD(atjob_list, _atjob) jobs;
|
/openbsd/usr.sbin/smtpd/ |
H A D | runq.c | 31 TAILQ_HEAD(, job) jobs; 47 job = TAILQ_FIRST(&runq->jobs); in runq_reset() 70 while((job = TAILQ_FIRST(&runq->jobs))) { in runq_timeout() 73 TAILQ_REMOVE(&runq->jobs, job, entry); in runq_timeout() 92 TAILQ_INIT(&runq->jobs); in runq_init() 121 TAILQ_FOREACH(tmpjob, &runq->jobs, entry) { in runq_schedule_at() 127 TAILQ_INSERT_TAIL(&runq->jobs, job, entry); in runq_schedule_at() 142 first = TAILQ_FIRST(&runq->jobs); in runq_cancel() 143 TAILQ_FOREACH(job, &runq->jobs, entry) { in runq_cancel() 145 TAILQ_REMOVE(&runq->jobs, job, entry); in runq_cancel() [all …]
|
/openbsd/gnu/usr.bin/perl/cpan/Test-Harness/t/ |
H A D | scheduler.t | 39 jobs => 1, 44 jobs => 1, 49 jobs => 2, 54 jobs => 1000, 58 jobs => 1000, 63 jobs => 1, 68 jobs => 2, 73 jobs => 1000, 84 $test->{jobs} 193 my ( $name, $tests, $rules, $jobs ) = @_; [all …]
|
H A D | harness-bailout.t | 182 my @jobs = map 186 my $self = { %args, jobs => [ @jobs ] }; 190 sub get_all { @{ shift->{jobs} || [] }; } 191 sub get_job { shift( @{ shift->{jobs} } ); } 210 jobs => $arg{jobs} || 1, 216 my $harness = create_harness( jobs => 1 ); 222 $harness = create_harness( jobs => 2 );
|
H A D | env_opts.t | 22 is( $harness->jobs, 4, "set jobs correctly" ); 34 is( $harness->jobs, 4, "set jobs correctly" ); 48 is( $harness->jobs, 4, "set jobs correctly" );
|
/openbsd/gnu/usr.bin/perl/cpan/Test-Harness/lib/TAP/ |
H A D | Harness.pm | 80 jobs => sub { shift; shift }, 448 $self->jobs(1) unless defined $self->jobs; 466 my %formatter_args = ( jobs => $self->jobs ); 615 my $jobs = $self->jobs; 622 while ( $mux->parsers < $jobs ) { 742 my $jobs = $self->jobs; 752 if ( $self->jobs > 1 ) {
|
/openbsd/gnu/usr.bin/perl/Porting/ |
H A D | bisect.pl | 16 my ($start, $end, $validate, $usage, $bad, $jobs, $make, $gold, 23 'jobs|j=i' => \$jobs, 'make=s' => \$make, 'gold=s' => \$gold, 55 if (!defined $jobs && 71 $jobs = defined $cpus ? $cpus + 1 : 2; 74 unshift @ARGV, '--jobs', $jobs if defined $jobs;
|
H A D | bench.pl | 464 jobs => 1, 491 'jobs|j=i' => \$OPTS{jobs}, 1165 my @jobs; 1197 push @jobs, { 1216 my $max_jobs = $OPTS{jobs}; 1222 my $njobs = scalar @jobs; 1226 while (@jobs or $running) { 1230 scalar(@jobs), $running; 1235 while (@jobs && $running < $max_jobs) { 1236 my $job = shift @jobs;
|
/openbsd/usr.sbin/pkg_add/OpenBSD/ |
H A D | PkgSign.pm | 120 my $jobs = {}; 124 if (!defined $jobs->{$pid}) { 129 $jobs->{$pid}); 132 &$display($jobs->{$pid}); 134 delete $jobs->{$pid}; 145 $jobs->{$pid} = $name;
|
/openbsd/gnu/llvm/llvm/utils/ |
H A D | llvm-compilers-check | 254 def __init__(self, work_queue, jobs, argument 259 self.jobs = jobs 404 llvm=dict(debug=["-j" + str(self.jobs)], 405 release=["-j" + str(self.jobs)], 406 paranoid=["-j" + str(self.jobs)]), 407 dragonegg=dict(debug=["-j" + str(self.jobs)], 408 release=["-j" + str(self.jobs)], 596 jobs = options.jobs // options.threads variable 597 if jobs == 0: 598 jobs = 1 variable [all …]
|
H A D | update_any_test_checks.py | 63 with ThreadPoolExecutor(max_workers=config.jobs) as executor: 64 jobs = [] 85 jobs.append((testname, future)) 87 for testname, future in jobs:
|
/openbsd/gnu/usr.bin/perl/cpan/Test-Harness/t/compat/ |
H A D | env_opts.t | 22 is( $harness->jobs, 4, "set jobs correctly" ); 33 is( $harness->jobs, 4, "set jobs correctly" ); 47 is( $harness->jobs, 4, "set jobs correctly" );
|
/openbsd/gnu/usr.bin/perl/cpan/Test-Harness/lib/TAP/Parser/ |
H A D | Scheduler.pm | 314 my @jobs = $self->_find_next_job( $self->{schedule} ); 315 if (@jobs) { 317 return $jobs[0]; 368 if ( my @jobs = $self->_find_next_job( $seq->[0] ) ) { 369 return @jobs;
|
/openbsd/usr.bin/at/ |
H A D | at.c | 440 char **jobs; in list_jobs() local 452 jobs = NULL; in list_jobs() 465 jobs[jobs_len++] = argv[i]; in list_jobs() 617 char **jobs, *ep; in process_jobs() local 628 jobs = NULL; in process_jobs() 640 jobs[jobs_len++] = argv[i]; in process_jobs() 672 if (jobs[i] != NULL && in process_jobs() 674 jobs[i] = NULL; in process_jobs() 730 if (jobs[i] != NULL) { in process_jobs() 732 warnx("%s: no such job", jobs[i]); in process_jobs() [all …]
|
/openbsd/gnu/llvm/libcxx/docs/ |
H A D | AddingNewCIJobs.rst | 13 libc++ uses Buildkite for running its CI. Setting up new CI jobs is easy, and 14 these jobs can run either on our existing infrastructure, or on your own. 24 Take a look at how the surrounding jobs are defined and do something similar. 63 for all CI jobs. This allows the overall pipeline to finish in a reasonable 65 velocity. We also try to make sure that jobs run on reliable infrastructure in 68 We may be reluctant to add and support CI jobs that take a long time to finish
|
/openbsd/sys/dev/pci/drm/amd/amdgpu/ |
H A D | amdgpu_cs.c | 296 num_ibs[i], &p->jobs[i]); in amdgpu_cs_pass1() 347 job = p->jobs[r]; in amdgpu_cs_p2_ib() 583 p->jobs[i]->csa_va = shadow->csa_va; in amdgpu_cs_p2_shadow() 585 p->jobs[i]->init_shadow = in amdgpu_cs_p2_shadow() 1171 job = p->jobs[i]; in amdgpu_cs_vm_handling() 1290 if (p->jobs[i] == leader) in amdgpu_cs_submit() 1335 if (p->jobs[i] == leader) in amdgpu_cs_submit() 1363 trace_amdgpu_cs_ioctl(p->jobs[i]); in amdgpu_cs_submit() 1365 p->jobs[i] = NULL; in amdgpu_cs_submit() 1400 if (parser->jobs[i]) in amdgpu_cs_parser_fini() [all …]
|
H A D | amdgpu_cs.h | 62 struct amdgpu_job *jobs[AMDGPU_CS_GANG_SIZE]; member
|
/openbsd/gnu/usr.bin/perl/cpan/Test-Harness/lib/App/ |
H A D | Prove.pm | 239 'j|jobs=i' => \$self->{jobs}, 309 if ( my $jobs = $self->jobs ) { 310 $args{jobs} = $jobs;
|
/openbsd/gnu/llvm/llvm/tools/opt-viewer/ |
H A D | opt-diff.py | 58 all_remarks1, _, _ = optrecord.gather_results(files1, args.jobs, print_progress) 59 all_remarks2, _, _ = optrecord.gather_results(files2, args.jobs, print_progress)
|
/openbsd/gnu/llvm/compiler-rt/lib/fuzzer/ |
H A D | FuzzerFlags.def | 114 FUZZER_FLAG_UNSIGNED(jobs, 0, "Number of jobs to run. If jobs >= 1 we spawn" 115 " this number of jobs in separate worker processes" 118 "Number of simultaneous worker processes to run the jobs." 119 " If zero, \"min(jobs,NumberOfCpuCores()/2)\" is used.")
|
/openbsd/gnu/usr.bin/perl/dist/Devel-PPPort/devel/ |
H A D | buildperl.pl | 43 jobs => 1, 174 $job_string = "-j$opt{jobs}" if $opt{jobs} != 1;
|
/openbsd/gnu/llvm/clang/utils/analyzer/ |
H A D | SATestBuild.py | 238 def __init__(self, jobs: int, projects: List[ProjectInfo], 242 self.jobs = jobs 261 if self.jobs <= 1: 296 for _ in range(self.jobs):
|
/openbsd/gnu/usr.bin/perl/cpan/Test-Harness/lib/TAP/Formatter/ |
H A D | Console.pm | 39 = $self->jobs > 1
|