/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
ForwardingImmutableMap.java | 41 ForwardingImmutableMap(Entry<? extends K, ? extends V>... entries) { 43 for (Entry<? extends K, ? extends V> entry : entries) { 44 K key = checkNotNull(entry.getKey()); 45 V previous = delegate.put(key, checkNotNull(entry.getValue())); 73 @Override ImmutableSet<Entry<K, V>> createEntrySet() { 75 new ForwardingSet<Entry<K, V>>() { 76 @Override protected Set<Entry<K, V>> delegate() { 80 if (object instanceof Entry<?, ?> 81 && ((Entry<?, ?>) object).getKey() == null) [all...] |
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
MapHashCodeTester.java | 40 for (Map.Entry<K, V> entry : getSampleEntries()) { 41 expectedHashCode += hash(entry); 51 Map.Entry<K, V> entryWithNull = entry(null, samples.e3.getValue()); 58 Map.Entry<K, V> entryWithNull = entry(samples.e3.getKey(), null); 62 private void runEntryWithNullTest(Map.Entry<K, V> entryWithNull) { 63 Collection<Map.Entry<K, V>> entries = getSampleEntries(getNumEntries() - 1); 68 for (Map.Entry<K, V> entry : entries) [all...] |
MapCreationTester.java | 35 import java.util.Map.Entry; 84 Entry<K, V>[] entries = createSamplesArray(); 85 entries[getNullLocation()] = entry(null, null); 106 Entry<K, V>[] entries = getEntriesMultipleNullKeys(); 117 Entry<K, V>[] entries = getEntriesMultipleNonNullKeys(); 125 private Entry<K, V>[] getEntriesMultipleNullKeys() { 126 Entry<K, V>[] entries = createArrayWithNullKey(); 127 entries[0] = entry(null, entries[0].getValue()); 131 private Entry<K, V>[] getEntriesMultipleNonNullKeys() { 132 Entry<K, V>[] entries = createSamplesArray() [all...] |
MapEqualsTester.java | 31 import java.util.Map.Entry; 50 Entry<K, V> e3 = getSubjectGenerator().samples().e3; 61 Collection<Map.Entry<K, V>> entries = getSampleEntries(getNumEntries() - 1); 62 entries.add(entry(null, samples.e3.getValue())); method 72 Collection<Map.Entry<K, V>> entries = getSampleEntries(getNumEntries() - 1); 73 entries.add(entry(null, samples.e3.getValue())); method 85 Collection<Map.Entry<K, V>> entries = getSampleEntries(getNumEntries() - 1); 86 entries.add(entry(samples.e3.getKey(), null)); method 96 Collection<Map.Entry<K, V>> entries = getSampleEntries(getNumEntries() - 1); 97 entries.add(entry(samples.e3.getKey(), null)) method [all...] |
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/piff/ |
TfrfBox.java | 38 public List<Entry> entries = new ArrayList<Entry>();
60 for (Entry entry : entries) {
62 IsoTypeWriter.writeUInt64(byteBuffer, entry.fragmentAbsoluteTime);
63 IsoTypeWriter.writeUInt64(byteBuffer, entry.fragmentAbsoluteDuration);
65 IsoTypeWriter.writeUInt32(byteBuffer, entry.fragmentAbsoluteTime);
66 IsoTypeWriter.writeUInt32(byteBuffer, entry.fragmentAbsoluteDuration);
77 Entry entry = new Entry(); local [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
OldMapEntryTest.java | 28 Map.Entry me = null; 75 me = (Map.Entry)i.next(); 89 Map.Entry me1 = (Map.Entry)i.next(); 97 Map.Entry me1 = (Map.Entry)i.next(); 108 me = (Map.Entry)i.next();
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
CachingIconLoader.java | 43 private final WeakHashMap<String, Entry> mIconCache; 52 mIconCache = new WeakHashMap<String, Entry>(); 60 Entry newEntry = null; 65 newEntry = new Entry(); 94 private synchronized void storeInIconCache(String resourceUri, Entry drawable) { 100 private static class Entry extends CachedLater<Drawable.ConstantState> 106 public Entry() {
|
ListSuggestionCursor.java | 37 private final ArrayList<Entry> mSuggestions; 57 mSuggestions = new ArrayList<Entry>(capacity); 66 mSuggestions.add(new Entry(suggestion)); 97 mSuggestions.set(mPos, new Entry(suggestion)); 146 for (Entry e : mSuggestions) { 163 private static class Entry { 166 public Entry(Suggestion s) {
|
/external/google-breakpad/src/common/ |
simple_string_dictionary.h | 49 // The actual map storage (the Entry) is guaranteed to be POD, so that it can 55 // ValueSize-1 characters in an entry. NumEntries is the total number of 65 // An Entry object is a single entry in the map. If the key is a 0-length 66 // NUL-terminated string, the entry is empty. 67 struct Entry { 85 // Returns the next entry in the map, or NULL if at the end of the 87 const Entry* Next() { 89 const Entry* entry = &map_.entries_[current_++] local 150 const Entry* entry = GetConstEntryForKey(key); local [all...] |
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/ |
MapCreationTester.java | 32 import java.util.Map.Entry; 81 Entry<K, V>[] entries = createSamplesArray(); 82 entries[getNullLocation()] = entry(null, null); 103 Entry<K, V>[] entries = getEntriesMultipleNullKeys(); 114 Entry<K, V>[] entries = getEntriesMultipleNonNullKeys(); 122 private Entry<K, V>[] getEntriesMultipleNullKeys() { 123 Entry<K, V>[] entries = createArrayWithNullKey(); 124 entries[0] = entry(null, entries[0].getValue()); 128 private Entry<K, V>[] getEntriesMultipleNonNullKeys() { 129 Entry<K, V>[] entries = createSamplesArray() [all...] |
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/samplegrouping/ |
RateShareEntry.java | 52 private List<Entry> entries = new LinkedList<Entry>(); 66 entries.add(new Entry(l2i(IsoTypeReader.readUInt32(byteBuffer)), byteBuffer.getShort())); 81 for (Entry entry : entries) { 82 buf.putInt(entry.getAvailableBitrate()); 83 buf.putShort(entry.getTargetRateShare()); 93 public static class Entry { 94 public Entry(int availableBitrate, short targetRateShare) { 135 Entry entry = (Entry) o local [all...] |
/external/skia/src/core/ |
SkDescriptor.h | 20 return sizeof(SkDescriptor) + entryCount * sizeof(Entry); 45 Entry* entry = (Entry*)((char*)this + fLength); local 46 entry->fTag = tag; 47 entry->fLen = SkToU32(length); 49 memcpy(entry + 1, data, length); 53 fLength = SkToU32(fLength + sizeof(Entry) + length); 54 return (entry + 1); // return its data 68 const Entry* entry = (const Entry*)(this + 1) local [all...] |
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
PercentageBarChart.java | 33 * {@link Entry}. 38 private Collection<Entry> mEntries; 42 public static class Entry implements Comparable<Entry> { 47 protected Entry(int order, float percentage, Paint paint) { 54 public int compareTo(Entry another) { 87 for (final Entry e : mEntries) { 111 for (final Entry e : mEntries) { 148 * @param color the color to draw the entry 150 public static Entry createEntry(int order, float percentage, int color) [all...] |
/external/guava/guava/src/com/google/common/collect/ |
Multisets.java | 29 import com.google.common.collect.Multiset.Entry; 121 transient Set<Multiset.Entry<E>> entrySet; 124 @Override public Set<Multiset.Entry<E>> entrySet() { 125 Set<Multiset.Entry<E>> es = entrySet; 127 // Safe because the returned set is made unmodifiable and Entry 204 * Returns an immutable multiset entry with the specified element and count. 205 * The entry will be serializable if {@code e} is. 207 * @param e the element to be associated with the returned entry 208 * @param n the count to be associated with the returned entry 211 public static <E> Multiset.Entry<E> immutableEntry(@Nullable E e, int n) [all...] |
/external/guava/guava/src/com/google/common/cache/ |
RemovalNotification.java | 25 import java.util.Map.Entry; 30 * A notification of the removal of a single entry. The key and/or value may be null if they were 33 * <p>Like other {@code Map.Entry} instances associated with {@code CacheBuilder}, this class holds 42 public final class RemovalNotification<K, V> implements Entry<K, V> { 54 * Returns the cause for which the entry was removed. 81 if (object instanceof Entry) { 82 Entry<?, ?> that = (Entry<?, ?>) object;
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/ |
SilenceTrackImpl.java | 20 TimeToSampleBox.Entry entry; field in class:SilenceTrackImpl 27 entry = new TimeToSampleBox.Entry(numFrames, standZeit); 45 public List<TimeToSampleBox.Entry> getDecodingTimeEntries() { 46 return Collections.singletonList(entry); 86 public List<CompositionTimeToSample.Entry> getCompositionTimeEntries() { 94 public List<SampleDependencyTypeBox.Entry> getSampleDependencies() {
|
/frameworks/base/tools/aapt2/ |
Format.proto | 60 repeated Entry entries = 3; 74 message Entry { 137 message Entry { 146 repeated Entry entries = 3; 150 message Entry { 155 repeated Entry entries = 1; 159 message Entry { 164 repeated Entry entries = 1; 177 message Entry { 183 repeated Entry entries = 1 [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
WidgetDatabaseHelper.java | 68 public static class Entry { 76 private Entry() {} 78 private Entry(int id, Cursor cursor) { 90 private Entry(Cursor cursor) { 110 private void saveData(SQLiteDatabase db, int oldVersion, ArrayList<Entry> data) { 118 Entry entry = new Entry(); local 119 entry.type = TYPE_SINGLE_PHOTO; 120 entry.widgetId = cursor.getInt(0) 134 Entry entry = new Entry(); local [all...] |
/libcore/ojluni/src/main/java/sun/misc/ |
SoftCache.java | 46 * <code>SoftCache</code> entry is no longer strongly reachable, then it may 47 * remove that entry in order to release the memory occupied by the value 95 * key set, the value set, and the entry set to yield successively smaller 250 * invoked by the <code>get</code> method when there is no entry for 351 private class Entry implements Map.Entry { 352 private Map.Entry ent; 354 from flushing the value while this Entry 357 Entry(Map.Entry ent, Object value) [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/code/ |
LocalList.java | 31 * List of local variables. Each local variable entry indicates a 59 public Entry get(int n) { 60 return (Entry) get0(n); 64 * Sets the entry at the given index. 67 * @param entry {@code non-null;} the entry to set at {@code n} 69 public void set(int n, Entry entry) { 70 set0(n, entry); 89 * Disposition of a local entry 754 Entry entry; local [all...] |
/dalvik/dx/src/com/android/dx/dex/code/ |
LocalList.java | 30 * List of local variables. Each local variable entry indicates a 58 public Entry get(int n) { 59 return (Entry) get0(n); 63 * Sets the entry at the given index. 66 * @param entry {@code non-null;} the entry to set at {@code n} 68 public void set(int n, Entry entry) { 69 set0(n, entry); 88 * Disposition of a local entry 750 Entry entry; local [all...] |
/external/dexmaker/src/dx/java/com/android/dx/dex/code/ |
LocalList.java | 31 * List of local variables. Each local variable entry indicates a 59 public Entry get(int n) { 60 return (Entry) get0(n); 64 * Sets the entry at the given index. 67 * @param entry {@code non-null;} the entry to set at {@code n} 69 public void set(int n, Entry entry) { 70 set0(n, entry); 89 * Disposition of a local entry 754 Entry entry; local [all...] |
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
trie_map.cpp | 37 const TrieMap::Entry TrieMap::EMPTY_BITMAP_ENTRY = TrieMap::Entry(0, 0); 38 const int TrieMap::TERMINAL_LINKED_ENTRY_COUNT = 2; // Value entry and bitmap entry. 54 AKLOGI("Entry[%d]: %x, %x", i, readField0(i), readField1(i)); 68 const Entry bitmapEntry = readEntry(bitmapEntryIndex); 76 const Entry terminalEntry = readEntry(terminalEntryIndex); 80 // Create a value entry and a bitmap entry. 85 if (!writeEntry(Entry(0, terminalEntry.getValue()), valueEntryIndex)) 158 const Entry entry = readEntry(entryIndex); local 258 const Entry entry = readEntry(entryIndex); local 321 const Entry entry = readEntry(entryIndex); local 435 const Entry entry = readEntry(entryIndex); local [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
DropBoxTest.java | 70 DropBoxManager.Entry e0 = dropbox.getNextEntry("DropBoxTest", before); 71 DropBoxManager.Entry e1 = dropbox.getNextEntry("DropBoxTest", e0.getTimeMillis()); 72 DropBoxManager.Entry e2 = dropbox.getNextEntry("DropBoxTest", e1.getTimeMillis()); 99 DropBoxManager.Entry e = dropbox.getNextEntry("DropBoxTest", before); 145 DropBoxManager.Entry e0 = dropbox.getNextEntry("DropBoxTest", before); 146 DropBoxManager.Entry e1 = dropbox.getNextEntry("DropBoxTest", e0.getTimeMillis()); 147 DropBoxManager.Entry e2 = dropbox.getNextEntry("DropBoxTest", e1.getTimeMillis()); 148 DropBoxManager.Entry e3 = dropbox.getNextEntry("DropBoxTest", e2.getTimeMillis()); 207 DropBoxManager.Entry e0 = dropbox.getNextEntry(null, before); 208 DropBoxManager.Entry e1 = dropbox.getNextEntry(null, e0.getTimeMillis()) [all...] |
/external/llvm/lib/Target/ARM/ |
Thumb2SizeReduction.cpp | 151 /// ReduceOpcodeMap - Maps wide opcode to index of entry in ReduceTable. 156 bool VerifyPredAndCC(MachineInstr *MI, const ReduceEntry &Entry, 161 const ReduceEntry &Entry); 164 const ReduceEntry &Entry, bool LiveCPSR, bool IsSelfLoop); 169 const ReduceEntry &Entry, bool LiveCPSR, 175 const ReduceEntry &Entry, bool LiveCPSR, 298 Thumb2SizeReduce::VerifyPredAndCC(MachineInstr *MI, const ReduceEntry &Entry, 301 if ((is2Addr && Entry.PredCC2 == 0) || 302 (!is2Addr && Entry.PredCC1 == 0)) { 321 } else if ((is2Addr && Entry.PredCC2 == 2) | [all...] |