Searched refs:job (Results 1 - 25 of 446) sorted by relevance

1234567891011>>

/external/autotest/venv/lucifer/
H A Djobx.py19 def is_hostless(job):
20 """Return True if the job is hostless.
22 @param job: frontend.afe.models.Job instance
24 return bool(hostnames(job))
27 def hostnames(job):
28 """Return a list of hostnames for a job.
30 @param job: frontend.afe.models.Job instance
32 hqes = job.hostqueueentry_set.all().prefetch_related('host')
36 def is_aborted(job):
37 """Return if the job i
[all...]
/external/mesa3d/src/gallium/drivers/vc4/
H A Dvc4_job.c41 vc4_job_free(struct vc4_context *vc4, struct vc4_job *job) argument
43 struct vc4_bo **referenced_bos = job->bo_pointers.base;
44 for (int i = 0; i < cl_offset(&job->bo_handles) / 4; i++) {
48 remove_from_ht(vc4->jobs, &job->key);
50 if (job->color_write) {
51 remove_from_ht(vc4->write_jobs, job->color_write->texture);
52 pipe_surface_reference(&job->color_write, NULL);
54 if (job->msaa_color_write) {
55 remove_from_ht(vc4->write_jobs, job->msaa_color_write->texture);
56 pipe_surface_reference(&job
79 struct vc4_job *job = rzalloc(vc4, struct vc4_job); local
102 struct vc4_job *job = entry->data; local
117 struct vc4_job *job = entry->data; local
178 struct vc4_job *job = vc4_job_create(vc4); local
226 struct vc4_job *job = vc4_get_job(vc4, cbuf, zsbuf); local
267 vc4_submit_setup_rcl_surface(struct vc4_job *job, struct drm_vc4_submit_rcl_surface *submit_surf, struct pipe_surface *psurf, bool is_depth, bool is_write) argument
309 vc4_submit_setup_rcl_render_config_surface(struct vc4_job *job, struct drm_vc4_submit_rcl_surface *submit_surf, struct pipe_surface *psurf) argument
336 vc4_submit_setup_rcl_msaa_surface(struct vc4_job *job, struct drm_vc4_submit_rcl_surface *submit_surf, struct pipe_surface *psurf) argument
356 vc4_job_submit(struct vc4_context *vc4, struct vc4_job *job) argument
[all...]
H A Dvc4_cl.c59 vc4_gem_hindex(struct vc4_job *job, struct vc4_bo *bo) argument
62 uint32_t *current_handles = job->bo_handles.base;
64 for (hindex = 0; hindex < cl_offset(&job->bo_handles) / 4; hindex++) {
71 out = cl_start(&job->bo_handles);
73 cl_end(&job->bo_handles, out);
75 out = cl_start(&job->bo_pointers);
77 cl_end(&job->bo_pointers, out);
79 job->bo_space += bo->size;
/external/syslinux/gpxe/src/include/gpxe/
H A Djob.h40 * @v job Job control interface
41 * @v rc Overall job status code
43 void ( * done ) ( struct job_interface *job, int rc );
44 /** Abort job
46 * @v job Job control interface
48 void ( * kill ) ( struct job_interface *job );
49 /** Get job progress
51 * @v job Job control interface
54 void ( * progress ) ( struct job_interface *job,
58 /** A job contro
86 job_init( struct job_interface *job, struct job_interface_operations *op, struct refcnt *refcnt ) argument
132 job_plug( struct job_interface *job, struct job_interface *dest ) argument
[all...]
/external/autotest/client/bin/
H A Dharness_standalone.py14 job
15 The job object for this job
18 def __init__(self, job, harness_args):
20 job
21 The job object for this job
24 self.setup(job
H A Dprofiler.py5 def __init__(self, job):
6 self.job = job
H A Dharness.py19 job
20 The job object for this job
23 def __init__(self, job):
25 job
26 The job object for this job
28 self.setup(job)
31 def setup(self, job):
33 job
[all...]
H A Djob_unittest.py13 from autotest_lib.client.bin import job, sysinfo, harness namespace
22 """Generic job TestCase class that defines a standard job setUp and
25 job_class = job.base_client_job
29 self.god.stub_with(job.base_client_job, '_get_environ_autodir',
31 self.job = self.job_class.__new__(self.job_class)
32 self.job._job_directory = base_job_unittest.stub_job_directory
47 autodir, clientdir, _ = self.job._find_base_directories()
53 _, _, serverdir = self.job._find_base_directories()
58 """Generic client job mixi
[all...]
H A Dharness_unittest.py20 job = object()
24 harness_standalone.harness_standalone.expect_new(job, harness_args)
25 harness.select(None, job, harness_args)
30 job = object()
34 harness_standalone.harness_standalone.expect_new(job, harness_args)
35 harness.select('standalone', job, harness_args)
/external/syslinux/gpxe/src/core/
H A Djob.c23 #include <gpxe/job.h>
31 void job_done ( struct job_interface *job, int rc ) { argument
32 struct job_interface *dest = job_get_dest ( job );
34 job_unplug ( job );
39 void job_kill ( struct job_interface *job ) {
40 struct job_interface *dest = job_get_dest ( job );
42 job_unplug ( job );
47 void job_progress ( struct job_interface *job, argument
49 struct job_interface *dest = job_get_dest ( job );
64 void ignore_job_done ( struct job_interface *job __unuse
[all...]
/external/toolchain-utils/automation/server/
H A Djob_executer.py9 from automation.common import job namespace
22 self.job = job_to_execute
27 self.name = '%s-%s' % (self.__class__.__name__, self.job.id)
30 self._executer = LoggingCommandExecuter(self.job.dry_run)
35 self.job.primary_machine.hostname,
36 self.job.primary_machine.username,
40 raise job.JobFailure(fail_msg, exit_code)
47 raise job.JobFailure(fail_msg, exit_code)
53 self._logger.debug('Cleaning up %r work directory.', self.job)
54 self._RunRemotely(cmd.RmTree(self.job
[all...]
/external/autotest/server/cros/clique_lib/
H A Dclique_dut_log_collector.py14 def log_collector_dut_worker(dut, job):
23 @param job: Autotest job object.
26 # Set the job on the host object for log collection.
27 host.job = job
37 def collect_logs(self, dut_objects, job):
43 @param job: Autotest job object.
51 args=(dut, job))
[all...]
/external/fio/unit_tests/
H A Dsteadystate_tests.py102 # check that runtime is less than job time
126 for job in reads:
129 parameters = [ "--name=job{0}".format(jobnum) ]
139 "--numjobs={0}".format(job['numjobs']),
141 "--runtime={0}".format(job['timeout']) ])
142 if job['s']:
143 if job['iops']:
147 if job['slope']:
149 ss += ":" + str(job['ss_limit'])
150 if job['pc
[all...]
/external/perfetto/gn/standalone/toolchain/
H A Dmac_find_llvm.py21 job = subprocess.Popen(['xcrun', '-f', 'clang++'],
24 out, err = job.communicate()
25 if job.returncode != 0:
28 return job.returncode
/external/v8/src/compiler-dispatcher/
H A Dcompiler-dispatcher.cc12 #include "src/compiler-dispatcher/compiler-dispatcher-job.h"
24 bool DoNextStepOnMainThread(Isolate* isolate, CompilerDispatcherJob* job, argument
30 // Ensure we are in the correct context for the job.
32 isolate->set_context(job->context());
34 switch (job->status()) {
36 job->PrepareToParseOnMainThread();
40 job->Parse();
44 job->FinalizeParsingOnMainThread();
48 job->AnalyzeOnMainThread();
52 job
77 IsFinished(CompilerDispatcherJob* job) argument
82 CanRunOnAnyThread(CompilerDispatcherJob* job) argument
87 DoNextStepOnBackgroundThread(CompilerDispatcherJob* job) argument
298 JobMap::const_iterator job = GetJobFor(function); local
349 JobMap::const_iterator job = GetJobFor(function); local
363 WaitForJobIfRunningOnBackground( CompilerDispatcherJob* job) argument
387 JobMap::const_iterator job = GetJobFor(function); local
463 auto job = it; local
552 ConsiderJobForBackgroundProcessing( CompilerDispatcherJob* job) argument
581 CompilerDispatcherJob* job = nullptr; local
[all...]
/external/autotest/client/tests/fio/
H A Dfio.py11 job = os.path.join(self.bindir, 'fio-mixed.job')
12 utils.system(' '.join(['fio', '--output', log, job]))
/external/toolchain-utils/automation/clients/helper/
H A Djobs.py3 from automation.common import job namespace
8 to_return = job.Job(label, command, timeout)
/external/autotest/site_utils/sponge_lib/
H A Dsponge_utils_functional_test.py97 test.job = self.mox.CreateMockAnything()
98 test.job.user = 'debug_user'
99 test.job.machines = ['host1']
117 job = self.mox.CreateMockAnything()
118 job.started_time = datetime.datetime(2016, 8, 15, 0, 0, 0)
119 job.finished_time = datetime.datetime(2016, 8, 15, 1, 0, 0)
120 job.keyval_dict = {'drone': 'server1',
131 job.dir = os.path.join(self.tmp_dir, '123-debug_user/host1')
132 job.label = 'dummy_PassServer'
134 job
[all...]
/external/tensorflow/tensorflow/tools/dist_test/server/
H A Dparse_cluster_spec_test.py36 self.assertEqual(2, len(self._cluster.job))
38 self.assertEqual("worker", self._cluster.job[0].name)
39 self.assertEqual(3, len(self._cluster.job[0].tasks))
40 self.assertEqual("worker0:2220", self._cluster.job[0].tasks[0])
41 self.assertEqual("worker1:2221", self._cluster.job[0].tasks[1])
42 self.assertEqual("worker2:2222", self._cluster.job[0].tasks[2])
44 self.assertEqual("ps", self._cluster.job[1].name)
45 self.assertEqual(2, len(self._cluster.job[1].tasks))
46 self.assertEqual("ps0:3220", self._cluster.job[1].tasks[0])
47 self.assertEqual("ps1:3221", self._cluster.job[
[all...]
/external/toybox/toys/pending/
H A Dcrond.c53 struct double_list *job, *var; member in struct:_cronfile
280 dlist_add_nomalloc((struct double_list **)&cfile->job, (struct double_list *)j);
329 JOB *jstart, *jlist = (JOB *)list->job;
348 list->job = (struct double_list *)jlist;
395 // If there is no job for a cron, remove the VAR list.
396 if (!cfile->job) {
419 * Set env variables, if any in the cronfile. Execute given job with the given
421 * completed job (as per the given param 'prog').
423 static void do_fork(CRONFILE *cfile, JOB *job, int fd, char *prog) argument
459 execlp(file, file, (prog ? "-ti" : "-c"), (prog ? NULL : job
475 sendmail(CRONFILE *cfile, JOB *job) argument
507 JOB *job, *jstart; local
540 JOB *job, *jstart; local
591 JOB *job, *jstart; local
[all...]
/external/mesa3d/src/intel/vulkan/tests/
H A Dblock_pool_no_free.c32 struct job { struct
43 struct job *job = _job; local
47 block = anv_block_pool_alloc(job->pool);
48 data = job->pool->map + block;
51 job->blocks[i] = block;
53 block = anv_block_pool_alloc_back(job->pool);
54 data = job->pool->map + block;
57 job->back_blocks[i] = -block;
61 block = job
[all...]
/external/autotest/tko/parsers/
H A Dversion_0_unittest.py22 self.god.stub_function(models.job, 'read_keyval')
23 self.god.stub_function(version_0.job, 'find_hostname')
42 models.job.read_keyval.expect_call('.').and_return(
45 job = version_0.job.load_from_dir('.')
46 self.assertEqual('janet', job['user'])
47 self.assertEqual('steeltown', job['label'])
48 self.assertEqual('abc123', job['machine'])
49 self.assertEqual('my_platform', job['machine_group'])
56 models.job
[all...]
/external/autotest/client/tests/barriertest/
H A Dbarriertest.py17 self.job.barrier(our_addr, 'First', timeout=timeout,
23 self.job.barrier(our_addr, 'Second', timeout=timeout,
31 self.job.barrier(our_addr, 'WillAbort', timeout=timeout,
39 self.job.record('WARN', None, 'barriertest',
47 self.job.barrier(our_addr, 'FinalSync', timeout=timeout,
55 self.job.barrier(our_addr, 'WillAbortServers', timeout=timeout,
63 self.job.record('WARN', None, 'barriertest',
/external/toolchain-utils/automation/common/
H A Djob_group.py42 for job in jobs:
43 self.AddJob(job)
55 return os.path.join(self.HOMEDIR_PREFIX, 'job-group-%d' % self.id)
69 job) for job in self.jobs])
71 def AddJob(self, job):
72 self.jobs.append(job)
73 job.group = self
/external/autotest/server/
H A Dautoserv_utils.py25 results_directory=None, extra_args=[], job=None,
36 Construct an autoserv command from a job or host queue entry.
41 job on. Leave as None or empty string for hostless job
47 @param job: Job object. If supplied, -u owner, -l name, and --test-retry,
49 @param queue_entry: HostQueueEntry object. If supplied and no job
50 was supplied, this will be used to lookup the job.
97 if job or queue_entry:
98 if not job:
99 job
[all...]

Completed in 764 milliseconds

1234567891011>>