Home
last modified time | relevance | path

Searched refs:uniqueIndex (Results 1 – 13 of 13) sorted by relevance

/external/aac/libDRCdec/src/
DdrcDec_tools.cpp165 SCHAR* uniqueIndex, /* out (gainSetIndexForChannelGroup) */ in deriveDrcChannelGroups() argument
175 uniqueIndex[g] = -10; in deriveDrcChannelGroups()
197 uniqueIndex[g] = idx; in deriveDrcChannelGroups()
221 if ((uniqueIndex[n] == idx) && (uniqueScaling[n] == factor)) { in deriveDrcChannelGroups()
229 uniqueIndex[g] = idx; in deriveDrcChannelGroups()
245 if (uniqueIndex[n] == idx) { in deriveDrcChannelGroups()
253 uniqueIndex[g] = idx; in deriveDrcChannelGroups()
267 uniqueIndex[g] = duckingSequence; in deriveDrcChannelGroups()
DdrcDec_tools.h127 SCHAR* uniqueIndex, /* out (gainSetIndexForChannelGroup) */
/external/skia/src/core/
DSkGlyphRun.cpp139 auto uniqueIndex = fUniverseToUnique[glyphID]; in uniquifyGlyphIDs() local
141 if (uniqueIndex >= uniqueSize || uniqueGlyphIDs[uniqueIndex] != glyphID) { in uniquifyGlyphIDs()
142 uniqueIndex = SkTo<uint16_t>(uniqueSize); in uniquifyGlyphIDs()
144 fUniverseToUnique[glyphID] = uniqueIndex; in uniquifyGlyphIDs()
148 denseIndices[denseIndicesCursor++] = uniqueIndex; in uniquifyGlyphIDs()
/external/skqp/src/core/
DSkGlyphRun.cpp139 auto uniqueIndex = fUniverseToUnique[glyphID]; in uniquifyGlyphIDs() local
141 if (uniqueIndex >= uniqueSize || uniqueGlyphIDs[uniqueIndex] != glyphID) { in uniquifyGlyphIDs()
142 uniqueIndex = SkTo<uint16_t>(uniqueSize); in uniquifyGlyphIDs()
144 fUniverseToUnique[glyphID] = uniqueIndex; in uniquifyGlyphIDs()
148 denseIndices[denseIndicesCursor++] = uniqueIndex; in uniquifyGlyphIDs()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DFluentIterable.java449 public final <K> ImmutableMap<K, E> uniqueIndex(Function<? super E, K> keyFunction) {
450 return Maps.uniqueIndex(iterable, keyFunction);
DMaps.java962 public static <K, V> ImmutableMap<K, V> uniqueIndex(
964 return uniqueIndex(values.iterator(), keyFunction);
982 public static <K, V> ImmutableMap<K, V> uniqueIndex(
/external/guava/guava/src/com/google/common/collect/
DFluentIterable.java461 public final <K> ImmutableMap<K, E> uniqueIndex(Function<? super E, K> keyFunction) {
462 return Maps.uniqueIndex(iterable, keyFunction);
DMaps.java1138 public static <K, V> ImmutableMap<K, V> uniqueIndex(
1140 return uniqueIndex(values.iterator(), keyFunction);
1158 public static <K, V> ImmutableMap<K, V> uniqueIndex(
/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/
DKeyMap.java38 return new KeyMap(modifierKeyCombinationSet, ImmutableSortedMap.copyOf(Maps.uniqueIndex( in of()
DModifierKey.java29 … private static final ImmutableMap<String, ModifierKey> STRING_TO_MODIFIER_KEY = Maps.uniqueIndex(
/external/guava/guava-tests/test/com/google/common/collect/
DFluentIterableTest.java646 FluentIterable.from(asList("two", "three", "four")).uniqueIndex( in testUniqueIndex()
658 FluentIterable.from(asList("one", "two", "three", "four")).uniqueIndex( in testUniqueIndex_duplicateKey()
672 fluent(1, 2, 3).uniqueIndex(Functions.constant(null)); in testUniqueIndex_nullKey()
680 fluent(1, null, 2).uniqueIndex(new Function<Integer, Object>() { in testUniqueIndex_nullValue()
DMapsTest.java984 Maps.uniqueIndex(INT_TO_STRING_MAP.values(), in testUniqueIndexCollection()
991 Maps.uniqueIndex(new Iterable<String>() { in testUniqueIndexIterable()
1003 Maps.uniqueIndex(INT_TO_STRING_MAP.values().iterator(), in testUniqueIndexIterator()
1011 Maps.uniqueIndex(ImmutableSet.of("one", "uno"), Functions.constant(1)); in testUniqueIndexDuplicates()
1021 Maps.uniqueIndex(listWithNull, Functions.constant(1)); in testUniqueIndexNullValue()
1031 Maps.uniqueIndex(oneStringList, Functions.constant(null)); in testUniqueIndexNullKey()
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DMapsTest.java760 Maps.uniqueIndex(INT_TO_STRING_MAP.values(), in testUniqueIndexCollection()
767 Maps.uniqueIndex(new Iterable<String>() { in testUniqueIndexIterable()
779 Maps.uniqueIndex(INT_TO_STRING_MAP.values().iterator(), in testUniqueIndexIterator()
787 Maps.uniqueIndex(ImmutableSet.of("one", "uno"), Functions.constant(1)); in testUniqueIndexDuplicates()
797 Maps.uniqueIndex(listWithNull, Functions.constant(1)); in testUniqueIndexNullValue()
807 Maps.uniqueIndex(oneStringList, Functions.constant(null)); in testUniqueIndexNullKey()