Home
last modified time | relevance | path

Searched refs:mCount (Results 1 – 20 of 20) sorted by relevance

/external/replicaisland/src/com/replica/replicaisland/
DFixedSizeArray.java35 private int mCount; field in FixedSizeArray
45 mCount = 0; in FixedSizeArray()
55 mCount = 0; in FixedSizeArray()
67 assert mCount < mContents.length : "Array exhausted!"; in add()
68 if (mCount < mContents.length) { in add()
69 mContents[mCount] = object; in add()
71 mCount++; in add()
93 assert index < mCount;
95 if (index < mCount) {
96 for (int x = index; x < mCount; x++) {
[all …]
/external/apache-http/android/src/android/net/http/
DIdleCache.java45 private int mCount = 0; field in IdleCache
69 HttpLog.v("IdleCache size " + mCount + " host " + host); in cacheConnection()
72 if (mCount < IDLE_CACHE_MAX) { in cacheConnection()
80 mCount++; in cacheConnection()
97 if (mCount > 0) { in getConnection()
105 mCount--; in getConnection()
115 for (int i = 0; mCount > 0 && i < IDLE_CACHE_MAX; i++) { in clear()
121 mCount--; in clear()
127 if (mCount > 0) { in clearIdle()
135 mCount--; in clearIdle()
[all …]
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DSineWaveTone.java28 private int mCount; // counts the total samples produced. field in SineWaveTone
35 mCount = 0; in SineWaveTone()
49 if (mIsGlitchEnabled && (mCount % mSamplingRate == 0)) { in generateTone()
53 mCount++; in generateTone()
70 if (mIsGlitchEnabled && (mCount % mSamplingRate == 0)) { in generateTone()
74 mCount++; in generateTone()
DBufferPeriod.java45 private int mCount = 0; field in BufferPeriod
64 mCount++; in collectBufferPeriod()
71 if (mPreviousTimeNs != 0 && mCount > Constant.BUFFER_PERIOD_DISCARD) { in collectBufferPeriod()
98 if (mCount > 1) { in collectBufferPeriod()
120 mCount = 0; in resetRecord()
/external/angle/src/compiler/preprocessor/
DInput.cpp20 Input::Input() : mCount(0), mString(0) {} in Input()
25 : mCount(count), mString(string) in Input()
27 mLength.reserve(mCount); in Input()
28 for (size_t i = 0; i < mCount; ++i) in Input()
45 if (mReadLoc.sIndex >= mCount) in skipChar()
57 if (mReadLoc.sIndex < mCount && maxSize > 0) in read()
99 while ((nRead < maxRead) && (mReadLoc.sIndex < mCount)) in read()
DInput.h27 size_t count() const { return mCount; } in count()
48 size_t mCount; variable
/external/swiftshader/src/OpenGL/compiler/preprocessor/
DInput.cpp24 Input::Input() : mCount(0), mString(0) in Input()
33 : mCount(count), mString(string) in Input()
35 mLength.reserve(mCount); in Input()
36 for (size_t i = 0; i < mCount; ++i) in Input()
53 if (mReadLoc.sIndex >= mCount) in skipChar()
65 if (mReadLoc.sIndex < mCount && maxSize > 0) in read()
107 while ((nRead < maxRead) && (mReadLoc.sIndex < mCount)) in read()
DInput.h33 size_t count() const { return mCount; } in count()
54 size_t mCount; variable
/external/oboe/apps/OboeTester/app/src/main/java/com/mobileer/miditools/
DMidiFramer.java35 private int mCount; field in MidiFramer
58 mCount = 1; in onSend()
76 mCount = 1; in onSend()
90 mBuffer[mCount++] = currentByte; in onSend()
95 mReceiver.send(mBuffer, 0, mCount, timestamp); in onSend()
97 mCount = 1; in onSend()
/external/libchrome/base/android/java/src/org/chromium/base/
DObserverList.java48 private int mCount; field in ObserverList
72 ++mCount; in addObserver()
98 --mCount; in removeObserver()
99 assert mCount >= 0; in removeObserver() local
109 mCount = 0; in clear()
142 return mCount; in size()
149 return mCount == 0; in isEmpty()
/external/angle/src/tests/perf_tests/
DDrawElementsPerf.cpp84 int mCount = 3 * GetParam().numTris; member in __anon0af64dbe0111::DrawElementsPerfBenchmark
123 mIndexBuffer = CreateElementArrayBuffer(mCount, params.type, GL_STATIC_DRAW); in initializeBenchmark()
125 for (int i = 0; i < mCount; i++) in initializeBenchmark()
127 ASSERT_GE(std::numeric_limits<GLushort>::max(), mCount); in initializeBenchmark()
128 mShortIndexData.push_back(static_cast<GLushort>(rand() % mCount)); in initializeBenchmark()
129 mIntIndexData.push_back(rand() % mCount); in initializeBenchmark()
134 mBufferSize = ElementTypeSize(params.type) * mCount; in initializeBenchmark()
191 glDrawElements(GL_TRIANGLES, static_cast<GLsizei>(mCount), params.type, 0); in drawBenchmark()
198 glDrawElements(GL_TRIANGLES, static_cast<GLsizei>(mCount), params.type, 0); in drawBenchmark()
/external/libchrome/base/android/java/src/org/chromium/base/metrics/
DCachedMetrics.java62 private int mCount; field in CachedMetrics.ActionEvent
73 mCount++; in record()
85 while (mCount > 0) { in commitAndClear()
87 mCount--; in commitAndClear()
/external/conscrypt/common/src/test/java/org/conscrypt/java/security/cert/
DCertificateFactoryTest.java548 private long mCount = 0; field in CertificateFactoryTest.MeasuredInputStream
559 return mCount; in getCount()
565 mCount++; in read()
572 mCount += count; in read()
579 mCount += count; in read()
586 mCount += count; in skip()
602 mMarked = mCount; in mark()
613 mCount = mMarked; in reset()
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/java/security/cert/
DCertificateFactoryTest.java554 private long mCount = 0; field in CertificateFactoryTest.MeasuredInputStream
565 return mCount; in getCount()
571 mCount++; in read()
578 mCount += count; in read()
585 mCount += count; in read()
592 mCount += count; in skip()
608 mMarked = mCount; in mark()
619 mCount = mMarked; in reset()
/external/OpenCL-CTS/test_conformance/relationals/
Dtest_shuffles.cpp751 mCount = 0; in shuffleBuffer()
793 memcpy( &mInOrders[ mCount ], &inOrder, sizeof( inOrder ) ); in AddRun()
794 memcpy( &mOutOrders[ mCount ], &outOrder, sizeof( outOrder ) ); in AddRun()
795 mCount++; in AddRun()
797 if( mCount == NUM_TESTS ) in AddRun()
806 if( mCount > 0 ) in Flush()
809mCount, mInOrders, mOutOrders, true, true, d, mShuffleMode ); in Flush()
810 mCount = 0; in Flush()
819 size_t mInVecSize, mOutVecSize, mCount; member in shuffleBuffer
/external/skia/tests/
DSVGDeviceTest.cpp562 int mCount = 0; in DEF_TEST() local
565 mCount += (*pos == 'M') ? 1 : 0; in DEF_TEST()
567 REPORTER_ASSERT(reporter, mCount == 3); in DEF_TEST()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDateIntervalFormat.java1689 int mCount = 0; in getDateTimeSkeleton() local
1743 ++mCount; in getDateTimeSkeleton()
1800 if ( mCount != 0 ) { in getDateTimeSkeleton()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateIntervalFormat.java1717 int mCount = 0; in getDateTimeSkeleton() local
1771 ++mCount; in getDateTimeSkeleton()
1828 if ( mCount != 0 ) { in getDateTimeSkeleton()
/external/icu/icu4c/source/i18n/
Ddtitvfmt.cpp1042 int32_t mCount = 0; in getDateTimeSkeleton() local
1097 ++mCount; in getDateTimeSkeleton()
1154 if ( mCount != 0 ) { in getDateTimeSkeleton()
/external/libabigail/tests/data/test-read-dwarf/
Dtest-libandroid.so.abi16954 …<var-decl name='mCount' type-id='673b29cf' visibility='default' filepath='system/core/libutils/inc…
23600 …<var-decl name='mCount' type-id='673b29cf' visibility='default' filepath='system/core/libutils/inc…
24392 …<var-decl name='mCount' type-id='673b29cf' visibility='default' filepath='system/core/libutils/inc…