Home
last modified time | relevance | path

Searched refs:ntasks (Results 1 – 5 of 5) sorted by relevance

/external/guava/guava-bootstrap/src/java/util/concurrent/
DAbstractExecutorService.java43 int ntasks = tasks.size(); in doInvokeAny() local
44 if (ntasks == 0) in doInvokeAny()
46 List<Future<T>> futures= new ArrayList<Future<T>>(ntasks); in doInvokeAny()
56 --ntasks; in doInvokeAny()
62 if (ntasks > 0) { in doInvokeAny()
63 --ntasks; in doInvokeAny()
/external/linux-tools-perf/src/tools/perf/util/
Dthread_map.c221 int ntasks = 0; in thread_map__new_by_tid_str() local
251 ntasks++; in thread_map__new_by_tid_str()
252 nt = realloc(threads, sizeof(*threads) + sizeof(pid_t) * ntasks); in thread_map__new_by_tid_str()
258 threads->map[ntasks - 1] = tid; in thread_map__new_by_tid_str()
259 threads->nr = ntasks; in thread_map__new_by_tid_str()
/external/guava/guava/src/com/google/common/util/concurrent/
DMoreExecutors.java610 int ntasks = tasks.size(); in invokeAnyImpl() local
611 checkArgument(ntasks > 0); in invokeAnyImpl()
612 List<Future<T>> futures = Lists.newArrayListWithCapacity(ntasks); in invokeAnyImpl()
629 --ntasks; in invokeAnyImpl()
635 if (ntasks > 0) { in invokeAnyImpl()
636 --ntasks; in invokeAnyImpl()
/external/ltrace/
Dproc.c566 size_t ntasks; in open_pid() local
569 if (process_tasks(pid, &tasks, &ntasks) < 0) { in open_pid()
576 for (i = 0; i < ntasks; ++i) in open_pid()
583 if (have_all && old_ntasks == ntasks) in open_pid()
585 old_ntasks = ntasks; in open_pid()
/external/ltrace/sysdeps/linux-gnu/
Dproc.c259 pid_t *ntasks = realloc(tasks, in process_tasks() local
261 if (ntasks == NULL) in process_tasks()
263 tasks = ntasks; in process_tasks()