Home
last modified time | relevance | path

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

12

/external/skia/src/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 …]
DSkTDynamicHash.h108 void add(T* newEntry) { in add() argument
109 SkASSERT(nullptr == 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 = new ValueList(list->fValue); in insert() local
44 newEntry->fNext = list->fNext; in insert()
47 list->fNext = newEntry; in insert()
/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/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.java445 <K, V> ReferenceEntry<K, V> newEntry( in newEntry() method
452 <K, V> ReferenceEntry<K, V> newEntry( in newEntry() method
460 ReferenceEntry<K, V> newEntry = super.copyEntry(segment, original, newNext); in copyEntry() local
461 copyAccessEntry(original, newEntry); in copyEntry()
462 return newEntry; in copyEntry()
467 <K, V> ReferenceEntry<K, V> newEntry( in newEntry() method
475 ReferenceEntry<K, V> newEntry = super.copyEntry(segment, original, newNext); in copyEntry() local
476 copyWriteEntry(original, newEntry); in copyEntry()
477 return newEntry; in copyEntry()
482 <K, V> ReferenceEntry<K, V> newEntry( in newEntry() method
[all …]
/external/skia/src/fonts/
DSkFontMgr_indirect.cpp143 DataEntry& newEntry = fDataCache.push_back(); in createTypefaceFromFontId() local
145 newEntry.fDataId = id.fDataId; in createTypefaceFromFontId()
146 newEntry.fTtcIndex = id.fTtcIndex; in createTypefaceFromFontId()
147 newEntry.fTypeface = typeface.get(); // weak reference passed to new entry. in createTypefaceFromFontId()
/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/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/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/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/icu/android_icu4j/src/main/java/android/icu/impl/locale/
DLocaleObjectCache.java45 CacheEntry<K, V> newEntry = new CacheEntry<K, V>(key, newVal, _queue); in get() local
49 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/guava/guava-tests/benchmark/com/google/common/cache/
DChainBenchmark.java47 chain = segment.newEntry(key, cache.hash(key), chain); in setUp()
/external/pdfium/third_party/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()
/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