/libcore/luni/src/test/java/tests/java/sql/ |
MultiThreadAccessTest.java | 41 private static final int numThreads = 10; 57 threadPool = new ThreadPool(numThreads); 116 * the database. Number of threads is defined by numThreads variable 121 for (int i = 0; i < numThreads; i++) { 128 * tables in the database. Number of threads is defined by numThreads 142 * numThreads variable 197 * the database. Number of threads is defined by numThreads variable 216 for (int i = 0; i < numThreads; i++) { 222 double expectedVal = id + numThreads;
|
/external/guava/guava-tests/test/com/google/common/base/ |
SuppliersTest.java | 267 final int numThreads = 3; 268 final Thread[] threads = new Thread[numThreads]; 298 while (waitingThreads() != numThreads - 1) { 314 for (int i = 0; i < numThreads; i++) { 349 final int numThreads = 10; 351 Thread[] threads = new Thread[numThreads]; 352 for (int i = 0; i < numThreads; i++) { 368 assertEquals(numThreads * iterations + 1, (int) nonThreadSafe.get());
|
/libcore/luni/src/test/java/tests/support/ |
ThreadPool.java | 32 public ThreadPool(int numThreads) { 39 for (int i = 0; i < numThreads; i++) {
|
/external/llvm/utils/lit/lit/ |
main.py | 300 def runTests(numThreads, litConfig, provider, display): 303 if numThreads == 1: 310 for i in range(numThreads)] 373 parser.add_option("-j", "--threads", dest="numThreads", metavar="N", 464 if opts.numThreads is None: 465 # Python <2.5 has a race condition causing lit to always fail with numThreads>1 470 opts.numThreads = Util.detectCPUs() 472 opts.numThreads = 1 573 opts.numThreads) 593 opts.numThreads = min(len(tests), opts.numThreads [all...] |
/external/chromium/base/ |
shared_memory_unittest.cc | 232 int numthreads = threadcounts[i]; local 236 thread_handles.reset(new PlatformThreadHandle[numthreads]); 237 thread_delegates.reset(new MultipleThreadMain*[numthreads]); 240 for (int16 index = 0; index < numthreads; index++) { 248 for (int index = 0; index < numthreads; index++) {
|
/external/icu4c/test/threadtest/ |
threadtest.cpp | 158 int numThreads; 219 gRunInfo.numThreads = 2; 240 gRunInfo.numThreads = atoi(argv[argnum]); 241 if (gRunInfo.numThreads < 0) 400 if (gRunInfo.numThreads == 0) 407 gThreadInfo = new ThreadInfo[gRunInfo.numThreads]; 409 for (threadNum=0; threadNum < gRunInfo.numThreads; threadNum++) 444 for (threadNum=0; threadNum < gRunInfo.numThreads; threadNum++) 456 for (threadNum=0; threadNum < gRunInfo.numThreads; threadNum++) 517 for (threadNum=0; threadNum < gRunInfo.numThreads; threadNum++) [all...] |
/external/aac/libAACdec/src/ |
aacdec_drc.cpp | 132 self->numThreads = 0; 633 self->numThreads = 0; 636 for (i = 0; i < self->numPayloads && self->numThreads < MAX_DRC_THREADS; i++) { 641 FDKmemclear(&threadBs[self->numThreads], sizeof(CDrcPayload)); 642 threadBs[self->numThreads].channelData.bandTop[0] = (1024 >> 2) - 1; 646 &threadBs[self->numThreads], 649 self->numThreads++; 660 FDKmemclear(&threadBs[self->numThreads], sizeof(CDrcPayload)); 661 threadBs[self->numThreads].channelData.bandTop[0] = (1024 >> 2) - 1; 665 &threadBs[self->numThreads], [all...] |
aacdec_drc_types.h | 154 USHORT numThreads; /* The number of DRC data threads extracted from the found payload elements */
|
/libcore/luni/src/test/java/libcore/java/lang/ |
OldThreadGroupTest.java | 116 int numThreads = initialThreadGroup.activeCount(); 117 Thread[] listOfThreads = new Thread[numThreads]; 120 assertEquals(numThreads, countThread);
|
/dalvik/tools/dmtracedump/ |
CreateTestTrace.c | 158 int numThreads = maxThreadId + 1; 163 callStack = (stack *) malloc(sizeof(stack) * numThreads); 165 for (ii = 0; ii < numThreads; ++ii) {
|
TraceDump.c | 186 int numThreads; 756 pKeys->numThreads = count; 906 qsort(pKeys->threads, pKeys->numThreads, sizeof(pKeys->threads[0]), 995 printf("Threads (%d):\n", pKeys->numThreads); 996 for (i = 0; i < pKeys->numThreads; i++) { [all...] |
/external/chromium-trace/src/tracing/ |
trace_event_importer_test.html | 42 assertEquals(1, p.numThreads); 240 assertEquals(2, p.numThreads); 283 assertEquals(1, p.numThreads); 302 assertEquals(1, p.numThreads); 595 assertEquals(1, p.numThreads); 621 assertEquals(1, p.numThreads);
|
timeline_model.js | 336 get numThreads() {
|
/libcore/luni/src/test/java/libcore/sqlite/ |
OldDatabaseTest.java | 57 private static final int numThreads = 10; 238 ThreadPool threadPool = new ThreadPool(numThreads); 307 ThreadPool threadPool = new ThreadPool(numThreads); 359 // threadPool = new ThreadPool(numThreads); 392 ThreadPool threadPool = new ThreadPool(numThreads); 443 threadPool = new ThreadPool(numThreads); [all...] |
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
QsbApplication.java | 243 protected Factory<Executor> createExecutorFactory(final int numThreads) { 247 return Executors.newFixedThreadPool(numThreads, threadFactory);
|
/dalvik/dx/src/com/android/dx/command/dexer/ |
Main.java | 323 if (args.numThreads > 1) { 324 threadPool = Executors.newFixedThreadPool(args.numThreads); 340 if (args.numThreads > 1) { 390 if (args.numThreads > 1) { [all...] |
/external/llvm/utils/ |
llvm-compilers-check | 557 numthreads = options.threads 560 + str(numthreads) + " threads using " + str(jobs) 566 for t in range(numthreads):
|
/external/libpng/contrib/visupng/ |
cexcept.h | 93 struct exception_context ec_array[numthreads];
|
/external/libvpx/examples/includes/geshi/geshi/ |
lscript.php | 67 'name', 'newFilename', 'newFrame', 'newTime', 'newType', 'null', 'numthreads',
|
/external/llvm/lib/Transforms/Scalar/ |
JumpThreading.cpp | 40 STATISTIC(NumThreads, "Number of jumps threaded"); [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.core.jobs_3.5.1.R36x_v20100824.jar | |
/external/chromium-trace/ |
script.js | 35 c?b.tid-d.tid:c};a.prototype={get numThreads(){var a=0,b;for(b in this.threads)a++;return a},shiftTimestampsForward:function(a){for(var b in this.threads)this.threads[b].shiftTimestampsForward(a);for(var d in this.counters)this.counters[d].shiftTimestampsForward(a)},getOrCreateThread:function(a){this.threads[a]||(this.threads[a]=new f(this,a));return this.threads[a]},getOrCreateCounter:function(a,b){var d=a+"."+b;this.counters[d]||(this.counters[d]=new h(this,d,b));return this.counters[d]}};a.compare= [all...] |
/dalvik/hit/samples/ |
android.hprof | [all...] |