Home
last modified time | relevance | path

Searched refs:_map (Results 1 – 25 of 61) sorted by relevance

123

/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/util/
DLRUMap.java30 protected final transient ConcurrentHashMap<K,V> _map; field in LRUMap
35 _map = new ConcurrentHashMap<K,V>(initialEntries, 0.8f, 4); in LRUMap()
40 if (_map.size() >= _maxEntries) { in put()
43 if (_map.size() >= _maxEntries) { in put()
48 return _map.put(key, value); in put()
57 if (_map.size() >= _maxEntries) { in putIfAbsent()
59 if (_map.size() >= _maxEntries) { in putIfAbsent()
64 return _map.putIfAbsent(key, value); in putIfAbsent()
68 public V get(Object key) { return _map.get(key); } in get()
70 public void clear() { _map.clear(); } in clear()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
DLocaleExtensions.java25 private SortedMap<Character, Extension> _map; field in LocaleExtensions
38 EMPTY_EXTENSIONS._map = EMPTY_MAP;
42 CALENDAR_JAPANESE._map = new TreeMap<Character, Extension>();
43 …CALENDAR_JAPANESE._map.put(Character.valueOf(UnicodeLocaleExtension.SINGLETON), UnicodeLocaleExten… in Character.valueOf()
47 NUMBER_THAI._map = new TreeMap<Character, Extension>();
48 …NUMBER_THAI._map.put(Character.valueOf(UnicodeLocaleExtension.SINGLETON), UnicodeLocaleExtension.N… in Character.valueOf()
64 _map = EMPTY_MAP; in LocaleExtensions()
70 _map = new TreeMap<Character, Extension>(); in LocaleExtensions()
85 _map.put(Character.valueOf(key), e); in LocaleExtensions()
110 _map.put(Character.valueOf(UnicodeLocaleExtension.SINGLETON), ule); in LocaleExtensions()
[all …]
DLocaleObjectCache.java16 private ConcurrentHashMap<K, CacheEntry<K, V>> _map; field in LocaleObjectCache
24_map = new ConcurrentHashMap<K, CacheEntry<K, V>>(initialCapacity, loadFactor, concurrencyLevel); in LocaleObjectCache()
31 CacheEntry<K, V> entry = _map.get(key); in get()
47 entry = _map.putIfAbsent(key, newEntry); in get()
63 _map.remove(entry.getKey()); in cleanStaleEntries()
/external/icu/android_icu4j/src/main/java/android/icu/impl/locale/
DLocaleExtensions.java29 private SortedMap<Character, Extension> _map; field in LocaleExtensions
42 EMPTY_EXTENSIONS._map = EMPTY_MAP;
46 CALENDAR_JAPANESE._map = new TreeMap<Character, Extension>();
47 …CALENDAR_JAPANESE._map.put(Character.valueOf(UnicodeLocaleExtension.SINGLETON), UnicodeLocaleExten… in Character.valueOf()
51 NUMBER_THAI._map = new TreeMap<Character, Extension>();
52 …NUMBER_THAI._map.put(Character.valueOf(UnicodeLocaleExtension.SINGLETON), UnicodeLocaleExtension.N… in Character.valueOf()
68 _map = EMPTY_MAP; in LocaleExtensions()
74 _map = new TreeMap<Character, Extension>(); in LocaleExtensions()
89 _map.put(Character.valueOf(key), e); in LocaleExtensions()
114 _map.put(Character.valueOf(UnicodeLocaleExtension.SINGLETON), ule); in LocaleExtensions()
[all …]
DLocaleObjectCache.java20 private ConcurrentHashMap<K, CacheEntry<K, V>> _map; field in LocaleObjectCache
28_map = new ConcurrentHashMap<K, CacheEntry<K, V>>(initialCapacity, loadFactor, concurrencyLevel); in LocaleObjectCache()
35 CacheEntry<K, V> entry = _map.get(key); in get()
51 entry = _map.putIfAbsent(key, newEntry); in get()
67 _map.remove(entry.getKey()); in cleanStaleEntries()
/external/autotest/frontend/tko/
Dtko_rpc_utils.py15 def _map(self): member in KernelString
20 return hash(self._map())
24 return self._map() == other._map()
28 return self._map() != other._map()
32 return self._map() < other._map()
36 return self._map() <= other._map()
40 return self._map() > other._map()
44 return self._map() >= other._map()
/external/python/asn1crypto/asn1crypto/
Dalgos.py108 _map = { variable in HmacAlgorithmId
132 _map = { variable in DigestAlgorithmId
169 _map = { variable in MaskGenAlgorithmId
187 _map = { variable in TrailerField
233 _map = { variable in SignedDigestAlgorithmId
406 _map = { variable in KdfAlgorithmId
436 _map = { variable in KeyExchangeAlgorithmId
460 _map = { variable in Rc5ParamVersion
491 _map = { variable in PSourceAlgorithmId
595 _map = { variable in EncryptionAlgorithmId
[all …]
Dpdf.py76 ExtensionId._map['1.2.840.113583.1.1.9.2'] = 'adobe_archive_rev_info'
77 ExtensionId._map['1.2.840.113583.1.1.9.1'] = 'adobe_timestamp'
78 ExtensionId._map['1.2.840.113583.1.1.10'] = 'adobe_ppklite_credential'
82 KeyPurposeId._map['1.2.840.113583.1.1.5'] = 'pdf_signing'
83 CMSAttributeType._map['1.2.840.113583.1.1.8'] = 'adobe_revocation_info_archival'
Dtsp.py57 _map = { variable in Version
121 _map = { variable in PKIStatus
136 _map = { variable in PKIFailureInfo
305 ContentType._map['1.2.840.113549.1.9.16.1.4'] = 'tst_info'
306 ContentType._map['1.2.840.113549.1.9.16.1.31'] = 'timestamped_data'
307 CMSAttributeType._map['1.2.840.113549.1.9.16.2.12'] = 'signing_certificate'
309 CMSAttributeType._map['1.2.840.113549.1.9.16.2.47'] = 'signing_certificate_v2'
Dpkcs12.py45 _map = { variable in Version
51 _map = { variable in AttributeType
128 _map = { variable in BagId
139 _map = { variable in CertId
Dcms.py87 _map = { variable in CMSVersion
98 _map = { variable in CMSAttributeType
128 _map = { variable in ContentType
198 _map = { variable in AttCertVersion
241 _map = { variable in DigestedObjectType
327 _map = { variable in ClassList
406 _map = { variable in AttCertAttributeType
572 _map = { variable in OtherRevInfoFormatId
662 _map = { variable in KeyEncryptionAlgorithmId
899 _map = { variable in CompressionAlgorithmId
Docsp.py41 _map = { variable in Version
63 _map = { variable in RequestExtensionId
147 _map = { variable in ResponseType
168 _map = { variable in TBSRequestExtensionId
306 _map = { variable in OCSPResponseStatus
397 _map = { variable in SingleResponseExtensionId
557 _map = { variable in ResponseDataExtensionId
Dkeys.py71 _map = { variable in RSAPrivateKeyVersion
211 _map = { variable in SpecifiedECDomainVersion
224 _map = { variable in FieldType
236 _map = { variable in CharacteristicTwoBasis
329 _map = { variable in NamedCurve
508 cls._map[oid] = name
557 _map = { variable in ECPrivateKeyVersion
660 _map = { variable in PrivateKeyAlgorithmId
1007 _map = { variable in PublicKeyAlgorithmId
Dx509.py439 _map = { variable in KeyUsage
505 _map = { variable in NameType
1323 _map = { variable in TerminalType
1334 _map = { variable in ExtensionAttributeType
1505 _map = { variable in ReasonFlags
1606 _map = { variable in PolicyQualifierId
1630 _map = { variable in PolicyIdentifier
1665 _map = { variable in KeyPurposeId
1781 _map = { variable in AccessMethod
1817 _map = { variable in NetscapeCertificateType
[all …]
Dcsr.py32 _map = { variable in Version
38 _map = { variable in CSRAttributeType
/external/fonttools/Lib/fontTools/ttLib/tables/
D_t_r_a_k.py128 self._map = dict(initialdata)
229 return self._map[track]
232 del self._map[track]
235 self._map[track] = entry
238 return len(self._map)
241 return iter(self._map)
244 return self._map.keys()
249 return "TrackData({})".format(self._map if self else "")
256 self._map = dict(values)
286 return self._map[size]
[all …]
D_h_d_m_x.py18 self._map = dict(reverseGlyphOrder)
21 return self._array[self._map[k]]
24 return len(self._map)
27 return iter(self._map)
30 return self._map.keys()
/external/chromium-trace/catapult/third_party/polymer/components/shadycss/src/
Dapply-shim.js109 this._map = {};
117 this._map[name] = { property
128 return this._map[name] || null;
145 this._map = new MixinMap();
332 let mixinEntry = this._map.get(mixinName);
336 this._map.set(mixinName, {});
337 mixinEntry = this._map.get(mixinName);
442 if (value && this._map.get(value)) {
457 let mixinEntry = this._map.get(propertyName);
464 this._map.set(propertyName, combinedProps);
/external/arm-trusted-firmware/services/std_svc/sdei/
Dsdei_private.h75 #define iterate_mapping(_mapping, _i, _map) \ argument
76 for ((_map) = (_mapping)->map, (_i) = 0; \
78 (_i)++, (_map)++)
80 #define for_each_private_map(_i, _map) \ argument
81 iterate_mapping(SDEI_PRIVATE_MAPPING(), _i, _map)
83 #define for_each_shared_map(_i, _map) \ argument
84 iterate_mapping(SDEI_SHARED_MAPPING(), _i, _map)
/external/mesa3d/src/gallium/frontends/clover/util/
Dtuple.hpp87 struct _map;
90 struct _map<F, T, integral_sequence<Is...>> { struct
109 typename detail::_map<F, T>::value_type
111 return detail::_map<F, T>::eval(std::forward<F>(f), in map()
/external/python/cpython3/Lib/test/
Dtest_exception_hierarchy.py71 _map = {}
78 _map[getattr(errno, errname)] = getattr(builtins, excname)
79 return _map
80 _map = _make_map(_pep_map) variable in HierarchyTest
88 for errcode, exc in self._map.items():
91 othercodes = set(errno.errorcode) - set(self._map)
/external/libchrome/base/containers/
DREADME.md28 * Generally avoid **std::unordered\_set** and **std::unordered\_map**. In the
35 moved efficiently. In this case, consider **base::flat\_map** and
46 * **base::small\_map** has better runtime memory usage without the poor
47 mutation performance of large containers that base::flat\_map has. But this
62 | std::unordered\_map, std::unordered\_set | 128 bytes | 16-24 bytes | No …
63 | base::flat\_map and base::flat\_set | 24 bytes | 0 (see notes) | No …
64 | base::small\_map | 24 bytes (see notes) | 32 bytes | No …
66 **Takeaways:** std::unordered\_map and std::unordered\_map have high
74 | std::unordered\_map | 1646 bytes |
76 | base::flat\_map | 1872 bytes |
[all …]
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/
DAnySetterTest.java18 HashMap<String,Object> _map; field in AnySetterTest.MapImitator
21 _map = new HashMap<String,Object>(); in MapImitator()
27 _map.put(key, value); in addEntry()
47 HashMap<String,int[]> _map; field in AnySetterTest.MapImitatorWithValue
50 _map = new HashMap<String,int[]>(); in MapImitatorWithValue()
56 _map.put(key, value); in addEntry()
256 Map<String,Object> result = mapHolder._map; in testSimpleMapImitation()
283 Map<String,int[]> result = mapHolder._map; in testSimpleTyped()
DTestValueAnnotations.java160 Map<Object, String> _map; field in TestValueAnnotations.MapKeyHolder
166 _map = m; in setMap()
229 Map<Object,Object> _map; field in TestValueAnnotations.MapContentHolder
234 _map = m; in setMap()
341 Map<StringWrapper, String> map = (Map<StringWrapper,String>)(Map<?,?>)result._map; in testOverrideKeyClassValid()
396 Map<Object,Object> map = result._map; in testOverrideMapContents()
/external/grpc-grpc/src/objective-c/RxLibrary/
DGRXMappingWriter.m25 id (^_map)(id value);
35 _map = map ?: ^id(id value) {
44 [super writeValue:_map(value)];

123