Home
last modified time | relevance | path

Searched refs:job (Results 1 – 25 of 5793) sorted by relevance

12345678910>>...232

/external/libcups/scheduler/
Djob.c119 static void dump_job_history(cupsd_job_t *job);
120 static void finalize_job(cupsd_job_t *job, int set_job_state);
121 static void free_job_history(cupsd_job_t *job);
122 static char *get_options(cupsd_job_t *job, int banner_page, char *copies,
129 static void remove_job_files(cupsd_job_t *job);
130 static void remove_job_history(cupsd_job_t *job);
131 static void set_time(cupsd_job_t *job, const char *name);
132 static void start_job(cupsd_job_t *job, cupsd_printer_t *printer);
133 static void stop_job(cupsd_job_t *job, cupsd_jobaction_t action);
134 static void unload_job(cupsd_job_t *job);
[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 …]
Dv3dx_draw.c45 struct v3d_job *job = v3d->job; in v3d_start_draw() local
47 if (job->needs_flush) in v3d_start_draw()
53 v3d_cl_ensure_space_with_branch(&job->bcl, 256 /* XXX */); in v3d_start_draw()
55 job->submit.bcl_start = job->bcl.bo->offset; in v3d_start_draw()
56 v3d_job_add_bo(job, job->bcl.bo); in v3d_start_draw()
64 MAX2(fb_layers, 1) * job->draw_tiles_x * job->draw_tiles_y * 64; in v3d_start_draw()
81 job->tile_alloc = v3d_bo_alloc(v3d->screen, tile_alloc_size, in v3d_start_draw()
84 job->tile_state = v3d_bo_alloc(v3d->screen, in v3d_start_draw()
86 job->draw_tiles_y * in v3d_start_draw()
87 job->draw_tiles_x * in v3d_start_draw()
[all …]
Dv3dx_emit.c135 struct v3d_job *job = v3d->job; in emit_one_texture() local
145 v3d_cl_ensure_space(&job->indirect, in emit_one_texture()
149 job->indirect.bo); in emit_one_texture()
245 cl_packet_pack(TEXTURE_SHADER_STATE)(&job->indirect, packed, &unpacked); in emit_one_texture()
251 v3d_cl_ensure_space(&job->indirect, ARRAY_SIZE(packed), 32); in emit_one_texture()
252 cl_emit_prepacked(&job->indirect, &packed); in emit_one_texture()
278 emit_rt_blend(struct v3d_context *v3d, struct v3d_job *job, in emit_rt_blend() argument
289 cl_emit(&job->bcl, BLEND_CFG, config) { in emit_rt_blend()
318 emit_flat_shade_flags(struct v3d_job *job, in emit_flat_shade_flags() argument
324 cl_emit(&job->bcl, FLAT_SHADE_FLAGS, flags) { in emit_flat_shade_flags()
[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 …]
Dvc4_draw.c39 vc4_get_draw_cl_space(struct vc4_job *job, int vert_count) in vc4_get_draw_cl_space() argument
49 cl_ensure_space(&job->bcl, in vc4_get_draw_cl_space()
59 cl_ensure_space(&job->shader_rec, in vc4_get_draw_cl_space()
67 cl_ensure_space(&job->bo_handles, (2 * 16 + 20) * sizeof(uint32_t)); in vc4_get_draw_cl_space()
68 cl_ensure_space(&job->bo_pointers, in vc4_get_draw_cl_space()
78 struct vc4_job *job = vc4->job; in vc4_start_draw() local
80 if (job->needs_flush) in vc4_start_draw()
83 vc4_get_draw_cl_space(job, 0); in vc4_start_draw()
85 cl_emit(&job->bcl, TILE_BINNING_MODE_CONFIGURATION, bin) { in vc4_start_draw()
86 bin.width_in_tiles = job->draw_tiles_x; in vc4_start_draw()
[all …]
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/
DJobStatesTest.kt19 val job = launch(start = CoroutineStart.LAZY) { in <lambda>() constant
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>()
35 assertFalse(job.isCancelled) in <lambda>()
39 assertTrue(job.isActive) in <lambda>()
40 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 …]
DLaunchLazyTest.kt13 val job = launch(start = CoroutineStart.LAZY) { in <lambda>() constant
21 assertTrue(!job.isActive && !job.isCompleted) in <lambda>()
22 job.join() in <lambda>()
23 assertTrue(!job.isActive && job.isCompleted) in <lambda>()
30 val job = launch(start = CoroutineStart.LAZY) { in <lambda>() constant
38 assertTrue(!job.isActive && !job.isCompleted) in <lambda>()
39 assertTrue(job.start()) in <lambda>()
40 assertTrue(job.isActive && !job.isCompleted) in <lambda>()
41 assertTrue(!job.start()) // start again -- does nothing in <lambda>()
42 assertTrue(job.isActive && !job.isCompleted) in <lambda>()
[all …]
DCompletableJobTest.kt12 val job = Job() in <lambda>() constant
13 assertTrue(job.isActive) in <lambda>()
14 assertFalse(job.isCompleted) in <lambda>()
15 assertTrue(job.complete()) in <lambda>()
16 assertTrue(job.isCompleted) in <lambda>()
17 assertFalse(job.isActive) in <lambda>()
18 assertFalse(job.isCancelled) in <lambda>()
19 assertFalse(job.complete()) in <lambda>()
24 val job = Job() in <lambda>() constant
25 assertTrue(job.isActive) in <lambda>()
[all …]
DCoroutinesTest.kt29 val job = launch { in <lambda>() constant
35 assertTrue(job.isActive && !job.isCompleted) in <lambda>()
36 job.join() in <lambda>()
37 assertTrue(!job.isActive && job.isCompleted) in <lambda>()
44 val job = launch(start = CoroutineStart.UNDISPATCHED) { in <lambda>() constant
50 assertTrue(job.isActive && !job.isCompleted) in <lambda>()
51 job.join() in <lambda>()
52 assertTrue(!job.isActive && job.isCompleted) in <lambda>()
90 val job = launch { in <lambda>() constant
98 job.cancel() in <lambda>()
[all …]
DFailedJobTest.kt16 val job = launch { in <lambda>() constant
20 job.cancelAndJoin() in <lambda>()
22 assertTrue(job.isCompleted) in <lambda>()
23 assertTrue(!job.isActive) in <lambda>()
24 assertTrue(job.isCancelled) in <lambda>()
32 val job = launch(NonCancellable) { in <lambda>() constant
37 job.join() in <lambda>()
39 assertTrue(job.isCompleted) in <lambda>()
40 assertTrue(!job.isActive) in <lambda>()
41 assertTrue(job.isCancelled) in <lambda>()
[all …]
DWithContextTest.kt86 val job = Job() in <lambda>() constant
88 withContext(coroutineContext + 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>()
139 val job = Job() in <lambda>() constant
140 job.cancel() // cancel before it has a chance to run in <lambda>()
141 withContext(job + wrapperDispatcher(coroutineContext)) { in <lambda>()
149 var job: Job? = null in <lambda>() variable
[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/libcups/examples/
Dipp-1.1.test144 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
163 EXPECT ?job-state-message OF-TYPE text IN-GROUP job-attributes-tag
165 IN-GROUP job-attributes-tag WITH-VALUE >-1
179 ATTR name job-name $filename
[all …]
Dget-jobs.test19job-id,job-uri,job-state,job-state-reasons,job-name,job-originating-user-name,job-media-sheets,job
25 DISPLAY job-id
26 DISPLAY job-state
27 DISPLAY job-name
28 DISPLAY job-originating-user-name
29 DISPLAY job-impressions
30 DISPLAY job-impressions-completed
31 DISPLAY job-media-sheets
32 DISPLAY job-media-sheets-completed
/external/autotest/client/bin/
Djob_unittest.py16 from autotest_lib.client.bin import job, sysinfo, harness
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()
73 self.god.stub_function_to_return(job.os, 'mkdir', None)
74 self.god.stub_function_to_return(job.os.path, 'exists', True)
75 self.god.stub_function_to_return(self.job, '_load_state', None)
[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 …]
Dv3dv_queue.c34 struct v3dv_job *job, in v3dv_clif_dump() argument
44 set_foreach(job->bos, entry) { in v3dv_clif_dump()
81 struct v3dv_job *job,
154 handle_reset_query_cpu_job(struct v3dv_job *job) in handle_reset_query_cpu_job() argument
163 struct v3dv_reset_query_cpu_job_info *info = &job->cpu.query_reset; in handle_reset_query_cpu_job()
167 VkResult result = gpu_queue_wait_idle(&job->device->queue); in handle_reset_query_cpu_job()
194 handle_end_query_cpu_job(struct v3dv_job *job) in handle_end_query_cpu_job() argument
196 struct v3dv_end_query_cpu_job_info *info = &job->cpu.query_end; in handle_end_query_cpu_job()
205 handle_copy_query_results_cpu_job(struct v3dv_job *job) in handle_copy_query_results_cpu_job() argument
208 &job->cpu.query_copy_results; in handle_copy_query_results_cpu_job()
[all …]
/external/autotest/client/site_tests/suite_HWQual/
Dcontrol.auto16 job.run_test('power_Resume',
20 job.run_test('platform_HighResTimers')
21 job.run_test('platform_KernelVersion')
24 job.run_test('platform_AesThroughput')
27 job.run_test('firmware_RomSize',
35 # job.run_test('firmware_VbootCrypto', suite='benchmarks', tag='benchmarks')
38 job.run_test('hardware_MemoryTotalSize')
39 job.run_test('hardware_MemoryThroughput', num_iteration=2500, test_list='21')
42 job.run_test('hardware_StorageFio',
56 job.run_test('hardware_DiskSize',
[all …]
/external/toybox/toys/pending/
Dcrond.c53 struct double_list *job, *var; member
280 dlist_add_nomalloc((struct double_list **)&cfile->job, (struct double_list *)j); in parse_line()
329 JOB *jstart, *jlist = (JOB *)list->job; in remove_completed_jobs()
348 list->job = (struct double_list *)jlist; in remove_completed_jobs()
396 if (!cfile->job) { in scan_cronfiles()
423 static void do_fork(CRONFILE *cfile, JOB *job, int fd, char *prog) in do_fork() argument
459 execlp(file, file, (prog ? "-ti" : "-c"), (prog ? NULL : job->cmd), (char *) NULL); in do_fork()
462 if (!prog) dprintf(1, "Exec failed: %s -c %s\n", file, job->cmd); in do_fork()
471 job->pid = pid; in do_fork()
475 static void sendmail(CRONFILE *cfile, JOB *job) in sendmail() argument
[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>()
62 val job = launch(parent) { in <lambda>() constant
70 job.join() in <lambda>()
85 val job = Job() in <lambda>() constant
86 val child = launch(job, start = ATOMIC) { in <lambda>()
92 job.cancelAndJoin() in <lambda>()
109 val job = Job() in <lambda>() constant
110 launch(job) { in <lambda>()
[all …]
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/tests/
Dcross_host_transfer.mlir5 …// CHECK-NEXT: %[[RESULT_0:.*]] = "tf.Const"() {device = "/job:worker/replica:0/task:0/device:CPU:…
6 …%0 = "tf.Const"() {device = "/job:worker/replica:0/task:0/device:CPU:0", value = dense<3.000000e+0…
8 …// CHECK-NEXT: tf_device.send %[[RESULT_0]] "key-0" "/job:worker/replica:0/task:1" {device = "/job
9 …-NEXT: %[[RESULT_1:.*]] = tf_device.receive "key-0" "/job:worker/replica:0/task:0" {device = "/job
10 …// CHECK-NEXT: %[[RESULT_2:.*]] = "tf.Sqrt"(%[[RESULT_1]]) {device = "/job:worker/replica:0/task:1…
11 …%1 = "tf.Sqrt"(%0) {device = "/job:worker/replica:0/task:1/device:CPU:0"} : (tensor<f32>) -> tenso…
13 …// CHECK-NEXT: %[[RESULT_3:.*]] = "tf.Sqrt"(%[[RESULT_1]]) {device = "/job:worker/replica:0/task:1…
14 …%2 = "tf.Sqrt"(%0) {device = "/job:worker/replica:0/task:1/device:CPU:0"} : (tensor<f32>) -> tenso…
20 …// CHECK-NEXT: %[[RESULT_0:.*]] = "tf.Const"() {device = "/job:worker/replica:0/task:0/device:CPU:…
21 …%0 = "tf.Const"() {device = "/job:worker/replica:0/task:0/device:CPU:0", value = dense<3.000000e+0…
[all …]
/external/autotest/tko/parsers/
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.read_keyval.expect_call('.').and_return(raw_keyval)
61 version_0.job.find_hostname.expect_call('.').and_raises(
[all …]

12345678910>>...232