/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
IdentityCache.java | 27 private final HashMap<K, Entry<K, V>> mWeakMap = 28 new HashMap<K, Entry<K, V>>(); 34 private static class Entry<K, V> extends WeakReference<V> { 37 public Entry(K key, V value, ReferenceQueue<V> queue) { 44 Entry<K, V> entry = (Entry<K, V>) mQueue.poll(); local 45 while (entry != null) { 46 mWeakMap.remove(entry.mKey); 47 entry = (Entry<K, V>) mQueue.poll() 53 Entry<K, V> entry = mWeakMap.put( local 60 Entry<K, V> entry = mWeakMap.get(key); local [all...] |
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
FatLfnDirectory.java | 93 FatFile getFile(FatDirectoryEntry entry) throws IOException { 94 FatFile file = entryToFile.get(entry); 97 file = FatFile.get(fat, entry); 98 entryToFile.put(entry, file); 104 FatLfnDirectory getDirectory(FatDirectoryEntry entry) throws IOException { 105 FatLfnDirectory result = entryToDirectory.get(entry); 108 final ClusterChainDirectory storage = read(entry, fat); 110 entryToDirectory.put(entry, result); 136 final FatLfnDirectoryEntry entry = local 139 dir.addEntries(entry.compactForm()) 142 longNameIndex.put(name.toLowerCase(), entry); local 230 final FatLfnDirectoryEntry entry = longNameIndex.get(name); local 352 final FatLfnDirectoryEntry entry = getEntry(name); local 408 this.longNameIndex.put(entry.getName().toLowerCase(), entry); local 409 this.shortNameIndex.put(entry.realEntry.getShortName(), entry); local [all...] |
/external/chromium_org/net/http/ |
http_auth_cache_unittest.cc | 82 HttpAuthCache::Entry* entry; local 138 entry = cache.Lookup(origin, kRealm5, HttpAuth::AUTH_SCHEME_BASIC); 139 EXPECT_TRUE(NULL == entry); 142 entry = cache.Lookup(GURL("https://www.google.com"), kRealm3, 144 EXPECT_TRUE(NULL == entry); 147 entry = cache.Lookup 149 EXPECT_TRUE(NULL == entry); 152 entry = cache.Lookup( 154 ASSERT_FALSE(NULL == entry); 243 HttpAuthCache::Entry entry; local 292 HttpAuthCache::Entry* entry = cache.Lookup( local 387 HttpAuthCache::Entry* entry = cache.Lookup( local 463 HttpAuthCache::Entry* entry; local 554 const HttpAuthCache::Entry* entry = local 566 const HttpAuthCache::Entry* entry = local [all...] |
http_cache.cc | 92 HttpCache::ActiveEntry::ActiveEntry(disk_cache::Entry* entry) 93 : disk_entry(entry), 114 disk_cache::Entry* disk_entry; 135 WorkItem(WorkItemOperation operation, Transaction* trans, ActiveEntry** entry) 138 entry_(entry), 150 void NotifyTransaction(int result, ActiveEntry* entry) { 151 DCHECK(!entry || entry->disk_entry); 153 *entry_ = entry; 305 ActiveEntry* entry = active_entries_.begin()->second; local 560 ActiveEntry* entry = it->second; local 632 ActiveEntry* entry = new ActiveEntry(disk_entry); local 1015 ActiveEntry* entry = NULL; local [all...] |
/external/chromium/chrome/browser/history/ |
starred_url_database.cc | 25 // id Unique identifier (primary key) for the entry. 26 // type Type of entry, if 0 this corresponds to a URL, 1 for 35 // parent_id Folder ID of the parent this entry is contained in, if 0 36 // entry is not in a folder. 53 void FillInStarredEntry(const sql::Statement& s, StarredEntry* entry) { 54 DCHECK(entry); 55 entry->id = s.ColumnInt64(0); 58 entry->type = history::StarredEntry::URL; 59 entry->url = GURL(s.ColumnString(6)); 62 entry->type = history::StarredEntry::BOOKMARK_BAR 121 history::StarredEntry entry; local 408 StarredEntry& entry = node->GetChild(i)->value; local 443 StarredEntry entry; local 523 history::StarredEntry& entry = source->value; local [all...] |
starred_url_database_unittest.cc | 31 void CompareEntryByID(const StarredEntry& entry) { 32 DCHECK(entry.id != 0); 34 EXPECT_TRUE(GetStarredEntry(entry.id, &db_value)); 35 EXPECT_EQ(entry.id, db_value.id); 36 EXPECT_TRUE(entry.title == db_value.title); 37 EXPECT_EQ(entry.date_added.ToTimeT(), db_value.date_added.ToTimeT()); 38 EXPECT_EQ(entry.folder_id, db_value.folder_id); 39 EXPECT_EQ(entry.parent_folder_id, db_value.parent_folder_id); 40 EXPECT_EQ(entry.visual_order, db_value.visual_order); 41 EXPECT_EQ(entry.type, db_value.type) 234 StarredEntry entry; local 261 StarredEntry entry; local 269 StarredEntry entry; local [all...] |
/external/chromium/net/http/ |
http_cache.cc | 96 HttpCache::ActiveEntry::ActiveEntry(disk_cache::Entry* entry) 97 : disk_entry(entry), 118 disk_cache::Entry* disk_entry; 139 WorkItem(WorkItemOperation operation, Transaction* trans, ActiveEntry** entry) 140 : operation_(operation), trans_(trans), entry_(entry), callback_(NULL), 149 void NotifyTransaction(int result, ActiveEntry* entry) { 150 DCHECK(!entry || entry->disk_entry); 152 *entry_ = entry; 376 ActiveEntry* entry = active_entries_.begin()->second; local 593 ActiveEntry* entry = it->second; local 652 ActiveEntry* entry = new ActiveEntry(disk_entry); local 1030 ActiveEntry* entry = NULL; local [all...] |
/frameworks/base/core/java/android/net/ |
NetworkStats.java | 74 public static class Entry { 85 public Entry() { 89 public Entry(long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) { 94 public Entry(String iface, int uid, int set, int tag, long rxBytes, long rxPackets, 116 public void add(Entry another) { 141 if (o instanceof Entry) { 142 final Entry e = (Entry) o; 198 NetworkStats.Entry entry = null local 256 final Entry entry = recycle != null ? recycle : new Entry(); local 327 NetworkStats.Entry entry = null; local 423 final Entry entry = getTotal(null); local 463 final Entry entry = recycle != null ? recycle : new Entry(); local 521 final Entry entry = new Entry(); local 572 final Entry entry = new Entry(); local 600 final Entry entry = new Entry(); local 628 Entry entry = new Entry(); local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
u_cache.c | 130 /* Probe until we find either a matching FILLED entry or an EMPTY 160 struct util_cache_entry *entry) 162 void *key = entry->key; 163 void *value = entry->value; 165 entry->key = NULL; 166 entry->value = NULL; 168 if (entry->state == FILLED) { 169 remove_from_list(entry); 175 entry->state = DELETED; 185 struct util_cache_entry *entry; local 220 struct util_cache_entry *entry; local 291 struct util_cache_entry *entry; local [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_cache.c | 130 /* Probe until we find either a matching FILLED entry or an EMPTY 160 struct util_cache_entry *entry) 162 void *key = entry->key; 163 void *value = entry->value; 165 entry->key = NULL; 166 entry->value = NULL; 168 if (entry->state == FILLED) { 169 remove_from_list(entry); 175 entry->state = DELETED; 185 struct util_cache_entry *entry; local 220 struct util_cache_entry *entry; local 291 struct util_cache_entry *entry; local [all...] |
/frameworks/base/services/java/com/android/server/wm/ |
DisplaySettings.java | 46 private final HashMap<String, Entry> mEntries = new HashMap<String, Entry>(); 48 public static class Entry { 55 public Entry(String _name) { 68 Entry entry = mEntries.get(name); local 69 if (entry != null) { 70 outRect.left = entry.overscanLeft; 71 outRect.top = entry.overscanTop; 72 outRect.right = entry.overscanRight 86 Entry entry = mEntries.get(name); local 173 Entry entry = new Entry(name); local [all...] |
/external/smack/src/org/jivesoftware/smack/ |
RosterGroup.java | 76 for (RosterEntry entry : entries) { 79 RosterPacket.Item item = RosterEntry.toRosterItem(entry); 111 * Returns the roster entry associated with the given XMPP address or 112 * <tt>null</tt> if the user is not an entry in the group. 115 * @return the roster entry or <tt>null</tt> if it does not exist in the group. 126 for (RosterEntry entry : entries) { 127 if (entry.getUser().equals(userLowerCase)) { 128 return entry; 136 * Returns true if the specified entry is part of this group. 138 * @param entry a roster entry [all...] |
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/ |
ContactFragment.java | 234 public void onPrimaryAction(ViewEntry entry); 235 public void onSecondaryAction(ViewEntry entry); 245 public void onPrimaryAction(ViewEntry entry) { 246 Intent intent = entry.intent; 256 public void onSecondaryAction(ViewEntry entry) { 257 Intent intent = entry.secondaryIntent; 274 ViewEntry entry = ViewAdapter.getEntry(mSections, position, SHOW_SEPARATORS); local 275 if (entry != null) { 276 mController.onPrimaryAction(entry); 371 final ViewEntry entry = ViewEntry.fromValues(context, mimeType, kind local 552 final ViewEntry entry = new ViewEntry(); local 655 ViewEntry entry; field in class:ContactFragment.ViewCache 665 ViewEntry entry = getEntry(mSections, position, false); local [all...] |
/external/chromium_org/chrome/browser/chromeos/drive/file_system/ |
remove_operation_unittest.cc | 30 ResourceEntry entry; local 32 ASSERT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(file_in_root, &entry)); 38 EXPECT_EQ(FILE_ERROR_NOT_FOUND, GetLocalResourceEntry(file_in_root, &entry)); 42 ASSERT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(file_in_subdir, &entry)); 49 GetLocalResourceEntry(file_in_subdir, &entry)); 54 GetLocalResourceEntry(nonexisting_file, &entry)); 80 ResourceEntry entry; local 87 GetLocalResourceEntry(empty_dir, &entry)); 91 ASSERT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(non_empty_dir, &entry)); 98 GetLocalResourceEntry(non_empty_dir, &entry)); [all...] |
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/ |
EC3TrackImpl.java | 37 List<TimeToSampleBox.Entry> stts = new LinkedList<TimeToSampleBox.Entry>(); 59 for (BitStreamInfo entry : entries) { 60 if (bsi.strmtyp != 1 && entry.substreamid == bsi.substreamid) { 96 EC3SpecificBox.Entry e = new EC3SpecificBox.Entry(); 137 public List<TimeToSampleBox.Entry> getDecodingTimeEntries() { 141 public List<CompositionTimeToSample.Entry> getCompositionTimeEntries() { 149 public List<SampleDependencyTypeBox.Entry> getSampleDependencies() { 183 BitStreamInfo entry = new BitStreamInfo() local [all...] |
/external/chromium_org/content/browser/web_contents/ |
web_contents_screenshot_manager.cc | 78 NavigationEntryImpl* entry = 80 if (!entry) 102 TakeScreenshotImpl(render_view_host, entry); 118 NavigationEntryImpl* entry) { 120 DCHECK(entry); 125 entry->GetUniqueID())); 136 NavigationEntryImpl* entry = NULL; local 141 entry = NavigationEntryImpl::FromNavigationEntry(iter); 146 if (!entry) { 147 LOG(ERROR) << "Invalid entry with unique id: " << unique_id 169 NavigationEntryImpl* entry = local 180 NavigationEntryImpl* entry = NULL; local 235 NavigationEntryImpl* entry = NavigationEntryImpl::FromNavigationEntry( local 243 NavigationEntryImpl* entry = NavigationEntryImpl::FromNavigationEntry( local 254 NavigationEntryImpl* entry = NavigationEntryImpl::FromNavigationEntry( local 262 NavigationEntryImpl* entry = NavigationEntryImpl::FromNavigationEntry( local [all...] |
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
malloc_extension.cc | 235 uintptr_t Count(void** entry) { 236 return reinterpret_cast<uintptr_t>(entry[0]); 238 uintptr_t Size(void** entry) { 239 return reinterpret_cast<uintptr_t>(entry[1]); 241 uintptr_t Depth(void** entry) { 242 return reinterpret_cast<uintptr_t>(entry[2]); 244 void* PC(void** entry, int i) { 245 return entry[3+i]; 265 for (void** entry = entries; Count(entry) != 0; entry += 3 + Depth(entry)) [all...] |
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
malloc_extension.cc | 230 uintptr_t Count(void** entry) { 231 return reinterpret_cast<uintptr_t>(entry[0]); 233 uintptr_t Size(void** entry) { 234 return reinterpret_cast<uintptr_t>(entry[1]); 236 uintptr_t Depth(void** entry) { 237 return reinterpret_cast<uintptr_t>(entry[2]); 239 void* PC(void** entry, int i) { 240 return entry[3+i]; 260 for (void** entry = entries; Count(entry) != 0; entry += 3 + Depth(entry)) [all...] |
/external/iptables/iptables/ |
xtoptions.c | 30 ((void *)((char *)(cb)->data + (cb)->entry->ptroff)) 75 const struct xt_option_entry *entry, unsigned int *offset) 80 if (entry == NULL) 87 for (num_new = 0; entry[num_new].name != NULL; ++num_new) 109 for (i = 0; i < num_new; ++i, ++mp, ++entry) { 110 mp->name = entry->name; 111 mp->has_arg = entry->type != XTTYPE_NONE; 113 mp->val = entry->id + *offset; 121 /* Clear trailing entry */ 174 const struct xt_option_entry *entry = cb->entry local 213 const struct xt_option_entry *entry = cb->entry; local 236 const struct xt_option_entry *entry = cb->entry; local 256 const struct xt_option_entry *entry = cb->entry; local 284 const struct xt_option_entry *entry = cb->entry; local 333 const struct xt_option_entry *entry = cb->entry; local 457 const struct syslog_level *entry = b; local 600 const struct xt_option_entry *entry = cb->entry; local 618 const struct xt_option_entry *entry = cb->entry; local 676 const struct xt_option_entry *entry = cb->entry; local 696 const struct xt_option_entry *entry = cb->entry; local 807 const struct xt_option_entry *entry = cb->entry; local 991 const struct xt_option_entry *entry, *other; local [all...] |
/external/okhttp/src/main/java/com/squareup/okhttp/internal/ |
DiskLruCache.java | 46 * entry has a string key and a fixed number of values. Each key must match 63 * <p>Clients call {@link #edit} to create or update the values of an entry. An 64 * entry may have only one editor at one time; if a value is not available to be 67 * <li>When an entry is being <strong>created</strong> it is necessary to 70 * <li>When an entry is being <strong>edited</strong>, it is not necessary 78 * <p>Clients call {@link #get} to read a snapshot of an entry. The read will 123 * cache entry. Each line contains space-separated values: a state, a key, 125 * o DIRTY lines track that an entry is actively being created or updated. 129 * o CLEAN lines track a cache entry that has been successfully published 150 private final LinkedHashMap<String, Entry> lruEntries 294 Entry entry = lruEntries.get(key); local 321 Entry entry = i.next(); local 403 Entry entry = lruEntries.get(key); local 452 Entry entry = lruEntries.get(key); local 505 Entry entry = editor.entry; local 578 Entry entry = lruEntries.get(key); local 718 private final Entry entry; field in class:DiskLruCache.Editor [all...] |
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/login/ |
AppConfigurationEntryTest.java | 39 AppConfigurationEntry entry = null; field in class:AppConfigurationEntryTest 55 entry = new AppConfigurationEntry(loginModule, 57 assertEquals("LoginModule", entry.getLoginModuleName()); 58 assertEquals(msg + "required", entry.getControlFlag().toString()); 59 entry = new AppConfigurationEntry(loginModule, 61 assertEquals(msg + "requisite", entry.getControlFlag().toString()); 62 entry = new AppConfigurationEntry(loginModule, 64 assertEquals(msg + "optional", entry.getControlFlag().toString()); 65 entry = new AppConfigurationEntry(loginModule, 68 assertEquals(msg + "sufficient", entry.getControlFlag().toString()) 170 AppConfigurationEntry entry = new AppConfigurationEntry("LoginModule", local [all...] |
/external/chromium/chrome/browser/policy/ |
policy_map.cc | 21 PolicyMapType::const_iterator entry = map_.find(policy); local 22 return entry == map_.end() ? NULL : entry->second; 31 const const_iterator entry = map_.find(policy); local 32 if (entry != map_.end()) { 33 delete entry->second; 34 map_.erase(entry->first);
|
/external/chromium/chrome/browser/webdata/ |
autofill_entry.cc | 51 bool AutofillEntry::operator==(const AutofillEntry& entry) const { 52 if (!(key_ == entry.key())) 55 if (timestamps_.size() != entry.timestamps().size()) 58 std::set<base::Time> other_timestamps(entry.timestamps().begin(), 59 entry.timestamps().end()); 68 bool AutofillEntry::operator<(const AutofillEntry& entry) const { 69 return key_ < entry.key();
|
/external/chromium/third_party/libjingle/source/talk/examples/call/ |
mucinviterecvtask.cc | 91 for (const XmlElement* entry = avail->FirstNamed(QN_GOOGLE_MUC_USER_ENTRY); 92 entry; 93 entry = entry->NextNamed(QN_GOOGLE_MUC_USER_ENTRY)) { 97 tmp.label = atoi(entry->Attr(QN_LABEL).c_str()); 100 entry->FirstNamed(QN_GOOGLE_MUC_USER_TYPE), 106 entry->FirstNamed(QN_GOOGLE_MUC_USER_STATUS),
|
/external/chromium_org/chrome/browser/prerender/ |
prerender_history.cc | 21 void PrerenderHistory::AddEntry(const Entry& entry) { 25 entries_.push_back(entry); 36 for (std::list<Entry>::const_reverse_iterator it = entries_.rbegin(); 39 const Entry& entry = *it; local 41 entry_dict->SetString("url", entry.url.spec()); 43 NameFromFinalStatus(entry.final_status)); 44 entry_dict->SetString("origin", NameFromOrigin(entry.origin)); 49 base::Int64ToString((entry.end_time - epoch_start).InMilliseconds())) [all...] |