/frameworks/libs/binary_translation/base/include/berberis/base/ |
D | pointer_and_counter.h | 54 static uint64_t PackUnsafe(T* p, uint64_t cnt) { in PackUnsafe() 56 return (static_cast<uint64_t>(ptr) >> kAlignBits) | (cnt << kRealPointerBits); in PackUnsafe() 59 static uint64_t Pack(T* p, uint64_t cnt) { in Pack() 60 CHECK_GT(kMaxCounter, cnt); in Pack() 61 return PackUnsafe(p, cnt); in Pack()
|
D | lock_free_stack.h | 46 uint64_t cnt = PointerAndCounter<T>::UnpackCounter(cmp) + 1; in PushRange() local 47 uint64_t xch = PointerAndCounter<T>::PackUnsafe(p, cnt); in PushRange() 66 uint64_t cnt = PointerAndCounter<T>::UnpackCounter(cmp); in Pop() local 67 uint64_t xch = PointerAndCounter<T>::PackUnsafe(next, cnt); in Pop()
|
/frameworks/av/media/libstagefright/rtsp/ |
D | ARTPSource.cpp | 594 size_t cnt = 0; in addNACK() local 597 for (it = list.begin(); it != list.end() && cnt < kMaxFCIs; it++) { in addNACK() 598 *(FCI + cnt) = *it; in addNACK() 599 cnt++; in addNACK() 602 data[3] = (3 + cnt) - 1; // total (3 + #ofFCI) * sizeof(int32_t) byte in addNACK() 606 return cnt; in addNACK() 611 int cnt = 0; in getSeqNumToNACK() local 614 for(it = mNACKMap.begin(); it != mNACKMap.end() && cnt < size; it++) { in getSeqNumToNACK() 627 cnt++; in getSeqNumToNACK() 631 return cnt; in getSeqNumToNACK() [all …]
|
D | ARTPConnection.cpp | 521 int cnt = it->mSources.valueAt(i)->addNACK(buffer); in onPollStreams() local 522 if (cnt > 0) { in onPollStreams() 523 ALOGV("Send NACK for lost %d Packets", cnt); in onPollStreams()
|
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/ |
D | DataVerify.java | 69 int cnt = 0; in verifyData() local 75 if (cnt++ > WAIT_COUNT) { in verifyData()
|
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | KernelWakelockReader.java | 115 int cnt; in readKernelWakelockStats() local 116 while ((cnt = is.read(mKernelWakelockBuffer, len, in readKernelWakelockStats() 118 len += cnt; in readKernelWakelockStats()
|
/frameworks/libs/binary_translation/backend/x86_64/ |
D | loop_guest_context_optimizer.cc | 219 int cnt = guest_access_count.at(offset); in GetSortedOffsetCounters() local 220 if (cnt > 0) { in GetSortedOffsetCounters() 221 offset_counter_map.push_back({offset, cnt}); in GetSortedOffsetCounters()
|
/frameworks/base/core/java/android/database/ |
D | AbstractCursor.java | 316 int cnt = getCount(); in isLast() local 317 return mPos == (cnt - 1) && cnt != 0; in isLast()
|
/frameworks/av/media/libeffects/factory/ |
D | EffectsFactory.c | 538 uint32_t cnt = 0; in updateNumEffects() local 547 cnt++; in updateNumEffects() 552 gNumEffects = cnt; in updateNumEffects() 554 return cnt; in updateNumEffects()
|
/frameworks/av/media/libstagefright/rtsp/include/media/stagefright/rtsp/ |
D | ARTPSource.h | 93 void noticeAbandonBuffer(int cnt=1);
|
/frameworks/base/libs/hwui/jni/ |
D | GIFMovie.cpp | 344 int cnt = bm->width() * bm->height(); in disposeFrameIfNeeded() local 345 memcpy(dst, src, cnt*sizeof(uint32_t)); in disposeFrameIfNeeded()
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 3916 size_t cnt = pi->types[j].numEntries; in copy_package() local 3917 newpi->types[j].numEntries = cnt; in copy_package() 3920 if (te != NULL && (cnt < 0xFFFFFFFF-1) && (cnt < cnt_max)) { in copy_package() 3921 theme_entry* newte = (theme_entry*)malloc(cnt*sizeof(theme_entry)); in copy_package() 3923 memcpy(newte, te, cnt*sizeof(theme_entry)); in copy_package() 3989 size_t cnt = typeList.isEmpty() ? 0 : typeList[0]->entryCount; in applyStyle() local 3991 size_t buff_size = (cnt < cnt_max && cnt < 0xFFFFFFFF-1) ? in applyStyle() 3992 cnt*sizeof(theme_entry) : 0; in applyStyle() 3995 curPI->types[t].numEntries = cnt; in applyStyle() 4103 int cnt = 20; in getAttribute() local [all …]
|
/frameworks/base/core/java/com/android/internal/widget/helper/ |
D | ItemTouchHelper.java | 799 final int cnt = mSwapTargets.size(); in findSwapTargets() local 800 for (int j = 0; j < cnt; j++) { in findSwapTargets()
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 980 Integer cnt = receivers.get(opPackageName); in registerAccountListener() local 981 receivers.put(opPackageName, cnt != null ? cnt + 1 : 1); in registerAccountListener() 1012 Integer cnt = receivers.get(opPackageName); in unregisterAccountListener() local 1013 if (cnt == 1) { in unregisterAccountListener() 1016 receivers.put(opPackageName, cnt - 1); in unregisterAccountListener()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | RecyclerView.java | 6894 final int cnt = mOnChildAttachStateListeners.size(); in dispatchChildDetached() local 6895 for (int i = cnt - 1; i >= 0; i--) { in dispatchChildDetached() 6908 final int cnt = mOnChildAttachStateListeners.size(); in dispatchChildAttached() local 6909 for (int i = cnt - 1; i >= 0; i--) { in dispatchChildAttached()
|
/frameworks/base/tools/aapt/ |
D | Resource.cpp | 1056 ssize_t cnt = table.lockBag(0x01010000, &entry); in getPlatformAssetCookie() local 1057 if (cnt >= 0) { in getPlatformAssetCookie()
|