/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;
|
/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", 459 if opts.numThreads is None: 460 # Python <2.5 has a race condition causing lit to always fail with numThreads>1 465 opts.numThreads = Util.detectCPUs() 467 opts.numThreads = 1 554 opts.numThreads) 574 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...] |
/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...] |
/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/ |
llvmbuild | 757 numthreads = options.threads 760 + str(numthreads) + " threads using " + str(jobs) 763 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 | 39 STATISTIC(NumThreads, "Number of jumps threaded"); [all...] |
/dalvik/hit/samples/ |
android.hprof | [all...] |