/external/guava/guava/src/com/google/common/collect/ |
Maps.java | 54 import java.util.Map.Entry; 85 private enum EntryFunction implements Function<Entry<?, ?>, Object> { 89 public Object apply(Entry<?, ?> entry) { 90 return entry.getKey(); 96 public Object apply(Entry<?, ?> entry) { 97 return entry.getValue(); 103 static <K> Function<Entry<K, ?>, K> keyFunction() { 108 static <V> Function<Entry<?, V>, V> valueFunction() [all...] |
TreeRangeMap.java | 37 import java.util.Map.Entry; 108 Entry<Range<K>, V> entry = getEntry(key); local 109 return (entry == null) ? null : entry.getValue(); 114 public Entry<Range<K>, V> getEntry(K key) { 115 Map.Entry<Cut<K>, RangeMapEntry<K, V>> mapEntry = 135 for (Map.Entry<Range<K>, V> entry : rangeMap.asMapOfRanges().entrySet()) { 136 put(entry.getKey(), entry.getValue()) [all...] |
/external/guava/guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/ |
LocalCache.java | 36 import java.util.Map.Entry; 145 for (Map.Entry<? extends K, ? extends V> entry : m.entrySet()) { 146 put(entry.getKey(), entry.getValue()); 153 for (Map.Entry<K, Timestamped<V>> entry : cachingHashMap.entrySet()) { 154 alertListenerIfPresent(entry.getKey(), entry.getValue().getValue(), RemovalCause.EXPLICIT); 487 protected boolean removeEldestEntry(Map.Entry<K, Timestamped<V>> ignored) [all...] |
/external/grpc-grpc/src/csharp/Grpc.Core/ |
Metadata.cs | 37 public sealed class Metadata : IList<Metadata.Entry> 56 readonly List<Entry> entries; 64 this.entries = new List<Entry>(); 85 public int IndexOf(Metadata.Entry item) 93 public void Insert(int index, Metadata.Entry item) 112 public Metadata.Entry this[int index] 130 public void Add(Metadata.Entry item) 142 Add(new Entry(key, value)); 150 Add(new Entry(key, valueBytes)); 165 public bool Contains(Metadata.Entry item [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/ |
WindowsResource.cpp | 139 // mandatory empty null resource entry. Files which do not fit this 148 ResourceEntryRef Entry = EntryOrErr.get(); 151 Data.push_back(Entry.getData()); 156 Root.addEntry(Entry, IsNewTypeString, IsNewNameString); 159 StringTable.push_back(Entry.getTypeString()); 162 StringTable.push_back(Entry.getNameString()); 164 RETURN_IF_ERROR(Entry.moveNext(End)); 175 void WindowsResourceParser::TreeNode::addEntry(const ResourceEntryRef &Entry, 178 TreeNode &TypeNode = addTypeNode(Entry, IsNewTypeString); 179 TreeNode &NameNode = TypeNode.addNameNode(Entry, IsNewNameString) [all...] |
/device/linaro/bootloader/edk2/NetworkPkg/Ip6Dxe/ |
Ip6Nd.c | 58 LIST_ENTRY *Entry;
70 NET_LIST_FOR_EACH (Entry, &IpSb->NeighborTable) {
86 NET_LIST_FOR_EACH (Entry, &IpSb->NeighborTable) {
87 Neighbor = NET_LIST_USER_STRUCT (Entry, IP6_NEIGHBOR_ENTRY, Link);
123 LIST_ENTRY *Entry;
136 NET_LIST_FOR_EACH (Entry, &IpSb->OnlinkPrefix) {
152 NET_LIST_FOR_EACH (Entry, &IpSb->OnlinkPrefix) {
153 PrefixList = NET_LIST_USER_STRUCT (Entry, IP6_PREFIX_LIST_ENTRY, Link);
168 Allocate and initialize a IP6 prefix list entry.
171 @param[in] OnLinkOrAuto If TRUE, the entry is created for the on link prefix list. [all...] |
/device/linaro/bootloader/edk2/EmbeddedPkg/Drivers/AndroidFastbootTransportUsbDxe/ |
FastbootTransportUsb.c | 233 FASTBOOT_USB_PACKET_LIST *Entry;
239 Entry = (FASTBOOT_USB_PACKET_LIST *) GetFirstNode (&mPacketList);
241 *BufferSize = Entry->BufferSize;
242 *Buffer = Entry->Buffer;
244 RemoveEntryList (&Entry->Link);
245 FreePool (Entry);
|
/device/linaro/bootloader/edk2/IntelFsp2Pkg/FspSecCore/ |
SecFsp.c | 30 UINT32 Entry;
38 Entry = (IdtGateDescriptor->Bits.OffsetHigh << 16) | IdtGateDescriptor->Bits.OffsetLow;
39 Entry = FspInfoHeader->ImageBase + FspInfoHeader->ImageSize - (~Entry + 1);
40 IdtGateDescriptor->Bits.OffsetHigh = (UINT16)(Entry >> 16);
41 IdtGateDescriptor->Bits.OffsetLow = (UINT16)Entry;
94 // This is the performance data for InitTempMemory API entry/exit
|
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/ |
GrpcHttp2OutboundHeaders.java | 22 import java.util.Map.Entry; 80 public Iterator<Entry<CharSequence, CharSequence>> iterator() { 89 private class Itr implements Entry<CharSequence, CharSequence>, 90 Iterator<Entry<CharSequence, CharSequence>> { 107 public Entry<CharSequence, CharSequence> next() { 147 for (Entry<CharSequence, CharSequence> e : this) {
|
/external/guava/guava-tests/test/com/google/common/collect/ |
WellBehavedMapTest.java | 38 // testing with the exact entry 42 // testing an entry with a contained key, but not the same value 54 for (Map.Entry<Foo, Integer> entry : map.entrySet()) { 55 entry.setValue(entry.getValue() + 5); 66 Map.Entry<Foo, Integer> entry1 = Iterables.getOnlyElement(map.entrySet()); 67 Map.Entry<Foo, Integer> entry2 = Iterables.getOnlyElement(map.entrySet()); 72 Set<Map.Entry<Foo, Integer>> entrySet = map.entrySet(); 77 // mutating entry 95 Map.Entry<Foo, Integer> entry = Maps.immutableEntry(Foo.Y, 2); local [all...] |
/external/llvm/lib/CodeGen/ |
InterferenceCache.h | 38 /// Entry - A cache entry containing interference information for all aliases 40 class Entry { 48 /// RefCount - The total number of Cursor instances referring to this Entry. 97 Entry() : PhysReg(0), Tag(0), RefCount(0), Indexes(nullptr), LIS(nullptr) {} 100 assert(!hasRefs() && "Cannot clear cache entry with references"); 115 /// valid - Return true if this is a valid entry for physReg. 118 /// reset - Initialize entry to represent physReg's aliases. 132 // We don't keep a cache entry for every physical register, that would use too 137 // Point to an entry for each physreg. The entry pointed to may not be up t [all...] |
/external/nist-sip/java/gov/nist/core/ |
MultiValueMapImpl.java | 63 Map.Entry keyValuePair = (Map.Entry) (pairsIterator.next()); 75 Map.Entry keyValuePair = (Map.Entry) (pairsIterator.next()); 88 Map.Entry keyValuePair = (Map.Entry) (pairsIterator.next());
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/ |
VPlan.h | 98 /// which assert that an entry was not already added before. If an entry is to 110 /// The unroll factor. Each entry in the vector map contains UF vector values. 113 /// The vectorization factor. Each entry in the scalar map contains UF x VF 128 /// \return True if the map has any vector entry for \p Key. 133 /// \return True if the map has a vector entry for \p Key and \p Part. 138 const VectorParts &Entry = VectorMapStorage.find(Key)->second; 139 assert(Entry.size() == UF && "VectorParts has wrong dimensions."); 140 return Entry[Part] != nullptr; 143 /// \return True if the map has any scalar entry for \p Key [all...] |
/cts/tools/release-parser/src/com/android/cts/releaseparser/ |
JsonPrinter.java | 83 for (Map.Entry<String, String> pSet : pMap.entrySet()) { 92 private void writeTargetFileInfo(Collection<Entry> entries) throws IOException { 95 for (Entry entry : entries) { 97 mJsonWriter.name("name").value(entry.getName()); 98 mJsonWriter.name("type").value(entry.getType().toString()); 99 mJsonWriter.name("size").value(entry.getSize()); 100 mJsonWriter.name("content_id").value(entry.getContentId()); 101 mJsonWriter.name("code_id").value(entry.getCodeId()); 102 mJsonWriter.name("abi_architecture").value(entry.getAbiArchitecture()) [all...] |
XmlParser.java | 39 public Entry.EntryType getType() { 40 return Entry.EntryType.XML; 92 Entry.Builder fileEntryBuilder = aParser.getFileEntryBuilder();
|
/device/linaro/bootloader/edk2/FatPkg/EnhancedFatDxe/ |
Hash.c | 67 Search the long name hash table for the directory entry.
72 @return The previous long name hash node of the directory entry.
96 Search the short name hash table for the directory entry.
101 @return The previous short name hash node of the directory entry.
115 if (CompareMem (ShortNameString, (*PreviousHashNode)->Entry.FileName, FAT_NAME_LEN) == 0) {
125 Insert directory entry to hash table.
128 @param DirEnt - The directory entry node.
143 HashTableIndex = FatHashShortName (DirEnt->Entry.FileName);
158 Delete directory entry from hash table.
161 @param DirEnt - The directory entry node. [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Ip4Dxe/ |
Ip4Igmp.c | 102 LIST_ENTRY *Entry;
105 NET_LIST_FOR_EACH (Entry, &IgmpCtrl->Groups) {
106 Group = NET_LIST_USER_STRUCT (Entry, IGMP_GROUP, Link);
135 LIST_ENTRY *Entry;
141 NET_LIST_FOR_EACH (Entry, &IgmpCtrl->Groups) {
142 Group = NET_LIST_USER_STRUCT (Entry, IGMP_GROUP, Link);
425 LIST_ENTRY *Entry;
466 NET_LIST_FOR_EACH (Entry, &IgmpCtrl->Groups) {
467 Group = NET_LIST_USER_STRUCT (Entry, IGMP_GROUP, Link);
521 LIST_ENTRY *Entry;
[all...] |
/external/clang/include/clang/Lex/ |
HeaderSearchOptions.h | 23 /// IncludeDirGroup - Identifies the group an include Entry belongs to, 48 struct Entry { 58 Entry(StringRef path, frontend::IncludeDirGroup group, bool isFramework, 81 std::vector<Entry> UserEntries;
|
/external/clang/lib/Analysis/ |
CFGStmtMap.cpp | 57 CFGBlock *&Entry = SM[CS->getStmt()]; 58 // If 'Entry' is already initialized (e.g., a terminator was already), 60 if (Entry) 63 Entry = B;
|
/external/clang/lib/Frontend/Rewrite/ |
HTMLPrint.cpp | 68 const FileEntry* Entry = R.getSourceMgr().getFileEntryForID(FID); 71 // there is no entry. Fall back to the memory buffer for a name in those 73 if (Entry) 74 Name = Entry->getName();
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
SortedMultisets.java | 23 import com.google.common.collect.Multiset.Entry; 82 private static <E> E getElementOrThrow(Entry<E> entry) { 83 if (entry == null) { 86 return entry.getElement(); 89 private static <E> E getElementOrNull(@Nullable Entry<E> entry) { 90 return (entry == null) ? null : entry.getElement();
|
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
ConstrainedBiMapTest.java | 28 import java.util.Map.Entry; 81 protected BiMap<String, String> create(Entry<String, String>[] entries) { 85 for (Entry<String, String> entry : entries) { 86 checkArgument(!bimap.containsKey(entry.getKey())); 87 bimap.put(entry.getKey(), entry.getValue());
|
ConstrainedMapTest.java | 28 import java.util.Map.Entry; 81 protected Map<String, String> create(Entry<String, String>[] entries) { 85 for (Entry<String, String> entry : entries) { 86 map.put(entry.getKey(), entry.getValue());
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
SafeTreeMap.java | 74 @Override public Entry<K, V> ceilingEntry(K key) { 117 @Override public Set<Entry<K, V>> entrySet() { 118 return new AbstractSet<Entry<K, V>>() { 119 private Set<Entry<K, V>> delegate() { 135 public Iterator<Entry<K, V>> iterator() { 156 @Override public Entry<K, V> firstEntry() { 164 @Override public Entry<K, V> floorEntry(K key) { 185 @Override public Entry<K, V> higherEntry(K key) { 201 @Override public Entry<K, V> lastEntry() { 209 @Override public Entry<K, V> lowerEntry(K key) [all...] |
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
MapToStringTester.java | 29 import java.util.Map.Entry; 53 "size1Map.toString should return {entry}", "{" + samples.e0 + "}", getMap().toString()); 75 private String expectedToString(Set<Entry<K, V>> entries) { 77 for (Map.Entry<K, V> entry : entries) { 78 reference.put(entry.getKey(), entry.getValue());
|