/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/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskLaunchParamsModifierTests.java | 92 private LaunchParams mCurrent; field in TaskLaunchParamsModifierTests 103 mCurrent = new LaunchParams(); in setUp() 104 mCurrent.reset(); in setUp() 133 mCurrent.mPreferredTaskDisplayArea = display.getDefaultTaskDisplayArea(); in testUsesPreviousDisplayAreaIfSet() 147 mCurrent.mPreferredTaskDisplayArea = freeformDisplay.getDefaultTaskDisplayArea(); in testUsesSourcesDisplayAreaIfSet() 164 mCurrent.mPreferredTaskDisplayArea = freeformDisplay.getDefaultTaskDisplayArea(); in testUsesOptionsDisplayIdIfSet() 184 mCurrent.mPreferredTaskDisplayArea = freeformDisplay.getDefaultTaskDisplayArea(); in testUsesOptionsDisplayAreaTokenIfSet() 205 mCurrent.mPreferredTaskDisplayArea = freeformDisplay.getDefaultTaskDisplayArea(); in testUsesSourcesDisplayAreaIdPriorToTaskIfSet() 241 mCurrent.mPreferredTaskDisplayArea = fullscreenDisplay.getDefaultTaskDisplayArea(); in testUsesNoDisplaySourceHandoverDisplayIdIfSet() 264 mCurrent.mPreferredTaskDisplayArea = fullscreenDisplay.getDefaultTaskDisplayArea(); in testUsesNoDisplaySourceHandoverDisplayAreaIdIfSet() [all …]
|
/frameworks/minikin/libs/minikin/ |
D | WordBreaker.cpp | 92 mCurrent = mLast = mScanOffset = from; in followingWithLocale() 95 return mCurrent; in followingWithLocale() 102 mCurrent = 0; in setText() 110 return mCurrent; in current() 165 int32_t result = ubrk_following(mIcuBreaker.breaker.get(), mCurrent); in iteratorNext() 259 mLast = mCurrent; in next() 263 mCurrent = findNextBreakInEmailOrUrl(); in next() 265 mCurrent = (ssize_t)iteratorNext(); in next() 267 return mCurrent; in next() 275 while (result < mCurrent) { in wordStart() [all …]
|
D | StringPiece.h | 91 : mStarted(false), mCurrent(0), mString(string), mDelimiter(delimiter) {} in SplitIterator() 97 const size_t searchFrom = mStarted ? mCurrent + 1 : 0; in next() 99 mCurrent = mString.find(searchFrom, mDelimiter); in next() 100 return mString.substr(searchFrom, mCurrent - searchFrom); in next() 102 inline bool hasNext() const { return mCurrent < mString.size(); } in hasNext() 106 size_t mCurrent; variable
|
D | WordBreaker.h | 144 ssize_t mCurrent; variable
|
/frameworks/av/services/audioflinger/ |
D | FastThread.cpp | 43 mPrevious(NULL), mCurrent(NULL), in FastThread() 117 next = mCurrent; in threadLoop() 121 if (next != mCurrent) { in threadLoop() 138 if (!(mCurrent->mCommand & FastThreadState::IDLE)) { in threadLoop() 147 mPrevious = mCurrent; in threadLoop() 149 mCurrent = next; in threadLoop() 168 if (mCurrent->mColdGen != mColdGen) { in threadLoop() 169 int32_t *coldFutexAddr = mCurrent->mColdFutexAddr; in threadLoop() 187 mColdGen = mCurrent->mColdGen; in threadLoop() 207 if (mCurrent != mPrevious) { in threadLoop() [all …]
|
D | FastCapture.cpp | 42 mCurrent = &sInitial; in FastCapture() 67 mPreIdle = *(const FastCaptureState *)mCurrent; in onIdle() 68 mCurrent = &mPreIdle; in onIdle() 90 const FastCaptureState * const current = (const FastCaptureState *) mCurrent; in onStateChange() 162 const FastCaptureState * const current = (const FastCaptureState *) mCurrent; in onWork()
|
D | StateQueue.cpp | 44 mAck(NULL), mCurrent(NULL), in StateQueue() 64 if (next != mCurrent) { in poll() 66 mCurrent = next; in poll()
|
D | FastMixer.cpp | 86 mCurrent = &sInitial; in FastMixer() 123 mPreIdle = *(const FastMixerState *)mCurrent; in onIdle() 124 mCurrent = &mPreIdle; in onIdle() 147 const FastMixerState * const current = (const FastMixerState *) mCurrent; in updateMixerTrack() 217 const FastMixerState * const current = (const FastMixerState *) mCurrent; in onStateChange() 353 const FastMixerState * const current = (const FastMixerState *) mCurrent; in onWork()
|
D | StateQueue.h | 195 const T* mCurrent; // most recent value returned by poll() variable
|
D | FastThread.h | 53 const FastThreadState* mCurrent; variable
|
/frameworks/base/telephony/java/android/telephony/ims/ |
D | RcsConfig.java | 170 private Characteristic mCurrent; field in RcsConfig 178 mCurrent = mRoot; in RcsConfig() 257 String value = mCurrent.getParmValue(tag.trim().toLowerCase()); in getString() 299 return mCurrent.hasParm(tag.trim().toLowerCase()); in hasConfig() 306 return mCurrent.getSubByType(type.trim().toLowerCase()); in getCharacteristic() 313 return mCurrent.getSubByType(type.trim().toLowerCase()) != null; in hasCharacteristic() 321 mCurrent = current; in setCurrentCharacteristic() 329 if (mCurrent.getParent() == null) { in moveToParent() 332 mCurrent = mCurrent.getParent(); in moveToParent() 340 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/native/services/surfaceflinger/ |
D | LayerRejecter.cpp | 34 mCurrent(current), in LayerRejecter() 77 mCurrent.active_legacy = mFront.active_legacy; in reject() 78 mCurrent.modified = true; in reject() 85 mCurrent.crop = mFront.requestedCrop; in reject() 131 mCurrent.activeTransparentRegion_legacy = mFront.activeTransparentRegion_legacy; in reject()
|
D | LayerRejecter.h | 34 Layer::State& 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/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 | 217 std::vector<CodecAndType> mCurrent; member 236 mIncludeStack.size(), mSectionStack.size(), mVariantsStack.size(), mCurrent.size() in createRestorePoint() 244 CHECK_GE(mCurrent.size(), rp.numCodecAndTypes); in restore() 249 mCurrent.resize(rp.numCodecAndTypes); in restore() 260 return !mCurrent.empty() && mCurrent.back().mCodec != mData->mCodecMap.end(); in inCodec() 265 && mCurrent.back().mType != mCurrent.back().mCodec->second.typeMap.end(); in inType() 271 mCurrent.pop_back(); in exitCodecOrType() 276 return mCurrent.back().mCodec->second; in codec() 280 return mCurrent.back().mName; in codecName() 284 return mCurrent.back().mUpdating; in updating() [all …]
|
/frameworks/base/tests/WindowInsetsTests/src/com/google/android/test/windowinsetstests/ |
D | ChatActivity.java | 76 float mCurrent = 0; in onCreate() 82 mCurrent = event.getY(); in onCreate() 142 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()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | WakeLockLog.java | 828 private int mCurrent = mStart; // Current read position in the log. in getAllItems() 839 return mCurrent != mEnd; in getAllItems() 857 LogEntry entry = readEntryAt(mCurrent, mCurrentTimeReference, tempEntry); in getAllItems() 859 mCurrent = (mCurrent + size) % mBuffer.length; in getAllItems() 866 return "@" + mCurrent; in getAllItems()
|
/frameworks/base/services/core/java/com/android/server/ |
D | IpSecService.java | 328 int mCurrent; field in IpSecService.ResourceTracker 332 mCurrent = 0; in ResourceTracker() 336 return (mCurrent < mMax); in isAvailable() 343 mCurrent++; in take() 347 if (mCurrent <= 0) { in give() 350 mCurrent--; in give() 357 .append(mCurrent) in toString()
|