Home
last modified time | relevance | path

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

12345678910>>...25

/external/guava/guava/src/com/google/common/collect/
DMapConstraints.java84 public static <K, V> Map<K, V> constrainedMap( in constrainedMap()
85 Map<K, V> map, MapConstraint<? super K, ? super V> constraint) { in constrainedMap()
105 public static <K, V> Multimap<K, V> constrainedMultimap( in constrainedMultimap()
106 Multimap<K, V> multimap, MapConstraint<? super K, ? super V> constraint) { in constrainedMultimap()
126 public static <K, V> ListMultimap<K, V> constrainedListMultimap( in constrainedListMultimap()
128 MapConstraint<? super K, ? super V> constraint) { in constrainedListMultimap()
147 public static <K, V> SetMultimap<K, V> constrainedSetMultimap( in constrainedSetMultimap()
149 MapConstraint<? super K, ? super V> constraint) { in constrainedSetMultimap()
168 public static <K, V> SortedSetMultimap<K, V> constrainedSortedSetMultimap( in constrainedSortedSetMultimap()
170 MapConstraint<? super K, ? super V> constraint) { in constrainedSortedSetMultimap()
[all …]
DMapMakerInternalMap.java298 Segment<K, V> segment, ReferenceEntry<K, V> entry, V value) { in referenceValue()
311 Segment<K, V> segment, ReferenceEntry<K, V> entry, V value) { in referenceValue()
324 Segment<K, V> segment, ReferenceEntry<K, V> entry, V value) { in referenceValue()
338 Segment<K, V> segment, ReferenceEntry<K, V> entry, V value); in referenceValue()
355 Segment<K, V> segment, K key, int hash, @Nullable ReferenceEntry<K, V> next) { in newEntry()
362 Segment<K, V> segment, K key, int hash, @Nullable ReferenceEntry<K, V> next) { in newEntry()
367 <K, V> ReferenceEntry<K, V> copyEntry( in copyEntry()
368 Segment<K, V> segment, ReferenceEntry<K, V> original, ReferenceEntry<K, V> newNext) { in copyEntry()
377 Segment<K, V> segment, K key, int hash, @Nullable ReferenceEntry<K, V> next) { in newEntry()
382 <K, V> ReferenceEntry<K, V> copyEntry( in copyEntry()
[all …]
DMultimaps.java111 public static <K, V> Multimap<K, V> newMultimap(Map<K, Collection<V>> map, in newMultimap()
119 CustomMultimap(Map<K, Collection<V>> map, in CustomMultimap()
193 Map<K, Collection<V>> map, final Supplier<? extends List<V>> factory) { in newListMultimap()
201 CustomListMultimap(Map<K, Collection<V>> map, in CustomListMultimap()
271 Map<K, Collection<V>> map, final Supplier<? extends Set<V>> factory) { in newSetMultimap()
279 CustomSetMultimap(Map<K, Collection<V>> map, in CustomSetMultimap()
348 Map<K, Collection<V>> map, in newSortedSetMultimap()
358 CustomSortedSetMultimap(Map<K, Collection<V>> map, in CustomSortedSetMultimap()
449 public static <K, V> Multimap<K, V> synchronizedMultimap( in synchronizedMultimap()
471 public static <K, V> Multimap<K, V> unmodifiableMultimap( in unmodifiableMultimap()
[all …]
DComputingConcurrentHashMap.java50 Function<? super K, ? extends V> computingFunction) { in ComputingConcurrentHashMap()
72 ComputingSegment(MapMakerInternalMap<K, V> map, int initialCapacity, int maxSegmentSize) { in ComputingSegment()
76 V getOrCompute(K key, int hash, Function<? super K, ? extends V> computingFunction) in getOrCompute()
171 V compute(K key, int hash, ReferenceEntry<K, V> e, in compute()
172 ComputingValueReference<K, V> computingValueReference) in compute()
227 ReferenceQueue<V> queue, V value, ReferenceEntry<K, V> entry) { in copyFor()
242 public void clear(ValueReference<K, V> newValue) {} in clear()
267 ReferenceQueue<V> queue, V value, 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 …]
DLinkedHashMultimap.java118 Multimap<? extends K, ? extends V> multimap) { in create()
128 void setPredecessorInValueSet(ValueSetLink<K, V> entry); in setPredecessorInValueSet()
129 void setSuccessorInValueSet(ValueSetLink<K, V> entry); in setSuccessorInValueSet()
132 private static <K, V> void succeedsInValueSet(ValueSetLink<K, V> pred, ValueSetLink<K, V> succ) { in succeedsInValueSet()
138 ValueEntry<K, V> pred, ValueEntry<K, V> succ) { in succeedsInMultimap()
143 private static <K, V> void deleteFromValueSet(ValueSetLink<K, V> entry) { in deleteFromValueSet()
147 private static <K, V> void deleteFromMultimap(ValueEntry<K, V> entry) { in deleteFromMultimap()
171 @Nullable ValueEntry<K, V> nextInValueBucket) { in ValueEntry()
192 public void setPredecessorInValueSet(ValueSetLink<K, V> entry) { in setPredecessorInValueSet()
197 public void setSuccessorInValueSet(ValueSetLink<K, V> entry) { in setSuccessorInValueSet()
[all …]
DPlatform.java71 static <K, V1, V2> SortedMap<K, V2> mapsTransformEntriesSortedMap( in mapsTransformEntriesSortedMap()
73 EntryTransformer<? super K, ? super V1, V2> transformer) { in mapsTransformEntriesSortedMap()
80 Function<? super K, V> function) { in mapsAsMapSortedSet()
93 static <K, V> SortedMap<K, V> mapsFilterSortedMap(SortedMap<K, V> map, in mapsFilterSortedMap()
94 Predicate<? super Map.Entry<K, V>> predicate) { in mapsFilterSortedMap()
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DSetMultimapTestSuiteBuilder.java48 TestSetMultimapGenerator<K, V> generator) { in using()
67 OneSizeTestContainerGenerator<SetMultimap<K, V>, Entry<K, V>>> parentBuilder) { in computeMultimapGetTestSuite()
79 OneSizeTestContainerGenerator<SetMultimap<K, V>, Entry<K, V>>> parentBuilder) { in computeMultimapAsMapGetTestSuite()
96 OneSizeTestContainerGenerator<SetMultimap<K, V>, Map.Entry<K, V>>> parentBuilder) { in computeEntriesTestSuite()
110 OneSizeTestContainerGenerator<SetMultimap<K, V>, Entry<K, V>> multimapGenerator) { in EntriesGenerator()
124 OneSizeTestContainerGenerator<SetMultimap<K, V>, Entry<K, V>> multimapGenerator) { in MultimapGetGenerator()
139 OneSizeTestContainerGenerator<SetMultimap<K, V>, Entry<K, V>> multimapGenerator) { in MultimapAsMapGetGenerator()
DListMultimapTestSuiteBuilder.java49 TestListMultimapGenerator<K, V> generator) { in using()
69 OneSizeTestContainerGenerator<ListMultimap<K, V>, Entry<K, V>>> parentBuilder) { in computeMultimapGetTestSuite()
81 OneSizeTestContainerGenerator<ListMultimap<K, V>, Entry<K, V>>> parentBuilder) { in computeMultimapAsMapGetTestSuite()
112 OneSizeTestContainerGenerator<ListMultimap<K, V>, Entry<K, V>> multimapGenerator) { in MultimapGetGenerator()
127 OneSizeTestContainerGenerator<ListMultimap<K, V>, Entry<K, V>> multimapGenerator) { in MultimapAsMapGetGenerator()
DSortedSetMultimapTestSuiteBuilder.java46 TestSetMultimapGenerator<K, V> generator) { in using()
67 OneSizeTestContainerGenerator<SetMultimap<K, V>, Entry<K, V>>> parentBuilder) { in computeMultimapGetTestSuite()
80 OneSizeTestContainerGenerator<SetMultimap<K, V>, Entry<K, V>>> parentBuilder) { in computeMultimapAsMapGetTestSuite()
DDerivedGoogleCollectionGenerators.java49 OneSizeTestContainerGenerator<BiMap<K, V>, Entry<K, V>> oneSizeTestContainerGenerator) { in MapGenerator()
69 public Iterable<Map.Entry<K, V>> order(List<Map.Entry<K, V>> insertionOrder) { in order()
96 OneSizeTestContainerGenerator<BiMap<K, V>, Entry<K, V>> oneSizeTestContainerGenerator) { in InverseBiMapGenerator()
107 private Map.Entry<V, K> reverse(Map.Entry<K, V> entry) { in reverse()
156 OneSizeTestContainerGenerator<BiMap<K, V>, Entry<K, V>> mapGenerator) { in BiMapValueSetGenerator()
DAbstractBiMapTester.java40 static <K, V> Entry<V, K> reverseEntry(Entry<K, V> entry) { in reverseEntry()
45 protected void expectContents(Collection<Entry<K, V>> expected) { in expectContents()
61 protected void expectMissing(Entry<K, V>... entries) { in expectMissing()
DMultimapTestSuiteBuilder.java72 TestMultimapGenerator<K, V, M> generator) { in using()
106 ? extends OneSizeTestContainerGenerator<M, Map.Entry<K, V>>> in createDerivedSuites()
141 extends OneSizeTestContainerGenerator<M, Map.Entry<K, V>>> parentBuilder) { in computeValuesTestSuite()
152 extends OneSizeTestContainerGenerator<M, Map.Entry<K, V>>> parentBuilder) { in computeEntriesTestSuite()
163 OneSizeTestContainerGenerator<M, Map.Entry<K, V>>> parentBuilder) { in computeMultimapGetTestSuite()
174 OneSizeTestContainerGenerator<M, Map.Entry<K, V>>> parentBuilder) { in computeMultimapAsMapGetTestSuite()
190 OneSizeTestContainerGenerator<M, Map.Entry<K, V>>> parentBuilder) { in computeKeysTestSuite()
314 OneSizeTestContainerGenerator<M, Entry<K, V>> multimapGenerator) { in AsMapGenerator()
364 public Iterable<Entry<K, Collection<V>>> order(List<Entry<K, Collection<V>>> insertionOrder) { in order()
399 OneSizeTestContainerGenerator<M, Entry<K, V>> multimapGenerator) { in EntriesGenerator()
[all …]
/external/guava/guava/src/com/google/common/cache/
DLocalCache.java236 CacheBuilder<? super K, ? super V> builder, @Nullable CacheLoader<? super K, V> loader) { in LocalCache()
381 Segment<K, V> segment, ReferenceEntry<K, V> entry, V value, int weight) { in referenceValue()
396 Segment<K, V> segment, ReferenceEntry<K, V> entry, V value, int weight) { in referenceValue()
412 Segment<K, V> segment, ReferenceEntry<K, V> entry, V value, int weight) { in referenceValue()
429 Segment<K, V> segment, ReferenceEntry<K, V> entry, V value, int weight); in referenceValue()
446 Segment<K, V> segment, K key, int hash, @Nullable ReferenceEntry<K, V> next) { in newEntry()
453 Segment<K, V> segment, K key, int hash, @Nullable ReferenceEntry<K, V> next) { in newEntry()
458 <K, V> ReferenceEntry<K, V> copyEntry( in copyEntry()
459 Segment<K, V> segment, ReferenceEntry<K, V> original, ReferenceEntry<K, V> newNext) { in copyEntry()
468 Segment<K, V> segment, K key, int hash, @Nullable ReferenceEntry<K, V> next) { in newEntry()
[all …]
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
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()
168 Map<K, Collection<V>> map, final Supplier<? extends List<V>> factory) { in newListMultimap()
176 CustomListMultimap(Map<K, Collection<V>> map, in CustomListMultimap()
225 Map<K, Collection<V>> map, final Supplier<? extends Set<V>> factory) { in newSetMultimap()
233 CustomSetMultimap(Map<K, Collection<V>> map, in CustomSetMultimap()
281 Map<K, Collection<V>> map, in newSortedSetMultimap()
291 CustomSortedSetMultimap(Map<K, Collection<V>> map, in CustomSortedSetMultimap()
360 public static <K, V> Multimap<K, V> synchronizedMultimap( in synchronizedMultimap()
382 public static <K, V> Multimap<K, V> unmodifiableMultimap( in unmodifiableMultimap()
[all …]
DLinkedHashMultimap.java114 Multimap<? extends K, ? extends V> multimap) { in create()
124 void setPredecessorInValueSet(ValueSetLink<K, V> entry); in setPredecessorInValueSet()
125 void setSuccessorInValueSet(ValueSetLink<K, V> entry); in setSuccessorInValueSet()
128 private static <K, V> void succeedsInValueSet(ValueSetLink<K, V> pred, ValueSetLink<K, V> succ) { in succeedsInValueSet()
134 ValueEntry<K, V> pred, ValueEntry<K, V> succ) { in succeedsInMultimap()
139 private static <K, V> void deleteFromValueSet(ValueSetLink<K, V> entry) { in deleteFromValueSet()
143 private static <K, V> void deleteFromMultimap(ValueEntry<K, V> entry) { in deleteFromMultimap()
167 @Nullable ValueEntry<K, V> nextInValueBucket) { in ValueEntry()
188 public void setPredecessorInValueSet(ValueSetLink<K, V> entry) { in setPredecessorInValueSet()
193 public void setSuccessorInValueSet(ValueSetLink<K, V> entry) { in setSuccessorInValueSet()
[all …]
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DNavigableMapTestSuiteBuilder.java42 TestSortedMapGenerator<K, V> generator) { in using()
56 ? extends OneSizeTestContainerGenerator<Map<K, V>, Entry<K, V>>> parentBuilder) { in createDerivedSuites()
83 TestSortedMapGenerator<K, V> delegate, Bound to, Bound from) { in NavigableMapSubmapTestMapGenerator()
87 @Override NavigableMap<K, V> createSubMap(SortedMap<K, V> sortedMap, K firstExclusive, in createSubMap()
108 TestSortedMapGenerator<K, V> delegate, Bound to, Bound from) { in newBuilderUsing()
116 ? extends OneSizeTestContainerGenerator<Map<K, V>, Entry<K, V>>> parentBuilder) { in createDescendingSuite()
132 public Iterable<Entry<K, V>> order(List<Entry<K, V>> insertionOrder) { in createDescendingSuite()
DSortedMapTestSuiteBuilder.java40 TestSortedMapGenerator<K, V> generator) { in using()
63 ? extends OneSizeTestContainerGenerator<Map<K, V>, Entry<K, V>>> parentBuilder) { in createDerivedSuites()
104 ? extends OneSizeTestContainerGenerator<Map<K, V>, Entry<K, V>>> in createSubmapSuite()
122 TestSortedMapGenerator<K, V> delegate, Bound to, Bound from) { in newBuilderUsing()
DMapTestSuiteBuilder.java63 TestMapGenerator<K, V> generator) { in using()
92 ? extends OneSizeTestContainerGenerator<Map<K, V>, Map.Entry<K, V>>> in createDerivedSuites()
136 TestSetGenerator<Map.Entry<K, V>> entrySetGenerator) { in createDerivedEntrySetSuite()
236 OneSizeTestContainerGenerator< in ReserializedMapGenerator()
237 Map<K, V>, Map.Entry<K, V>> mapGenerator) { in ReserializedMapGenerator()
253 List<Map.Entry<K, V>> insertionOrder) { in order()
DDerivedCollectionGenerators.java51 OneSizeTestContainerGenerator< in MapEntrySetGenerator()
52 Map<K, V>, Map.Entry<K, V>> mapGenerator) { in MapEntrySetGenerator()
73 List<Map.Entry<K, V>> insertionOrder) { in order()
87 OneSizeTestContainerGenerator<Map<K, V>, Map.Entry<K, V>> mapGenerator) { in keySetGenerator()
104 OneSizeTestContainerGenerator<Map<K, V>, Map.Entry<K, V>> in MapKeySetGenerator()
178 OneSizeTestContainerGenerator<Map<K, V>, Entry<K, V>> mapGenerator) { in MapSortedKeySetGenerator()
217 OneSizeTestContainerGenerator< in MapValueCollectionGenerator()
218 Map<K, V>, Map.Entry<K, V>> mapGenerator) { in MapValueCollectionGenerator()
296 ForwardingTestMapGenerator(TestMapGenerator<K, V> delegate) { in ForwardingTestMapGenerator()
301 public Iterable<Entry<K, V>> order(List<Entry<K, V>> insertionOrder) { in order()
[all …]
DAbstractMapTester.java172 @Override protected void expectMissing(Entry<K, V>... entries) { in expectMissing()
191 @Override protected void expectContents(Collection<Entry<K, V>> expected) { in expectContents()
200 protected final void expectReplacement(Entry<K, V> newEntry) { in expectReplacement()
206 private void replaceValue(List<Entry<K, V>> expected, Entry<K, V> newEntry) { in replaceValue()
228 protected void resetMap(Entry<K, V>[] entries) { in resetMap()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DMapField.java85 void convertMessageToKeyAndValue(Message message, Map<K, V> map); in convertMessageToKeyAndValue()
92 public ImmutableMessageConverter(MapEntry<K, V> defaultEntry) { in ImmutableMessageConverter()
102 public void convertMessageToKeyAndValue(Message message, Map<K, V> map) { in convertMessageToKeyAndValue()
117 Converter<K, V> converter, in MapField()
119 Map<K, V> mapData) { in MapField()
128 MapEntry<K, V> defaultEntry, in MapField()
130 Map<K, V> mapData) { in MapField()
137 MapEntry<K, V> defaultEntry) { in emptyMapField()
144 public static <K, V> MapField<K, V> newMapField(MapEntry<K, V> defaultEntry) { in newMapField()
155 private void convertMessageToKeyAndValue(Message message, Map<K, V> map) { in convertMessageToKeyAndValue()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DBenchmarkHelpers.java84 <K, V> ListMultimap<K, V> create(Multimap<K, V> contents) { in create()
90 <K, V> ListMultimap<K, V> create(Multimap<K, V> contents) { in create()
96 <K, V> ListMultimap<K, V> create(Multimap<K, V> contents) { in create()
101 abstract <K, V> ListMultimap<K, V> create(Multimap<K, V> contents); in create()
107 <K extends Comparable<K>, V extends Comparable<V>> SetMultimap<K, V> create( in create()
114 <K extends Comparable<K>, V extends Comparable<V>> SetMultimap<K, V> create( in create()
121 <K extends Comparable<K>, V extends Comparable<V>> SetMultimap<K, V> create( in create()
128 <K extends Comparable<K>, V extends Comparable<V>> SetMultimap<K, V> create( in create()
134 abstract <K extends Comparable<K>, V extends Comparable<V>> SetMultimap<K, V> create( in create()
141 <K, V> Map<K, V> create(Map<K, V> map) { in create()
[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.cpp42 struct K { struct
43 union {
47 K() {} in K() function
48 K(int n) : n(n) {} in K() function
49 K(int n, bool) : ndc(n) {} in K() argument
/external/clang/include/clang/Basic/
DTokenKinds.h73 inline bool isAnyIdentifier(TokenKind K) { in isAnyIdentifier()
79 inline bool isStringLiteral(TokenKind K) { in isStringLiteral()
87 inline bool isLiteral(TokenKind K) { in isLiteral()
95 inline bool isAnnotation(TokenKind K) { in isAnnotation()

12345678910>>...25