Home
last modified time | relevance | path

Searched refs:loopCount (Results 1 – 25 of 66) sorted by relevance

123

/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/
DLoopingMediaSource.java40 private final int loopCount; field in LoopingMediaSource
60 public LoopingMediaSource(MediaSource childSource, int loopCount) { in LoopingMediaSource() argument
61 Assertions.checkArgument(loopCount > 0); in LoopingMediaSource()
63 this.loopCount = loopCount; in LoopingMediaSource()
77 return loopCount != Integer.MAX_VALUE in getInitialTimeline()
78 ? new LoopingTimeline(maskingMediaSource.getTimeline(), loopCount) in getInitialTimeline()
95 if (loopCount == Integer.MAX_VALUE) { in createPeriod()
120 loopCount != Integer.MAX_VALUE in onChildSourceInfoRefreshed()
121 ? new LoopingTimeline(timeline, loopCount) in onChildSourceInfoRefreshed()
130 return loopCount != Integer.MAX_VALUE in getMediaPeriodIdForChildMediaPeriodId()
[all …]
/external/icu/icu4c/source/test/perf/leperf/
Dleperf.cpp94 int32_t loopCount; in main() local
100 timeTaken = utimer_loopUntilDone(len, &loopCount, iterate, &p); in main()
101 …leperf: .. iter= %d\n", timeTaken, 1000000000.0*(timeTaken/(double)loopCount), (int32_t)loopCount); in main()
111 loopCount=0; in main()
114 timeTaken = utimer_loopUntilDone(len, &loopCount, iterate, &p); in main()
115 timeNs = 1000000000.0*(timeTaken/(double)loopCount); in main()
116 …leperf: PFI .. took %.fs %.2fns/ea\nleperf: .. iter= %d\n", timeTaken, timeNs, (int32_t)loopCount); in main()
Dletrperf.cpp152 int32_t loopCount; in main() local
156 time_taken = utimer_loopUntilDone(runTime, &loopCount, x, y); \ in main()
157 printf("%s:\t%.1fs\t#%d\t%.1f/s\n", #x, time_taken, loopCount, loopCount/(double)time_taken); in main()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gif/
DGifDrawable.java45 private int loopCount; field in GifDrawable
131 loopCount = 0; in resetLoopCount()
264 loopCount++; in onFrameRead()
267 if (maxLoopCount != LOOP_FOREVER && loopCount >= maxLoopCount) { in onFrameRead()
299 public void setLoopCount(int loopCount) { in setLoopCount() argument
300 if (loopCount <= 0 && loopCount != LOOP_FOREVER && loopCount != LOOP_INTRINSIC) { in setLoopCount()
305 if (loopCount == LOOP_INTRINSIC) { in setLoopCount()
308 maxLoopCount = loopCount; in setLoopCount()
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
DBatchUpdateExceptionTest.java44 int loopCount = 1; in testBatchUpdateException() local
45 for (int i = 0; i < loopCount; i++) { in testBatchUpdateException()
90 int loopCount = init1.length; in testBatchUpdateExceptionintArray() local
91 for (int i = 0; i < loopCount; i++) { in testBatchUpdateExceptionintArray()
143 int loopCount = init1.length; in testBatchUpdateExceptionStringintArray() local
144 for (int i = 0; i < loopCount; i++) { in testBatchUpdateExceptionStringintArray()
199 int loopCount = init1.length; in testBatchUpdateExceptionStringStringintArray() local
200 for (int i = 0; i < loopCount; i++) { in testBatchUpdateExceptionStringStringintArray()
256 int loopCount = init1.length; in testBatchUpdateExceptionStringStringintintArray() local
257 for (int i = 0; i < loopCount; i++) { in testBatchUpdateExceptionStringStringintintArray()
[all …]
DSQLExceptionTest.java77 int loopCount = init1.length; in testSQLExceptionStringStringint() local
78 for (int i = 0; i < loopCount; i++) { in testSQLExceptionStringStringint()
126 int loopCount = init1.length; in testSQLExceptionStringString() local
127 for (int i = 0; i < loopCount; i++) { in testSQLExceptionStringString()
173 int loopCount = init1.length; in testSQLExceptionString() local
174 for (int i = 0; i < loopCount; i++) { in testSQLExceptionString()
215 int loopCount = 1; in testSQLException() local
216 for (int i = 0; i < loopCount; i++) { in testSQLException()
265 int loopCount = 1; in testGetErrorCode() local
266 for (int i = 0; i < loopCount; i++) { in testGetErrorCode()
[all …]
DSQLWarningTest.java44 int loopCount = 1; in testSQLWarning() local
45 for (int i = 0; i < loopCount; i++) { in testSQLWarning()
91 int loopCount = init1.length; in testSQLWarningString() local
92 for (int i = 0; i < loopCount; i++) { in testSQLWarningString()
140 int loopCount = init1.length; in testSQLWarningStringString() local
141 for (int i = 0; i < loopCount; i++) { in testSQLWarningStringString()
192 int loopCount = init1.length; in testSQLWarningStringStringint() local
193 for (int i = 0; i < loopCount; i++) { in testSQLWarningStringStringint()
238 int loopCount = 1; in testGetNextWarning() local
239 for (int i = 0; i < loopCount; i++) { in testGetNextWarning()
[all …]
DDataTruncationTest.java58 int loopCount = init1.length; in testDataTruncationintbooleanbooleanintint() local
59 for (int i = 0; i < loopCount; i++) { in testDataTruncationintbooleanbooleanintint()
140 int loopCount = 1; in testGetIndex() local
141 for (int i = 0; i < loopCount; i++) { in testGetIndex()
212 int loopCount = 1; in testGetParameter() local
213 for (int i = 0; i < loopCount; i++) { in testGetParameter()
284 int loopCount = 1; in testGetRead() local
285 for (int i = 0; i < loopCount; i++) { in testGetRead()
356 int loopCount = 1; in testGetDataSize() local
357 for (int i = 0; i < loopCount; i++) { in testGetDataSize()
[all …]
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DFence11.cpp87 int loopCount = 0; in finish() local
90 loopCount++; in finish()
93 bool checkDeviceLost = (loopCount % kPollingD3DDeviceLostCheckFrequency) == 0; in finish()
180 int loopCount = 0; in clientWait() local
183 loopCount++; in clientWait()
192 bool checkDeviceLost = (loopCount % kPollingD3DDeviceLostCheckFrequency) == 0; in clientWait()
/external/skqp/tests/
DAnimatedImageTest.cpp332 for (int loopCount : { 0, 1, 2, 5 }) { in DEF_TEST()
335 animatedImage->setRepetitionCount(loopCount); in DEF_TEST()
336 REPORTER_ASSERT(r, animatedImage->getRepetitionCount() == loopCount); in DEF_TEST()
338 for (int loops = 0; loops <= loopCount; loops++) { in DEF_TEST()
346 if (loops != loopCount) { in DEF_TEST()
348 file, loops, loopCount); in DEF_TEST()
363 file, loopCount); in DEF_TEST()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DRuleBasedTransliterator.java107 int loopCount = 0; in handleTransliterate() local
114 loopCount <= loopLimit && in handleTransliterate()
116 ++loopCount; in handleTransliterate()
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DRuleBasedTransliterator.java105 int loopCount = 0; in handleTransliterate() local
112 loopCount <= loopLimit && in handleTransliterate()
114 ++loopCount; in handleTransliterate()
/external/icu/icu4c/source/tools/ctestfw/unicode/
Dutimer.h266 int32_t* loopCount, in utimer_loopUntilDone() argument
271 *loopCount = 0; in utimer_loopUntilDone()
276 (*loopCount)++; in utimer_loopUntilDone()
/external/skia/tests/
DAnimatedImageTest.cpp436 for (int loopCount : { 0, 1, 2, 5 }) { in DEF_TEST()
439 animatedImage->setRepetitionCount(loopCount); in DEF_TEST()
440 REPORTER_ASSERT(r, animatedImage->getRepetitionCount() == loopCount); in DEF_TEST()
442 for (int loops = 0; loops <= loopCount; loops++) { in DEF_TEST()
450 if (loops != loopCount) { in DEF_TEST()
452 file, loops, loopCount); in DEF_TEST()
467 file, loopCount); in DEF_TEST()
/external/OpenCL-CTS/test_conformance/half/
DTest_roundTrip.cpp167 size_t loopCount; in test_roundTrip() local
301 loopCount = 100; in test_roundTrip()
309 for( j = 0; j < loopCount; j++ ) in test_roundTrip()
336 for( j = 0; j < loopCount; j++ ) in test_roundTrip()
366 …e ], 0 ) * 1e6 * gDeviceFrequency * gComputeDevices / (double) (count * loopCount), 0, "average us… in test_roundTrip()
372 …e ], 0 ) * 1e6 * gDeviceFrequency * gComputeDevices / (double) (count * loopCount), 0, "average us… in test_roundTrip()
DTest_vStoreHalf.cpp694 size_t loopCount; in Test_vStoreHalf_private() local
844 loopCount = count == blockCount ? 1 : 100; in Test_vStoreHalf_private()
878 for( j = 0; j < loopCount; j++ ) in Test_vStoreHalf_private()
907 for( j = 0; j < loopCount; j++ ) in Test_vStoreHalf_private()
937 …me[ vectorSize ], 0 ) * 1e6 * gDeviceFrequency * gComputeDevices / (double) (count * loopCount), 0, in Test_vStoreHalf_private()
945 …me[ vectorSize ], 0 ) * 1e6 * gDeviceFrequency * gComputeDevices / (double) (count * loopCount), 0, in Test_vStoreHalf_private()
1291 size_t loopCount; in Test_vStoreaHalf_private() local
1440 loopCount = count == blockCount ? 1 : 100; in Test_vStoreaHalf_private()
1474 for( j = 0; j < loopCount; j++ ) in Test_vStoreaHalf_private()
1501 for( j = 0; j < loopCount; j++ ) in Test_vStoreaHalf_private()
[all …]
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/source/
DLoopingMediaSourceTest.java137 private static Timeline getLoopingTimeline(Timeline timeline, int loopCount) throws IOException { in getLoopingTimeline() argument
139 LoopingMediaSource mediaSource = new LoopingMediaSource(fakeMediaSource, loopCount); in getLoopingTimeline()
155 private static void testMediaPeriodCreation(Timeline timeline, int loopCount) throws Exception { in testMediaPeriodCreation() argument
157 LoopingMediaSource mediaSource = new LoopingMediaSource(fakeMediaSource, loopCount); in testMediaPeriodCreation()
/external/icu/icu4c/source/i18n/
Drbt.cpp229 uint32_t loopCount = 0; in handleTransliterate() local
272 loopCount <= loopLimit && in handleTransliterate()
274 ++loopCount; in handleTransliterate()
/external/sonivox/arm-wt-22k/lib_src/
Deas_ota.c370 …if (pData->loopCount && ((parserMode == eParserModePlay) || (pData->loopCount != OTA_INFINITE_LOOP… in OTA_Event()
372 ALOGV("%s() loop backwards, loopCount = %d", __func__, pData->loopCount); in OTA_Event()
374 if (pData->loopCount != OTA_INFINITE_LOOP) in OTA_Event()
375 pData->loopCount--; in OTA_Event()
408 …if ((result = OTA_FetchBitField(pEASData->hwInstData, pData, 4, &pData->loopCount)) != EAS_SUCCESS) in OTA_Event()
872 pData->loopCount = 0; in OTA_ParseHeader()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
DRBBITestMonkey.java1940 int loopCount = 0; in RunMonkey() local
1982 while (loopCount < numIterations || numIterations == -1) { in RunMonkey()
1983 if (numIterations == -1 && loopCount % 10 == 0) { in RunMonkey()
2225 loopCount++; in RunMonkey()
2236 int loopCount = getIntProperty("loop", isQuick() ? 500 : 10000); in TestCharMonkey() local
2241 RunMonkey(bi, m, "char", seed, loopCount); in TestCharMonkey()
2246 int loopCount = getIntProperty("loop", isQuick() ? 500 : 10000); in TestWordMonkey() local
2252 RunMonkey(bi, m, "word", seed, loopCount); in TestWordMonkey()
2257 int loopCount = getIntProperty("loop", isQuick() ? 500 : 10000); in TestLineMonkey() local
2263 RunMonkey(bi, m, "line", seed, loopCount); in TestLineMonkey()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/
DRBBITestMonkey.java1943 int loopCount = 0; in RunMonkey() local
1985 while (loopCount < numIterations || numIterations == -1) { in RunMonkey()
1986 if (numIterations == -1 && loopCount % 10 == 0) { in RunMonkey()
2228 loopCount++; in RunMonkey()
2239 int loopCount = getIntProperty("loop", isQuick() ? 500 : 10000); in TestCharMonkey() local
2244 RunMonkey(bi, m, "char", seed, loopCount); in TestCharMonkey()
2249 int loopCount = getIntProperty("loop", isQuick() ? 500 : 10000); in TestWordMonkey() local
2255 RunMonkey(bi, m, "word", seed, loopCount); in TestWordMonkey()
2260 int loopCount = getIntProperty("loop", isQuick() ? 500 : 10000); in TestLineMonkey() local
2266 RunMonkey(bi, m, "line", seed, loopCount); in TestLineMonkey()
[all …]
/external/angle/src/tests/gl_tests/
DFenceSyncTests.cpp243 unsigned int loopCount = 0; in TEST_P() local
248 while (value != GL_SIGNALED && loopCount <= 1000000) in TEST_P()
250 loopCount++; in TEST_P()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/
DNormalizationMonkeyTest.java29 int loopCount = 100; field in NormalizationMonkeyTest
55 while (i < loopCount) { in TestNormalize()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
DNormalizationMonkeyTest.java26 int loopCount = 100; field in NormalizationMonkeyTest
52 while (i < loopCount) { in TestNormalize()
/external/glide/library/src/main/java/com/bumptech/glide/request/target/
DSquaringDrawable.java161 public void setLoopCount(int loopCount) { in setLoopCount() argument
162 wrapped.setLoopCount(loopCount); in setLoopCount()

123