Home
last modified time | relevance | path

Searched full:job (Results 1 – 25 of 7071) sorted by relevance

12345678910>>...283

/external/libcups/scheduler/
Djob.c2 * Job management routines for the CUPS scheduler.
28 * Design Notes for Job Management
35 * processing Do nothing/start job
41 * Finalize clears the printer <-> job association, deletes the status
47 * We unload the job attributes when they are not needed to reduce overall
48 * memory consumption. We don't unload jobs where job->state_value <
49 * IPP_JOB_STOPPED, job->printer != NULL, or job->access_time is recent.
53 * When a job is started, a status buffer, several pipes, a security
54 * profile, and a backend process are created for the life of that job.
55 * These are shared for every file in a job. For remote print jobs, the
[all …]
Djob.h2 * Print job definitions for the CUPS scheduler.
23 * Job request structure...
26 struct cupsd_job_s /**** Job request ****/
28 int id, /* Job ID */
29 priority, /* Job priority */
31 ipp_jstate_t state_value; /* Cached job-state */
32 int pending_timeout;/* Non-zero if the job was created and
36 char *name; /* Job name/title */
37 int koctets; /* job-k-octets */
39 cupsd_printer_t *printer; /* Printer this job is assigned to */
[all …]
/external/libcups/examples/
Dipp-1.1.test133 # Test Print-Job operation
137 NAME "RFC 8011 section 4.2.1: Print-Job Operation"
138 OPERATION Print-Job
144 ATTR name job-name $filename
153 STATUS server-error-job-canceled
156 EXPECT job-uri OF-TYPE uri COUNT 1 IN-GROUP job-attributes-tag WITH-VALUE "$IPP_URI_SCHEME"
157 EXPECT job-id OF-TYPE integer COUNT 1 IN-GROUP job-attributes-tag
159 EXPECT job-state OF-TYPE unknown|enum COUNT 1 IN-GROUP job-attributes-tag
161 EXPECT job-state WITH-VALUE 7,8,9 DEFINE-MATCH PRINT_JOB_COMPLETED
162 EXPECT job-state-reasons OF-TYPE keyword IN-GROUP job-attributes-tag
[all …]
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_job.c35 vc4_job_free(struct vc4_context *vc4, struct vc4_job *job) in vc4_job_free() argument
37 struct vc4_bo **referenced_bos = job->bo_pointers.base; in vc4_job_free()
38 for (int i = 0; i < cl_offset(&job->bo_handles) / 4; i++) { in vc4_job_free()
42 _mesa_hash_table_remove_key(vc4->jobs, &job->key); in vc4_job_free()
44 if (job->color_write) { in vc4_job_free()
46 job->color_write->texture); in vc4_job_free()
47 pipe_surface_reference(&job->color_write, NULL); in vc4_job_free()
49 if (job->msaa_color_write) { in vc4_job_free()
51 job->msaa_color_write->texture); in vc4_job_free()
52 pipe_surface_reference(&job->msaa_color_write, NULL); in vc4_job_free()
[all …]
/external/mesa3d/src/gallium/drivers/v3d/
Dv3d_job.c41 v3d_job_free(struct v3d_context *v3d, struct v3d_job *job) in v3d_job_free() argument
43 set_foreach(job->bos, entry) { in v3d_job_free()
48 _mesa_hash_table_remove_key(v3d->jobs, &job->key); in v3d_job_free()
50 if (job->write_prscs) { in v3d_job_free()
51 set_foreach(job->write_prscs, entry) { in v3d_job_free()
59 if (job->cbufs[i]) { in v3d_job_free()
61 job->cbufs[i]->texture); in v3d_job_free()
62 pipe_surface_reference(&job->cbufs[i], NULL); in v3d_job_free()
65 if (job->zsbuf) { in v3d_job_free()
66 struct v3d_resource *rsc = v3d_resource(job->zsbuf->texture); in v3d_job_free()
[all …]
Dv3dx_rcl.c114 store_general(struct v3d_job *job, in store_general() argument
180 (job->clear & pipe_bit))); in store_general()
182 !(job->clear & PIPE_CLEAR_DEPTH); in store_general()
184 !(job->clear & PIPE_CLEAR_STENCIL); in store_general()
213 v3d_rcl_emit_loads(struct v3d_job *job, struct v3d_cl *cl, int layer) in v3d_rcl_emit_loads() argument
215 uint32_t loads_pending = job->load; in v3d_rcl_emit_loads()
222 struct pipe_surface *psurf = job->cbufs[i]; in v3d_rcl_emit_loads()
234 (job->zsbuf && job->zsbuf->texture->nr_samples > 1))) { in v3d_rcl_emit_loads()
235 struct v3d_resource *rsc = v3d_resource(job->zsbuf->texture); in v3d_rcl_emit_loads()
239 load_general(cl, job->zsbuf, in v3d_rcl_emit_loads()
[all …]
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/
DJobStatesTest.kt12 * Tests that the transitions to the state of the [Job] correspond to documentation in the in <lambda>()
13 * table that is presented in the [Job] documentation. in <lambda>()
19 val job = launch(start = CoroutineStart.LAZY) { in <lambda>() constant
27 // New job in <lambda>()
28 assertFalse(job.isActive) in <lambda>()
29 assertFalse(job.isCompleted) in <lambda>()
30 assertFalse(job.isCancelled) in <lambda>()
32 job.start() in <lambda>()
33 assertTrue(job.isActive) in <lambda>()
34 assertFalse(job.isCompleted) in <lambda>()
[all …]
DJobTest.kt14 val job = Job() in <lambda>() constant
15 assertTrue(job.isActive) in <lambda>()
16 job.cancel() in <lambda>()
17 assertTrue(!job.isActive) in <lambda>()
22 val job = Job() in <lambda>() constant
24 job.invokeOnCompletion { fireCount++ } in <lambda>()
25 assertTrue(job.isActive) in <lambda>()
28 job.cancel() in <lambda>()
29 assertTrue(!job.isActive) in <lambda>()
32 job.cancel() in <lambda>()
[all …]
DWithContextTest.kt86 val job = Job() in <lambda>() constant
88 withContext(coroutineContext + job) { in <lambda>()
89 // same context + new job in <lambda>()
91 job.cancel() // cancel out job! in <lambda>()
117 val job = Job() in <lambda>() constant
118 withContext(coroutineContext + job) { // same context + new job in <lambda>()
122 job.cancel() // cancel out job! in <lambda>()
131 // still fails, because parent job was cancelled in <lambda>()
139 val job = Job() in <lambda>() constant
140 job.cancel() // cancel before it has a chance to run in <lambda>()
[all …]
/external/libcups/conf/
Dcupsd.conf.in49 # Set the default printer/job policies...
51 # Job/subscription privacy...
57 # Job-related operations must be done by the owner or an administrator...
58 <Limit Create-Job Print-Job Print-URI Validate-Job>
62Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscripti…
75 …t-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shut…
81 # Only the owner or an administrator can cancel or authenticate a job...
82 <Limit Cancel-Job CUPS-Authenticate-Job>
92 # Set the authenticated printer/job policies...
94 # Job/subscription privacy...
[all …]
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/
DJob.kt15 // --------------- core job interfaces ---------------
18 * A background job. Conceptually, a job is a cancellable thing with a life-cycle that
26 * The most basic instances of `Job` interface are created like this:
28 * * **Coroutine job** is created with [launch][CoroutineScope.launch] coroutine builder.
30 * * **[CompletableJob]** is created with a `Job()` factory function.
33 …* Conceptually, an execution of a job does not produce a result value. Jobs are launched solely fo…
34 * side-effects. See [Deferred] interface for a job that produces a result.
36 * ### Job states
38 * A job has the following states:
49 …* Usually, a job is created in the _active_ state (it is created and started). However, coroutine …
[all …]
/external/wmediumd/wmediumd/lib/
Dsched.c70 void usfstl_sched_add_job(struct usfstl_scheduler *sched, struct usfstl_job *job) in usfstl_sched_add_job() argument
74 USFSTL_ASSERT_TIME_CMP(job->start, >=, sched->current_time); in usfstl_sched_add_job()
75 USFSTL_ASSERT(!usfstl_job_scheduled(job), in usfstl_sched_add_job()
76 "cannot add a job that's already scheduled"); in usfstl_sched_add_job()
77 USFSTL_ASSERT_CMP(job->group, <, 32, "%u"); in usfstl_sched_add_job()
79 if ((1 << job->group) & sched->blocked_groups && in usfstl_sched_add_job()
80 job != sched->allowed_job) { in usfstl_sched_add_job()
81 job->start = 0; in usfstl_sched_add_job()
82 usfstl_list_append(&sched->pending_jobs, &job->entry); in usfstl_sched_add_job()
87 if (usfstl_time_cmp(tmp->start, >, job->start)) in usfstl_sched_add_job()
[all …]
/external/mesa3d/src/gallium/drivers/lima/
Dlima_job.c52 lima_get_fb_info(struct lima_job *job) in lima_get_fb_info() argument
54 struct lima_context *ctx = job->ctx; in lima_get_fb_info()
55 struct lima_job_fb_info *fb = &job->fb; in lima_get_fb_info()
126 lima_job_free(struct lima_job *job) in lima_job_free() argument
128 struct lima_context *ctx = job->ctx; in lima_job_free()
130 _mesa_hash_table_remove_key(ctx->jobs, &job->key); in lima_job_free()
132 if (job->key.cbuf && (job->resolve & PIPE_CLEAR_COLOR0)) in lima_job_free()
133 _mesa_hash_table_remove_key(ctx->write_jobs, job->key.cbuf->texture); in lima_job_free()
134 if (job->key.zsbuf && (job->resolve & (PIPE_CLEAR_DEPTH | PIPE_CLEAR_STENCIL))) in lima_job_free()
135 _mesa_hash_table_remove_key(ctx->write_jobs, job->key.zsbuf->texture); in lima_job_free()
[all …]
/external/autotest/client/bin/
Djob_unittest.py16 from autotest_lib.client.bin import job, sysinfo, harness
25 """Generic job TestCase class that defines a standard job setUp and
28 job_class = job.base_client_job
32 self.god.stub_with(job.base_client_job, '_get_environ_autodir',
34 self.job = self.job_class.__new__(self.job_class)
35 self.job._job_directory = base_job_unittest.stub_job_directory
50 autodir, clientdir, _ = self.job._find_base_directories()
56 _, _, serverdir = self.job._find_base_directories()
61 """Generic client job mixin used when defining variations on the
62 job.__init__ generic tests."""
[all …]
/external/autotest/site_utils/
Djob_history.py6 # This module provides functions for caller to retrieve a job's history,
7 # including special tasks executed before and after the job, and each steps
22 LOG_BASE_URL = 'http://%s/tko/retrieve_logs.cgi?job=/results/' % AUTOTEST_SERVER
28 # Add some buffer before and after job start/end time when searching for special
29 # tasks. This is to guarantee to include reset before the job starts and repair
30 # and cleanup after the job finishes.
45 @return: A dictionary as the history entry of given job/task.
60 """Return a list of dictionaries of select job/task's history.
129 @param job_id: ID of the test job that's related to the special task.
133 Job id. Note that, None means the cache is not available.
[all …]
/external/libcups/test/
D4.3-job-ops.test2 # Verify that the IPP job operations work.
12 NAME "Print PostScript Job with bad job-sheets value to Test1"
15 OPERATION print-job
24 ATTR name job-sheets "none\,none"
33 NAME "Print PostScript Job to Test1"
36 OPERATION print-job
54 EXPECT job-id
58 NAME "Get Job Attributes"
61 OPERATION get-job-attributes
69 ATTR integer job-id $job-id
[all …]
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/exceptions/
DJobExceptionHandlingTest.kt24 val job = Job() in <lambda>() constant
25 launch(job, start = ATOMIC) { in <lambda>()
31 job.join() in <lambda>()
40 val parent = Job() in <lambda>()
61 val parent = Job() in <lambda>()
62 val job = launch(parent) { in <lambda>() constant
70 job.join() in <lambda>()
78 * Launcher: cancels job in <lambda>()
85 val job = Job() in <lambda>() constant
86 val child = launch(job, start = ATOMIC) { in <lambda>()
[all …]
/external/tensorflow/tensorflow/core/util/
Ddevice_name_utils_test.cc43 strings::StrAppend(&original, "/job:", parts[0]); in RoundTripPartialName()
44 strings::StrAppend(&expected, "/job:", parts[0]); in RoundTripPartialName()
71 "/job:hello/replica:1/task:2/device:CPU:3"); in TEST()
77 "/job:123/replica:1/task:2/device:GPU:3", &p)); in TEST()
79 DeviceNameUtils::ParseFullName("/job:123/replica:1/task:2/gpu:", &p)); in TEST()
81 "/job:123/replica:1/task:2/device:gpu:", &p)); in TEST()
83 "/job:foo/replica:-1/task:2/device:GPU:3", &p)); in TEST()
85 "/job:foo/replica:1/task:-2/device:GPU:3", &p)); in TEST()
87 DeviceNameUtils::ParseFullName("/job:foo/replica:1/task:2/bar:3", &p)); in TEST()
89 "/job:foo/replica:1/task:2/device:GPU:3/extra", &p)); in TEST()
[all …]
/external/autotest/tko/
Dparse.py60 parser.add_option("-r", help="Reparse the results of a job",
65 "in the job name"),
93 help=("Allows parsing job to attempt to create a suite "
94 "timeline report, if it detects that the job being "
95 "parsed is a suite job."),
150 @param jobname: String representing the job name.
162 def mailfailure(jobname, job, message): argument
165 @param jobname: String representing the job name.
166 @param job: A job object.
170 message_lines.append("The following tests FAILED for this job")
[all …]
/external/tensorflow/tensorflow/python/framework/
Ddevice_spec_test.py43 d = device_spec_type(job="j", replica=0, task=1,
45 self.assertEqual("j", d.job)
50 self.assertEqual("/job:j/replica:0/task:1/device:CPU:2", d.to_string())
58 d.job = "foo"
59 self.assertEqual("/job:foo", d.to_string())
61 self.assertEqual("/job:foo/task:3", d.to_string())
64 self.assertEqual("/job:foo/task:3/device:CPU:0", d.to_string())
67 self.assertEqual("/job:foo/replica:12/device:CPU:0", d.to_string())
70 self.assertEqual("/job:foo/replica:12/device:GPU:2", d.to_string())
73 self.assertEqual("/job:foo/replica:12/device:CPU:1", d.to_string())
[all …]
/external/tensorflow/tensorflow/python/training/
Ddevice_setter_test.py46 self.assertDeviceEqual("/job:ps/task:0/cpu:0", v.device)
47 self.assertDeviceEqual("/job:ps/task:0/cpu:0", v.initializer.device)
48 self.assertDeviceEqual("/job:ps/task:1", w.device)
49 self.assertDeviceEqual("/job:ps/task:1", w.initializer.device)
50 self.assertDeviceEqual("/job:worker/cpu:0", a.device)
57 self.assertDeviceEqual("/job:ps/task:0", v.device)
66 self.assertDeviceEqual("/job:ps/task:0", v.device)
67 self.assertDeviceEqual("/job:ps/task:0", v.initializer.device)
68 self.assertDeviceEqual("/job:ps/task:1", w.device)
69 self.assertDeviceEqual("/job:ps/task:1", w.initializer.device)
[all …]
/external/python/google-api-python-client/googleapiclient/discovery_cache/documents/
Djobs.v2.json31 "description": "Output only. Job entry with metadata inside SearchJobsResponse.",
37 …"description": "A summary of the job with core information that's displayed on the search results …
39 "job": { object
40 "$ref": "Job",
41 "description": "Job resource that matches the specified SearchJobsRequest."
49 …"description": "Contains snippets of text from the Job.description and similar fields that most cl…
52 …"description": "Contains snippets of text from the Job.job_title field most closely matching a sea…
128 …t to true, this call waits for all processing steps to complete before the job is cleaned up. Othe…
132 …ated. Use BatchDeleteJobsRequest instead. Input only. Delete job by filter request. The job typica…
140 …"description": "The start timestamp of the job in UTC time zone. Typically this field is used for …
[all …]
Djobs.v3.json9 "description": "Manage job postings"
18 …alent Solution provides the capability to create, read, update, and delete job postings, as well a…
20 "documentationLink": "https://cloud.google.com/talent-solution/job-search/docs/",
114 …letes the specified prefix with keyword suggestions. Intended for use by a job search auto-complet…
181 "Only suggest job titles.",
183 "Suggest both job titles and company names."
401 …"description": "Required. The resource name of the project under which the job is created. The for…
421 …"description": "Creates a new job. Typically, the job becomes searchable within 10 seconds, but it…
430 …"description": "Required. The resource name of the project under which the job is created. The for…
442 "$ref": "Job"
[all …]
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Dgrpc_channel_test.cc31 EXPECT_TRUE(IsSameAddrSp("/job:mnist/replica:10/task:10/cpu:0", in TEST()
32 "/job:mnist/replica:10/task:10/cpu:1")); in TEST()
33 EXPECT_TRUE(IsSameAddrSp("/job:mnist/replica:10/task:10/cpu:0", in TEST()
34 "/job:mnist/replica:10/task:10/device:GPU:2")); in TEST()
35 EXPECT_TRUE(IsSameAddrSp("/job:mnist/replica:10/task:10", in TEST()
36 "/job:mnist/replica:10/task:10/device:GPU:2")); in TEST()
37 EXPECT_TRUE(IsSameAddrSp("/job:mnist/replica:10/task:10/cpu:1", in TEST()
38 "/job:mnist/replica:10/task:10")); in TEST()
41 EXPECT_FALSE(IsSameAddrSp("/job:mnist/replica:10/task:9/cpu:0", in TEST()
42 "/job:mnist/replica:10/task:10/cpu:0")); in TEST()
[all …]
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_cmd_buffer.c61 v3dv_job_add_bo(struct v3dv_job *job, struct v3dv_bo *bo) in v3dv_job_add_bo() argument
66 if (_mesa_set_search(job->bos, bo)) in v3dv_job_add_bo()
69 _mesa_set_add(job->bos, bo); in v3dv_job_add_bo()
70 job->bo_count++; in v3dv_job_add_bo()
158 job_destroy_gpu_cl_resources(struct v3dv_job *job) in job_destroy_gpu_cl_resources() argument
160 assert(job->type == V3DV_JOB_TYPE_GPU_CL || in job_destroy_gpu_cl_resources()
161 job->type == V3DV_JOB_TYPE_GPU_CL_SECONDARY); in job_destroy_gpu_cl_resources()
163 v3dv_cl_destroy(&job->bcl); in job_destroy_gpu_cl_resources()
164 v3dv_cl_destroy(&job->rcl); in job_destroy_gpu_cl_resources()
165 v3dv_cl_destroy(&job->indirect); in job_destroy_gpu_cl_resources()
[all …]

12345678910>>...283