| /external/libcups/scheduler/ |
| D | job.c | 2 * 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 …]
|
| D | job.h | 2 * 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/ |
| D | ipp-1.1.test | 133 # 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/ |
| D | vc4_job.c | 35 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/kotlinx.coroutines/kotlinx-coroutines-core/common/test/ |
| D | JobStatesTest.kt | 12 * 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 parent = coroutineContext.job in <lambda>() 20 val job = launch(start = CoroutineStart.LAZY) { in <lambda>() constant 28 // New job in <lambda>() 29 assertFalse(job.isActive) in <lambda>() 30 assertFalse(job.isCompleted) in <lambda>() 31 assertFalse(job.isCancelled) in <lambda>() 32 assertSame(parent, job.parent) in <lambda>() 34 job.start() in <lambda>() [all …]
|
| D | JobTest.kt | 14 val job = Job() in <lambda>() constant 15 assertNull(job.parent) in <lambda>() 16 assertTrue(job.isActive) in <lambda>() 17 job.cancel() in <lambda>() 18 assertTrue(!job.isActive) in <lambda>() 23 val job = Job() in <lambda>() constant 25 job.invokeOnCompletion { fireCount++ } in <lambda>() 26 assertTrue(job.isActive) in <lambda>() 29 job.cancel() in <lambda>() 30 assertTrue(!job.isActive) in <lambda>() [all …]
|
| /external/mesa3d/src/gallium/drivers/v3d/ |
| D | v3d_job.c | 41 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 …]
|
| D | v3dx_rcl.c | 114 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/cronet/net/http/ |
| D | http_stream_factory_job_controller.h | 32 // HttpStreamFactory::JobController manages Request and Job(s). 34 : public HttpStreamFactory::Job::Delegate, 53 const Job* main_job() const { return main_job_.get(); } in main_job() 54 const Job* alternative_job() const { return alternative_job_.get(); } in alternative_job() 55 const Job* dns_alpn_h3_job() const { return dns_alpn_h3_job_.get(); } in dns_alpn_h3_job() 61 // Job(s) and start serving the created request. 76 // Called when Request is destructed. Job(s) associated with but not bound to 88 // From HttpStreamFactory::Job::Delegate. 89 // Invoked when |job| has an HttpStream ready. 90 void OnStreamReady(Job* job, const SSLConfig& used_ssl_config) override; [all …]
|
| D | http_stream_factory_job_controller.cc | 99 // Generate a AlternativeService for DNS alt job. Note: Chrome does not yet 107 // The maximum time to wait for the alternate job to complete before resuming 108 // the main job. 244 // When proxy resolution fails, there is no job created and in GetLoadState() 294 Job* job, in OnStreamReady() argument 296 DCHECK(job); in OnStreamReady() 298 if (IsJobOrphaned(job)) { in OnStreamReady() 299 // We have bound a job to the associated HttpStreamRequest, |job| has been in OnStreamReady() 301 OnOrphanedJobComplete(job); in OnStreamReady() 304 std::unique_ptr<HttpStream> stream = job->ReleaseStream(); in OnStreamReady() [all …]
|
| D | http_stream_factory_job.h | 56 class HttpStreamFactory::Job 64 // Delegate to report Job's status to HttpStreamRequest and HttpStreamFactory. 69 // Invoked when |job| has an HttpStream ready. 70 virtual void OnStreamReady(Job* job, const SSLConfig& used_ssl_config) = 0; 72 // Invoked when |job| has a BidirectionalStream ready. 74 Job* job, 78 // Invoked when |job| has a WebSocketHandshakeStream ready. 80 Job* job, 85 // Invoked when |job| fails to create a stream. 86 virtual void OnStreamFailed(Job* job, [all …]
|
| /external/libcups/conf/ |
| D | cupsd.conf.in | 49 # 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> 62 …Job 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/ |
| D | Job.kt | 15 // --------------- 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/ |
| D | sched.c | 70 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/autotest/client/bin/ |
| D | job_unittest.py | 16 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/mesa3d/src/gallium/drivers/lima/ |
| D | lima_job.c | 52 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/site_utils/ |
| D | job_history.py | 6 # 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 26 LOG_BASE_URL = 'http://%s/tko/retrieve_logs.cgi?job=/results/' % AUTOTEST_SERVER 32 # Add some buffer before and after job start/end time when searching for special 33 # tasks. This is to guarantee to include reset before the job starts and repair 34 # and cleanup after the job finishes. 49 @return: A dictionary as the history entry of given job/task. 64 """Return a list of dictionaries of select job/task's history. 133 @param job_id: ID of the test job that's related to the special task. 137 Job id. Note that, None means the cache is not available. [all …]
|
| /external/libcups/test/ |
| D | 4.3-job-ops.test | 2 # 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/ |
| D | JobExceptionHandlingTest.kt | 24 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/curl/scripts/ |
| D | cijobs.pl | 33 my %job = %$jref; 35 printf "\n##### job %u \n", $jobid++; 36 for my $k (sort keys %job) { 37 printf "%s: %s\n", $k, $job{$k} if($job{$k}); 53 undef %job; 54 $job{'file'} = $f; 55 $job{'service'} = "gha"; 61 $job{'line'} = $line; 77 # non-matrix job 86 $job{'install'} = $1; [all …]
|
| /external/autotest/tko/ |
| D | parse.py | 66 parser.add_option("-r", help="Reparse the results of a job", 71 "in the job name"), 99 help=("Allows parsing job to attempt to create a suite " 100 "timeline report, if it detects that the job being " 101 "parsed is a suite job."), 141 @param jobname: String representing the job name. 153 def mailfailure(jobname, job, message): argument 156 @param jobname: String representing the job name. 157 @param job: A job object. 161 message_lines.append("The following tests FAILED for this job") [all …]
|
| /external/tensorflow/tensorflow/core/util/ |
| D | device_name_utils_test.cc | 43 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/tensorflow/tensorflow/python/framework/ |
| D | device_spec_test.py | 39 d = device_spec_type(job="j", replica=0, task=1, 41 self.assertEqual("j", d.job) 46 self.assertEqual("/job:j/replica:0/task:1/device:CPU:2", d.to_string()) 54 d.job = "foo" 55 self.assertEqual("/job:foo", d.to_string()) 57 self.assertEqual("/job:foo/task:3", d.to_string()) 60 self.assertEqual("/job:foo/task:3/device:CPU:0", d.to_string()) 63 self.assertEqual("/job:foo/replica:12/device:CPU:0", d.to_string()) 66 self.assertEqual("/job:foo/replica:12/device:GPU:2", d.to_string()) 69 self.assertEqual("/job:foo/replica:12/device:CPU:1", d.to_string()) [all …]
|
| /external/cronet/net/base/ |
| D | prioritized_dispatcher.h | 19 // jobs. It never revokes a job once started. The job must call OnJobFinished 25 // Job::Start. 29 class Job; 30 typedef PriorityQueue<Job*>::Priority Priority; 37 // jobs at priority 1 or below can start. After one more job starts, no jobs 52 // An interface to the job dispatched by PrioritizedDispatcher. The dispatcher 53 // does not own the Job but expects it to live as long as the Job is queued. 54 // Use Cancel to remove Job from queue before it is dispatched. The Job can be 56 class Job { 58 // Note: PrioritizedDispatcher will never delete a Job. [all …]
|
| /external/tensorflow/tensorflow/python/training/ |
| D | device_setter_test.py | 42 self.assertDeviceEqual("/job:ps/task:0/cpu:0", v.device) 43 self.assertDeviceEqual("/job:ps/task:0/cpu:0", v.initializer.device) 44 self.assertDeviceEqual("/job:ps/task:1", w.device) 45 self.assertDeviceEqual("/job:ps/task:1", w.initializer.device) 46 self.assertDeviceEqual("/job:worker/cpu:0", a.device) 53 self.assertDeviceEqual("/job:ps/task:0", v.device) 62 self.assertDeviceEqual("/job:ps/task:0", v.device) 63 self.assertDeviceEqual("/job:ps/task:0", v.initializer.device) 64 self.assertDeviceEqual("/job:ps/task:1", w.device) 65 self.assertDeviceEqual("/job:ps/task:1", w.initializer.device) [all …]
|