/external/apache-http/src/org/apache/http/impl/conn/tsccm/ |
RouteSpecificPool.java | 107 * @return the max entry number 116 * A pool is unused if there is neither an entry nor a waiting thread. 150 * Obtains a free entry from this pool, if one is available. 152 * @return an available pool entry, or <code>null</code> if there is none 158 BasicPoolEntry entry = it.previous(); local 159 if (LangUtils.equals(state, entry.getState())) { 161 return entry; 166 BasicPoolEntry entry = freeEntries.remove(); local 167 entry.setState(null); 168 OperatedClientConnection conn = entry.getConnection() [all...] |
/hardware/libhardware/tests/camera2/ |
CameraMetadataTests.cpp | 69 camera_metadata_ro_entry entry = staticInfo.find(tag); local 70 return entry.type; 75 camera_metadata_ro_entry entry = staticInfo.find(tag); local 76 return entry.count; 81 camera_metadata_ro_entry entry = staticInfo.find(tag); local 82 for (size_t i = 0; i < entry.count; ++i) { 83 if (entry.data.i32[i] == element) 124 camera_metadata_ro_entry entry; local 125 EXPECT_EQ(TYPE_BYTE, entry.type); 126 EXPECT_EQ(TYPE_INT32, entry.type) [all...] |
/frameworks/av/media/libstagefright/foundation/ |
AAtomizer.cpp | 42 List<AString> &entry = mAtoms.editItemAt(index); local 43 List<AString>::iterator it = entry.begin(); 44 while (it != entry.end()) { 51 entry.push_back(AString(name)); 53 return (*--entry.end()).c_str();
|
/frameworks/compile/mclinker/lib/Target/AArch64/ |
AArch64GOT.cpp | 43 AArch64GOTEntry* entry = new AArch64GOTEntry(0, NULL); local 44 m_GOT.push_back(entry); 45 return entry; 49 AArch64GOTEntry* entry = new AArch64GOTEntry(0, NULL); local 50 m_GOTPLT.push_back(entry); 51 return entry; 69 AArch64GOTEntry* entry = *it; local 70 frag_list.push_back(entry); 71 entry->setParent(m_SectionData); 72 entry->setOffset(offset) 83 AArch64GOTEntry* entry = *it; local [all...] |
/frameworks/compile/mclinker/lib/Target/ARM/ |
ARMGOT.cpp | 40 ARMGOTEntry* entry = new ARMGOTEntry(0, NULL); local 41 m_GOT.push_back(entry); 42 return entry; 46 ARMGOTEntry* entry = new ARMGOTEntry(0, NULL); local 47 m_GOTPLT.push_back(entry); 48 return entry; 66 ARMGOTEntry* entry = *it; local 67 frag_list.push_back(entry); 68 entry->setParent(m_SectionData); 69 entry->setOffset(offset) 80 ARMGOTEntry* entry = *it; local [all...] |
/prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/include/ext/pb_ds/detail/cc_hash_table_map_/ |
cond_key_dtor_entry_dealtor.hpp | 56 typedef typename HT_Map::entry entry; typedef in class:__gnu_pbds::detail::PB_DS_CKDED_CLASS_NAME 61 PB_DS_CKDED_CLASS_NAME(entry_allocator* p_a, entry* p_e); 74 entry* const m_p_e; 83 PB_DS_CKDED_CLASS_NAME(entry_allocator* p_a, entry* p_e)
|
/prebuilts/ndk/6/sources/cxx-stl/gnu-libstdc++/include/ext/pb_ds/detail/cc_hash_table_map_/ |
cond_key_dtor_entry_dealtor.hpp | 56 typedef typename HT_Map::entry entry; typedef in class:__gnu_pbds::detail::PB_DS_CKDED_CLASS_NAME 61 PB_DS_CKDED_CLASS_NAME(entry_allocator* p_a, entry* p_e); 74 entry* const m_p_e; 83 PB_DS_CKDED_CLASS_NAME(entry_allocator* p_a, entry* p_e)
|
/prebuilts/ndk/7/sources/cxx-stl/gnu-libstdc++/include/ext/pb_ds/detail/cc_hash_table_map_/ |
cond_key_dtor_entry_dealtor.hpp | 56 typedef typename HT_Map::entry entry; typedef in class:__gnu_pbds::detail::PB_DS_CKDED_CLASS_NAME 61 PB_DS_CKDED_CLASS_NAME(entry_allocator* p_a, entry* p_e); 74 entry* const m_p_e; 83 PB_DS_CKDED_CLASS_NAME(entry_allocator* p_a, entry* p_e)
|
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.4.3/include/ext/pb_ds/detail/cc_hash_table_map_/ |
cond_key_dtor_entry_dealtor.hpp | 56 typedef typename HT_Map::entry entry; typedef in class:__gnu_pbds::detail::PB_DS_CKDED_CLASS_NAME 61 PB_DS_CKDED_CLASS_NAME(entry_allocator* p_a, entry* p_e); 74 entry* const m_p_e; 83 PB_DS_CKDED_CLASS_NAME(entry_allocator* p_a, entry* p_e)
|
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.6/include/ext/pb_ds/detail/cc_hash_table_map_/ |
cond_key_dtor_entry_dealtor.hpp | 56 typedef typename HT_Map::entry entry; typedef in class:__gnu_pbds::detail::PB_DS_CKDED_CLASS_NAME 61 PB_DS_CKDED_CLASS_NAME(entry_allocator* p_a, entry* p_e); 74 entry* const m_p_e; 83 PB_DS_CKDED_CLASS_NAME(entry_allocator* p_a, entry* p_e)
|
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.6/include/ext/pb_ds/detail/cc_hash_table_map_/ |
cond_key_dtor_entry_dealtor.hpp | 56 typedef typename HT_Map::entry entry; typedef in class:__gnu_pbds::detail::PB_DS_CKDED_CLASS_NAME 61 PB_DS_CKDED_CLASS_NAME(entry_allocator* p_a, entry* p_e); 74 entry* const m_p_e; 83 PB_DS_CKDED_CLASS_NAME(entry_allocator* p_a, entry* p_e)
|
/system/extras/ext4_utils/ |
xattr.h | 38 #define EXT4_XATTR_NEXT(entry) \ 40 (char *)(entry) + EXT4_XATTR_LEN((entry)->e_name_len))) 43 #define IS_LAST_ENTRY(entry) (*(uint32_t *)(entry) == 0)
|
/external/emma/core/java12/com/vladium/util/ |
SoftValueMap.java | 34 // entry memory -- which does not make sense if the set of key values is not 36 // entry clearing is needed so that the hash table does not get polluted with 38 // TODO: provide mode that disables entry clearing 169 for (SoftEntry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next) 171 final Object entryKey = entry.m_key; 179 final Reference ref = entry.m_softValue; 195 final Reference ref = entry.m_softValue [all...] |
/packages/apps/Gallery/src/com/android/camera/gallery/ |
LruCache.java | 28 private final HashMap<K, Entry<K, V>> mWeakMap = 29 new HashMap<K, Entry<K, V>>(); 36 protected boolean removeEldestEntry(Map.Entry<K, V> eldest) { 42 private static class Entry<K, V> extends WeakReference<V> { 45 public Entry(K key, V value, ReferenceQueue<V> queue) { 53 Entry<K, V> entry = (Entry<K, V>) mQueue.poll(); local 54 while (entry != null) { 55 mWeakMap.remove(entry.mKey) 63 Entry<K, V> entry = mWeakMap.put( local [all...] |
/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...] |
/packages/apps/Settings/src/com/android/settings/users/ |
RestrictionUtils.java | 66 RestrictionEntry entry = new RestrictionEntry( local 69 entry.setTitle(res.getString(sRestrictionTitles[i])); 70 entry.setDescription(res.getString(sRestrictionDescriptions[i])); 71 entry.setType(RestrictionEntry.TYPE_BOOLEAN); 72 entries.add(entry); 83 for (RestrictionEntry entry : entries) { 84 userRestrictions.putBoolean(entry.getKey(), !entry.getSelectedState()); 85 if (entry.getKey().equals(UserManager.DISALLOW_SHARE_LOCATION) 86 && !entry.getSelectedState()) [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...] |
/frameworks/base/core/java/android/net/ |
NetworkStats.java | 88 public static class Entry { 99 public Entry() { 103 public Entry(long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) { 108 public Entry(String iface, int uid, int set, int tag, long rxBytes, long rxPackets, 130 public void add(Entry another) { 155 if (o instanceof Entry) { 156 final Entry e = (Entry) o; 229 NetworkStats.Entry entry = null local 288 final Entry entry = recycle != null ? recycle : new Entry(); local 363 NetworkStats.Entry entry = null; local 459 final Entry entry = getTotal(null); local 499 final Entry entry = recycle != null ? recycle : new Entry(); local 585 final Entry entry = new Entry(); local 643 final Entry entry = new Entry(); local 671 final Entry entry = new Entry(); local 699 Entry entry = new 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...] |
/system/media/camera/docs/ |
CameraMetadataEnums.mako | 27 <%def name="generate_enum(entry, target_class)">\ 29 // Enumeration values for ${target_class}#${entry.name | jkey_identifier} 32 % for value in entry.enum.values: 37 * @see ${target_class}#${entry.name | jkey_identifier} 38 % if entry.applied_visibility == 'hidden' or value.hidden: 45 public static final int ${jenum_value(entry, value)} = ${enum_calculate_value_string(value)}; 54 % if section.find_first(lambda x: isinstance(x, metadata_model.Entry) and x.kind == xml_name) and \ 59 % for entry in filter_visibility(inner_namespace.entries, ('hidden','public')): 60 % if entry.enum \ 61 and not (entry.typedef and entry.typedef.languages.get('java')) [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/iptables/libxtables/ |
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 703 const struct xt_option_entry *entry = cb->entry; local 728 const struct xt_option_entry *entry = cb->entry; local 839 const struct xt_option_entry *entry = cb->entry; local 1037 const struct xt_option_entry *entry, *other; local [all...] |
/system/core/libbacktrace/ |
ThreadEntry.cpp | 51 ThreadEntry* entry = list_; local 52 while (entry != nullptr) { 53 if (entry->Match(pid, tid)) { 56 entry = entry->next_; 59 if (!entry) { 61 entry = new ThreadEntry(pid, tid); 64 entry->ref_count_++; 68 return entry; 71 void ThreadEntry::Remove(ThreadEntry* 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/v8/test/cctest/compiler/ |
test-schedule.cc | 39 BasicBlock* entry = schedule.start(); local 40 schedule.AddNode(entry, n0); 41 schedule.AddNode(entry, n1); 43 CHECK_EQ(entry, schedule.block(n0)); 44 CHECK_EQ(entry, schedule.block(n1)); 56 BasicBlock* entry = schedule.start(); local 59 schedule.AddGoto(entry, next); 61 CHECK_EQ(0, entry->PredecessorCount()); 62 CHECK_EQ(1, entry->SuccessorCount()); 63 CHECK_EQ(next, entry->SuccessorAt(0)) 75 BasicBlock* entry = schedule.start(); local 106 BasicBlock* entry = schedule.start(); local 120 BasicBlock* entry = schedule.start(); local [all...] |