/frameworks/av/media/libmedia/ |
D | StringArray.cpp | 32 : mMax(0), mCurrent(0), mArray(NULL) in StringArray() 37 for (int i = 0; i < mCurrent; i++) in ~StringArray() 46 if (mCurrent >= mMax) { in push_back() 58 memcpy(tmp, mArray, mCurrent * sizeof(char*)); in push_back() 64 mArray[mCurrent] = new char[len+1]; in push_back() 65 memcpy(mArray[mCurrent], str, len+1); in push_back() 66 mCurrent++; in push_back() 75 if (idx < 0 || idx >= mCurrent) in erase() 78 if (idx < mCurrent-1) { in erase() 80 (mCurrent-1 - idx) * sizeof(char*)); in erase() [all …]
|
/frameworks/minikin/include/minikin/ |
D | Buffer.h | 51 : mCurrent(reinterpret_cast<const uint8_t*>(buffer) + pos) {} in BufferReader() 81 mCurrent = BufferReader::align<T, align>(mCurrent); in map() 82 const T* data = reinterpret_cast<const T*>(mCurrent); in map() 83 mCurrent += size; in map() 90 mCurrent = BufferReader::align<T, align>(mCurrent); in skip() 91 mCurrent += sizeof(T); in skip() 100 mCurrent = BufferReader::align<T, align>(mCurrent); in readArray() 101 const T* data = reinterpret_cast<const T*>(mCurrent); in readArray() 102 mCurrent += size * sizeof(T); in readArray() 110 mCurrent = BufferReader::align<T, align>(mCurrent); in skipArray() [all …]
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskLaunchParamsModifierTests.java | 88 mCurrent = new LaunchParams(); in setUp() 89 mCurrent.reset(); in setUp() 118 mCurrent.mPreferredTaskDisplayArea = display.getDefaultTaskDisplayArea(); in testUsesPreviousDisplayAreaIfSet() 132 mCurrent.mPreferredTaskDisplayArea = freeformDisplay.getDefaultTaskDisplayArea(); in testUsesSourcesDisplayAreaIfSet() 149 mCurrent.mPreferredTaskDisplayArea = freeformDisplay.getDefaultTaskDisplayArea(); in testUsesOptionsDisplayIdIfSet() 169 mCurrent.mPreferredTaskDisplayArea = freeformDisplay.getDefaultTaskDisplayArea(); in testUsesOptionsDisplayAreaTokenIfSet() 190 mCurrent.mPreferredTaskDisplayArea = freeformDisplay.getDefaultTaskDisplayArea(); in testUsesOptionsDisplayAreaFeatureIdIfSet() 212 mCurrent.mPreferredTaskDisplayArea = freeformDisplay.getDefaultTaskDisplayArea(); in testUsesSourcesDisplayAreaIdPriorToTaskIfSet() 248 mCurrent.mPreferredTaskDisplayArea = fullscreenDisplay.getDefaultTaskDisplayArea(); in testUsesNoDisplaySourceHandoverDisplayIdIfSet() 271 mCurrent.mPreferredTaskDisplayArea = fullscreenDisplay.getDefaultTaskDisplayArea(); in testUsesNoDisplaySourceHandoverDisplayAreaIdIfSet() [all …]
|
D | DesktopModeLaunchParamsModifierTests.java | 65 mCurrent = new LaunchParamsController.LaunchParams(); in setUp() 66 mCurrent.reset(); in setUp() 155 mCurrent.mBounds.set(/* left */ 0, /* top */ 0, /* right */ 100, /* bottom */ 100); in testReturnsSkipIfCurrentParamsHasBounds() 417 mCurrent.mPreferredTaskDisplayArea = mockTaskDisplayArea; in testUsesDisplayAreaAndWindowingModeFromSource() 418 mCurrent.mWindowingMode = WINDOWING_MODE_FREEFORM; in testUsesDisplayAreaAndWindowingModeFromSource()
|
D | LaunchParamsModifierTestsBase.java | 47 LaunchParams mCurrent; field in LaunchParamsModifierTestsBase 113 private LaunchParams mCurrentParams = mCurrent;
|
/frameworks/minikin/libs/minikin/ |
D | WordBreaker.cpp | 119 return mCurrent; in followingWithLocale() 133 mCurrent = mLast = mScanOffset = from; in followingWithLocale() 136 return mCurrent; in followingWithLocale() 143 mCurrent = 0; in setText() 151 return mCurrent; in current() 206 int32_t result = mIcuBreaker.breaker->following(mCurrent); in iteratorNext() 300 mLast = mCurrent; in next() 304 mCurrent = findNextBreakInEmailOrUrl(); in next() 306 mCurrent = (ssize_t)iteratorNext(); in next() 308 return mCurrent; in next() [all …]
|
D | StringPiece.h | 92 : mStarted(false), mCurrent(0), mString(string), mDelimiter(delimiter) {} in SplitIterator() 98 const size_t searchFrom = mStarted ? mCurrent + 1 : 0; in next() 100 mCurrent = mString.find(searchFrom, mDelimiter); in next() 101 return mString.substr(searchFrom, mCurrent - searchFrom); in next() 103 inline bool hasNext() const { return mCurrent < mString.size(); } in hasNext() 107 size_t mCurrent; variable
|
/frameworks/av/services/audioflinger/fastpath/ |
D | FastThread.cpp | 76 next = mCurrent; in threadLoop() 80 if (next != mCurrent) { in threadLoop() 98 if (!(mCurrent->mCommand & FastThreadState::IDLE)) { in threadLoop() 107 mPrevious = mCurrent; in threadLoop() 109 mCurrent = next; in threadLoop() 128 if (mCurrent->mColdGen != mColdGen) { in threadLoop() 129 int32_t *coldFutexAddr = mCurrent->mColdFutexAddr; in threadLoop() 147 mColdGen = mCurrent->mColdGen; in threadLoop() 167 if (mCurrent != mPrevious) { in threadLoop() 171 mPrevious = mCurrent; in threadLoop()
|
D | FastCapture.cpp | 39 mCurrent = &sInitial; in FastCapture() 59 mPreIdle = *(const FastCaptureState *)mCurrent; in onIdle() 60 mCurrent = &mPreIdle; in onIdle() 82 const FastCaptureState * const current = (const FastCaptureState *) mCurrent; in onStateChange() 154 const FastCaptureState * const current = (const FastCaptureState *) mCurrent; in onWork()
|
D | StateQueue.cpp | 47 if (next != mCurrent) { in poll() 49 mCurrent = next; in poll()
|
D | FastMixer.cpp | 69 mCurrent = &sInitial; in FastMixer() 99 mPreIdle = *(const FastMixerState *)mCurrent; in onIdle() 100 mCurrent = &mPreIdle; in onIdle() 123 const FastMixerState * const current = (const FastMixerState *) mCurrent; in updateMixerTrack() 195 const FastMixerState * const current = (const FastMixerState *) mCurrent; in onStateChange() 331 const FastMixerState * const current = (const FastMixerState *) mCurrent; in onWork()
|
D | StateQueue.h | 193 const T* mCurrent = nullptr; // most recent value returned by poll() variable
|
D | FastThread.h | 51 const FastThreadState* mCurrent = nullptr; variable
|
/frameworks/base/telephony/java/android/telephony/ims/ |
D | RcsConfig.java | 171 private Characteristic mCurrent; field in RcsConfig 179 mCurrent = mRoot; in RcsConfig() 260 String value = mCurrent.getParmValue(tag.trim().toLowerCase(Locale.ROOT)); in getString() 302 return mCurrent.hasParm(tag.trim().toLowerCase(Locale.ROOT)); in hasConfig() 309 return mCurrent.getSubByType(type.trim().toLowerCase(Locale.ROOT)); in getCharacteristic() 316 return mCurrent.getSubByType(type.trim().toLowerCase(Locale.ROOT)) != null; in hasCharacteristic() 324 mCurrent = current; in setCurrentCharacteristic() 332 if (mCurrent.getParent() == null) { in moveToParent() 335 mCurrent = mCurrent.getParent(); in moveToParent() 343 mCurrent = mRoot; in moveToRoot() [all …]
|
/frameworks/av/media/libmedia/include/media/ |
D | StringArray.h | 59 inline int size(void) const { return mCurrent; } in size() 66 return (unsigned(idx) >= unsigned(mCurrent)) ? NULL : mArray[idx]; in getEntry() 77 int mCurrent; variable
|
/frameworks/base/libs/hwui/canvas/ |
D | OpBuffer.h | 162 : mCurrent(start), mEnd(end) { in filtered_iterator() 163 ItemHeader* header = reinterpret_cast<ItemHeader*>(mCurrent); in filtered_iterator() 177 return mCurrent != mEnd; 181 return *reinterpret_cast<ItemContainer<T>*>(mCurrent); 185 ItemHeader* header = reinterpret_cast<ItemHeader*>(mCurrent); in advance() 187 mCurrent += header->size; in advance() 188 header = reinterpret_cast<ItemHeader*>(mCurrent); in advance() 189 } while (mCurrent != mEnd && header->type != T); in advance() 191 uint8_t* mCurrent; variable
|
/frameworks/av/services/mediaresourcemanager/ |
D | ResourceManagerMetrics.cpp | 230 int appConcurrentCodecs = concurrentCodecs.mCurrent[codecBucket]; in notifyClientStarted() 240 pixelCount = it->second.mCurrent; in notifyClientStarted() 303 appConcurrentCodecs = found->second.mCurrent[codecBucket]; in notifyClientStopped() 309 pixelCount = it->second.mCurrent; in notifyClientStopped() 574 codecs.mCurrent[codecBucket] = 1; in increaseConcurrentCodecs() 579 found->second.mCurrent[codecBucket]++; in increaseConcurrentCodecs() 581 if (found->second.mPeak[codecBucket] < found->second.mCurrent[codecBucket]) { in increaseConcurrentCodecs() 582 found->second.mPeak[codecBucket] = found->second.mCurrent[codecBucket]; in increaseConcurrentCodecs() 625 if (found->second.mCurrent[codecBucket] > 0) { in decreaseConcurrentCodecs() 626 found->second.mCurrent[codecBucket]--; in decreaseConcurrentCodecs() [all …]
|
D | ResourceManagerMetrics.h | 78 ConcurrentCodecsMap mCurrent; member 94 long mCurrent = 0; member
|
/frameworks/rs/driver/ |
D | rsdShaderCache.h | 59 int32_t vtxUniformSlot(uint32_t a) const {return mCurrent->vtxUniforms[a].slot;} in vtxUniformSlot() 60 uint32_t vtxUniformSize(uint32_t a) const {return mCurrent->vtxUniforms[a].arraySize;} in vtxUniformSize() 61 int32_t fragUniformSlot(uint32_t a) const {return mCurrent->fragUniforms[a].slot;} in fragUniformSlot() 62 uint32_t fragUniformSize(uint32_t a) const {return mCurrent->fragUniforms[a].arraySize;} in fragUniformSize() 144 ProgramEntry *mCurrent; variable
|
D | rsdShaderCache.cpp | 75 UniformData *data = mCurrent->vtxUniforms; in hasArrayUniforms() 81 data = mCurrent->fragUniforms; in hasArrayUniforms() 128 mCurrent = mEntries[ct]; in link() 139 mCurrent = e; in link() 237 for (uint32_t ct=0; ct < mCurrent->vtxAttrCount; ct++) { in vtxAttribSlot() 238 if (attrName == mCurrent->vtxAttrs[ct].name) { in vtxAttribSlot() 239 return mCurrent->vtxAttrs[ct].slot; in vtxAttribSlot()
|
/frameworks/av/media/libaudioprocessing/ |
D | AudioResamplerFirGen.h | 54 mCurrent = cos(wstart); 57 mCurrent = sin(wstart); 63 mCurrent = expNow; in SineGen() 68 return mCurrent; in value() 71 double tmp = mCurrent; in advance() 72 mCurrent = mCurrent*mTwoCos - mPrevious; in advance() 76 double tmp = mCurrent; in valueAdvance() 77 mCurrent = mCurrent*mTwoCos - mPrevious; in valueAdvance() 83 double mCurrent; // current value of sine/cosine
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | GraphRunner.java | 60 private int mCurrent = STOPPED; field in GraphRunner.State 63 mCurrent = newState; in setState() 67 return ((mCurrent & state) == state); in check() 71 if ((mCurrent & state) != state) { in addState() 72 mCurrent |= state; in addState() 79 boolean result = (mCurrent & state) == state; in removeState() 80 mCurrent &= (~state); in removeState() 85 return mCurrent; in current()
|
/frameworks/av/media/libstagefright/xmlparser/ |
D | MediaCodecsXmlParser.cpp | 220 std::vector<CodecAndType> mCurrent; member 239 mIncludeStack.size(), mSectionStack.size(), mVariantsStack.size(), mCurrent.size() in createRestorePoint() 247 CHECK_GE(mCurrent.size(), rp.numCodecAndTypes); in restore() 252 mCurrent.resize(rp.numCodecAndTypes); in restore() 263 return !mCurrent.empty() && mCurrent.back().mCodec != mData->mCodecMap.end(); in inCodec() 268 && mCurrent.back().mType != mCurrent.back().mCodec->second.typeMap.end(); in inType() 274 mCurrent.pop_back(); in exitCodecOrType() 279 return mCurrent.back().mCodec->second; in codec() 283 return mCurrent.back().mName; in codecName() 287 return mCurrent.back().mUpdating; in updating() [all …]
|
/frameworks/base/tests/WindowInsetsTests/src/com/google/android/test/windowinsetstests/ |
D | ChatActivity.java | 77 float mCurrent = 0; in onCreate() 83 mCurrent = event.getY(); in onCreate() 143 int inset = (int) (mDownInsets.bottom + (mDown - mCurrent)); in onCreate()
|
/frameworks/compile/slang/ |
D | slang_rs_object_ref_count.h | 54 clang::Stmt *mCurrent; // The statement currently being analyzed variable 89 void setCurrentStmt(clang::Stmt *S) { mCurrent = S; } in setCurrentStmt()
|