/external/deqp/framework/delibs/decpp/ |
H A D | deSpinBarrier.hpp | 57 SpinBarrier (deInt32 numThreads); 62 void reset (deUint32 numThreads);
|
H A D | deSpinBarrier.cpp | 34 SpinBarrier::SpinBarrier (deInt32 numThreads) argument 36 , m_numThreads (numThreads) 41 DE_ASSERT(numThreads > 0); 49 void SpinBarrier::reset (deUint32 numThreads) argument 53 DE_ASSERT(numThreads > 0); 54 m_numThreads = numThreads; 60 inline SpinBarrier::WaitMode getWaitMode (SpinBarrier::WaitMode requested, deUint32 numCores, deInt32 numThreads) argument 63 return ((deUint32)numThreads <= numCores) ? SpinBarrier::WAIT_MODE_BUSY : SpinBarrier::WAIT_MODE_YIELD; 175 TestThread (SpinBarrier& barrier, volatile deInt32* sharedVar, int numThreads, int threadNdx) argument 178 , m_numThreads (numThreads) 234 multiThreadTest(int numThreads) argument 276 TestExitThread(SpinBarrier& barrier, int numThreads, int threadNdx, SpinBarrier::WaitMode waitMode) argument 309 multiThreadRemoveTest(int numThreads, SpinBarrier::WaitMode waitMode) argument [all...] |
H A D | deAppendList.cpp | 62 SharedState (deUint32 numThreads, deUint32 numElements_, deUint32 numElementsHint) argument 64 , barrier (numThreads) 97 void runAppendListTest (deUint32 numThreads, deUint32 numElements, deUint32 numElementsHint) argument 99 SharedState sharedState (numThreads, numElements, numElementsHint); 100 vector<TestThreadSp> threads (numThreads); 102 for (deUint32 threadNdx = 0; threadNdx < numThreads; ++threadNdx) 108 for (deUint32 threadNdx = 0; threadNdx < numThreads; ++threadNdx) 111 DE_TEST_ASSERT(sharedState.testList.size() == (size_t)numElements*(size_t)numThreads); 114 vector<deUint32> countByThread (numThreads); 124 DE_TEST_ASSERT(de::inBounds(elem.threadNdx, 0u, numThreads)); [all...] |
/external/lzma/CPP/7zip/Common/ |
H A D | MethodProps.h | 17 HRESULT ParseMtProp(const UString &name, const PROPVARIANT &prop, UInt32 defaultNumThreads, UInt32 &numThreads);
106 int numThreads = Get_NumThreads();
local 107 if (numThreads >= 0)
110 return numThreads < 2 ? 1 : 2;
118 int numThreads = Get_NumThreads();
local 119 if (numThreads >= 0)
122 if (numThreads < 1) return 1;
123 if (numThreads > 64) return 64;
124 return numThreads;
161 void AddNumThreadsProp(UInt32 numThreads)
argument [all...] |
/external/deqp/external/glslang/ |
H A D | osinclude.cpp | 87 void OS_WaitForAllThreads (void* threads, int numThreads) argument 89 for (int ndx = 0; ndx < numThreads; ndx++)
|
/external/lzma/C/ |
H A D | LzmaLib.h | 37 -1 for any from: level, loc, lp, pb, fb, numThreads
83 numThreads - The number of thereads. 1 or 2. The default value is 2.
104 int numThreads /* 1 or 2, default = 2 */
|
H A D | LzmaLib.c | 23 int numThreads /* 1 or 2, default = 2 */
34 props.numThreads = numThreads;
|
H A D | LzmaEnc.h | 30 int numThreads; /* 1 or 2, default = 2 */
member in struct:_CLzmaEncProps
|
H A D | MtCoder.c | 187 #define GET_NEXT_THREAD(p) &p->mtCoder->threads[p->index == p->mtCoder->numThreads - 1 ? 0 : p->index + 1]
276 unsigned i, numThreads = p->numThreads;
local 282 for (i = 0; i < numThreads; i++)
287 for (i = 0; i < numThreads; i++)
308 for (i = 0; i < numThreads; i++)
326 for (i = 0; i < numThreads; i++)
|
H A D | MtCoder.h | 77 unsigned numThreads;
member in struct:_CMtCoder
|
/external/dagger2/core/src/test/java/dagger/internal/ |
H A D | DoubleCheckLazyTest.java | 42 int numThreads = 10; 43 ExecutorService executor = Executors.newFixedThreadPool(numThreads); 45 final CountDownLatch latch = new CountDownLatch(numThreads); 49 List<Callable<Object>> tasks = Lists.newArrayListWithCapacity(numThreads); 50 for (int i = 0; i < numThreads; i++) {
|
/external/jemalloc/msvc/projects/vc2015/test_threads/ |
H A D | test_threads.cpp | 32 static const int numThreads = narenas + 1, numAllocsMax = 25, numIter1 = 50, numIter2 = 50; local 39 printf("Starting %d threads x %d x %d iterations...\n", numThreads, numIter1, numIter2); 40 for (int i = 0; i < numThreads; i++) {
|
/external/aac/libAACdec/src/ |
H A D | aacdec_drc_types.h | 158 USHORT numThreads; /* The number of DRC data threads extracted from the found payload elements */ member in struct:__anon181
|
H A D | aacdec_drc.cpp | 132 self->numThreads = 0; 687 self->numThreads = 0; 690 for (i = 0; i < self->numPayloads && self->numThreads < MAX_DRC_THREADS; i++) { 695 FDKmemclear(&threadBs[self->numThreads], sizeof(CDrcPayload)); 696 threadBs[self->numThreads].channelData.bandTop[0] = (1024 >> 2) - 1; 700 &threadBs[self->numThreads], 703 self->numThreads++; 708 if (self->dvbAncDataAvailable && self->numThreads < MAX_DRC_THREADS) 714 FDKmemclear(&threadBs[self->numThreads], sizeof(CDrcPayload)); 715 threadBs[self->numThreads] [all...] |
/external/lzma/CPP/7zip/Archive/7z/ |
H A D | 7zDecode.h | 58 , bool mtMode, UInt32 numThreads
|
/external/lzma/CPP/7zip/Archive/Common/ |
H A D | HandlerOut.h | 26 , UInt32 numThreads
|
H A D | HandlerOut.cpp | 25 , UInt32 numThreads
33 SetMethodProp32(oneMethodInfo, NCoderPropID::kNumThreads, numThreads);
|
/external/lzma/CPP/7zip/UI/Common/ |
H A D | Bench.cpp | 1025 UInt32 numThreads,
1047 numEncoderThreads = numThreads;
1053 if (!fixedNumber && numThreads == 1)
1055 if (numThreads > 1 && numLzmaThreads > 1)
1057 numEncoderThreads = numThreads / 2;
1269 UInt64 GetBenchMemoryUsage(UInt32 numThreads, UInt32 dictionary)
1273 UInt32 numSubThreads = (numThreads > 1) ? 2 : 1;
1274 UInt32 numBigThreads = numThreads / numSubThreads;
1276 GetLZMAUsage((numThreads > 1), dictionary) + (2 << 20)) * numBigThreads;
1651 static void PrintRequirements(IBenchPrintCallback &f, const char *sizeString, UInt64 size, const char *threadsString, UInt32 numThreads)
[all...] |
H A D | Bench.h | 37 UInt64 GetBenchMemoryUsage(UInt32 numThreads, UInt32 dictionary);
|
/external/guava/guava-tests/test/com/google/common/base/ |
H A D | SuppliersTest.java | 268 final int numThreads = 3; 269 final Thread[] threads = new Thread[numThreads]; 299 while (waitingThreads() != numThreads - 1) { 315 for (int i = 0; i < numThreads; i++) { 350 final int numThreads = 10; 352 Thread[] threads = new Thread[numThreads]; 353 for (int i = 0; i < numThreads; i++) { 369 assertEquals(numThreads * iterations + 1, (int) nonThreadSafe.get());
|
/external/deqp/modules/egl/ |
H A D | teglColorClearCase.cpp | 351 int numThreads = (int)contexts.size(); local 352 int numPackets = numThreads * numPacketsPerThread; 355 vector<vector<ClearPacket> > packets (numThreads); 356 vector<ColorClearThreadSp> threads (numThreads); 363 for (int threadNdx = 0; threadNdx < numThreads; threadNdx++) 372 packet.wait = semaphores[packetNdx*numThreads + threadNdx]; 373 packet.signal = semaphores[packetNdx*numThreads + threadNdx + 1]; 387 for (int threadNdx = 0; threadNdx < numThreads; threadNdx++) 412 for (int threadNdx = 0; threadNdx < numThreads; threadNdx++) 418 for (int threadNdx = 0; threadNdx < numThreads; threadNd [all...] |
/external/lzma/CPP/7zip/Bundles/LzmaCon/ |
H A D | LzmaAlone.cpp | 230 UInt32 numThreads = (UInt32)(Int32)-1;
local 238 numThreads = numCPUs;
240 if (!GetNumber(s, numThreads))
281 if (numThreads == (UInt32)(Int32)-1)
282 numThreads = 1;
473 props[8].ulVal = (UInt32)numThreads;
|
/external/llvm/utils/lit/lit/ |
H A D | main.py | 146 parser.add_option("-j", "--threads", dest="numThreads", metavar="N", 257 if opts.numThreads is None: 258 # Python <2.5 has a race condition causing lit to always fail with numThreads>1 263 opts.numThreads = lit.util.detectCPUs() 265 opts.numThreads = 1 351 opts.numThreads = min(len(run.tests), opts.numThreads) 359 desired_limit = opts.numThreads * cpus * 2 # the 2 is a safety factor 379 opts.numThreads) 396 run.execute_tests(display, opts.numThreads, opt [all...] |
/external/deqp/framework/delibs/dethread/ |
H A D | deThreadTest.c | 627 static void runSingletonThreadedTest (int numThreads, int initTimeMs) argument 635 for (threadNdx = 0; threadNdx < numThreads; threadNdx++) 647 for (threadNdx = 0; threadNdx < numThreads; threadNdx++) 665 int numThreads; member in struct:__anon4008 683 int numThreads = cases[caseNdx].numThreads; local 689 runSingletonThreadedTest(numThreads, initTimeMs);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
H A D | VersionInfoTest.java | 356 final int numThreads = 20; 357 GetInstanceWorker[] workers = new GetInstanceWorker[numThreads]; 358 VersionInfo[][] results = new VersionInfo[numThreads][255];
|