/external/deqp/framework/delibs/decpp/ |
D | deSpinBarrier.cpp | 34 SpinBarrier::SpinBarrier (deInt32 numThreads) in SpinBarrier() argument 35 : m_numThreads (numThreads) in SpinBarrier() 39 DE_ASSERT(numThreads > 0); in SpinBarrier() 102 …TestThread (SpinBarrier& barrier, volatile deInt32* sharedVar, int numThreads, int threadNdx, bool… in TestThread() argument 105 , m_numThreads (numThreads) in TestThread() 156 void multiThreadTest (int numThreads) in multiThreadTest() argument 158 SpinBarrier barrier (numThreads); in multiThreadTest() 160 std::vector<TestThread*> threads (numThreads, static_cast<TestThread*>(DE_NULL)); in multiThreadTest() 165 const bool busyOk = (deUint32)numThreads <= deGetNumAvailableLogicalCores(); in multiThreadTest() 167 for (int ndx = 0; ndx < numThreads; ndx++) in multiThreadTest() [all …]
|
D | deSpinBarrier.hpp | 50 SpinBarrier (deInt32 numThreads);
|
/external/lzma/CPP/7zip/UI/Console/ |
D | BenchCon.cpp | 147 …rements(FILE *f, const char *sizeString, UInt64 size, const char *threadsString, UInt32 numThreads) in PrintRequirements() argument 151 fprintf(f, " MB, # %s %3d", threadsString, (unsigned int)numThreads); in PrintRequirements() 156 FILE *f, UInt32 numIterations, UInt32 numThreads, UInt32 dictionary) in LzmaBenchCon() argument 164 if (numThreads == (UInt32)-1) in LzmaBenchCon() 165 numThreads = numCPUs; in LzmaBenchCon() 166 if (numThreads > 1) in LzmaBenchCon() 167 numThreads &= ~1; in LzmaBenchCon() 172 if (GetBenchMemoryUsage(numThreads, ((UInt32)1 << dicSizeLog)) + (8 << 20) <= ramSize) in LzmaBenchCon() 179 numThreads = 1; in LzmaBenchCon() 182 …Requirements(f, "usage:", GetBenchMemoryUsage(numThreads, dictionary), "Benchmark threads: ", nu… in LzmaBenchCon() [all …]
|
D | BenchCon.h | 12 FILE *f, UInt32 numIterations, UInt32 numThreads, UInt32 dictionary); 14 HRESULT CrcBenchCon(FILE *f, UInt32 numIterations, UInt32 numThreads, UInt32 dictionary);
|
/external/icu/icu4c/source/test/threadtest/ |
D | threadtest.cpp | 159 int numThreads; member 220 gRunInfo.numThreads = 2; in parseCommandLine() 241 gRunInfo.numThreads = atoi(argv[argnum]); in parseCommandLine() 242 if (gRunInfo.numThreads < 0) in parseCommandLine() 401 if (gRunInfo.numThreads == 0) in main() 408 gThreadInfo = new ThreadInfo[gRunInfo.numThreads]; in main() 410 for (threadNum=0; threadNum < gRunInfo.numThreads; threadNum++) in main() 445 for (threadNum=0; threadNum < gRunInfo.numThreads; threadNum++) in main() 457 for (threadNum=0; threadNum < gRunInfo.numThreads; threadNum++) in main() 518 for (threadNum=0; threadNum < gRunInfo.numThreads; threadNum++) { in main()
|
/external/lzma/CPP/7zip/UI/Common/ |
D | Bench.cpp | 499 HRESULT Init(UInt32 dictionarySize, UInt32 numThreads, CBaseRandomGenerator *rg); 553 HRESULT CEncoderInfo::Init(UInt32 dictionarySize, UInt32 numThreads, CBaseRandomGenerator *rgLoc) in Init() argument 590 props[1].ulVal = numThreads; in Init() 668 UInt32 numThreads, UInt32 dictionarySize, IBenchCallback *callback) in LzmaBench() 672 (numThreads > 1 ? numThreads / 2 : 1); in LzmaBench() 678 (numThreads > 1 ? 2 : 1); in LzmaBench() 682 …if (dictionarySize < (1 << kBenchMinDicLogSize) || numThreads < 1 || numEncoderThreads > kNumThrea… in LzmaBench() 713 RINOK(encoders[i].Init(dictionarySize, numThreads, &rg)); in LzmaBench() 865 UInt64 GetBenchMemoryUsage(UInt32 numThreads, UInt32 dictionary) in GetBenchMemoryUsage() argument 869 UInt32 numSubThreads = (numThreads > 1) ? 2 : 1; in GetBenchMemoryUsage() [all …]
|
D | Bench.h | 33 UInt32 numThreads, UInt32 dictionarySize, IBenchCallback *callback); 37 UInt64 GetBenchMemoryUsage(UInt32 numThreads, UInt32 dictionary); 40 HRESULT CrcBench(UInt32 numThreads, UInt32 bufferSize, UInt64 &speed);
|
/external/lzma/C/ |
D | LzmaLib.c | 23 int numThreads /* 1 or 2, default = 2 */ in LzmaCompress() argument 34 props.numThreads = numThreads; in LzmaCompress()
|
D | MtCoder.c | 185 #define GET_NEXT_THREAD(p) &p->mtCoder->threads[p->index == p->mtCoder->numThreads - 1 ? 0 : p->in… 274 unsigned i, numThreads = p->numThreads; in MtCoder_Code() local 280 for (i = 0; i < numThreads; i++) in MtCoder_Code() 285 for (i = 0; i < numThreads; i++) in MtCoder_Code() 306 for (i = 0; i < numThreads; i++) in MtCoder_Code() 324 for (i = 0; i < numThreads; i++) in MtCoder_Code()
|
D | Lzma2Enc.c | 182 t1n = lzmaProps.numThreads; in Lzma2EncProps_Normalize() 185 t1 = p->lzmaProps.numThreads; in Lzma2EncProps_Normalize() 218 p->lzmaProps.numThreads = t1; in Lzma2EncProps_Normalize() 472 p->mtCoder.numThreads = p->props.numBlockThreads; in Lzma2Enc_Encode()
|
D | LzmaLib.h | 106 int numThreads /* 1 or 2, default = 2 */
|
/external/deqp/modules/egl/ |
D | teglColorClearCase.cpp | 351 int numThreads = (int)contexts.size(); in executeForContexts() local 352 int numPackets = numThreads * numPacketsPerThread; in executeForContexts() 355 vector<vector<ClearPacket> > packets (numThreads); in executeForContexts() 356 vector<ColorClearThreadSp> threads (numThreads); in executeForContexts() 363 for (int threadNdx = 0; threadNdx < numThreads; threadNdx++) in executeForContexts() 372 packet.wait = semaphores[packetNdx*numThreads + threadNdx]; in executeForContexts() 373 packet.signal = semaphores[packetNdx*numThreads + threadNdx + 1]; in executeForContexts() 387 for (int threadNdx = 0; threadNdx < numThreads; threadNdx++) in executeForContexts() 412 for (int threadNdx = 0; threadNdx < numThreads; threadNdx++) in executeForContexts() 418 for (int threadNdx = 0; threadNdx < numThreads; threadNdx++) in executeForContexts()
|
D | teglRenderTests.cpp | 903 const int numThreads = numContexts; in executeForContexts() local 904 const int numPackets = numThreads * packetsPerThread; in executeForContexts() 923 vector<vector<DrawOpPacket> > packets (numThreads); in executeForContexts() 924 vector<RenderTestThreadSp> threads (numThreads); in executeForContexts() 944 for (int threadNdx = 0; threadNdx < numThreads; threadNdx++) in executeForContexts() 953 packet.wait = semaphores[packetNdx*numThreads + threadNdx]; in executeForContexts() 954 packet.signal = semaphores[packetNdx*numThreads + threadNdx + 1]; in executeForContexts() 956 packet.drawOps = &drawOps[(packetNdx*numThreads + threadNdx)*opsPerPacket]; in executeForContexts() 990 for (int threadNdx = 0; threadNdx < numThreads; threadNdx++) in executeForContexts() 1013 for (int threadNdx = 0; threadNdx < numThreads; threadNdx++) in executeForContexts()
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | SuppliersTest.java | 268 final int numThreads = 3; in testSupplierThreadSafe() local 269 final Thread[] threads = new Thread[numThreads]; in testSupplierThreadSafe() 299 while (waitingThreads() != numThreads - 1) { in testSupplierThreadSafe() 315 for (int i = 0; i < numThreads; i++) { in testSupplierThreadSafe() 350 final int numThreads = 10; in testSynchronizedSupplierThreadSafe() local 352 Thread[] threads = new Thread[numThreads]; in testSynchronizedSupplierThreadSafe() 353 for (int i = 0; i < numThreads; i++) { in testSynchronizedSupplierThreadSafe() 369 assertEquals(numThreads * iterations + 1, (int) nonThreadSafe.get()); in testSynchronizedSupplierThreadSafe()
|
/external/lzma/CPP/7zip/Archive/Common/ |
D | ParseProperties.cpp | 150 …eMtProp(const UString &name, const PROPVARIANT &prop, UInt32 defaultNumThreads, UInt32 &numThreads) in ParseMtProp() argument 157 numThreads = prop.ulVal; in ParseMtProp() 163 numThreads = (val ? defaultNumThreads : 1); in ParseMtProp() 174 numThreads = number; in ParseMtProp()
|
D | ParseProperties.h | 16 …MtProp(const UString &name, const PROPVARIANT &prop, UInt32 defaultNumThreads, UInt32 &numThreads);
|
D | HandlerOut.h | 59 , UInt32 numThreads
|
/external/aac/libAACdec/src/ |
D | aacdec_drc.cpp | 132 self->numThreads = 0; in aacDecoder_drcInit() 687 self->numThreads = 0; in aacDecoder_drcExtractAndMap() 690 for (i = 0; i < self->numPayloads && self->numThreads < MAX_DRC_THREADS; i++) { in aacDecoder_drcExtractAndMap() 695 FDKmemclear(&threadBs[self->numThreads], sizeof(CDrcPayload)); in aacDecoder_drcExtractAndMap() 696 threadBs[self->numThreads].channelData.bandTop[0] = (1024 >> 2) - 1; in aacDecoder_drcExtractAndMap() 700 &threadBs[self->numThreads], in aacDecoder_drcExtractAndMap() 703 self->numThreads++; in aacDecoder_drcExtractAndMap() 714 FDKmemclear(&threadBs[self->numThreads], sizeof(CDrcPayload)); in aacDecoder_drcExtractAndMap() 715 threadBs[self->numThreads].channelData.bandTop[0] = (1024 >> 2) - 1; in aacDecoder_drcExtractAndMap() 719 &threadBs[self->numThreads], in aacDecoder_drcExtractAndMap() [all …]
|
D | aacdec_drc_types.h | 158 …USHORT numThreads; /* The number of DRC data threads extracted from the fo… member
|
/external/lzma/CPP/7zip/Bundles/LzmaCon/ |
D | LzmaAlone.cpp | 215 UInt32 numThreads = (UInt32)-1; in main2() local 223 numThreads = numCPUs; in main2() 225 if (!GetNumber(s, numThreads)) in main2() 239 return LzmaBenchCon(stderr, numIterations, numThreads, dict); in main2() 242 if (numThreads == (UInt32)-1) in main2() 243 numThreads = 1; in main2() 434 props[8].ulVal = (UInt32)numThreads; in main2()
|
/external/deqp/framework/delibs/dethread/ |
D | deThreadTest.c | 554 static void runSingletonThreadedTest (int numThreads, int initTimeMs) in runSingletonThreadedTest() argument 562 for (threadNdx = 0; threadNdx < numThreads; threadNdx++) in runSingletonThreadedTest() 574 for (threadNdx = 0; threadNdx < numThreads; threadNdx++) in runSingletonThreadedTest() 592 int numThreads; in deSingleton_selfTest() member 610 int numThreads = cases[caseNdx].numThreads; in deSingleton_selfTest() local 616 runSingletonThreadedTest(numThreads, initTimeMs); in deSingleton_selfTest()
|
/external/llvm/utils/lit/lit/ |
D | main.py | 251 if opts.numThreads is None: 257 opts.numThreads = lit.util.detectCPUs() 259 opts.numThreads = 1 345 opts.numThreads = min(len(run.tests), opts.numThreads) 351 opts.numThreads) 368 run.execute_tests(display, opts.numThreads, opts.maxTime,
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | VersionInfoTest.java | 352 final int numThreads = 20; in TestMultiThread() local 353 GetInstanceWorker[] workers = new GetInstanceWorker[numThreads]; in TestMultiThread() 354 VersionInfo[][] results = new VersionInfo[numThreads][255]; in TestMultiThread()
|
/external/lzma/CPP/7zip/Archive/7z/ |
D | 7zDecode.h | 61 , bool mtMode, UInt32 numThreads
|
D | 7zHandler.h | 96 , UInt32 numThreads
|