Home
last modified time | relevance | path

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

12345678910>>...54

/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/lldb/source/DataFormatters/
DFormatCache.cpp24 FormatCache::Entry::Entry () : in Entry() function in FormatCache::Entry
31 FormatCache::Entry::Entry (const Entry& rhs) : in Entry() function in FormatCache::Entry
38 FormatCache::Entry::Entry (lldb::TypeSummaryImplSP summary_sp) : in Entry() function in FormatCache::Entry
45 FormatCache::Entry::Entry (lldb::SyntheticChildrenSP synthetic_sp) : in Entry() function in FormatCache::Entry
52 FormatCache::Entry::Entry (lldb::TypeSummaryImplSP summary_sp,lldb::SyntheticChildrenSP synthetic_s… in Entry() function in FormatCache::Entry
58 FormatCache::Entry& FormatCache::Entry::operator= (const Entry& rhs) in operator =()
71 FormatCache::Entry::IsSummaryCached () in IsSummaryCached()
77 FormatCache::Entry::IsSyntheticCached () in IsSyntheticCached()
83 FormatCache::Entry::GetSummary () in GetSummary()
89 FormatCache::Entry::GetSynthetic () in GetSynthetic()
[all …]
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DAbstractMapTester.java26 import java.util.Map.Entry;
41 AbstractContainerTester<Map<K, V>, Map.Entry<K, V>> {
52 @Override protected Collection<Map.Entry<K, V>> actualContents() { in actualContents()
79 protected Map.Entry<K, V>[] createArrayWithNullKey() { in createArrayWithNullKey()
80 Map.Entry<K, V>[] array = createSamplesArray(); in createArrayWithNullKey()
82 final Map.Entry<K, V> oldEntry = array[nullKeyLocation]; in createArrayWithNullKey()
95 private Entry<K, V> getEntryNullReplaces() { in getEntryNullReplaces()
96 Iterator<Entry<K, V>> entries = getSampleElements().iterator(); in getEntryNullReplaces()
107 protected Map.Entry<K, V>[] createArrayWithNullValue() { in createArrayWithNullValue()
108 Map.Entry<K, V>[] array = createSamplesArray(); in createArrayWithNullValue()
[all …]
DDerivedCollectionGenerators.java33 import java.util.Map.Entry;
46 implements TestSetGenerator<Map.Entry<K, V>>, DerivedGenerator {
47 private final OneSizeTestContainerGenerator<Map<K, V>, Map.Entry<K, V>>
52 Map<K, V>, Map.Entry<K, V>> mapGenerator) { in MapEntrySetGenerator()
57 public SampleElements<Map.Entry<K, V>> samples() { in samples()
62 public Set<Map.Entry<K, V>> create(Object... elements) { in create()
67 public Map.Entry<K, V>[] createArray(int length) { in createArray()
72 public Iterable<Map.Entry<K, V>> order( in order()
73 List<Map.Entry<K, V>> insertionOrder) { in order()
78 public OneSizeTestContainerGenerator<Map<K, V>, Map.Entry<K, V>> getInnerGenerator() { in getInnerGenerator()
[all …]
DTestStringMapGenerator.java23 import java.util.Map.Entry;
38 public SampleElements<Map.Entry<String, String>> samples() { in samples()
39 return new SampleElements<Map.Entry<String, String>>( in samples()
51 Entry<String, String>[] array = new Entry[entries.length]; in create()
55 Entry<String, String> e = (Entry<String, String>) o; in create()
62 Entry<String, String>[] entries); in create()
66 public final Entry<String, String>[] createArray(int length) { in createArray()
67 return new Entry[length]; in createArray()
82 public Iterable<Entry<String, String>> order( in order()
83 List<Entry<String, String>> insertionOrder) { in order()
/external/avahi/avahi-core/
Dhashmap.c36 typedef struct Entry Entry; typedef
37 struct Entry { struct
42 AVAHI_LLIST_FIELDS(Entry, bucket); argument
43 AVAHI_LLIST_FIELDS(Entry, entries);
51 Entry *entries[HASH_MAP_SIZE];
52 AVAHI_LLIST_HEAD(Entry, entries_list);
55 static Entry* entry_get(AvahiHashmap *m, const void *key) { in entry_get()
57 Entry *e; in entry_get()
68 static void entry_free(AvahiHashmap *m, Entry *e, int stolen) { in entry_free()
75 AVAHI_LLIST_REMOVE(Entry, bucket, m->entries[idx], e); in entry_free()
[all …]
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DDerivedGoogleCollectionGenerators.java33 import java.util.Map.Entry;
46 private final OneSizeTestContainerGenerator<BiMap<K, V>, Entry<K, V>> generator;
49 OneSizeTestContainerGenerator<BiMap<K, V>, Entry<K, V>> oneSizeTestContainerGenerator) { in MapGenerator()
54 public SampleElements<Map.Entry<K, V>> samples() { in samples()
64 public Map.Entry<K, V>[] createArray(int length) { in createArray()
69 public Iterable<Map.Entry<K, V>> order(List<Map.Entry<K, V>> insertionOrder) { in order()
93 private final OneSizeTestContainerGenerator<BiMap<K, V>, Entry<K, V>> generator;
96 OneSizeTestContainerGenerator<BiMap<K, V>, Entry<K, V>> oneSizeTestContainerGenerator) { in InverseBiMapGenerator()
101 public SampleElements<Map.Entry<V, K>> samples() { in samples()
102 SampleElements<Entry<K, V>> samples = generator.samples(); in samples()
[all …]
DMapGenerators.java38 import java.util.Map.Entry;
50 @Override protected Map<String, String> create(Entry<String, String>[] entries) { in create()
52 for (Entry<String, String> entry : entries) { in create()
61 @Override protected Map<String, String> create(Entry<String, String>[] entries) { in create()
63 for (Entry<String, String> entry : entries) { in create()
107 implements TestListGenerator<Entry<String, Integer>> {
110 public SampleElements<Entry<String, Integer>> samples() { in samples()
111 return new SampleElements<Entry<String, Integer>>( in samples()
121 public Entry<String, Integer>[] createArray(int length) { in createArray()
122 return new Entry[length]; in createArray()
[all …]
/external/v8/src/base/
Dhashmap.h47 struct Entry { struct
56 Entry* Lookup(void* key, uint32_t hash) const; argument
61 Entry* LookupOrInsert(void* key, uint32_t hash,
88 Entry* Start() const;
89 Entry* Next(Entry* p) const;
96 Entry* map_;
100 Entry* map_end() const { return map_ + capacity_; } in map_end()
101 Entry* Probe(void* key, uint32_t hash) const;
121 typename TemplateHashMapImpl<AllocationPolicy>::Entry*
123 Entry* p = Probe(key, hash); in Lookup()
[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/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/
DFileProcessor.java43 ArrayList<Entry> outputFiles = new ArrayList();
47 Comparator<Entry> entryComparator = new Comparator<Entry>() {
48 public int compare (Entry o1, Entry o2) {
109 public ArrayList<Entry> process (String inputFileOrDir, String outputRoot) throws Exception { in process()
116 public ArrayList<Entry> process (File inputFileOrDir, File outputRoot) throws Exception { in process()
127 public ArrayList<Entry> process (File[] files, File outputRoot) throws Exception { in process()
131 LinkedHashMap<File, ArrayList<Entry>> dirToEntries = new LinkedHashMap(); in process()
134 ArrayList<Entry> allEntries = new ArrayList(); in process()
135 for (java.util.Map.Entry<File, ArrayList<Entry>> mapEntry : dirToEntries.entrySet()) { in process()
136 ArrayList<Entry> dirEntries = mapEntry.getValue(); in process()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DMapsCollectionTest.java50 import java.util.Map.Entry;
71 protected SortedMap<String, String> create(Entry<String, String>[] entries) { in suite()
85 protected BiMap<String, String> create(Entry<String, String>[] entries) { in suite()
87 for (Entry<String, String> entry : entries) { in suite()
106 public SampleElements<Entry<String, Integer>> samples() { in suite()
107 return new SampleElements<Entry<String, Integer>>( in suite()
119 Entry<?, ?> entry = (Entry<?, ?>) e; in suite()
133 public Entry<String, Integer>[] createArray(int length) { in suite()
134 return new Entry[length]; in suite()
138 public Iterable<Entry<String, Integer>> order( in suite()
[all …]
/external/guava/guava/src/com/google/common/collect/
DMultisets.java29 import com.google.common.collect.Multiset.Entry;
121 transient Set<Multiset.Entry<E>> entrySet;
124 @Override public Set<Multiset.Entry<E>> entrySet() { in entrySet()
125 Set<Multiset.Entry<E>> es = entrySet; in entrySet()
211 public static <E> Multiset.Entry<E> immutableEntry(@Nullable E e, int n) { in immutableEntry()
298 Set<Entry<E>> createEntrySet() { in createEntrySet()
299 return Sets.filter(unfiltered.entrySet(), new Predicate<Entry<E>>() { in createEntrySet()
301 public boolean apply(Entry<E> entry) { in createEntrySet()
308 Iterator<Entry<E>> entryIterator() { in entryIterator()
407 Iterator<Entry<E>> entryIterator() {
[all …]
DForwardingNavigableMap.java62 public Entry<K, V> lowerEntry(K key) { in lowerEntry()
71 protected Entry<K, V> standardLowerEntry(K key) { in standardLowerEntry()
90 public Entry<K, V> floorEntry(K key) { in floorEntry()
99 protected Entry<K, V> standardFloorEntry(K key) { in standardFloorEntry()
118 public Entry<K, V> ceilingEntry(K key) { in ceilingEntry()
127 protected Entry<K, V> standardCeilingEntry(K key) { in standardCeilingEntry()
146 public Entry<K, V> higherEntry(K key) { in higherEntry()
155 protected Entry<K, V> standardHigherEntry(K key) { in standardHigherEntry()
174 public Entry<K, V> firstEntry() { in firstEntry()
183 protected Entry<K, V> standardFirstEntry() { in standardFirstEntry()
[all …]
DForwardingSortedMultiset.java107 public Entry<E> firstEntry() { in firstEntry()
117 protected Entry<E> standardFirstEntry() { in standardFirstEntry()
118 Iterator<Entry<E>> entryIterator = entrySet().iterator(); in standardFirstEntry()
122 Entry<E> entry = entryIterator.next(); in standardFirstEntry()
127 public Entry<E> lastEntry() { in lastEntry()
138 protected Entry<E> standardLastEntry() { in standardLastEntry()
139 Iterator<Entry<E>> entryIterator = descendingMultiset() in standardLastEntry()
145 Entry<E> entry = entryIterator.next(); in standardLastEntry()
150 public Entry<E> pollFirstEntry() { in pollFirstEntry()
160 protected Entry<E> standardPollFirstEntry() { in standardPollFirstEntry()
[all …]
/external/protobuf/java/src/main/java/com/google/protobuf/
DSmallSortedMap.java106 final Map.Entry<FieldDescriptorType, Object> entry = in newFieldMap()
113 for (Map.Entry<FieldDescriptorType, Object> entry : in newFieldMap()
141 private List<Entry> entryList;
184 public Map.Entry<K, V> getArrayEntryAt(int index) {
194 public Iterable<Map.Entry<K, V>> getOverflowEntries() {
196 EmptySet.<Map.Entry<K, V>>iterable() :
252 final Entry lastEntryInArray = entryList.remove(maxArraySize - 1); in put()
256 entryList.add(insertionPoint, new Entry(key, value)); in put()
301 final Iterator<Map.Entry<K, V>> iterator = in removeArrayEntryAt()
303 entryList.add(new Entry(iterator.next())); in removeArrayEntryAt()
[all …]
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfStringPool.cpp26 auto &Entry = I.first->second; in getEntry() local
27 Entry.Index = Pool.size() - 1; in getEntry()
28 Entry.Offset = NumBytes; in getEntry()
29 Entry.Symbol = ShouldCreateSymbols ? Asm.createTempSymbol(Prefix) : nullptr; in getEntry()
32 assert(NumBytes > Entry.Offset && "Unexpected overflow"); in getEntry()
52 for (const auto &Entry : Entries) { in emit() local
53 assert(ShouldCreateSymbols == static_cast<bool>(Entry->getValue().Symbol) && in emit()
58 Asm.OutStreamer->EmitLabel(Entry->getValue().Symbol); in emit()
62 Twine(Entry->getValue().Offset)); in emit()
64 StringRef(Entry->getKeyData(), Entry->getKeyLength() + 1)); in emit()
[all …]
/external/skia/tests/
DDynamicHashTest.cpp13 struct Entry { struct
17 static const int& GetKey(const Entry& entry) { return entry.key; } in GetKey() argument
22 class Hash : public SkTDynamicHash<Entry, int> {
31 typedef SkTDynamicHash<Entry, int> INHERITED;
39 Entry a = { 1, 2.0 }; in DEF_TEST()
40 Entry b = { 2, 3.0 }; in DEF_TEST()
41 Entry c = { 3, 4.0 }; in DEF_TEST()
42 Entry d = { 4, 5.0 }; in DEF_TEST()
43 Entry e = { 5, 6.0 }; in DEF_TEST()
68 Entry a = { 1, 2.0 }; in DEF_TEST()
[all …]
/external/lldb/include/lldb/DataFormatters/
DFormatCache.h27 struct Entry struct
36 Entry (); argument
37 Entry (const Entry& rhs);
38 Entry (lldb::TypeSummaryImplSP);
39 Entry (lldb::SyntheticChildrenSP);
40 Entry (lldb::TypeSummaryImplSP,lldb::SyntheticChildrenSP);
42 Entry& operator= (const Entry& rhs); argument
62 typedef std::map<ConstString,Entry> CacheMap;
69 Entry&

12345678910>>...54