Home
last modified time | relevance | path

Searched refs:newCount (Results 1 – 25 of 33) sorted by relevance

12

/third_party/protobuf/objectivec/
DGPBArray.m227 //% NSUInteger newCount = initialCount + count;
228 //%MAYBE_GROW_TO_SET_COUNT(newCount)
238 //% NSUInteger newCount = initialCount + 1;
239 //%MAYBE_GROW_TO_SET_COUNT(newCount)
275 //% NSUInteger newCount = _count - 1;
276 //% if (index != newCount) {
277 //% memmove(&_values[index], &_values[index + 1], (newCount - index) * sizeof(TYPE));
279 //%SET_COUNT_AND_MAYBE_SHRINK(newCount)
458 NSUInteger newCount = initialCount + count;
459 if (newCount > _capacity) {
[all …]
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/
DIntDiffer.java128 int newCount = aCount-aTop; in flush() local
129 System.arraycopy(a, aTop, a, 0, newCount); in flush()
130 aCount = newCount; in flush()
135 int newCount = bCount-bTop; in flush() local
136 System.arraycopy(b, bTop, b, 0, newCount); in flush()
137 bCount = newCount; in flush()
/third_party/flutter/skia/include/private/
DSkTArray.h160 int newCount = fCount - 1; in removeShuffle() local
161 fCount = newCount; in removeShuffle()
163 if (n != newCount) { in removeShuffle()
164 this->move(n, newCount); in removeShuffle()
293 void resize_back(int newCount) { in resize_back() argument
294 SkASSERT(newCount >= 0); in resize_back()
296 if (newCount > fCount) { in resize_back()
297 this->push_back_n(newCount - fCount); in resize_back()
298 } else if (newCount < fCount) { in resize_back()
299 this->pop_back_n(fCount - newCount); in resize_back()
[all …]
DSkTDArray.h208 int newCount = fCount - 1; in removeShuffle() local
209 fCount = newCount; in removeShuffle()
210 if (index != newCount) { in removeShuffle()
211 memcpy(fArray + index, fArray + newCount, sizeof(T)); in removeShuffle()
/third_party/skia/include/private/
DSkTArray.h188 int newCount = fCount - 1; in removeShuffle() local
189 fCount = newCount; in removeShuffle()
191 if (n != newCount) { in removeShuffle()
192 this->move(n, newCount); in removeShuffle()
321 void resize_back(int newCount) { in resize_back() argument
322 SkASSERT(newCount >= 0); in resize_back()
324 if (newCount > this->count()) { in resize_back()
325 this->push_back_n(newCount - fCount); in resize_back()
326 } else if (newCount < this->count()) { in resize_back()
327 this->pop_back_n(fCount - newCount); in resize_back()
[all …]
DSkTDArray.h218 int newCount = fCount - 1; in removeShuffle() local
219 fCount = newCount; in removeShuffle()
220 if (index != newCount) { in removeShuffle()
221 memcpy(fArray + index, fArray + newCount, sizeof(T)); in removeShuffle()
/third_party/vk-gl-cts/framework/delibs/depool/
DdePoolMultiSet.h74 deBool TYPENAME##_setKeyCount (DE_PTR_TYPE(TYPENAME) set, KEYTYPE key, int newCount); \
147 deBool TYPENAME##_setKeyCount (DE_PTR_TYPE(TYPENAME) set, KEYTYPE key, int newCount) \
153 DE_ASSERT(newCount >= 0); \
154 set->numElements += (newCount - oldCount); \
156 if (newCount == 0 && countPtr) \
158 else if (newCount > 0 && countPtr) \
159 *countPtr = newCount; \
160 else if (newCount > 0) \
161 return TYPENAME##Hash_insert(set->hash, key, newCount); \
/third_party/openh264/module/
DRefCounted.h93 uint32_t newCount = --mRefCount; in Release() local
94 if (!newCount) { in Release()
97 return newCount; in Release()
/third_party/skia/src/ports/
DSkFontMgr_win_dw.cpp84 ULONG newCount = InterlockedDecrement(&fRefCount); in SK_STDMETHODIMP_() local
85 if (0 == newCount) { in SK_STDMETHODIMP_()
88 return newCount; in SK_STDMETHODIMP_()
160 ULONG newCount = InterlockedDecrement(&fRefCount); in SK_STDMETHODIMP_() local
161 if (0 == newCount) { in SK_STDMETHODIMP_()
164 return newCount; in SK_STDMETHODIMP_()
247 ULONG newCount = InterlockedDecrement(&fRefCount); in SK_STDMETHODIMP_() local
248 if (0 == newCount) { in SK_STDMETHODIMP_()
251 return newCount; in SK_STDMETHODIMP_()
613 ULONG newCount = InterlockedDecrement(&fRefCount); in Release() local
[all …]
DSkRemotableFontMgr_win_dw.cpp324 ULONG newCount = InterlockedDecrement(&fRefCount); in Release() local
325 if (0 == newCount) { in Release()
328 return newCount; in Release()
/third_party/flutter/skia/src/ports/
DSkFontMgr_win_dw.cpp83 ULONG newCount = InterlockedDecrement(&fRefCount); in SK_STDMETHODIMP_() local
84 if (0 == newCount) { in SK_STDMETHODIMP_()
87 return newCount; in SK_STDMETHODIMP_()
159 ULONG newCount = InterlockedDecrement(&fRefCount); in SK_STDMETHODIMP_() local
160 if (0 == newCount) { in SK_STDMETHODIMP_()
163 return newCount; in SK_STDMETHODIMP_()
246 ULONG newCount = InterlockedDecrement(&fRefCount); in SK_STDMETHODIMP_() local
247 if (0 == newCount) { in SK_STDMETHODIMP_()
250 return newCount; in SK_STDMETHODIMP_()
542 ULONG newCount = InterlockedDecrement(&fRefCount); in Release() local
[all …]
DSkRemotableFontMgr_win_dw.cpp324 ULONG newCount = InterlockedDecrement(&fRefCount); in Release() local
325 if (0 == newCount) { in Release()
328 return newCount; in Release()
/third_party/skia/src/gpu/gl/
DGrGLVertexArray.h30 void resize(int newCount) { in resize() argument
31 fAttribArrayStates.resize_back(newCount); in resize()
/third_party/flutter/skia/src/gpu/gl/
DGrGLVertexArray.h30 void resize(int newCount) { in resize() argument
31 fAttribArrayStates.resize_back(newCount); in resize()
/third_party/flutter/skia/src/utils/win/
DSkDWriteFontFileStream.cpp168 ULONG newCount = InterlockedDecrement(&fRefCount); in SK_STDMETHODIMP_() local
169 if (0 == newCount) { in SK_STDMETHODIMP_()
172 return newCount; in SK_STDMETHODIMP_()
/third_party/skia/src/utils/win/
DSkDWriteFontFileStream.cpp167 ULONG newCount = InterlockedDecrement(&fRefCount); in SK_STDMETHODIMP_() local
168 if (0 == newCount) { in SK_STDMETHODIMP_()
171 return newCount; in SK_STDMETHODIMP_()
/third_party/skia/tests/
DGrRenderTaskClusterTest.cpp148 int newCount = 0; in DEF_TEST() local
150 newCount++; in DEF_TEST()
152 REPORTER_ASSERT(reporter, newCount == expectedOutput.count()); in DEF_TEST()
/third_party/skia/src/core/
DSkStrikeCache.cpp205 int SkStrikeCache::setCacheCountLimit(int newCount) { in setCacheCountLimit() argument
206 if (newCount < 0) { in setCacheCountLimit()
207 newCount = 0; in setCacheCountLimit()
213 fCacheCountLimit = newCount; in setCacheCountLimit()
/third_party/vk-gl-cts/framework/delibs/decpp/
DdeSharedPtr.hpp485 deInt32 oldCount, newCount; in acquireFromWeak() local
493 newCount = oldCount+1; in acquireFromWeak()
494 …eUint32 volatile*)&state->strongRefCount, (deUint32)oldCount, (deUint32)newCount) != (deUint32)old… in acquireFromWeak()
/third_party/flutter/skia/src/core/
DSkStrikeCache.cpp420 int SkStrikeCache::setCacheCountLimit(int newCount) { in setCacheCountLimit() argument
421 if (newCount < 0) { in setCacheCountLimit()
422 newCount = 0; in setCacheCountLimit()
428 fCacheCountLimit = newCount; in setCacheCountLimit()
/third_party/skia/modules/particles/src/
DSkParticleEffect.cpp237 int newCount = this->uniformInfo()->fUniformSlotCount; in updateStorage() local
238 if (newCount > fUniforms.count()) { in updateStorage()
239 fUniforms.push_back_n(newCount - fUniforms.count(), 0.0f); in updateStorage()
241 fUniforms.resize(newCount); in updateStorage()
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-set.hh455 unsigned int count = 0, newCount = 0; in process() local
486 newCount = count; in process()
539 if (pages.length > newCount) in process()
540 resize (newCount); in process()
/third_party/gettext/gettext-tools/examples/hello-c++-kde/admin/
Dam_edit1998 my $newCount = ($new =~ tr/\034//) + ($new =~ tr/\n//) + 1;
2000 $MakefileData =~ s/\n$lookup/\n#>- $old\n#>\+ $newCount\n$new/;
2012 my $newCount = ($new =~ tr/\034//) + ($new =~ tr/\n//) + 1;
2014 $MakefileData .= "\n#>\+ $newCount\n$new";
2028 my $newCount = $1;
2030 while ($newCount--) {
/third_party/harfbuzz/src/
Dhb-set.hh580 unsigned int count = 0, newCount = 0; in process() local
636 newCount = count; in process()
689 if (pages.length > newCount) in process()
693 resize (newCount); in process()
/third_party/skia/src/android/
DSkAnimatedImage.cpp358 void SkAnimatedImage::setRepetitionCount(int newCount) { in setRepetitionCount() argument
359 fRepetitionCount = newCount; in setRepetitionCount()

12