/external/guava/guava/src/com/google/common/collect/ |
D | RegularImmutableBiMap.java | 30 final transient ImmutableBiMap<V, K> inverse; field in RegularImmutableBiMap 40 this.inverse = new RegularImmutableBiMap<V, K>(backwardMap, this); in RegularImmutableBiMap() 44 ImmutableBiMap<V, K> inverse) { in RegularImmutableBiMap() argument 46 this.inverse = inverse; in RegularImmutableBiMap() 53 @Override public ImmutableBiMap<V, K> inverse() { in inverse() method in RegularImmutableBiMap 54 return inverse; in inverse() 58 return delegate.isPartialView() || inverse.delegate().isPartialView(); in isPartialView()
|
D | AbstractBiMap.java | 52 private transient AbstractBiMap<V, K> inverse; field in AbstractBiMap 62 inverse = forward; in AbstractBiMap() 75 checkState(inverse == null); in setDelegates() 80 inverse = new Inverse<V, K>(backward, this); in setDelegates() 83 void setInverse(AbstractBiMap<V, K> inverse) { in setInverse() argument 84 this.inverse = inverse; in setInverse() 90 return inverse.containsKey(value); in containsValue() 110 inverse().remove(value); in putInBothMaps() 124 inverse.delegate.put(newValue, key); in updateInverseMap() 138 inverse.delegate.remove(oldValue); in removeFromInverseMap() [all …]
|
D | ImmutableBiMap.java | 224 public abstract ImmutableBiMap<V, K> inverse(); in inverse() method in ImmutableBiMap 231 return inverse().containsKey(value); in containsValue() 251 return inverse().keySet(); in values() 291 @Override public ImmutableBiMap<Object, Object> inverse() { in inverse() method in ImmutableBiMap.EmptyBiMap
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
D | RegularImmutableBiMap.java | 30 private ImmutableBiMap<V, K> inverse; field in RegularImmutableBiMap 40 this.inverse = new RegularImmutableBiMap<V, K>(backwardMap, this); in RegularImmutableBiMap() 44 ImmutableBiMap<V, K> inverse) { in RegularImmutableBiMap() argument 46 this.inverse = inverse; in RegularImmutableBiMap() 49 @Override public ImmutableBiMap<V, K> inverse() { in inverse() method in RegularImmutableBiMap 50 return inverse; in inverse()
|
D | AbstractBiMap.java | 48 private transient AbstractBiMap<V, K> inverse; field in AbstractBiMap 58 inverse = forward; in AbstractBiMap() 71 checkState(inverse == null); in setDelegates() 76 inverse = new Inverse<V, K>(backward, this); in setDelegates() 79 void setInverse(AbstractBiMap<V, K> inverse) { in setInverse() argument 80 this.inverse = inverse; in setInverse() 86 return inverse.containsKey(value); in containsValue() 106 inverse().remove(value); in putInBothMaps() 120 inverse.delegate.put(newValue, key); in updateInverseMap() 134 inverse.delegate.remove(oldValue); in removeFromInverseMap() [all …]
|
D | ImmutableListMultimap.java | 281 private transient ImmutableListMultimap<V, K> inverse; field in ImmutableListMultimap 293 public ImmutableListMultimap<V, K> inverse() { in inverse() method in ImmutableListMultimap 294 ImmutableListMultimap<V, K> result = inverse; in inverse() 295 return (result == null) ? (inverse = invert()) : result; in inverse() 304 invertedMultimap.inverse = this; in invert()
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | AbstractBiMapTest.java | 114 BiMap<String, Integer> inverse = bimap.inverse(); in testInverseSimple() local 117 assertEquals(ImmutableMap.of("one", 1, "two", 2), inverse); in testInverseSimple() 120 assertSame(bimap, inverse.inverse()); in testInverseSimple() 124 BiMap<String, Integer> inverse = bimap.inverse(); in testInversePut() local 126 bimap.inverse().put("two", 2); in testInversePut() 127 assertEquals(ImmutableMap.of("one", 1, "two", 2), inverse); in testInversePut() 325 assertEquals(2, bimap.inverse().size()); in testEntrySetRemove() 329 assertEquals(2, bimap.inverse().size()); in testEntrySetRemove() 341 assertEquals(2, bimap.inverse().size()); in testEntrySetRemoveAll() 352 assertEquals(Integer.valueOf(1), bimap.inverse().get("one")); in testEntrySetValue() [all …]
|
D | ImmutableBiMapTest.java | 162 assertEquals(entry.getKey(), bimap.inverse().get(entry.getValue())); in assertMoreInvariants() 204 return ImmutableBiMap.of(1, "one", 2, "two", 3, "three").inverse(); in makePopulatedMap() 221 assertEquals(Collections.<Integer, String>emptyMap(), map.inverse()); in testEmptyBuilder() 230 assertMapEquals(map.inverse(), 1, "one"); in testSingletonBuilder() 244 assertMapEquals(map.inverse(), in testBuilder() 270 assertMapEquals(map.inverse(), in testBuilderPutAll() 286 assertMapEquals(mapOne.inverse(), 1, "one", 2, "two"); in testBuilderReuse() 288 assertMapEquals(mapTwo.inverse(), in testBuilderReuse() 346 ImmutableBiMap.of("one", 1).inverse(), in testOf() 352 ImmutableBiMap.of("one", 1, "two", 2).inverse(), in testOf() [all …]
|
D | SynchronizedBiMapTest.java | 61 public BiMap<V, K> inverse() { in inverse() method in SynchronizedBiMapTest.TestBiMap 63 return delegate.inverse(); in inverse() 80 BiMap<Integer, String> inverse = bimap.inverse(); in testInverse() local 81 assertSame(bimap, inverse.inverse()); in testInverse() 82 assertTrue(inverse instanceof SynchronizedBiMap); in testInverse() 83 assertSame(mutex, ((SynchronizedBiMap<?, ?>) inverse).mutex); in testInverse()
|
D | HashBiMapTest.java | 44 assertEquals("canada", bimap.inverse().get("dollar")); in testCreate() 55 assertEquals("canada", bimap.inverse().get("dollar")); in testMapConstructor() 62 BiMap<Integer, Integer> inverse = bimap.inverse(); in testBashIt() local 71 assertEquals(2 * i, (int) inverse.get(2 * i + 1)); in testBashIt() 81 assertEquals(2 * i, (int) inverse.get(2 * i - 1)); in testBashIt() 106 assertEquals(1, bimap.inverse().size()); in testIdentityKeySetIteratorRemove() 121 assertEquals(1, bimap.inverse().size()); in testIdentityEntrySetIteratorRemove()
|
D | BiMapMapInterfaceTest.java | 63 BiMap<Integer, String> inverse = bimap.inverse(); in assertMoreInvariants() local 64 assertEquals(bimap.size(), inverse.size()); in assertMoreInvariants() 66 assertEquals(entry.getKey(), inverse.get(entry.getValue())); in assertMoreInvariants() 68 for (Entry<Integer, String> entry : inverse.entrySet()) { in assertMoreInvariants() 89 return HashBiMap.<Integer, String>create().inverse(); in makeEmptyMap()
|
D | EnumHashBiMapTest.java | 47 assertEquals(Currency.DOLLAR, bimap.inverse().get("dollar")); in testCreate() 59 assertEquals(Currency.DOLLAR, bimap.inverse().get("dollar")); in testCreateFromMap() 90 bimap2.inverse().put("franc", Currency.FRANC); in testEnumHashBiMapConstructor() 112 bimap2.inverse().put("franc", Currency.FRANC); in testEnumBiMapConstructor() 142 assertEquals(bimap.inverse(), copy.inverse()); in testSerialization() 154 assertEquals(Currency.PESO, bimap.inverse().get("dollar")); in testForcePut() 156 assertEquals(1, bimap.inverse().size()); in testForcePut()
|
D | InverseBiMapTest.java | 29 BiMap<String, Integer> inverse = HashBiMap.create(); in create() local 30 return inverse.inverse(); in create()
|
D | EnumBiMapTest.java | 50 assertEquals(Currency.DOLLAR, bimap.inverse().get(Country.CANADA)); in testCreate() 61 assertEquals(Currency.DOLLAR, bimap.inverse().get(Country.CANADA)); in testCreateFromMap() 90 bimap2.inverse().put(Country.SWITZERLAND, Currency.FRANC); in testEnumBiMapConstructor() 125 assertEquals(bimap.inverse(), copy.inverse()); in testSerialization() 144 ASSERT.that(bimap.inverse().keySet()) in testIterationOrder() 147 ASSERT.that(bimap.inverse().values()) in testIterationOrder()
|
D | ImmutableListMultimapTest.java | 417 ImmutableListMultimap.<String, Integer>of().inverse()); in testInverse() 420 ImmutableListMultimap.of("one", 1).inverse()); in testInverse() 423 ImmutableListMultimap.of("one", 1, "two", 2).inverse()); in testInverse() 425 ImmutableListMultimap.of("of", 'o', "of", 'f', "to", 't', "to", 'o').inverse(), in testInverse() 429 ImmutableListMultimap.of("foo", 'f', "foo", 'o', "foo", 'o').inverse()); in testInverse() 442 assertSame(multimap.inverse(), multimap.inverse()); in testInverseMinimizesWork() 443 assertSame(multimap, multimap.inverse().inverse()); in testInverseMinimizesWork()
|
D | ImmutableSetMultimapTest.java | 423 ImmutableSetMultimap.<String, Integer>of().inverse()); in testInverse() 426 ImmutableSetMultimap.of("one", 1).inverse()); in testInverse() 429 ImmutableSetMultimap.of("one", 1, "two", 2).inverse()); in testInverse() 432 ImmutableSetMultimap.of("of", 'o', "of", 'f', "to", 't', "to", 'o').inverse()); in testInverse() 438 assertSame(multimap.inverse(), multimap.inverse()); in testInverseMinimizesWork() 439 assertSame(multimap, multimap.inverse().inverse()); in testInverseMinimizesWork()
|
/external/skia/tests/ |
D | Matrix44Test.cpp | 81 SkMatrix44 mat, inverse, iden1, iden2, rot; in TestMatrix44() local 85 mat.invert(&inverse); in TestMatrix44() 86 iden1.setConcat(mat, inverse); in TestMatrix44() 90 mat.invert(&inverse); in TestMatrix44() 91 iden1.setConcat(mat, inverse); in TestMatrix44() 95 mat.invert(&inverse); in TestMatrix44() 96 iden1.setConcat(mat, inverse); in TestMatrix44() 107 mat.invert(&inverse); in TestMatrix44() 108 iden1.setConcat(mat, inverse); in TestMatrix44() 110 iden2.setConcat(inverse, mat); in TestMatrix44()
|
D | MatrixTest.cpp | 149 SkMatrix mat, inverse, iden1, iden2; in TestMatrix() local 153 mat.invert(&inverse); in TestMatrix() 154 iden1.setConcat(mat, inverse); in TestMatrix() 158 mat.invert(&inverse); in TestMatrix() 159 iden1.setConcat(mat, inverse); in TestMatrix() 164 mat.invert(&inverse); in TestMatrix() 165 iden1.setConcat(mat, inverse); in TestMatrix() 172 mat.invert(&inverse); in TestMatrix() 173 iden1.setConcat(mat, inverse); in TestMatrix() 175 iden2.setConcat(inverse, mat); in TestMatrix()
|
/external/iproute2/netem/ |
D | maketable.c | 138 short *inverse; in inverttable() local 141 inverse = (short *)malloc(inversesize*sizeof(short)); in inverttable() 143 inverse[i] = MINSHORT; in inverttable() 152 inverse[inverseindex] = inversevalue; in inverttable() 154 return inverse; in inverttable() 203 short *inverse; in main() local 228 inverse = inverttable(table, TABLESIZE, DISTTABLESIZE, total); in main() 229 interpolatetable(inverse, TABLESIZE); in main() 230 printtable(inverse, TABLESIZE); in main()
|
D | README.distribution | 6 translated, inverse to the cumulative distribution function. 17 F is monotonically increasing, so has an inverse function G, with range 35 -- since G and F are inverse functions (and F is 44 simple expression which allows evaluating its inverse directly. The 65 for the ("normalized") inverse of size TABLESIZE, covering its domain 0 69 inverse's table, filling in any missing entries by linear interpolation.
|
/external/srec/srec/clib/ |
D | imeld_rd.c | 64 prep->inverse = create_matrix(matdim); in create_linear_transform() 81 ASSERT(prep->inverse); in free_linear_transform() 83 delete_matrix(prep->inverse, prep->dim); in free_linear_transform() 85 prep->inverse = NULL; in free_linear_transform() 167 invert_matrix(prep->imelda, prep->inverse, prep->dim); in init_newton_transform() 177 prep->inverse[ii][jj] = (covdata)(onerow[jj] / scale); in init_newton_transform() 182 prep->inverse, matdim); in init_newton_transform()
|
/external/skia/src/pdf/ |
D | SkPDFFormXObject.cpp | 38 SkMatrix inverse; in SkPDFFormXObject() local 39 inverse.reset(); in SkPDFFormXObject() 40 device->initialTransform().invert(&inverse); in SkPDFFormXObject() 41 insert("Matrix", SkPDFUtils::MatrixToArray(inverse))->unref(); in SkPDFFormXObject()
|
/external/webkit/Source/WebCore/rendering/ |
D | TransformState.cpp | 96 return m_accumulatedTransform->inverse().projectPoint(m_lastPlanarPoint); in mappedPoint() 107 return m_accumulatedTransform->inverse().projectQuad(m_lastPlanarQuad); in mappedQuad() 117 TransformationMatrix inverseTransform = t.inverse(); in flattenWithTransform() 157 TransformationMatrix inverseTransform = t.inverse(); in flattenWithTransform() 167 return m_accumulatedTransform.inverse().projectPoint(m_lastPlanarPoint); in mappedPoint() 172 return m_accumulatedTransform.inverse().projectQuad(m_lastPlanarQuad); in mappedQuad()
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
D | BiMapGenerators.java | 77 return ImmutableBiMap.copyOf(map).inverse().entrySet(); in createFromEntries() 88 return ImmutableBiMap.copyOf(map).inverse().keySet(); in create() 99 return ImmutableBiMap.copyOf(map).inverse().values(); in create()
|
/external/iproute2/ |
D | README.distribution | 4 translated, inverse to the cumulative distribution function. 15 F is monotonically increasing, so has an inverse function G, with range 33 -- since G and F are inverse functions (and F is 42 simple expression which allows evaluating its inverse directly. The 63 for the ("normalized") inverse of size TABLESIZE, covering its domain 0 67 inverse's table, filling in any missing entries by linear interpolation.
|