Home
last modified time | relevance | path

Searched refs:newEntry (Results 1 – 25 of 45) sorted by relevance

12

/external/skia/include/core/
DSkTInternalLList.h117 void addBefore(T* newEntry, T* existingEntry) { in addBefore() argument
118 SkASSERT(newEntry); in addBefore()
121 this->addToTail(newEntry); in addBefore()
126 newEntry->fNext = existingEntry; in addBefore()
128 existingEntry->fPrev = newEntry; in addBefore()
129 newEntry->fPrev = prev; in addBefore()
132 fHead = newEntry; in addBefore()
134 prev->fNext = newEntry; in addBefore()
137 newEntry->fList = this; in addBefore()
146 void addAfter(T* newEntry, T* existingEntry) { in addAfter() argument
[all …]
/external/guava/guava/src/com/google/common/collect/
DRegularImmutableMap.java65 ImmutableMapEntry<K, V> newEntry = (existing == null) in RegularImmutableMap() local
68 table[tableIndex] = newEntry; in RegularImmutableMap()
69 entries[entryIndex] = newEntry; in RegularImmutableMap()
70 checkNoConflictInBucket(key, newEntry, existing); in RegularImmutableMap()
92 ImmutableMapEntry<K, V> newEntry = (existing == null) in RegularImmutableMap() local
95 table[tableIndex] = newEntry; in RegularImmutableMap()
96 entries[entryIndex] = newEntry; in RegularImmutableMap()
97 checkNoConflictInBucket(key, newEntry, existing); in RegularImmutableMap()
DRegularImmutableBiMap.java84 ImmutableMapEntry<K, V> newEntry = in RegularImmutableBiMap() local
88 keyTable[keyBucket] = newEntry; in RegularImmutableBiMap()
89 valueTable[valueBucket] = newEntry; in RegularImmutableBiMap()
90 entries[i] = newEntry; in RegularImmutableBiMap()
133 ImmutableMapEntry<K, V> newEntry = in RegularImmutableBiMap() local
137 keyTable[keyBucket] = newEntry; in RegularImmutableBiMap()
138 valueTable[valueBucket] = newEntry; in RegularImmutableBiMap()
139 entries[i] = newEntry; in RegularImmutableBiMap()
DMapMakerInternalMap.java354 <K, V> ReferenceEntry<K, V> newEntry( in newEntry() method
361 <K, V> ReferenceEntry<K, V> newEntry( in newEntry() method
369 ReferenceEntry<K, V> newEntry = super.copyEntry(segment, original, newNext); in copyEntry() local
370 copyExpirableEntry(original, newEntry); in copyEntry()
371 return newEntry; in copyEntry()
376 <K, V> ReferenceEntry<K, V> newEntry( in newEntry() method
384 ReferenceEntry<K, V> newEntry = super.copyEntry(segment, original, newNext); in copyEntry() local
385 copyEvictableEntry(original, newEntry); in copyEntry()
386 return newEntry; in copyEntry()
391 <K, V> ReferenceEntry<K, V> newEntry( in newEntry() method
[all …]
DHashBiMap.java245 BiEntry<K, V> newEntry = new BiEntry<K, V>(key, keyHash, value, valueHash); in put() local
246 insert(newEntry); in put()
274 BiEntry<K, V> newEntry = new BiEntry<K, V>(key, keyHash, value, valueHash); in putInverse() local
275 insert(newEntry); in putInverse()
464 BiEntry<K, V> newEntry =
466 insert(newEntry);
469 toRemove = newEntry;
471 delegate = newEntry;
617 BiEntry<K, V> newEntry =
619 insert(newEntry);
DLinkedHashMultimap.java426 ValueEntry<K, V> newEntry = new ValueEntry<K, V>(key, value, smearedHash, rowHead); in add() local
427 succeedsInValueSet(lastEntry, newEntry); in add()
428 succeedsInValueSet(newEntry, this); in add()
429 succeedsInMultimap(multimapHeaderEntry.getPredecessorInMultimap(), newEntry); in add() local
430 succeedsInMultimap(newEntry, multimapHeaderEntry); in add()
431 hashTable[bucket] = newEntry; in add()
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DAbstractMapTester.java200 protected final void expectReplacement(Entry<K, V> newEntry) { in expectReplacement() argument
202 replaceValue(expected, newEntry); in expectReplacement()
206 private void replaceValue(List<Entry<K, V>> expected, Entry<K, V> newEntry) { in replaceValue() argument
208 if (Helpers.equal(i.next().getKey(), newEntry.getKey())) { in replaceValue()
209 i.set(newEntry); in replaceValue()
215 "key %s not found in entries %s", newEntry.getKey(), expected)); in replaceValue()
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/
DMapPutTester.java146 Entry<K, V> newEntry = entry(null, samples.e3.getValue()); in testPut_nullKeySupportedPresent() local
149 getValueForNullKey(), put(newEntry)); in testPut_nullKeySupportedPresent()
152 expected[getNullLocation()] = newEntry; in testPut_nullKeySupportedPresent()
219 Entry<K, V> newEntry = entry(getKeyForNullValue(), samples.e3.getValue()); in testPut_replaceNullValueWithNonNullSupported() local
222 put(newEntry)); in testPut_replaceNullValueWithNonNullSupported()
225 expected[getNullLocation()] = newEntry; in testPut_replaceNullValueWithNonNullSupported()
/external/skia/src/core/
DSkTDynamicHash.h108 void add(T* newEntry) { in add() argument
109 SkASSERT(NULL == this->find(GetKey(*newEntry))); in add()
111 this->innerAdd(newEntry); in add()
207 void innerAdd(T* newEntry) { in innerAdd() argument
208 const Key& key = GetKey(*newEntry); in innerAdd()
218 fArray[index] = newEntry; in innerAdd()
DSkTMultiMap.h43 ValueList* newEntry = SkNEW_ARGS(ValueList, (list->fValue)); in insert() local
44 newEntry->fNext = list->fNext; in insert()
47 list->fNext = newEntry; in insert()
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
DMapPutTester.java149 Entry<K, V> newEntry = entry(null, samples.e3.getValue()); in testPut_nullKeySupportedPresent() local
152 getValueForNullKey(), put(newEntry)); in testPut_nullKeySupportedPresent()
155 expected[getNullLocation()] = newEntry; in testPut_nullKeySupportedPresent()
222 Entry<K, V> newEntry = entry(getKeyForNullValue(), samples.e3.getValue()); in testPut_replaceNullValueWithNonNullSupported() local
225 put(newEntry)); in testPut_replaceNullValueWithNonNullSupported()
228 expected[getNullLocation()] = newEntry; in testPut_replaceNullValueWithNonNullSupported()
/external/guava/guava/src/com/google/common/cache/
DLocalCache.java448 <K, V> ReferenceEntry<K, V> newEntry( in newEntry() method
455 <K, V> ReferenceEntry<K, V> newEntry( in newEntry() method
463 ReferenceEntry<K, V> newEntry = super.copyEntry(segment, original, newNext); in copyEntry() local
464 copyAccessEntry(original, newEntry); in copyEntry()
465 return newEntry; in copyEntry()
470 <K, V> ReferenceEntry<K, V> newEntry( in newEntry() method
478 ReferenceEntry<K, V> newEntry = super.copyEntry(segment, original, newNext); in copyEntry() local
479 copyWriteEntry(original, newEntry); in copyEntry()
480 return newEntry; in copyEntry()
485 <K, V> ReferenceEntry<K, V> newEntry( in newEntry() method
[all …]
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DLinkedHashMultimap.java422 ValueEntry<K, V> newEntry = new ValueEntry<K, V>(key, value, smearedHash, rowHead); in add() local
423 succeedsInValueSet(lastEntry, newEntry); in add()
424 succeedsInValueSet(newEntry, this); in add()
425 succeedsInMultimap(multimapHeaderEntry.getPredecessorInMultimap(), newEntry); in add() local
426 succeedsInMultimap(newEntry, multimapHeaderEntry); in add()
427 hashTable[bucket] = newEntry; in add()
/external/skia/src/fonts/
DSkFontMgr_indirect.cpp233 DataEntry& newEntry = fDataCache.push_back(); in createTypefaceFromFontId() local
235 newEntry.fDataId = id.fDataId; in createTypefaceFromFontId()
236 newEntry.fTtcIndex = id.fTtcIndex; in createTypefaceFromFontId()
237 newEntry.fTypeface = typeface.get(); // weak reference passed to new entry. in createTypefaceFromFontId()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
DLocaleObjectCache.java41 CacheEntry<K, V> newEntry = new CacheEntry<K, V>(key, newVal, _queue); in get() local
45 entry = _map.putIfAbsent(key, newEntry); in get()
/external/emma/core/java12/com/vladium/util/
DIntSet.java164 final Entry newEntry = new Entry (key, bucketListHead); in add() local
165 buckets [bucketIndex] = newEntry; in add()
DIntObjectMap.java192 final Entry newEntry = new Entry (key, value, bucketListHead); in put() local
193 buckets [bucketIndex] = newEntry; in put()
DIntIntMap.java203 final Entry newEntry = new Entry (key, value, bucketListHead); in put() local
204 buckets [bucketIndex] = newEntry; in put()
DObjectIntMap.java196 final Entry newEntry = new Entry (key, value, bucketListHead); in put() local
197 buckets [bucketIndex] = newEntry; in put()
/external/guava/guava-tests/test/com/google/common/cache/
DPopulatedCachesTest.java261 Entry<Object, Object> newEntry = warmed.get(i - WARMUP_MIN); in testEntrySet_populated() local
262 assertTrue(entries.contains(newEntry)); in testEntrySet_populated()
263 assertTrue(entries.remove(newEntry)); in testEntrySet_populated()
264 assertFalse(entries.remove(newEntry)); in testEntrySet_populated()
265 assertFalse(entries.contains(newEntry)); in testEntrySet_populated()
/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/src/
Dcmscnvrt.c128 …cmsIntentsList *newEntry = ( cmsIntentsList *) _cmsSubAllocDup(ctx ->MemPool, entry, sizeof(cmsInt… in DupPluginIntentsList() local
130 if (newEntry == NULL) in DupPluginIntentsList()
134 newEntry -> Next = NULL; in DupPluginIntentsList()
136 Anterior -> Next = newEntry; in DupPluginIntentsList()
138 Anterior = newEntry; in DupPluginIntentsList()
141 newHead.Intents = newEntry; in DupPluginIntentsList()
Dcmsxform.c487 …_cmsTransformCollection *newEntry = ( _cmsTransformCollection *) _cmsSubAllocDup(ctx ->MemPool, en… in DupPluginTransformList() local
489 if (newEntry == NULL) in DupPluginTransformList()
493 newEntry -> Next = NULL; in DupPluginTransformList()
495 Anterior -> Next = newEntry; in DupPluginTransformList()
497 Anterior = newEntry; in DupPluginTransformList()
500 newHead.TransformCollection = newEntry; in DupPluginTransformList()
Dcmsgamma.c86 …_cmsParametricCurvesCollection *newEntry = ( _cmsParametricCurvesCollection *) _cmsSubAllocDup(ctx… in DupPluginCurvesList() local
88 if (newEntry == NULL) in DupPluginCurvesList()
92 newEntry -> Next = NULL; in DupPluginCurvesList()
94 Anterior -> Next = newEntry; in DupPluginCurvesList()
96 Anterior = newEntry; in DupPluginCurvesList()
99 newHead.ParametricCurves = newEntry; in DupPluginCurvesList()
/external/guava/guava-tests/benchmark/com/google/common/cache/
DChainBenchmark.java47 chain = segment.newEntry(key, cache.hash(key), chain); in setUp()
/external/deqp/framework/randomshaders/
DrsgVariableManager.cpp362 ValueEntry* newEntry = curScope.allocate(variable); in setValue() local
366 *cachePos = newEntry; in setValue()
368 m_entryCache.push_back(newEntry); in setValue()

12