Home
last modified time | relevance | path

Searched refs:Entry (Results 1 – 25 of 787) sorted by relevance

12345678910>>...32

/external/jmonkeyengine/engine/src/core/com/jme3/util/
DIntMap.java35 import com.jme3.util.IntMap.Entry;
46 public final class IntMap<T> implements Iterable<Entry<T>>, Cloneable {
48 private Entry[] table;
76 this.table = new Entry[capacity]; in IntMap()
84 Entry[] newTable = new Entry[table.length]; in clone()
97 Entry[] table = this.table; in containsValue()
99 for (Entry e = table[i]; e != null; e = e.next){ in containsValue()
110 for (Entry e = table[index]; e != null; e = e.next){ in containsKey()
120 for (Entry e = table[index]; e != null; e = e.next){ in get()
131 for (Entry e = table[index]; e != null; e = e.next){ in put()
[all …]
/external/emma/core/java12/com/vladium/util/
DIntIntMap.java61 m_buckets = new Entry [initialCapacity]; in IntIntMap()
87 final Entry [] buckets = m_buckets; in contains()
91 for (Entry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next) in contains()
111 final Entry [] buckets = m_buckets; in get()
115 for (Entry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next) in get()
130 final Entry [] buckets = m_buckets; in get()
134 for (Entry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next) in get()
153 for (Entry entry = m_buckets [b]; entry != null; entry = entry.m_next) in keys()
170 Entry currentKeyEntry = null; in put()
178 Entry [] buckets = m_buckets; in put()
[all …]
DIntObjectMap.java61 m_buckets = new Entry [initialCapacity]; in IntObjectMap()
87 final Entry [] buckets = m_buckets; in contains()
91 for (Entry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next) in contains()
112 final Entry [] buckets = m_buckets; in get()
116 for (Entry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next) in get()
136 for (Entry entry = m_buckets [b]; entry != null; entry = entry.m_next) in keys()
156 Entry currentKeyEntry = null; in put()
164 Entry [] buckets = m_buckets; in put()
165 for (Entry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next) in put()
191 final Entry bucketListHead = buckets [bucketIndex]; in put()
[all …]
DIntSet.java59 m_buckets = new Entry [initialCapacity]; in IntSet()
85 final Entry [] buckets = m_buckets; in contains()
89 for (Entry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next) in contains()
109 for (Entry entry = m_buckets [b]; entry != null; entry = entry.m_next) in values()
127 for (Entry entry = m_buckets [b]; entry != null; entry = entry.m_next) in values()
137 Entry currentKeyEntry = null; in add()
145 Entry [] buckets = m_buckets; in add()
146 for (Entry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next) in add()
163 final Entry bucketListHead = buckets [bucketIndex]; in add()
164 final Entry newEntry = new Entry (key, bucketListHead); in add()
[all …]
DObjectIntMap.java63 m_buckets = new Entry [initialCapacity]; in ObjectIntMap()
91 final Entry [] buckets = m_buckets; in contains()
96 for (Entry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next) in contains()
119 final Entry [] buckets = m_buckets; in get()
124 for (Entry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next) in get()
143 for (Entry entry = m_buckets [b]; entry != null; entry = entry.m_next) in keys()
162 Entry currentKeyEntry = null; in put()
171 Entry [] buckets = m_buckets; in put()
172 for (Entry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next) in put()
195 final Entry bucketListHead = buckets [bucketIndex]; in put()
[all …]
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DAbstractMapTester.java24 import java.util.Map.Entry;
40 AbstractContainerTester<Map<K, V>, Map.Entry<K, V>> {
51 @Override protected Collection<Map.Entry<K, V>> actualContents() { in actualContents()
78 protected Map.Entry<K, V>[] createArrayWithNullKey() { in createArrayWithNullKey()
79 Map.Entry<K, V>[] array = createSamplesArray(); in createArrayWithNullKey()
81 final Map.Entry<K, V> oldEntry = array[nullKeyLocation]; in createArrayWithNullKey()
94 private Entry<K, V> getEntryNullReplaces() { in getEntryNullReplaces()
95 Iterator<Entry<K, V>> entries = getSampleElements().iterator(); in getEntryNullReplaces()
106 protected Map.Entry<K, V>[] createArrayWithNullValue() { in createArrayWithNullValue()
107 Map.Entry<K, V>[] array = createSamplesArray(); in createArrayWithNullValue()
[all …]
DTestStringMapGenerator.java21 import java.util.Map.Entry;
37 public SampleElements<Map.Entry<String, String>> samples() { in samples()
38 return new SampleElements<Map.Entry<String, String>>( in samples()
50 Entry<String, String>[] array = new Entry[entries.length]; in create()
54 Entry<String, String> e = (Entry<String, String>) o; in create()
61 Entry<String, String>[] entries); in create()
65 public final Entry<String, String>[] createArray(int length) { in createArray()
66 return new Entry[length]; in createArray()
81 public Iterable<Entry<String, String>> order( in order()
82 List<Entry<String, String>> insertionOrder) { in order()
DTestEnumMapGenerator.java21 import java.util.Map.Entry;
34 public SampleElements<Entry<AnEnum, String>> samples() { in samples()
35 return new SampleElements<Entry<AnEnum, String>>( in samples()
47 Entry<AnEnum, String>[] array = new Entry[entries.length]; in create()
51 Entry<AnEnum, String> e = (Entry<AnEnum, String>) o; in create()
58 Entry<AnEnum, String>[] entries); in create()
62 public final Entry<AnEnum, String>[] createArray(int length) { in createArray()
63 return new Entry[length]; in createArray()
78 public Iterable<Entry<AnEnum, String>> order( in order()
79 List<Entry<AnEnum, String>> insertionOrder) { in order()
DTestMapEntrySetGenerator.java31 implements TestSetGenerator<Map.Entry<K, V>> {
42 public SampleElements<Map.Entry<K, V>> samples() { in samples()
47 public Set<Map.Entry<K, V>> create(Object... elements) { in create()
48 Map.Entry<K, V>[] entries = createArray(elements.length); in create()
53 public abstract Set<Map.Entry<K, V>> createFromEntries( in createFromEntries()
54 Map.Entry<K, V>[] entries); in createFromEntries()
58 public Map.Entry<K, V>[] createArray(int length) { in createArray()
59 return new Map.Entry[length]; in createArray()
64 public List<Map.Entry<K, V>> order(List<Map.Entry<K, V>> insertionOrder) { in order()
/external/v8/src/
Dhashmap.h52 struct Entry { struct
63 Entry* Lookup(void* key, uint32_t hash, bool insert); argument
87 Entry* Start() const;
88 Entry* Next(Entry* p) const;
92 Entry* map_;
96 Entry* map_end() const { return map_ + capacity_; } in map_end()
97 Entry* Probe(void* key, uint32_t hash);
119 typename TemplateHashMapImpl<P>::Entry* TemplateHashMapImpl<P>::Lookup( in Lookup()
122 Entry* p = Probe(key, hash); in Lookup()
151 Entry* p = Probe(key, hash); in Remove()
[all …]
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/
DChangeTimeScaleTrack.java37 List<CompositionTimeToSample.Entry> ctts;
38 List<TimeToSampleBox.Entry> tts;
59 …Queue<TimeToSampleBox.Entry> timeQueue = new LinkedList<TimeToSampleBox.Entry>(track.getDecodingTi… in getTimes()
73 TimeToSampleBox.Entry entry = timeQueue.poll(); in getTimes()
87 public List<TimeToSampleBox.Entry> getDecodingTimeEntries() { in getDecodingTimeEntries()
91 public List<CompositionTimeToSample.Entry> getCompositionTimeEntries() { in getCompositionTimeEntries()
99 public List<SampleDependencyTypeBox.Entry> getSampleDependencies() { in getSampleDependencies()
142 …static List<CompositionTimeToSample.Entry> adjustCtts(List<CompositionTimeToSample.Entry> source, … in adjustCtts()
144 …List<CompositionTimeToSample.Entry> entries2 = new ArrayList<CompositionTimeToSample.Entry>(source… in adjustCtts()
145 for (CompositionTimeToSample.Entry entry : source) { in adjustCtts()
[all …]
DDivideTimeScaleTrack.java43 public List<TimeToSampleBox.Entry> getDecodingTimeEntries() { in getDecodingTimeEntries()
47 public List<CompositionTimeToSample.Entry> getCompositionTimeEntries() { in getCompositionTimeEntries()
55 public List<SampleDependencyTypeBox.Entry> getSampleDependencies() { in getSampleDependencies()
90 List<CompositionTimeToSample.Entry> adjustCtts() { in adjustCtts()
91 List<CompositionTimeToSample.Entry> origCtts = this.source.getCompositionTimeEntries(); in adjustCtts()
93 …List<CompositionTimeToSample.Entry> entries2 = new ArrayList<CompositionTimeToSample.Entry>(origCt… in adjustCtts()
94 for (CompositionTimeToSample.Entry entry : origCtts) { in adjustCtts()
95 …entries2.add(new CompositionTimeToSample.Entry(entry.getCount(), entry.getOffset() / timeScaleDivi… in adjustCtts()
103 List<TimeToSampleBox.Entry> adjustTts() { in adjustTts()
104 List<TimeToSampleBox.Entry> origTts = source.getDecodingTimeEntries(); in adjustTts()
[all …]
DMultiplyTimeScaleTrack.java49 public List<TimeToSampleBox.Entry> getDecodingTimeEntries() { in getDecodingTimeEntries()
53 public List<CompositionTimeToSample.Entry> getCompositionTimeEntries() { in getCompositionTimeEntries()
61 public List<SampleDependencyTypeBox.Entry> getSampleDependencies() { in getSampleDependencies()
96 …static List<CompositionTimeToSample.Entry> adjustCtts(List<CompositionTimeToSample.Entry> source, … in adjustCtts()
98 …List<CompositionTimeToSample.Entry> entries2 = new ArrayList<CompositionTimeToSample.Entry>(source… in adjustCtts()
99 for (CompositionTimeToSample.Entry entry : source) { in adjustCtts()
100 …entries2.add(new CompositionTimeToSample.Entry(entry.getCount(), timeScaleFactor * entry.getOffset… in adjustCtts()
108 …static List<TimeToSampleBox.Entry> adjustTts(List<TimeToSampleBox.Entry> source, int timeScaleFact… in adjustTts()
109 LinkedList<TimeToSampleBox.Entry> entries2 = new LinkedList<TimeToSampleBox.Entry>(); in adjustTts()
110 for (TimeToSampleBox.Entry e : source) { in adjustTts()
[all …]
/external/webkit/Source/WebCore/html/parser/
DHTMLFormattingElementList.h47 class Entry {
50 explicit Entry(Element* element) in Entry() function
56 Entry(MarkerEntryType) in Entry() function
60 ~Entry() {} in ~Entry()
83 Bookmark(Entry* entry) in Bookmark()
89 void moveToAfter(Entry* before) in moveToAfter()
96 Entry* mark() const { return m_mark; } in mark()
100 Entry* m_mark;
108 Entry* find(Element*);
120 const Entry& at(size_t i) const { return m_entries[i]; } in at()
[all …]
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DSimpleEntryTest.java23 import java.util.Map.Entry;
40 Entry entryToPut = (Entry)map.entrySet().iterator().next(); in test_SimpleEntry_Constructor_LEntry()
41 Entry testEntry = new AbstractMap.SimpleEntry(entryToPut); in test_SimpleEntry_Constructor_LEntry()
46 entryToPut = (Entry)map.entrySet().iterator().next(); in test_SimpleEntry_Constructor_LEntry()
60 Entry entry = new AbstractMap.SimpleEntry<Integer, String>(1,"test"); in test_SimpleEntry_getKey()
67 Entry entry = new AbstractMap.SimpleEntry<Integer, String>(1,"test"); in test_SimpleEntry_getValue()
74 Entry entry = new AbstractMap.SimpleEntry<Integer, String>(1,"test"); in test_SimpleEntry_setValue()
83 Entry entry = new AbstractMap.SimpleEntry<Integer, String>(1,"test"); in test_SimpleEntry_equals()
86 Entry entryToPut = (Entry)map.entrySet().iterator().next(); in test_SimpleEntry_equals()
87 Entry testEntry = new AbstractMap.SimpleEntry(entryToPut); in test_SimpleEntry_equals()
[all …]
DSimpleImmutableEntryTest.java24 import java.util.Map.Entry;
41 Entry entryToPut = (Entry)map.entrySet().iterator().next(); in test_SimpleImmutableEntry_Constructor_LEntry()
42 Entry testEntry = new AbstractMap.SimpleImmutableEntry(entryToPut); in test_SimpleImmutableEntry_Constructor_LEntry()
47 entryToPut = (Entry)map.entrySet().iterator().next(); in test_SimpleImmutableEntry_Constructor_LEntry()
61 Entry entry = new AbstractMap.SimpleImmutableEntry<Integer, String>(1,"test"); in test_SimpleImmutableEntry_getKey()
68 Entry entry = new AbstractMap.SimpleImmutableEntry<Integer, String>(1,"test"); in test_SimpleImmutableEntry_getValue()
75 Entry entry = new AbstractMap.SimpleImmutableEntry<Integer, String>(1,"test"); in test_SimpleImmutableEntry_setValue()
93 Entry entry = new AbstractMap.SimpleImmutableEntry<Integer, String>(1,"test"); in test_SimpleImmutableEntry_equals()
96 Entry entryToPut = (Entry)map.entrySet().iterator().next(); in test_SimpleImmutableEntry_equals()
97 Entry testEntry = new AbstractMap.SimpleImmutableEntry(entryToPut); in test_SimpleImmutableEntry_equals()
[all …]
/external/dexmaker/src/dx/java/com/android/dx/dex/code/
DCatchHandlerList.java48 public Entry get(int n) { in get()
49 return (Entry) get0(n); in get()
75 Entry entry = get(i); in toHuman()
110 Entry last = get(size - 1); in catchesAll()
122 set0(n, new Entry(exceptionType, handler)); in set()
131 public void set(int n, Entry entry) { in set()
147 Entry thisEntry = get(i); in compareTo()
148 Entry otherEntry = other.get(i); in compareTo()
167 public static class Entry implements Comparable<Entry> { class in CatchHandlerList
180 public Entry(CstType exceptionType, int handler) { in Entry() method in CatchHandlerList.Entry
[all …]
DCatchTable.java49 public Entry get(int n) { in get()
50 return (Entry) get0(n); in get()
59 public void set(int n, Entry entry) { in set()
75 Entry thisEntry = get(i); in compareTo()
76 Entry otherEntry = other.get(i); in compareTo()
95 public static class Entry implements Comparable<Entry> { class in CatchTable
112 public Entry(int start, int end, CatchHandlerList handlers) { in Entry() method in CatchTable.Entry
141 if (other instanceof Entry) { in equals()
142 return (compareTo((Entry) other) == 0); in equals()
149 public int compareTo(Entry other) { in compareTo()
/external/skia/legacy/src/effects/
DSkBitmapCache.cpp12 struct SkBitmapCache::Entry { struct in SkBitmapCache
13 Entry* fPrev; argument
14 Entry* fNext; argument
20 Entry(const void* buffer, size_t size, const SkBitmap& bm) in Entry() argument
29 ~Entry() { sk_free(fBuffer); } in ~Entry() argument
46 Entry* entry = fHead; in ~SkBitmapCache()
48 Entry* next = entry->fNext; in ~SkBitmapCache()
54 SkBitmapCache::Entry* SkBitmapCache::detach(Entry* entry) const { in detach() argument
72 void SkBitmapCache::attachToHead(Entry* entry) const { in attachToHead()
86 Entry* entry = fHead; in find()
[all …]
/external/skia/src/effects/gradients/
DSkBitmapCache.cpp12 struct SkBitmapCache::Entry { struct in SkBitmapCache
13 Entry* fPrev; argument
14 Entry* fNext; argument
20 Entry(const void* buffer, size_t size, const SkBitmap& bm) in Entry() function
29 ~Entry() { sk_free(fBuffer); } in ~Entry() argument
46 Entry* entry = fHead; in ~SkBitmapCache()
48 Entry* next = entry->fNext; in ~SkBitmapCache()
54 SkBitmapCache::Entry* SkBitmapCache::detach(Entry* entry) const { in detach() argument
72 void SkBitmapCache::attachToHead(Entry* entry) const { in attachToHead()
86 Entry* entry = fHead; in find()
[all …]
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
DCompositionTimeToSample.java48 List<Entry> entries = Collections.emptyList();
58 public List<Entry> getEntries() { in getEntries()
62 public void setEntries(List<Entry> entries) { in setEntries()
70 entries = new ArrayList<Entry>(numberOfEntries); in _parseDetails()
72 Entry e = new Entry(l2i(IsoTypeReader.readUInt32(content)), content.getInt()); in _parseDetails()
82 for (Entry entry : entries) { in getContent()
90 public static class Entry { class in CompositionTimeToSample
94 public Entry(int count, int offset) { in Entry() method in CompositionTimeToSample.Entry
130 public static int[] blowupCompositionTimes(List<CompositionTimeToSample.Entry> entries) { in blowupCompositionTimes()
132 for (CompositionTimeToSample.Entry entry : entries) { in blowupCompositionTimes()
[all …]
/external/chromium/net/base/
Dhost_cache.cc14 HostCache::Entry::Entry(int error, in Entry() function in net::HostCache::Entry
20 HostCache::Entry::~Entry() { in ~Entry()
36 const HostCache::Entry* HostCache::Lookup(const Key& key, in Lookup()
46 Entry* entry = it->second.get(); in Lookup()
53 HostCache::Entry* HostCache::Set(const Key& key, in Set()
64 scoped_refptr<Entry>& entry = entries_[key]; in Set()
67 Entry* ptr = new Entry(error, addrlist, expiration); in Set()
116 bool HostCache::CanUseEntry(const Entry* entry, const base::TimeTicks now) { in CanUseEntry()
120 void HostCache::Compact(base::TimeTicks now, const Entry* pinned_entry) { in Compact()
123 Entry* entry = (it->second).get(); in Compact()
[all …]
/external/guava/guava/src/com/google/common/collect/
DMultisets.java40 import com.google.common.collect.Multiset.Entry;
118 transient Set<Multiset.Entry<E>> entrySet;
121 @Override public Set<Multiset.Entry<E>> entrySet() { in entrySet()
122 Set<Multiset.Entry<E>> es = entrySet; in entrySet()
240 public Entry<E> firstEntry() { in firstEntry()
245 public Entry<E> lastEntry() { in lastEntry()
250 public Entry<E> pollFirstEntry() { in pollFirstEntry()
255 public Entry<E> pollLastEntry() { in pollLastEntry()
290 public static <E> Multiset.Entry<E> immutableEntry(@Nullable E e, int n) { in immutableEntry()
379 transient Set<Entry<E>> entrySet;
[all …]
DMapConstraints.java30 import java.util.Map.Entry;
182 private static <K, V> Entry<K, V> constrainedEntry( in constrainedEntry()
183 final Entry<K, V> entry, in constrainedEntry()
188 @Override protected Entry<K, V> delegate() { in constrainedEntry()
208 private static <K, V> Entry<K, Collection<V>> constrainedAsMapEntry(
209 final Entry<K, Collection<V>> entry,
214 @Override protected Entry<K, Collection<V>> delegate() {
242 private static <K, V> Set<Entry<K, Collection<V>>> constrainedAsMapEntries(
243 Set<Entry<K, Collection<V>>> entries,
260 private static <K, V> Collection<Entry<K, V>> constrainedEntries(
[all …]
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DMultimaps.java45 import java.util.Map.Entry;
317 for (Map.Entry<? extends V, ? extends K> entry : source.entries()) { in invertFrom()
401 transient Collection<Entry<K, V>> entries;
429 Set<Entry<K, Collection<V>>> entrySet; in asMap()
431 @Override public Set<Map.Entry<K, Collection<V>>> entrySet() { in asMap()
432 Set<Entry<K, Collection<V>>> result = entrySet; in asMap()
463 @Override public Collection<Entry<K, V>> entries() { in entries()
464 Collection<Entry<K, V>> result = entries; in entries()
604 @Override public Set<Map.Entry<K, V>> entries() {
823 private static <K, V> Map.Entry<K, Collection<V>> unmodifiableAsMapEntry(
[all …]

12345678910>>...32