/external/smali/baksmali/src/main/java/org/jf/baksmali/ |
Baksmali.java | 47 public static boolean disassembleDexFile(DexFile dexFile, File outputDir, int jobs, final BaksmaliOptions options) { 48 return disassembleDexFile(dexFile, outputDir, jobs, options, null); 51 public static boolean disassembleDexFile(DexFile dexFile, File outputDir, int jobs, final BaksmaliOptions options, 62 ExecutorService executor = Executors.newFixedThreadPool(jobs);
|
DisassembleCommand.java | 85 @Parameter(names = {"-j", "--jobs"}, 89 private int jobs = Runtime.getRuntime().availableProcessors(); field in class:DisassembleCommand 181 if (!Baksmali.disassembleDexFile(dexFile, outputDirectoryFile, jobs, getOptions(), classes)) {
|
/external/curl/docs/cmdline-opts/ |
max-time.d | 8 useful for preventing your batch jobs from hanging for hours due to slow
|
/external/libcups/cups/ |
util.c | 46 * Pass @code CUPS_JOBID_ALL@ to cancel all jobs or @code CUPS_JOBID_CURRENT@ 57 int job_id) /* I - Job ID, @code CUPS_JOBID_CURRENT@ for the current job, or @code CUPS_JOBID_ALL@ for all jobs */ 67 * Canceled jobs remain in the job history while purged jobs are removed 70 * Pass @code CUPS_JOBID_ALL@ to cancel all jobs or @code CUPS_JOBID_CURRENT@ 82 int job_id, /* I - Job ID, @code CUPS_JOBID_CURRENT@ for the current job, or @code CUPS_JOBID_ALL@ for all jobs */ 115 * [purge-job] or [purge-jobs] 132 snprintf(uri, sizeof(uri), "ipp://localhost/jobs/%d", job_id); 143 ippAddBoolean(request, IPP_TAG_OPERATION, "purge-jobs", 0); 149 ippDelete(cupsDoRequest(http, request, "/jobs/")); [all...] |
testcups.c | 54 int num_jobs; /* Number of jobs for queue */ 55 cups_job_t *jobs; /* Jobs for queue */ local 470 num_jobs = cupsGetJobs(&jobs, NULL, 0, -1); 480 cupsFreeJobs(num_jobs, jobs);
|
cups.h | 228 CUPS_PRINTER_REJECTING = 0x80000, /* Printer is rejecting jobs */ 344 extern void cupsFreeJobs(int num_jobs, cups_job_t *jobs); 347 extern int cupsGetJobs(cups_job_t **jobs, const char *name, 403 extern int cupsGetJobs2(http_t *http, cups_job_t **jobs,
|
/external/syzkaller/sys/syz-sysgen/ |
sysgen.go | 76 var jobs []*Job 78 jobs = append(jobs, &Job{ 82 sort.Slice(jobs, func(i, j int) bool { 83 return jobs[i].Target.Arch < jobs[j].Target.Arch 86 wg.Add(len(jobs)) 88 for _, job := range jobs { 122 for _, job := range jobs { 142 if count == len(jobs) { [all...] |
/frameworks/av/media/codec2/sfplugin/ |
C2OMXNode.cpp | 64 Mutexed<Jobs>::Locked jobs(mJobs); 65 auto it = jobs->queues.try_emplace(comp, comp, systemTime()).first; 68 jobs->cond.broadcast(); 76 Mutexed<Jobs>::Locked jobs(mJobs); 79 for (auto it = jobs->queues.begin(); it != jobs->queues.end(); ) { 88 it = jobs->queues.erase(it); 102 jobs.unlock() [all...] |
/external/syzkaller/dashboard/app/ |
jobs.go | 126 var jobs []*Job 130 GetAll(c, &jobs) 131 if len(jobs) > 1 || err != nil { 132 return fmt.Errorf("failed to query jobs: jobs=%v err=%v", len(jobs), err) 134 if len(jobs) != 0 { 137 existingJob, jobKey := jobs[0], keys[0] 309 var jobs []*Job 313 GetAll(c, &jobs) [all...] |
access.go | 127 return fmt.Errorf("failed to query jobs: %v", err) 130 return fmt.Errorf("checkJobTextAccess: found %v jobs for %v=%v",
|
main.go | 41 Jobs []*uiJob 161 var jobs []*uiJob 172 jobs, err = loadRecentJobs(c) 186 Jobs: jobs, 735 var jobs []*Job 739 GetAll(c, &jobs) 744 for i, job := range jobs {
|
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
PhotosContentJob.java | 97 List<JobInfo> jobs = js.getAllPendingJobs(); local 98 if (jobs == null) { 101 for (int i=0; i<jobs.size(); i++) { 102 if (jobs.get(i).getId() == JobIds.PHOTOS_CONTENT_JOB) {
|
/bionic/tools/versioner/src/ |
Driver.cpp | 166 const driver::JobList& jobs = Compilation->getJobs(); local 167 if (jobs.size() != 1) { 168 errx(1, "driver returned %zu jobs for %s", jobs.size(), to_string(type).c_str()); 171 const driver::Command& driver_cmd = llvm::cast<driver::Command>(*jobs.begin());
|
versioner.cpp | 208 std::vector<std::pair<CompilationType, const std::string&>> jobs; local 213 jobs.emplace_back(type, header); 232 thread_count = std::min(thread_count, jobs.size()); 235 for (const auto& job : jobs) { 241 threads.emplace_back([&jobs, &job_index, &result, vfs]() { 244 if (idx >= jobs.size()) { 248 const auto& job = jobs[idx];
|
/build/kati/ |
worker.go | 213 jobs []*job 267 return wm.finishCnt != len(wm.jobs) 297 j.id = len(wm.jobs) + 1 298 wm.jobs = append(wm.jobs, j) 325 glog.V(1).Infof("job=%d ready=%d free=%d busy=%d", len(wm.jobs)-wm.finishCnt, wm.readyQueue.Len(), len(wm.freeWorkers), len(wm.busyWorkers))
|
/external/libxml2/example/ |
gjobread.c | 2 * gjobread.c : a small test program for gnome jobs XML format 171 * A pool of Gnome Jobs 175 jobPtr jobs[500]; /* using dynamic alloc is left as an exercise */ member in struct:gjob 238 /* First level we expect just Jobs */ 248 if ((xmlStrcmp(cur->name, (const xmlChar *) "Jobs")) || (cur->ns != ns)) { 249 fprintf(stderr,"document of the wrong type, was '%s', Jobs expected", 268 ret->jobs[ret->nbJobs++] = curjob; 284 printf("%d Jobs registered\n", cur->nbJobs); 285 for (i = 0; i < cur->nbJobs; i++) printJob(cur->jobs[i]);
|
/external/bcc/src/cc/frontends/clang/ |
loader.cc | 293 const driver::JobList &jobs = compilation->getJobs(); local 294 if (jobs.size() != 1 || !isa<driver::Command>(*jobs.begin())) { 297 jobs.Print(os, "; ", true); 302 const driver::Command &cmd = cast<driver::Command>(*jobs.begin());
|
/external/mesa3d/src/gallium/drivers/vc4/ |
vc4_job.c | 26 * Functions for submitting VC4 render jobs to the kernel. 49 remove_from_ht(vc4->jobs, &job->key); 119 hash_table_foreach(vc4->jobs, entry) { 173 struct hash_entry *entry = _mesa_hash_table_search(vc4->jobs, 178 /* Creating a new job. Make sure that any previous jobs reading or 221 _mesa_hash_table_insert(vc4->jobs, &job->key, job); 237 * been bound, so set them all to ~0 when switching between jobs. We 529 vc4->jobs = _mesa_hash_table_create(vc4,
|
vc4_context.c | 46 hash_table_foreach(vc4->jobs, entry) {
|
/external/mesa3d/src/gallium/drivers/vc5/ |
vc5_job.c | 26 * Functions for submitting VC5 render jobs to the kernel. 57 remove_from_ht(vc5->jobs, &job->key); 174 hash_table_foreach(vc5->jobs, entry) { 179 /* Reminder: vc5->jobs is safe to keep iterating even 244 struct hash_entry *entry = _mesa_hash_table_search(vc5->jobs, 249 /* Creating a new job. Make sure that any previous jobs reading or 281 _mesa_hash_table_insert(vc5->jobs, &job->key, job); 297 * been bound, so set them all to ~0 when switching between jobs. We 481 vc5->jobs = _mesa_hash_table_create(vc5,
|
vc5_context.c | 47 hash_table_foreach(vc5->jobs, entry) {
|
/external/mesa3d/src/util/ |
u_queue.h | 29 * Jobs can be added from any thread. After that, the wait call can be used 214 struct util_queue_job *jobs; member in struct:util_queue
|
/external/llvm/lib/Fuzzer/ |
FuzzerDriver.cpp | 224 if (FlagValue(S.c_str(), "jobs") || FlagValue(S.c_str(), "workers")) 289 if (Flags.jobs > 0 && Flags.workers == 0) { 290 Flags.workers = std::min(NumberOfCpuCores() / 2, Flags.jobs); 295 if (Flags.workers > 0 && Flags.jobs > 0) 296 return RunInMultipleProcesses(Args, Flags.workers, Flags.jobs);
|
/external/strace/xlat/ |
gen.sh | 314 local jobs=0 329 : $(( jobs += 1 )) 330 if [ "${jobs}" -gt "$(( ncpus * 2 ))" ]; then 334 : $(( jobs -= 1 ))
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/ |
DiskLruCacheTest.java | 509 assertEquals(1, executor.jobs.size()); 660 while (executor.jobs.isEmpty()) { 667 while (executor.jobs.isEmpty()) { 671 executor.jobs.removeFirst().run(); 682 while (executor.jobs.isEmpty()) { 692 while (executor.jobs.isEmpty()) { 1398 final Deque<Runnable> jobs = new ArrayDeque<>(); field in class:DiskLruCacheTest.TestExecutor [all...] |