Home
last modified time | relevance | path

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

/external/skia/src/pdf/
DSkPDFTypes.cpp424 struct Rec* newEntry = fValue.append(); in insert() local
425 newEntry->key = key; in insert()
426 newEntry->value = value; in insert()
432 struct Rec* newEntry = fValue.append(); in insert() local
433 newEntry->key = new SkPDFName(key); in insert()
434 newEntry->value = value; in insert()
439 struct Rec* newEntry = fValue.append(); in insertInt() local
440 newEntry->key = new SkPDFName(key); in insertInt()
441 newEntry->value = new SkPDFInt(value); in insertInt()
445 struct Rec* newEntry = fValue.append(); in insertScalar() local
[all …]
DSkPDFGraphicState.cpp104 GSCanonicalEntry newEntry(new SkPDFGraphicState(paint)); in GetGraphicStateForPaint() local
105 CanonicalPaints().push(newEntry); in GetGraphicStateForPaint()
106 return newEntry.fGraphicState; in GetGraphicStateForPaint()
DSkPDFCatalog.cpp36 struct Rec newEntry(obj, onFirstPage); in addObject() local
37 fCatalog.append(1, &newEntry); in addObject()
DSkPDFDevice.cpp1267 SkTScopedPtr<ContentEntry> newEntry; in setUpContentEntry() local
1273 newEntry.reset(new ContentEntry); in setUpContentEntry()
1274 entry = newEntry.get(); in setUpContentEntry()
1295 newEntry.release(); in setUpContentEntry()
DSkPDFFont.cpp783 FontRec newEntry(font, fontID, font->fFirstGlyphID); in GetFontResource() local
784 CanonicalFonts().push(newEntry); in GetFontResource()
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DAbstractMapTester.java198 protected final void expectReplacement(Entry<K, V> newEntry) { in expectReplacement() argument
200 replaceValue(expected, newEntry); in expectReplacement()
204 private void replaceValue(List<Entry<K, V>> expected, Entry<K, V> newEntry) { in replaceValue() argument
206 if (Helpers.equal(i.next().getKey(), newEntry.getKey())) { in replaceValue()
207 i.set(newEntry); in replaceValue()
213 "key %s not found in entries %s", newEntry.getKey(), expected)); in replaceValue()
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
DMapPutTester.java104 Entry<K, V> newEntry = entry(null, samples.e3.getValue()); in testPut_nullKeySupportedPresent() local
107 getValueForNullKey(), put(newEntry)); in testPut_nullKeySupportedPresent()
110 expected[getNullLocation()] = newEntry; in testPut_nullKeySupportedPresent()
177 Entry<K, V> newEntry = entry(getKeyForNullValue(), samples.e3.getValue()); in testPut_replaceNullValueWithNonNullSupported() local
180 put(newEntry)); in testPut_replaceNullValueWithNonNullSupported()
183 expected[getNullLocation()] = newEntry; in testPut_replaceNullValueWithNonNullSupported()
/external/guava/guava/src/com/google/common/collect/
DMapMakerInternalMap.java355 <K, V> ReferenceEntry<K, V> newEntry( in newEntry() method
362 <K, V> ReferenceEntry<K, V> newEntry( in newEntry() method
370 ReferenceEntry<K, V> newEntry = super.copyEntry(segment, original, newNext); in copyEntry() local
371 copyExpirableEntry(original, newEntry); in copyEntry()
372 return newEntry; in copyEntry()
377 <K, V> ReferenceEntry<K, V> newEntry( in newEntry() method
385 ReferenceEntry<K, V> newEntry = super.copyEntry(segment, original, newNext); in copyEntry() local
386 copyEvictableEntry(original, newEntry); in copyEntry()
387 return newEntry; in copyEntry()
392 <K, V> ReferenceEntry<K, V> newEntry( in newEntry() method
[all …]
DComputingConcurrentHashMap.java139 e = newEntry(key, hash, first); in getOrCompute()
/external/guava/guava/src/com/google/common/cache/
DLocalCache.java440 <K, V> ReferenceEntry<K, V> newEntry( in newEntry() method
447 <K, V> ReferenceEntry<K, V> newEntry( in newEntry() method
455 ReferenceEntry<K, V> newEntry = super.copyEntry(segment, original, newNext); in copyEntry() local
456 copyAccessEntry(original, newEntry); in copyEntry()
457 return newEntry; in copyEntry()
462 <K, V> ReferenceEntry<K, V> newEntry( in newEntry() method
470 ReferenceEntry<K, V> newEntry = super.copyEntry(segment, original, newNext); in copyEntry() local
471 copyWriteEntry(original, newEntry); in copyEntry()
472 return newEntry; in copyEntry()
477 <K, V> ReferenceEntry<K, V> newEntry( in newEntry() method
[all …]
/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()
DSoftValueMap.java284 …final SoftEntry newEntry = new SoftEntry (m_valueReferenceQueue, key, value, bucketListHead, bucke… in put() local
285 buckets [bucketIndex] = newEntry; in put()
/external/icu4c/i18n/
Dcolldata.cpp521 CollDataCacheEntry *entry = NULL, *newEntry = NULL; in get() local
530 newEntry = new CollDataCacheEntry(newData); in get()
532 if (U_FAILURE(status) || newData == NULL || newEntry == NULL) { in get()
541 uhash_put(cache, newData->key, newEntry, &status); in get()
545 delete newEntry; in get()
563 if (newEntry != NULL) { in get()
564 delete newEntry; in get()
/external/guava/guava-tests/test/com/google/common/cache/
DPopulatedCachesTest.java263 Entry<Object, Object> newEntry = warmed.get(i - WARMUP_MIN); in testEntrySet_populated() local
264 assertTrue(entries.contains(newEntry)); in testEntrySet_populated()
265 assertTrue(entries.remove(newEntry)); in testEntrySet_populated()
266 assertFalse(entries.remove(newEntry)); in testEntrySet_populated()
267 assertFalse(entries.contains(newEntry)); in testEntrySet_populated()
DLocalCacheTest.java604 ReferenceEntry<Object, Object> newEntry = segment.copyEntry(entry, null); in testCopyEntry_computing() local
605 table.set(index, newEntry); in testCopyEntry_computing()
609 (LoadingValueReference) newEntry.getValueReference(); in testCopyEntry_computing()
885 ReferenceEntry<Object, Object> entryOne = map.newEntry(keyOne, hashOne, null); in testNewEntry()
898 ReferenceEntry<Object, Object> entryTwo = map.newEntry(keyTwo, hashTwo, entryOne); in testNewEntry()
917 ReferenceEntry<Object, Object> entryOne = map.newEntry(keyOne, hashOne, null); in testCopyEntry()
923 ReferenceEntry<Object, Object> entryTwo = map.newEntry(keyTwo, hashTwo, entryOne); in testCopyEntry()
974 ReferenceEntry<Object, Object> entry = map.newEntry(key, hash, null); in testSegmentGetAndContains()
1399 entry = map.newEntry(key, hash, entry); in testExpand()
2147 entry = map.newEntry(key, hash, first); in testEvictEntries()
/external/skia/src/gpu/gl/
DGrGpuGLShaders.cpp86 Entry newEntry; in getProgramData() local
87 newEntry.fKey.setKeyData(desc.keyData()); in getProgramData()
89 Entry* entry = fHashCache.find(newEntry.fKey); in getProgramData()
91 if (!desc.genProgram(fGL, &newEntry.fProgramData)) { in getProgramData()
109 entry->copyAndTakeOwnership(newEntry); in getProgramData()
/external/webkit/Source/JavaScriptCore/runtime/
DJSGlobalObject.h317 SymbolTableEntry newEntry(index, global.attributes); in addStaticGlobals()
318 symbolTable().add(global.identifier.impl(), newEntry); in addStaticGlobals()
/external/guava/guava-tests/test/com/google/common/collect/
DMapMakerInternalMapTest.java442 ReferenceEntry<Object, Object> entryOne = map.newEntry(keyOne, hashOne, null); in testNewEntry()
455 ReferenceEntry<Object, Object> entryTwo = map.newEntry(keyTwo, hashTwo, entryOne); in testNewEntry()
474 ReferenceEntry<Object, Object> entryOne = map.newEntry(keyOne, hashOne, null); in testCopyEntry()
480 ReferenceEntry<Object, Object> entryTwo = map.newEntry(keyTwo, hashTwo, entryOne); in testCopyEntry()
528 ReferenceEntry<Object, Object> entry = map.newEntry(key, hash, null); in testSegmentGetAndContains()
875 entry = map.newEntry(key, hash, entry); in testExpand()
1479 entry = map.newEntry(key, hash, first); in testEvictEntries()
/external/webkit/Source/JavaScriptCore/bytecompiler/
DBytecodeGenerator.cpp166 SymbolTableEntry newEntry(index, isConstant ? ReadOnly : 0); in addVar() local
167 pair<SymbolTable::iterator, bool> result = symbolTable().add(ident.impl(), newEntry); in addVar()
181 SymbolTableEntry newEntry(index, isConstant ? ReadOnly : 0); in addGlobalVar() local
182 pair<SymbolTable::iterator, bool> result = symbolTable().add(ident.impl(), newEntry); in addGlobalVar()