Home
last modified time | relevance | path

Searched refs:nextOffset (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/libs/cputimeinstate/
Dcputimeinstate.cpp324 auto nextOffset = (i + 1) * FREQS_PER_ENTRY; in getUidCpuFreqTimes() local
328 auto end = nextOffset < gPolicyFreqs[j].size() ? begin + FREQS_PER_ENTRY : out[j].end(); in getUidCpuFreqTimes()
391 auto nextOffset = (key.bucket + 1) * FREQS_PER_ENTRY; in getUidsUpdatedCpuFreqTimes() local
395 auto end = nextOffset < gPolicyFreqs[i].size() ? begin + FREQS_PER_ENTRY : in getUidsUpdatedCpuFreqTimes()
437 auto nextOffset = (key.bucket + 1) * CPUS_PER_ENTRY; in getUidConcurrentTimes() local
440 auto activeEnd = nextOffset < gNCpus ? activeBegin + CPUS_PER_ENTRY : ret.active.end(); in getUidConcurrentTimes()
450 auto policyEnd = nextOffset < gPolicyCpus[policy].size() ? policyBegin + CPUS_PER_ENTRY in getUidConcurrentTimes()
506 auto nextOffset = (key.bucket + 1) * CPUS_PER_ENTRY; in getUidsUpdatedConcurrentTimes() local
509 activeEnd = nextOffset < gNCpus ? activeBegin + CPUS_PER_ENTRY : ret[key.uid].active.end(); in getUidsUpdatedConcurrentTimes()
519 policyEnd = nextOffset < gPolicyCpus[policy].size() ? policyBegin + CPUS_PER_ENTRY in getUidsUpdatedConcurrentTimes()
[all …]
/frameworks/base/tools/aapt/
DZipFile.cpp975 long nextOffset; in crunchArchive() local
982 nextOffset = 0; in crunchArchive()
983 for (int ii = i+1; nextOffset == 0 && ii < count; ii++) in crunchArchive()
984 nextOffset = mEntries[ii]->getLFHOffset(); in crunchArchive()
985 if (nextOffset == 0) in crunchArchive()
986 nextOffset = mEOCD.mCentralDirOffset; in crunchArchive()
987 span = nextOffset - pEntry->getLFHOffset(); in crunchArchive()
/frameworks/av/media/module/extractors/ogg/
DOggExtractor.cpp420 off64_t nextOffset = pageOffset; in findPrevGranulePosition() local
428 nextOffset = firstAfter - desired; in findPrevGranulePosition()
430 nextOffset = 0; in findPrevGranulePosition()
433 ssize_t n = mSource->readAt(nextOffset, &signatureBuffer, desired); in findPrevGranulePosition()
452 prevPageOffset = nextOffset + i; in findPrevGranulePosition()
458 if (nextOffset == 0) { in findPrevGranulePosition()
463 firstAfter = nextOffset + lenOggS - 1; in findPrevGranulePosition()
/frameworks/av/media/mtp/
DMtpDevice.cpp799 const uint32_t nextOffset = offset + writeLength; in readData() local
800 if (nextOffset < length) { in readData()
802 const size_t remaining = length - nextOffset; in readData()
819 offset = nextOffset; in readData()
/frameworks/base/core/java/android/widget/
DEditor.java6248 final int nextOffset = (atRtl == isStartHandle()) in updatePosition()
6251 positionAndAdjustForCrossingHandles(nextOffset, fromTouchScreen); in updatePosition()