/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, 89 DWORD Job::UserHandleGrantAccess(HANDLE handle) { 102 HANDLE Job::Detach() { 108 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, 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/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/chromium_org/net/http/ |
http_stream_factory_impl_request.h | 35 // Called when the Job determines the appropriate |spdy_session_key| for the 42 // Attaches |job| to this request. Does not mean that Request will use |job|, 43 // but Request will own |job|. 44 void AttachJob(HttpStreamFactoryImpl::Job* job); 47 // |job_net_log| is the BoundNetLog of the Job that fulfilled this request. 57 // Called by an attached Job if it sets up a SpdySession. 58 void OnNewSpdySessionReady(Job* job, [all...] |
http_stream_factory_impl.h | 65 class NET_EXPORT_PRIVATE Job; 83 // Detaches |job| from |request|. 84 void OrphanJob(Job* job, const Request* request); 98 // Called when the Job detects that the endpoint indicated by the 101 void OnBrokenAlternateProtocol(const Job*, const HostPortPair& origin); 103 // Invoked when an orphaned Job finishes. 104 void OnOrphanedJobComplete(const Job* job); 106 // Invoked when the Job finishes preconnecting sockets [all...] |
http_stream_factory_impl_job.h | 36 class HttpStreamFactoryImpl::Job { 38 Job(HttpStreamFactoryImpl* stream_factory, 45 ~Job(); 48 // notified upon completion if the Job has not been Orphan()'d. 58 // Marks this Job as the "alternate" job, from Alternate-Protocol. Tracks the 65 // Tells |this| to wait for |job| to resume it. 66 void WaitFor(Job* job); 68 // Tells |this| that |job| has determined it still needs to continu [all...] |
http_stream_factory_impl_job.cc | 43 // Returns parameters associated with the start of a HTTP stream job. 69 HttpStreamFactoryImpl::Job::Job(HttpStreamFactoryImpl* stream_factory, 82 io_callback_(base::Bind(&Job::OnIOComplete, base::Unretained(this))), 108 HttpStreamFactoryImpl::Job::~Job() { 127 void HttpStreamFactoryImpl::Job::Start(Request* request) { 133 int HttpStreamFactoryImpl::Job::Preconnect(int num_streams) { 149 int HttpStreamFactoryImpl::Job::RestartTunnelWithProxyAuth( 157 LoadState HttpStreamFactoryImpl::Job::GetLoadState() const [all...] |
http_stream_factory_impl_request.cc | 47 for (std::set<Job*>::iterator it = jobs_.begin(); it != jobs_.end(); ++it) 65 void HttpStreamFactoryImpl::Request::AttachJob(Job* job) { 66 DCHECK(job); 67 jobs_.insert(job); 68 factory_->request_map_[job] = this; 90 Job* job, 98 OnJobSucceeded(job); 103 Job* job [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
Dispatcher.java | 42 private final Deque<Job> readyJobs = new ArrayDeque<Job>(); 45 private final Deque<Job> runningJobs = new ArrayDeque<Job>(); 106 Job job = new Job(this, client, request, receiver); local 108 if (runningJobs.size() < maxRequests && runningJobsForHost(job) < maxRequestsPerHost) { 109 runningJobs.add(job); 110 getExecutorService().execute(job); 141 Job job = i.next(); local [all...] |
/external/chromium_org/net/proxy/ |
proxy_resolver_v8_tracing.cc | 68 // The Job class is responsible for executing GetProxyForURL() and 82 class ProxyResolverV8Tracing::Job 83 : public base::RefCountedThreadSafe<ProxyResolverV8Tracing::Job>, 87 // Job, and must oulive it. 88 explicit Job(ProxyResolverV8Tracing* parent); 109 friend class base::RefCountedThreadSafe<ProxyResolverV8Tracing::Job>; 122 virtual ~Job(); 203 // The ProxyResolverV8Tracing which spawned this Job. 207 // The callback to run (on the origin thread) when the Job finishes. 214 // The operation that this Job is running 967 scoped_refptr<Job> job = new Job(this); local 977 Job* job = reinterpret_cast<Job*>(request); local 982 Job* job = reinterpret_cast<Job*>(request); local [all...] |
proxy_resolver_v8_tracing.h | 61 class Job; 74 scoped_refptr<Job> set_pac_script_job_;
|
/external/clang/include/clang/Driver/ |
Job.h | 1 //===--- Job.h - Commands to Execute ----------------------------*- C++ -*-===// 31 class Job { 43 Job(JobClass _Kind) : Kind(_Kind) {} 45 virtual ~Job(); 49 /// Print - Print this Job in -### format. 61 class Command : public Job { 62 /// Source - The action which caused the creation of this job. 65 /// Tool - The tool which caused the creation of this job. 85 /// getSource - Return the Action which caused the creation of this job. 88 /// getCreator - Return the Tool which caused the creation of this job [all...] |
/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; 54 // Use a job to prevent requiring a workspace lock in this thread. 56 Job markerJob = new Job("Android SDK: Resolving error markers") { 66 // Don't return e2.getStatus(); the job control will then produce 76 markerJob.setPriority(Job.BUILD); 80 // Use a job to prevent requiring a workspace lock in this thread. 81 Job markerJob = new Job("Android SDK: Resolving error markers") { 98 markerJob.setPriority(Job.BUILD) [all...] |
/external/chromium_org/components/policy/core/common/cloud/ |
external_policy_data_fetcher.h | 44 // The result of a fetch job. 62 // Encapsulates the metadata for a fetch job. 63 struct Job; 65 // Callback invoked when a fetch job finishes. If the fetch was successful, 83 // StartJob() again. Returns an opaque job identifier. Ownership of the job 85 Job* StartJob(const GURL& url, 89 // Cancel the fetch job identified by |job|. The job is canceled silently [all...] |
external_policy_data_fetcher.cc | 23 // Helper that forwards the result of a fetch job from the thread that the 25 // ExternalPolicyDataFetcher which started the job runs on. 29 ExternalPolicyDataFetcher::Job* job, 33 base::Bind(callback, job, result, base::Passed(&data))); 36 // Helper that forwards a job cancelation confirmation from the thread that the 38 // ExternalPolicyDataFetcher which canceled the job runs on. 45 // Helper invoked when a job cancelation confirmation has been forwarded to the 46 // thread which canceled the job. The helper itself does nothing. It exists so 47 // that the |job| can be passed as base::Owned(), allowing it to be deleted o 98 Job* job = new Job( local 239 ExternalPolicyDataFetcher::Job* job = it->second; local 258 ExternalPolicyDataFetcher::Job* job = it->second; local [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 | 49 class Job; 69 // Called on the UI thread when a job has been processed (successfully or 70 // not). Closes the file and removes the job from the job map. 74 // Creates an register a new job. 77 // Called when the render process connected to a job exits. 78 void RenderProcessExited(Job* job); 80 typedef std::map<int, Job*> IDToJobMap;
|
mhtml_generation_manager.cc | 19 class MHTMLGenerationManager::Job : public RenderProcessHostObserver { 21 Job(); 22 virtual ~Job(); 56 DISALLOW_COPY_AND_ASSIGN(Job); 59 MHTMLGenerationManager::Job::Job() 65 MHTMLGenerationManager::Job::~Job() { 70 void MHTMLGenerationManager::Job::SetWebContents(WebContents* web_contents) { 77 void MHTMLGenerationManager::Job::RenderProcessExited 179 Job* job = iter->second; local 202 Job* job = iter->second; local 222 Job* job = new Job(); local [all...] |
/external/chromium_org/net/quic/crypto/ |
channel_id_chromium.h | 48 class Job; 49 typedef std::set<Job*> JobSet; 51 void OnJobComplete(Job* job);
|
proof_verifier_chromium.h | 73 class Job; 74 typedef std::set<Job*> JobSet; 76 void OnJobComplete(Job* job);
|
channel_id_chromium.cc | 59 // A Job handles the lookup of a single channel ID. It is owned by the 62 class ChannelIDSourceChromium::Job { 64 Job(ChannelIDSourceChromium* channel_id_source, 103 DISALLOW_COPY_AND_ASSIGN(Job); 106 ChannelIDSourceChromium::Job::Job( 114 QuicAsyncStatus ChannelIDSourceChromium::Job::GetChannelIDKey( 144 int ChannelIDSourceChromium::Job::DoLoop(int last_result) { 167 void ChannelIDSourceChromium::Job::OnIOComplete(int result) { 177 int ChannelIDSourceChromium::Job::DoGetChannelIDKey(int result) [all...] |
/external/chromium_org/cloud_print/gcp20/prototype/ |
cloud_print_response_parser.h | 23 struct Job { 24 Job(); 25 ~Job(); 58 std::vector<Job>* list);
|
/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...] |