/frameworks/compile/mclinker/include/mcld/Target/ |
D | ELFDynamic.tcc | 12 Entry<32, true>::Entry() { in Entry() function in Entry 17 Entry<32, true>::~Entry() { in ~Entry() 20 void Entry<32, true>::setValue(uint64_t pTag, uint64_t pValue) { in setValue() 25 size_t Entry<32, true>::emit(uint8_t* pAddress) const { in emit() 34 Entry<64, true>::Entry() { in Entry() function in Entry 39 Entry<64, true>::~Entry() { in ~Entry() 42 void Entry<64, true>::setValue(uint64_t pTag, uint64_t pValue) { in setValue() 47 size_t Entry<64, true>::emit(uint8_t* pAddress) const { in emit()
|
D | ELFDynamic.h | 47 class Entry {}; 50 class Entry<32, true> : public EntryIF { 58 inline Entry(); 60 inline ~Entry(); 62 Entry* clone() const { return new Entry(); } in clone() 81 class Entry<64, true> : public EntryIF { 89 inline Entry(); 91 inline ~Entry(); 93 Entry* clone() const { return new Entry(); } in clone()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | DropBoxTest.java | 68 DropBoxManager.Entry e0 = dropbox.getNextEntry("DropBoxTest", before); in testAddText() 69 DropBoxManager.Entry e1 = dropbox.getNextEntry("DropBoxTest", e0.getTimeMillis()); in testAddText() 70 DropBoxManager.Entry e2 = dropbox.getNextEntry("DropBoxTest", e1.getTimeMillis()); in testAddText() 95 DropBoxManager.Entry e = dropbox.getNextEntry("DropBoxTest", before); 141 DropBoxManager.Entry e0 = dropbox.getNextEntry("DropBoxTest", before); 142 DropBoxManager.Entry e1 = dropbox.getNextEntry("DropBoxTest", e0.getTimeMillis()); 143 DropBoxManager.Entry e2 = dropbox.getNextEntry("DropBoxTest", e1.getTimeMillis()); 144 DropBoxManager.Entry e3 = dropbox.getNextEntry("DropBoxTest", e2.getTimeMillis()); 203 DropBoxManager.Entry e0 = dropbox.getNextEntry(null, before); in testAddEntriesInTheFuture() 204 DropBoxManager.Entry e1 = dropbox.getNextEntry(null, e0.getTimeMillis()); in testAddEntriesInTheFuture() [all …]
|
/frameworks/base/core/java/android/net/ |
D | NetworkStats.java | 88 public static class Entry { class in NetworkStats 99 public Entry() { in Entry() method in NetworkStats.Entry 103 public Entry(long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) { in Entry() method in NetworkStats.Entry 108 public Entry(String iface, int uid, int set, int tag, long rxBytes, long rxPackets, in Entry() method in NetworkStats.Entry 130 public void add(Entry another) { in add() 155 if (o instanceof Entry) { in equals() 156 final Entry e = (Entry) o; in equals() 229 NetworkStats.Entry entry = null; in clone() 247 return addValues(new Entry( in addValues() 255 public NetworkStats addValues(Entry entry) { in addValues() [all …]
|
/frameworks/compile/mclinker/include/mcld/ADT/ |
D | HashBase.tcc | 130 if (bucket_type::getEmptyBucket() == bucket.Entry) { in lookUpBucketFor() 140 if (bucket_type::getTombstone() == bucket.Entry) { in lookUpBucketFor() 145 if (bucket.Entry->compare(pKey)) { in lookUpBucketFor() 171 if (bucket_type::getEmptyBucket() == bucket.Entry) in findKey() 174 if (bucket_type::getTombstone() == bucket.Entry) { in findKey() 178 if (bucket.Entry->compare(pKey)) in findKey() 213 if (IB->Entry != bucket_type::getEmptyBucket() && in doRehash() 214 IB->Entry != bucket_type::getTombstone()) { in doRehash() 218 if (bucket_type::getEmptyBucket() == new_table[new_bucket].Entry) { in doRehash() 219 new_table[new_bucket].Entry = IB->Entry; in doRehash() [all …]
|
D | HashTable.tcc | 29 if (bucket_type::getEmptyBucket() != BaseTy::m_Buckets[i].Entry && in ~HashTable() 30 bucket_type::getTombstone() != BaseTy::m_Buckets[i].Entry) { in ~HashTable() 31 m_EntryFactory.destroy(BaseTy::m_Buckets[i].Entry); in ~HashTable() 45 if (bucket_type::getEmptyBucket() != BaseTy::m_Buckets[i].Entry) { in clear() 46 if (bucket_type::getTombstone() != BaseTy::m_Buckets[i].Entry) { in clear() 47 m_EntryFactory.destroy(BaseTy::m_Buckets[i].Entry); in clear() 49 BaseTy::m_Buckets[i].Entry = bucket_type::getEmptyBucket(); in clear() 69 entry_type* entry = bucket.Entry; in insert() 81 entry = bucket.Entry = m_EntryFactory.produce(pKey); in insert() 103 m_EntryFactory.destroy(bucket.Entry); in erase() [all …]
|
D | HashIterator.h | 38 if (bucket_type::getTombstone() == bucket.Entry) { in ChainIteratorBase() 41 if (bucket.Entry->compare(pKey)) { in ChainIteratorBase() 86 return m_pHashTable->m_Buckets[m_Index].Entry; in getEntry() 92 return m_pHashTable->m_Buckets[m_Index].Entry; in getEntry() 118 if (bucket_type::getTombstone() == bucket.Entry || in advance() 119 bucket_type::getEmptyBucket() == bucket.Entry) { in advance() 190 return m_pHashTable->m_Buckets[m_Index].Entry; in getEntry() 196 return m_pHashTable->m_Buckets[m_Index].Entry; in getEntry() 214 m_pHashTable->m_Buckets[m_Index].Entry || in advance() 216 m_pHashTable->m_Buckets[m_Index].Entry); in advance()
|
/frameworks/base/core/java/android/os/ |
D | DropBoxManager.java | 86 public static class Entry implements Parcelable, Closeable { class in DropBoxManager 95 public Entry(String tag, long millis) { in Entry() method in DropBoxManager.Entry 106 public Entry(String tag, long millis, String text) { in Entry() method in DropBoxManager.Entry 121 public Entry(String tag, long millis, byte[] data, int flags) { in Entry() method in DropBoxManager.Entry 138 public Entry(String tag, long millis, ParcelFileDescriptor data, int flags) { in Entry() method in DropBoxManager.Entry 155 public Entry(String tag, long millis, File data, int flags) throws IOException { in Entry() method in DropBoxManager.Entry 219 public static final Parcelable.Creator<Entry> CREATOR = new Parcelable.Creator() { 220 public Entry[] newArray(int size) { return new Entry[size]; } 221 public Entry createFromParcel(Parcel in) { 226 return new Entry(tag, millis, in.createByteArray(), flags & ~HAS_BYTE_ARRAY); [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationData.java | 44 public static final class Entry { class in NotificationData 57 public Entry(StatusBarNotification n, StatusBarIconView ic) { in Entry() method in NotificationData.Entry 110 private final ArrayMap<String, Entry> mEntries = new ArrayMap<>(); 111 private final ArrayList<Entry> mSortedAndFiltered = new ArrayList<>(); 122 private final Comparator<Entry> mRankingComparator = new Comparator<Entry>() { 127 public int compare(Entry a, Entry b) { 186 public ArrayList<Entry> getActiveNotifications() { in getActiveNotifications() 190 public Entry get(String key) { in get() 194 public void add(Entry entry, RankingMap ranking) { in add() 200 public Entry remove(String key, RankingMap ranking) { in remove() [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | AttributeCache.java | 46 private final SparseArray<HashMap<int[], Entry>> mMap 47 = new SparseArray<HashMap<int[], Entry>>(); 54 public final static class Entry { class in AttributeCache 58 public Entry(Context c, TypedArray ta) { in Entry() method in AttributeCache.Entry 98 public Entry get(String packageName, int resId, int[] styleable, int userId) { in get() 101 HashMap<int[], Entry> map = null; in get() 102 Entry ent = null; in get() 127 map = new HashMap<int[], Entry>(); in get() 132 ent = new Entry(pkg.context, in get()
|
/frameworks/base/rs/java/android/renderscript/ |
D | Mesh.java | 193 class Entry { class in Mesh.Builder 202 Entry[] mVertexTypes; 217 mVertexTypes = new Entry[16]; in Builder() 252 mVertexTypes[mVertexTypeCount] = new Entry(); in addVertexType() 273 mVertexTypes[mVertexTypeCount] = new Entry(); in addVertexType() 291 Entry indexType = new Entry(); in addIndexSetType() 309 Entry indexType = new Entry(); in addIndexSetType() 329 Entry indexType = new Entry(); in addIndexSetType() 361 Entry entry = mVertexTypes[ct]; in create() 376 Entry entry = (Entry)mIndexTypes.elementAt(ct); in create() [all …]
|
/frameworks/base/core/tests/coretests/src/android/net/ |
D | NetworkStatsHistoryTest.java | 26 import static android.net.NetworkStatsHistory.Entry.UNKNOWN; 69 NetworkStatsHistory.Entry entry = null; in testReadOriginalVersion() 97 new NetworkStats.Entry(1024L, 10L, 2048L, 20L, 2L)); in testRecordSingleBucket() 110 new NetworkStats.Entry(1024L, 10L, 128L, 2L, 2L)); in testRecordEqualBuckets() 126 new NetworkStats.Entry(1000L, 2000L, 5000L, 10000L, 100L)); in testRecordTouchingBuckets() 145 new NetworkStats.Entry(128L, 2L, 256L, 4L, 1L)); in testRecordGapBuckets() 147 new NetworkStats.Entry(64L, 1L, 512L, 8L, 2L)); in testRecordGapBuckets() 158 new NetworkStats.Entry(2048L, 4L, 2048L, 4L, 2L)); in testRecordGapBuckets() 174 new NetworkStats.Entry(256L, 2L, 256L, 2L, 1L)); in testRecordOverlapBuckets() 177 new NetworkStats.Entry(1024L, 10L, 1024L, 10L, 10L)); in testRecordOverlapBuckets() [all …]
|
/frameworks/base/tools/aapt2/ |
D | StringPool.h | 50 class Entry; variable 68 Ref(Entry* entry); 70 Entry* mEntry; 96 class Entry { 127 using const_iterator = std::vector<std::unique_ptr<Entry>>::const_iterator; 185 void sort(const std::function<bool(const Entry&, const Entry&)>& cmp); 200 std::vector<std::unique_ptr<Entry>> mStrings; 202 std::multimap<StringPiece16, Entry*> mIndexedStrings;
|
/frameworks/volley/src/test/java/com/android/volley/mock/ |
D | MockCache.java | 30 private Entry mFakeEntry = null; 32 public void setEntryToReturn(Entry entry) { in setEntryToReturn() 37 public Entry get(String key) { in get() 44 public Entry entryPut = null; 47 public void put(String key, Entry entry) { in put()
|
/frameworks/base/tools/aapt/tests/ |
D | ResourceTable_test.cpp | 38 configs->addEntry(defaultConfig, new ResourceTable::Entry(String16(), SourcePos())); in TEST() 39 configs->addEntry(landConfig, new ResourceTable::Entry(String16(), SourcePos())); in TEST() 40 configs->addEntry(sw600dpLandConfig, new ResourceTable::Entry(String16(), SourcePos())); in TEST() 58 configs->addEntry(defaultConfig, new ResourceTable::Entry(String16(), SourcePos())); in TEST() 59 configs->addEntry(v21Config, new ResourceTable::Entry(String16(), SourcePos())); in TEST() 60 configs->addEntry(sw600dpV13Config, new ResourceTable::Entry(String16(), SourcePos())); in TEST()
|
/frameworks/ml/bordeaux/learning/predictor_histogram/java/android/bordeaux/learning/ |
D | HistogramPredictor.java | 35 import java.util.Map.Entry; 124 for(Map.Entry<String, Integer> entry : in getClassScores() 188 for (Map.Entry<String, HashMap<String, Integer> > entry : in toString() 202 public List<Map.Entry<String, Double> > findTopClasses(Map<String, String> features, int topK) { in findTopClasses() 208 for (Map.Entry<String, HistogramCounter> entry : mPredictor.entrySet()) { in findTopClasses() 221 for (Map.Entry<String, Double> item : scoreMap.entrySet()) { in findTopClasses() 233 for (Map.Entry<String, Double> entry : appScores.entrySet()) { in findTopClasses() 255 List<Map.Entry<String, Double> > appList = in findTopClasses() 256 new ArrayList<Map.Entry<String, Double> >(appCandidates.size()); in findTopClasses() 258 Collections.sort(appList, new Comparator<Map.Entry<String, Double> >() { in findTopClasses() [all …]
|
/frameworks/base/graphics/java/android/graphics/ |
D | Atlas.java | 59 public static class Entry { class in Atlas 115 public Entry pack(int width, int height) { in pack() 132 public Entry pack(int width, int height, Entry entry) { in pack() 133 if (entry == null) entry = new Entry(); in pack() 159 abstract Entry pack(int width, int height, Entry entry); in pack() 273 Entry pack(int width, int height, Entry entry) { in pack() 356 private boolean insert(Cell cell, Cell prev, int width, int height, Entry entry) { in insert()
|
/frameworks/compile/mclinker/lib/Target/X86/ |
D | X86PLT.h | 59 class X86_32DynPLT0 : public PLT::Entry<sizeof(x86_32_dyn_plt0)> { 64 class X86_32DynPLT1 : public PLT::Entry<sizeof(x86_32_dyn_plt1)> { 69 class X86_32ExecPLT0 : public PLT::Entry<sizeof(x86_32_exec_plt0)> { 74 class X86_32ExecPLT1 : public PLT::Entry<sizeof(x86_32_exec_plt1)> { 82 class X86_64PLT0 : public PLT::Entry<sizeof(x86_64_plt0)> { 87 class X86_64PLT1 : public PLT::Entry<sizeof(x86_64_plt1)> {
|
D | X86GOT.h | 22 class X86_32GOTEntry : public GOT::Entry<4> { 25 : GOT::Entry<4>(pContent, pParent) {} in X86_32GOTEntry() 44 class X86_64GOTEntry : public GOT::Entry<8> { 47 : GOT::Entry<8>(pContent, pParent) {} in X86_64GOTEntry()
|
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/ |
D | StackOverflowXmlParser.java | 37 public List<Entry> parse(InputStream in) throws XmlPullParserException, IOException { in parse() 49 private List<Entry> readFeed(XmlPullParser parser) throws XmlPullParserException, IOException { in readFeed() 50 List<Entry> entries = new ArrayList<Entry>(); in readFeed() 70 public static class Entry { class in StackOverflowXmlParser 75 private Entry(String title, String summary, String link) { in Entry() method in StackOverflowXmlParser.Entry 85 private Entry readEntry(XmlPullParser parser) throws XmlPullParserException, IOException { in readEntry() 105 return new Entry(title, summary, link); in readEntry()
|
/frameworks/base/libs/hwui/ |
D | AssetAtlas.h | 51 class Entry { 85 Entry(SkPixelRef* pixelRef, Texture* texture, const UvMapper& mapper, in Entry() function 93 ~Entry() { in ~Entry() 153 Entry* getEntry(const SkBitmap* bitmap) const; 171 KeyedVector<const SkPixelRef*, Entry*> mEntries;
|
/frameworks/volley/src/test/java/com/android/volley/toolbox/ |
D | HttpHeaderParserTest.java | 55 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_noHeaders() 68 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_headersSet() 79 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_etag() 91 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_normalExpire() 106 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_expiresInPast() 123 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_serverRelative() 135 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_cacheControlOverridesExpires() 153 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in testParseCacheHeaders_staleWhileRevalidate() 167 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_cacheControlNoCache() 178 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_cacheControlMustRevalidateNoMaxAge() [all …]
|
/frameworks/support/v4/java/android/support/v4/util/ |
D | MapCollections.java | 71 final class MapIterator implements Iterator<Map.Entry<K, V>>, Map.Entry<K, V> { 87 public Map.Entry<K, V> next() { in next() 137 if (!(o instanceof Map.Entry)) { in equals() 140 Map.Entry<?, ?> e = (Map.Entry<?, ?>) o; in equals() 163 final class EntrySet implements Set<Map.Entry<K, V>> { 165 public boolean add(Map.Entry<K, V> object) { in add() 170 public boolean addAll(Collection<? extends Map.Entry<K, V>> collection) { in addAll() 172 for (Map.Entry<K, V> entry : collection) { in addAll() 185 if (!(o instanceof Map.Entry)) in contains() 187 Map.Entry<?, ?> e = (Map.Entry<?, ?>) o; in contains() [all …]
|
/frameworks/base/core/java/android/util/ |
D | MapCollections.java | 73 final class MapIterator implements Iterator<Map.Entry<K, V>>, Map.Entry<K, V> { 89 public Map.Entry<K, V> next() { in next() 139 if (!(o instanceof Map.Entry)) { in equals() 142 Map.Entry<?, ?> e = (Map.Entry<?, ?>) o; in equals() 165 final class EntrySet implements Set<Map.Entry<K, V>> { 167 public boolean add(Map.Entry<K, V> object) { in add() 172 public boolean addAll(Collection<? extends Map.Entry<K, V>> collection) { in addAll() 174 for (Map.Entry<K, V> entry : collection) { in addAll() 187 if (!(o instanceof Map.Entry)) in contains() 189 Map.Entry<?, ?> e = (Map.Entry<?, ?>) o; in contains() [all …]
|
/frameworks/volley/src/test/java/com/android/volley/utils/ |
D | CacheTestUtils.java | 17 public static Cache.Entry makeRandomCacheEntry( in makeRandomCacheEntry() 20 Cache.Entry entry = new Cache.Entry(); in makeRandomCacheEntry() 37 public static Cache.Entry makeRandomCacheEntry(byte[] data) { in makeRandomCacheEntry()
|