/external/chromium_org/sandbox/win/src/ |
job.h | 13 // Handles the creation of job objects based on a security profile. 15 // Job job; 16 // job.Init(JOB_LOCKDOWN, NULL); //no job name 17 // job.AssignProcessToJob(process_handle); 18 class Job { 20 Job() : job_handle_(NULL) { } 22 ~Job(); 24 // Initializes and creates the job object. The security of the job is base [all...] |
job.cc | 5 #include "sandbox/win/src/job.h" 12 Job::~Job() { 17 DWORD Job::Init(JobLevel security_level, wchar_t *job_name, 56 // that processes in the job are terminated when the job is closed 87 DWORD Job::UserHandleGrantAccess(HANDLE handle) { 100 HANDLE Job::Detach() { 106 DWORD Job::AssignProcessToJob(HANDLE process_handle) {
|
job_unittest.cc | 5 // This file contains unit tests for the job object. 8 #include "sandbox/win/src/job.h" 13 // Tests the creation and destruction of the job. 15 // Scope the creation of Job. 17 // Create the job. 18 Job job; local 19 ASSERT_EQ(ERROR_SUCCESS, job.Init(JOB_LOCKDOWN, L"my_test_job_name", 0)); 21 // check if the job exists. 30 // Check if the job is destroyed when the object goes out of scope 42 Job job; local 74 Job job; local 95 Job job; local 117 Job job; local 125 Job job; local 160 Job job; local [all...] |
/external/clang/lib/Driver/ |
Job.cpp | 1 //===--- Job.cpp - Command to Execute -------------------------------------===// 10 #include "clang/Driver/Job.h" 15 Job::~Job() {} 22 : Job(CommandClass), Source(_Source), Creator(_Creator), 25 JobList::JobList() : Job(JobListClass) {} 36 void Job::addCommand(Command *C) {
|
/external/clang/include/clang/Driver/ |
Job.h | 1 //===--- Job.h - Commands to Execute ----------------------------*- C++ -*-===// 25 class Job { 36 Job(JobClass _Kind) : Kind(_Kind) {} 38 virtual ~Job(); 42 /// addCommand - Append a command to the current job, which must be 43 /// either a piped job or a job list. 49 class Command : public Job { 52 /// Source - The action which caused the creation of this job. 55 /// Tool - The tool which caused the creation of this job [all...] |
/external/chromium/net/http/ |
http_stream_factory_impl_request.h | 27 // Called when the Job determines the appropriate |spdy_session_key| for the 33 // Attaches |job| to this request. Does not mean that Request will use |job|, 34 // but Request will own |job|. 35 void AttachJob(HttpStreamFactoryImpl::Job* job); 38 // |source| is the NetLog::Source generated by the Job that fulfilled this 48 // Called by an attached Job if it sets up a SpdySession. 49 void OnSpdySessionReady(Job* job, [all...] |
http_stream_factory_impl.h | 43 class Job; 51 // Detaches |job| from |request|. 52 void OrphanJob(Job* job, const Request* request); 65 // Called when the Job detects that the endpoint indicated by the 68 void OnBrokenAlternateProtocol(const Job*, const HostPortPair& origin); 70 // Invoked when an orphaned Job finishes. 71 void OnOrphanedJobComplete(const Job* job); 73 // Invoked when the Job finishes preconnecting sockets [all...] |
http_stream_factory_impl_job.h | 35 class HttpStreamFactoryImpl::Job { 37 Job(HttpStreamFactoryImpl* stream_factory, 42 ~Job(); 45 // notified upon completion if the Job has not been Orphan()'d. 56 // Marks this Job as the "alternate" job, from Alternate-Protocol. Tracks the 61 // Tells |this| to wait for |job| to resume it. 62 void WaitFor(Job* job); 64 // Tells |this| that |job| has determined it still needs to continu [all...] |
http_stream_factory_impl_job.cc | 37 HttpStreamFactoryImpl::Job::Job(HttpStreamFactoryImpl* stream_factory, 47 ALLOW_THIS_IN_INITIALIZER_LIST(io_callback_(this, &Job::OnIOComplete)), 69 HttpStreamFactoryImpl::Job::~Job() { 88 void HttpStreamFactoryImpl::Job::Start(Request* request) { 94 int HttpStreamFactoryImpl::Job::Preconnect(int num_streams) { 100 int HttpStreamFactoryImpl::Job::RestartTunnelWithProxyAuth( 108 LoadState HttpStreamFactoryImpl::Job::GetLoadState() const { 121 void HttpStreamFactoryImpl::Job::MarkAsAlternate(const GURL& original_url) [all...] |
/external/chromium_org/net/base/ |
prioritized_dispatcher.h | 17 // jobs. It never revokes a job once started. The job must call OnJobFinished 23 // Job::Start. 27 class Job; 28 typedef PriorityQueue<Job*>::Priority Priority; 35 // jobs at priority 1 or below can start. After one more job starts, no jobs 49 // An interface to the job dispatched by PrioritizedDispatcher. The dispatcher 50 // does not own the Job but expects it to live as long as the Job is queued. 51 // Use Cancel to remove Job from queue before it is dispatched. The Job can b [all...] |
/external/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
Dispatcher.java | 35 private final Map<Object, List<Job>> enqueuedJobs = new LinkedHashMap<Object, List<Job>>(); 39 Job job = new Job(this, connection, request, responseReceiver); local 40 List<Job> jobsForTag = enqueuedJobs.get(request.tag()); 42 jobsForTag = new ArrayList<Job>(2); 45 jobsForTag.add(job); 46 executorService.execute(job); 50 List<Job> jobs = enqueuedJobs.remove(tag) [all...] |
/external/chromium_org/net/http/ |
http_stream_factory_impl_request.h | 33 // Called when the Job determines the appropriate |spdy_session_key| for the 39 // Called when the Job determines the appropriate |http_pipelining_key| for 45 // Attaches |job| to this request. Does not mean that Request will use |job|, 46 // but Request will own |job|. 47 void AttachJob(HttpStreamFactoryImpl::Job* job); 50 // |job_net_log| is the BoundNetLog of the Job that fulfilled this request. 64 // Called by an attached Job if it sets up a SpdySession. 65 void OnNewSpdySessionReady(Job* job [all...] |
http_stream_factory_impl.h | 70 class Job; 91 // Detaches |job| from |request|. 92 void OrphanJob(Job* job, const Request* request); 106 // Called when the Job detects that the endpoint indicated by the 109 void OnBrokenAlternateProtocol(const Job*, const HostPortPair& origin); 111 // Invoked when an orphaned Job finishes. 112 void OnOrphanedJobComplete(const Job* job); 114 // Invoked when the Job finishes preconnecting sockets [all...] |
http_stream_factory_impl_job.cc | 47 // Returns parameters associated with the start of a HTTP stream job. 76 HttpStreamFactoryImpl::Job::Job(HttpStreamFactoryImpl* stream_factory, 89 io_callback_(base::Bind(&Job::OnIOComplete, base::Unretained(this))), 115 HttpStreamFactoryImpl::Job::~Job() { 134 void HttpStreamFactoryImpl::Job::Start(Request* request) { 140 int HttpStreamFactoryImpl::Job::Preconnect(int num_streams) { 156 int HttpStreamFactoryImpl::Job::RestartTunnelWithProxyAuth( 164 LoadState HttpStreamFactoryImpl::Job::GetLoadState() const [all...] |
http_stream_factory_impl_job.h | 37 class HttpStreamFactoryImpl::Job { 39 Job(HttpStreamFactoryImpl* stream_factory, 46 ~Job(); 49 // notified upon completion if the Job has not been Orphan()'d. 59 // Marks this Job as the "alternate" job, from Alternate-Protocol. Tracks the 66 // Tells |this| to wait for |job| to resume it. 67 void WaitFor(Job* job); 69 // Tells |this| that |job| has determined it still needs to continu [all...] |
/external/chromium_org/cloud_print/gcp20/prototype/ |
cloud_print_response_parser.h | 21 struct Job { 22 Job(); 23 ~Job(); 59 std::vector<Job>* list);
|
/external/chromium/net/base/ |
host_resolver_impl.h | 23 // HostResolverImpl::Job. This job gets dispatched to a thread in the global 25 // host are made while the job is already outstanding, then they are attached 26 // to the existing job rather than creating a new one. This avoids doing 34 // Job Job Job 41 // When a HostResolverImpl::Job finishes its work in the threadpool, the 56 // The index into |job_pools_| for the various job pools. Pools with a higher 132 class Job; [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
SnailItem.java | 23 import com.android.gallery3d.util.ThreadPool.Job; 39 public Job<Bitmap> requestImage(int type) { 41 return new Job<Bitmap>() { 50 public Job<BitmapRegionDecoder> requestLargeImage() { 52 return new Job<BitmapRegionDecoder>() {
|
PanoramaMetadataJob.java | 24 import com.android.gallery3d.util.ThreadPool.Job; 27 public class PanoramaMetadataJob implements Job<PanoramaMetadata> {
|
/external/chromium_org/content/browser/download/ |
mhtml_generation_manager.h | 45 struct Job{ 46 Job(); 47 ~Job(); 83 // Called on the UI thread when a job has been processed (successfully or 84 // not). Closes the file and removes the job from the job map. 93 typedef std::map<int, Job> IDToJobMap;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/ |
BaseClasspathContainerInitializer.java | 29 import org.eclipse.core.runtime.jobs.Job; 60 // We schedule a new job to put the marker after. 62 Job markerJob = new Job("Android SDK: Resolving error markers") { 72 // Don't return e2.getStatus(); the job control will then produce 82 markerJob.setPriority(Job.BUILD); 95 // here, so we schedule a new job to put the marker after. 96 Job markerJob = new Job("Android SDK: Resolving error markers") { 113 markerJob.setPriority(Job.BUILD) [all...] |
/external/chromium_org/net/dns/ |
address_sorter_win.cc | 36 scoped_refptr<Job> job = new Job(list, callback); variable 42 class Job : public base::RefCountedThreadSafe<Job> { 44 Job(const AddressList& list, const CallbackType& callback) 76 base::Bind(&Job::Run, this), 77 base::Bind(&Job::OnComplete, this), 85 friend class base::RefCountedThreadSafe<Job>; 86 ~Job() {} [all...] |
/external/chromium_org/net/proxy/ |
proxy_resolver_v8_tracing.cc | 74 // The Job class is responsible for executing GetProxyForURL() and 88 class ProxyResolverV8Tracing::Job 89 : public base::RefCountedThreadSafe<ProxyResolverV8Tracing::Job>, 93 // Job, and must oulive it. 94 explicit Job(ProxyResolverV8Tracing* parent); 115 friend class base::RefCountedThreadSafe<ProxyResolverV8Tracing::Job>; 128 virtual ~Job(); 211 // The ProxyResolverV8Tracing which spawned this Job. 215 // The callback to run (on the origin thread) when the Job finishes. 222 // The operation that this Job is running 1129 scoped_refptr<Job> job = new Job(this); local 1139 Job* job = reinterpret_cast<Job*>(request); local 1144 Job* job = reinterpret_cast<Job*>(request); local [all...] |
proxy_resolver_v8_tracing.h | 62 class Job; 75 scoped_refptr<Job> set_pac_script_job_;
|
/external/chromium/net/proxy/ |
multi_threaded_proxy_resolver.cc | 36 // An "executor" is a job-runner for PAC requests. It encapsulates a worker 51 // Submit a job to this executor. 52 void StartJob(Job* job); 54 // Callback for when a job has completed running on the executor's thread. 55 void OnJobCompleted(Job* job); 63 // Returns the outstanding job, or NULL. 64 Job* outstanding_job() const { return outstanding_job_.get(); } 77 // The currently active job for this executor (either a SetPacScript o 443 Job* job = reinterpret_cast<Job*>(req); local 512 Job* job = executor->outstanding_job(); local [all...] |