Home
last modified time | relevance | path

Searched defs:K (Results 1 – 25 of 357) sorted by relevance

12345678910>>...15

/external/guava/guava/src/com/google/common/collect/
DMapConstraints.java83 public static <K, V> Map<K, V> constrainedMap( in constrainedMap()
84 Map<K, V> map, MapConstraint<? super K, ? super V> constraint) { in constrainedMap()
104 public static <K, V> Multimap<K, V> constrainedMultimap( in constrainedMultimap()
105 Multimap<K, V> multimap, MapConstraint<? super K, ? super V> constraint) { in constrainedMultimap()
125 public static <K, V> ListMultimap<K, V> constrainedListMultimap( in constrainedListMultimap()
127 MapConstraint<? super K, ? super V> constraint) { in constrainedListMultimap()
146 public static <K, V> SetMultimap<K, V> constrainedSetMultimap( in constrainedSetMultimap()
148 MapConstraint<? super K, ? super V> constraint) { in constrainedSetMultimap()
167 public static <K, V> SortedSetMultimap<K, V> constrainedSortedSetMultimap( in constrainedSortedSetMultimap()
169 MapConstraint<? super K, ? super V> constraint) { in constrainedSortedSetMultimap()
[all …]
DMapMakerInternalMap.java299 Segment<K, V> segment, ReferenceEntry<K, V> entry, V value) { in referenceValue()
312 Segment<K, V> segment, ReferenceEntry<K, V> entry, V value) { in referenceValue()
325 Segment<K, V> segment, ReferenceEntry<K, V> entry, V value) { in referenceValue()
339 Segment<K, V> segment, ReferenceEntry<K, V> entry, V value); in referenceValue()
356 Segment<K, V> segment, K key, int hash, @Nullable ReferenceEntry<K, V> next) { in newEntry()
363 Segment<K, V> segment, K key, int hash, @Nullable ReferenceEntry<K, V> next) { in newEntry()
368 <K, V> ReferenceEntry<K, V> copyEntry( in copyEntry()
369 Segment<K, V> segment, ReferenceEntry<K, V> original, ReferenceEntry<K, V> newNext) { in copyEntry()
378 Segment<K, V> segment, K key, int hash, @Nullable ReferenceEntry<K, V> next) { in newEntry()
383 <K, V> ReferenceEntry<K, V> copyEntry( in copyEntry()
[all …]
DSortedMaps.java89 @Deprecated public static <K, V1, V2> SortedMap<K, V2> transformValues( in transformValues()
147 final SortedMap<K, V1> fromMap, in transformEntries()
148 EntryTransformer<? super K, ? super V1, V2> transformer) { in transformEntries()
172 SortedMap<K, ? extends V> left, Map<? extends K, ? extends V> right) { in difference()
219 public static <K, V> SortedMap<K, V> filterKeys( in filterKeys()
263 public static <K, V> SortedMap<K, V> filterValues( in filterValues()
306 public static <K, V> SortedMap<K, V> filterEntries( in filterEntries()
308 Predicate<? super Entry<K, V>> entryPredicate) { in filterEntries()
320 FilteredSortedMap<K, V> map, in filterFiltered()
321 Predicate<? super Entry<K, V>> entryPredicate) { in filterFiltered()
[all …]
DMaps.java137 Map<? extends K, ? extends V> map) { in newHashMap()
166 Map<? extends K, ? extends V> map) { in newLinkedHashMap()
214 public static <K, V> TreeMap<K, V> newTreeMap(SortedMap<K, ? extends V> map) { in newTreeMap()
257 public static <K extends Enum<K>, V> EnumMap<K, V> newEnumMap( in newEnumMap()
299 public static <K, V> BiMap<K, V> synchronizedBiMap(BiMap<K, V> bimap) { in synchronizedBiMap()
321 Map<? extends K, ? extends V> left, Map<? extends K, ? extends V> right) { in difference()
351 Map<? extends K, ? extends V> left, Map<? extends K, ? extends V> right, in difference()
385 Map<K, V> onlyOnLeft, Map<K, V> onlyOnRight, Map<K, V> onBoth, in mapDifference()
401 MapDifferenceImpl(boolean areEqual, Map<K, V> onlyOnLeft, in MapDifferenceImpl()
538 SortedMap<K, ? extends V> left, Map<? extends K, ? extends V> right) { in difference()
[all …]
DComputingConcurrentHashMap.java52 Function<? super K, ? extends V> computingFunction) { in ComputingConcurrentHashMap()
74 ComputingSegment(MapMakerInternalMap<K, V> map, int initialCapacity, int maxSegmentSize) { in ComputingSegment()
78 V getOrCompute(K key, int hash, Function<? super K, ? extends V> computingFunction) in getOrCompute()
173 V compute(K key, int hash, ReferenceEntry<K, V> e, in compute()
174 ComputingValueReference<K, V> computingValueReference) in compute()
228 public ValueReference<K, V> copyFor(ReferenceQueue<V> queue, ReferenceEntry<K, V> entry) { in copyFor()
243 public void clear(ValueReference<K, V> newValue) {} in clear()
267 public ValueReference<K, V> copyFor(ReferenceQueue<V> queue, ReferenceEntry<K, V> entry) { in copyFor()
282 public void clear(ValueReference<K, V> newValue) {} in clear()
291 public ComputingValueReference(Function<? super K, ? extends V> computingFunction) { in ComputingValueReference()
[all …]
DWellBehavedMap.java38 private WellBehavedMap(Map<K, V> delegate) { in WellBehavedMap()
48 static <K, V> WellBehavedMap<K, V> wrap(Map<K, V> delegate) { in wrap()
69 KeyToEntryConverter(Map<K, V> map) { in KeyToEntryConverter()
87 @Override public K invert(Map.Entry<K, V> entry) { in invert()
DMultimaps.java107 public static <K, V> Multimap<K, V> newMultimap(Map<K, Collection<V>> map, in newMultimap()
115 CustomMultimap(Map<K, Collection<V>> map, in CustomMultimap()
189 Map<K, Collection<V>> map, final Supplier<? extends List<V>> factory) { in newListMultimap()
197 CustomListMultimap(Map<K, Collection<V>> map, in CustomListMultimap()
267 Map<K, Collection<V>> map, final Supplier<? extends Set<V>> factory) { in newSetMultimap()
275 CustomSetMultimap(Map<K, Collection<V>> map, in CustomSetMultimap()
344 Map<K, Collection<V>> map, in newSortedSetMultimap()
354 CustomSortedSetMultimap(Map<K, Collection<V>> map, in CustomSortedSetMultimap()
445 public static <K, V> Multimap<K, V> synchronizedMultimap( in synchronizedMultimap()
467 public static <K, V> Multimap<K, V> unmodifiableMultimap( in unmodifiableMultimap()
[all …]
DImmutableSortedMap.java179 Map<? extends K, ? extends V> map) { in copyOf()
200 Map<? extends K, ? extends V> map, Comparator<? super K> comparator) { in copyOf()
215 public static <K, V> ImmutableSortedMap<K, V> copyOfSorted( in copyOfSorted()
227 Map<? extends K, ? extends V> map, Comparator<? super K> comparator) { in copyOfInternal()
269 List<Entry<K, V>> entries, final Comparator<? super K> comparator) { in sortEntries()
280 private static <K, V> void validateEntries(List<Entry<K, V>> entries, in validateEntries()
380 @Override public Builder<K, V> put(Entry<? extends K, ? extends V> entry) { in put()
392 @Override public Builder<K, V> putAll(Map<? extends K, ? extends V> map) { in putAll()
417 ImmutableList<Entry<K, V>> entries, Comparator<? super K> comparator) { in ImmutableSortedMap()
479 EntrySet(ImmutableSortedMap<K, V> map) { in EntrySet()
[all …]
DSerialization.java61 static <K, V> void writeMap(Map<K, V> map, ObjectOutputStream stream) in writeMap()
74 static <K, V> void populateMap(Map<K, V> map, ObjectInputStream stream) in populateMap()
85 static <K, V> void populateMap(Map<K, V> map, ObjectInputStream stream, in populateMap()
152 Multimap<K, V> multimap, ObjectOutputStream stream) throws IOException { in writeMultimap()
168 Multimap<K, V> multimap, ObjectInputStream stream) in populateMultimap()
180 Multimap<K, V> multimap, ObjectInputStream stream, int distinctKeys) in populateMultimap()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DMaps.java134 Map<? extends K, ? extends V> map) { in newHashMap()
163 Map<? extends K, ? extends V> map) { in newLinkedHashMap()
211 public static <K, V> TreeMap<K, V> newTreeMap(SortedMap<K, ? extends V> map) { in newTreeMap()
254 public static <K extends Enum<K>, V> EnumMap<K, V> newEnumMap( in newEnumMap()
296 public static <K, V> BiMap<K, V> synchronizedBiMap(BiMap<K, V> bimap) { in synchronizedBiMap()
318 Map<? extends K, ? extends V> left, Map<? extends K, ? extends V> right) { in difference()
348 Map<? extends K, ? extends V> left, Map<? extends K, ? extends V> right, in difference()
382 Map<K, V> onlyOnLeft, Map<K, V> onlyOnRight, Map<K, V> onBoth, in mapDifference()
398 MapDifferenceImpl(boolean areEqual, Map<K, V> onlyOnLeft, in MapDifferenceImpl()
535 SortedMap<K, ? extends V> left, Map<? extends K, ? extends V> right) { in difference()
[all …]
DMultimaps.java103 public static <K, V> Multimap<K, V> newMultimap(Map<K, Collection<V>> map, in newMultimap()
111 CustomMultimap(Map<K, Collection<V>> map, in CustomMultimap()
164 Map<K, Collection<V>> map, final Supplier<? extends List<V>> factory) { in newListMultimap()
172 CustomListMultimap(Map<K, Collection<V>> map, in CustomListMultimap()
221 Map<K, Collection<V>> map, final Supplier<? extends Set<V>> factory) { in newSetMultimap()
229 CustomSetMultimap(Map<K, Collection<V>> map, in CustomSetMultimap()
277 Map<K, Collection<V>> map, in newSortedSetMultimap()
287 CustomSortedSetMultimap(Map<K, Collection<V>> map, in CustomSortedSetMultimap()
356 public static <K, V> Multimap<K, V> synchronizedMultimap( in synchronizedMultimap()
378 public static <K, V> Multimap<K, V> unmodifiableMultimap( in unmodifiableMultimap()
[all …]
DRegularImmutableMap.java28 RegularImmutableMap(Map<? extends K, ? extends V> delegate) { in RegularImmutableMap()
32 RegularImmutableMap(Entry<? extends K, ? extends V>... entries) { in RegularImmutableMap()
DImmutableSortedMap.java68 ImmutableSortedMap(SortedMap<K, ? extends V> delegate) { in ImmutableSortedMap()
77 Entry<? extends K, ? extends V>... entries) { in create()
122 copyOf(Map<? extends K, ? extends V> map) { in copyOf()
127 Map<? extends K, ? extends V> map, Comparator<? super K> comparator) { in copyOf()
131 public static <K, V> ImmutableSortedMap<K, V> copyOfSorted( in copyOfSorted()
142 Map<? extends K, ? extends V> map, Comparator<? super K> comparator) { in copyOfInternal()
166 SortedMap<K, V> map, Entry<? extends K, ? extends V> entry) { in putEntryWithChecks()
206 @Override public Builder<K, V> put(Entry<? extends K, ? extends V> entry) { in put()
211 @Override public Builder<K, V> putAll(Map<? extends K, ? extends V> map) { in putAll()
/external/srec/srec/crec/
Dsrec_stats.h40 #define SREC_STATS_INC_STOKEN_REPRUNES(K) argument
41 #define SREC_STATS_INC_FTOKEN_REPRUNES(K) argument
42 #define SREC_STATS_INC_WTOKEN_REPRUNES(K) argument
54 #define SREC_STATS_INC_STOKEN_REPRUNES(K) srec_stats_inc_stoken_reprunes(K) argument
55 #define SREC_STATS_INC_FTOKEN_REPRUNES(K) srec_stats_inc_ftoken_reprunes(K) argument
56 #define SREC_STATS_INC_WTOKEN_REPRUNES(K) srec_stats_inc_wtoken_reprunes(K) argument
57 #define SREC_STATS_INC_AWTOKEN_REPRUNES(K) srec_stats_inc_awtoken_reprunes(K) argument
/external/guava/guava/src/com/google/common/cache/
DLocalCache.java233 LocalCache(CacheBuilder<? super K, ? super V> builder, CacheLoader<? super K, V> loader) { in LocalCache()
376 Segment<K, V> segment, ReferenceEntry<K, V> entry, V value, int weight) { in referenceValue()
391 Segment<K, V> segment, ReferenceEntry<K, V> entry, V value, int weight) { in referenceValue()
407 Segment<K, V> segment, ReferenceEntry<K, V> entry, V value, int weight) { in referenceValue()
424 Segment<K, V> segment, ReferenceEntry<K, V> entry, V value, int weight); in referenceValue()
441 Segment<K, V> segment, K key, int hash, @Nullable ReferenceEntry<K, V> next) { in newEntry()
448 Segment<K, V> segment, K key, int hash, @Nullable ReferenceEntry<K, V> next) { in newEntry()
453 <K, V> ReferenceEntry<K, V> copyEntry( in copyEntry()
454 Segment<K, V> segment, ReferenceEntry<K, V> original, ReferenceEntry<K, V> newNext) { in copyEntry()
463 Segment<K, V> segment, K key, int hash, @Nullable ReferenceEntry<K, V> next) { in newEntry()
[all …]
/external/libgsm/src/
Dlong_term.c370 # define STEP(K, a, b, c, d, e, f, g, h) \ argument
383 # define STEP_A(K) STEP(K, a, b, c, d, e, f, g, h) argument
384 # define STEP_B(K) STEP(K, b, c, d, e, f, g, h, a) argument
385 # define STEP_C(K) STEP(K, c, d, e, f, g, h, a, b) argument
386 # define STEP_D(K) STEP(K, d, e, f, g, h, a, b, c) argument
387 # define STEP_E(K) STEP(K, e, f, g, h, a, b, c, d) argument
388 # define STEP_F(K) STEP(K, f, g, h, a, b, c, d, e) argument
389 # define STEP_G(K) STEP(K, g, h, a, b, c, d, e, f) argument
390 # define STEP_H(K) STEP(K, h, a, b, c, d, e, f, g) argument
536 # define STEP(K, a, b, c, d, e, f, g, h) \ argument
[all …]
/external/clang/test/CXX/special/class.init/class.base.init/
Dp8-0x.cpp45 struct K { struct
46 union {
50 K() {} in K() argument
51 K(int n) : n(n) {} in K() function
52 K(int n, bool) : ndc(n) {} in K() argument
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DMapTestSuiteBuilder.java58 TestMapGenerator<K, V> generator) { in using()
83 ? extends OneSizeTestContainerGenerator<Map<K, V>, Map.Entry<K, V>>> in createDerivedSuites()
185 OneSizeTestContainerGenerator< in MapEntrySetGenerator()
186 Map<K, V>, Map.Entry<K, V>> mapGenerator) { in MapEntrySetGenerator()
207 List<Map.Entry<K, V>> insertionOrder) { in order()
221 OneSizeTestContainerGenerator<Map<K, V>, Map.Entry<K, V>> in MapKeySetGenerator()
282 OneSizeTestContainerGenerator< in MapValueCollectionGenerator()
283 Map<K, V>, Map.Entry<K, V>> mapGenerator) { in MapValueCollectionGenerator()
DAbstractMapTester.java171 @Override protected void expectMissing(Entry<K, V>... entries) { in expectMissing()
189 @Override protected void expectContents(Collection<Entry<K, V>> expected) { in expectContents()
198 protected final void expectReplacement(Entry<K, V> newEntry) { in expectReplacement()
204 private void replaceValue(List<Entry<K, V>> expected, Entry<K, V> newEntry) { in replaceValue()
226 protected void resetMap(Entry<K, V>[] entries) { in resetMap()
DNavigableMapTestSuiteBuilder.java40 TestMapGenerator<K, V> generator) { in using()
53 ? extends OneSizeTestContainerGenerator<Map<K, V>, Entry<K, V>>> parentBuilder) { in createDerivedSuites()
110 ? extends OneSizeTestContainerGenerator<Map<K, V>, Entry<K, V>>> in createSubmapSuite()
/external/clang/include/clang/Basic/
DTokenKinds.h67 inline bool isAnyIdentifier(TokenKind K) { in isAnyIdentifier()
73 inline bool isStringLiteral(TokenKind K) { in isStringLiteral()
81 inline bool isLiteral(TokenKind K) { in isLiteral()
89 inline bool isAnnotation(TokenKind K) { in isAnnotation()
/external/smack/src/org/jivesoftware/smack/util/collections/
DAbstractHashedMap.java172 protected AbstractHashedMap(Map<? extends K, ? extends V> map) { in AbstractHashedMap()
303 public void putAll(Map<? extends K, ? extends V> map) { in putAll()
443 protected void updateEntry(HashEntry<K, V> entry, V newValue) { in updateEntry()
459 protected void reuseEntry(HashEntry<K, V> entry, int hashIndex, int hashCode, K key, V value) { in reuseEntry()
501 protected HashEntry<K, V> createEntry(HashEntry<K, V> next, int hashCode, K key, V value) { in createEntry()
514 protected void addEntry(HashEntry<K, V> entry, int hashIndex) { in addEntry()
530 protected void removeMapping(HashEntry<K, V> entry, int hashIndex, HashEntry<K, V> previous) { in removeMapping()
548 protected void removeEntry(HashEntry<K, V> entry, int hashIndex, HashEntry<K, V> previous) { in removeEntry()
564 protected void destroyEntry(HashEntry<K, V> entry) { in destroyEntry()
665 protected HashEntry<K, V> entryNext(HashEntry<K, V> entry) { in entryNext()
[all …]
DDefaultMapEntry.java51 public DefaultMapEntry(final KeyValue<K, V> pair) { in DefaultMapEntry()
61 public DefaultMapEntry(final Map.Entry<K, V> entry) { in DefaultMapEntry()
/external/guava/guava-tests/test/com/google/common/cache/
DTestingRemovalListeners.java55 public void onRemoval(RemovalNotification<K, V> notification) { in onRemoval()
69 public void onRemoval(RemovalNotification<K, V> notification) { in onRemoval()
96 public void onRemoval(RemovalNotification<K, V> notification) {} in onRemoval()
/external/guava/guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/
DCacheBuilder.java119 LocalManualCache(CacheBuilder<? super K, ? super V> builder) { in LocalManualCache()
123 protected LocalManualCache(CacheBuilder<? super K, ? super V> builder, in LocalManualCache()
124 CacheLoader<? super K, V> loader) { in LocalManualCache()
185 LocalLoadingCache(CacheBuilder<? super K, ? super V> builder, in LocalLoadingCache()
186 CacheLoader<? super K, V> loader) { in LocalLoadingCache()
212 LocalCache(CacheBuilder<? super K, ? super V> builder, CacheLoader<? super K, V> loader) { in LocalCache()
229 protected boolean removeEldestEntry(Map.Entry<K, V> ignored) { in removeEldestEntry()

12345678910>>...15