/external/llvm/unittests/ADT/ |
D | DenseMapTest.cpp | 81 T Map; member in __anonb018e79a0111::DenseMapTest 113 EXPECT_EQ(0u, this->Map.size()); in TYPED_TEST() 114 EXPECT_TRUE(this->Map.empty()); in TYPED_TEST() 117 EXPECT_TRUE(this->Map.begin() == this->Map.end()); in TYPED_TEST() 120 EXPECT_FALSE(this->Map.count(this->getKey())); in TYPED_TEST() 121 EXPECT_TRUE(this->Map.find(this->getKey()) == this->Map.end()); in TYPED_TEST() 124 this->Map.lookup(this->getKey())); in TYPED_TEST() 131 this->Map.lookup(this->getKey())); in TYPED_TEST() 137 const TypeParam &ConstMap = this->Map; in TYPED_TEST() 145 this->Map[this->getKey()] = this->getValue(); in TYPED_TEST() [all …]
|
/external/llvm/include/llvm/IR/ |
D | ValueMap.h | 82 MapT Map; variable 93 : Map(NumInitBuckets), Data() {} in Map() function 95 : Map(NumInitBuckets), Data(Data) {} in Map() function 101 inline iterator begin() { return iterator(Map.begin()); } in begin() 102 inline iterator end() { return iterator(Map.end()); } in end() 103 inline const_iterator begin() const { return const_iterator(Map.begin()); } in begin() 104 inline const_iterator end() const { return const_iterator(Map.end()); } in end() 106 bool empty() const { return Map.empty(); } in empty() 107 size_type size() const { return Map.size(); } in size() 110 void resize(size_t Size) { Map.resize(Size); } in resize() [all …]
|
/external/eigen/test/ |
D | mapstaticmethods.cpp | 30 PlainObjectType::Map(ptr).setZero(); in run() 32 PlainObjectType::Map(const_ptr).sum(); in run() 35 PlainObjectType::Map(ptr, InnerStride<>(i)).setZero(); in run() 37 PlainObjectType::Map(const_ptr, InnerStride<>(i)).sum(); in run() 40 PlainObjectType::Map(ptr, InnerStride<2>()).setZero(); in run() 42 PlainObjectType::Map(const_ptr, InnerStride<4>()).sum(); in run() 45 PlainObjectType::Map(ptr, OuterStride<>(i)).setZero(); in run() 47 PlainObjectType::Map(const_ptr, OuterStride<>(i)).sum(); in run() 50 PlainObjectType::Map(ptr, OuterStride<2>()).setZero(); in run() 52 PlainObjectType::Map(const_ptr, OuterStride<4>()).sum(); in run() [all …]
|
D | mapped_matrix.cpp | 29 Map<VectorType, Aligned>(array1, size) = VectorType::Random(size); in map_class_vector() 30 Map<VectorType, Aligned>(array2, size) = Map<VectorType,Aligned>(array1, size); in map_class_vector() 31 Map<VectorType>(array3unaligned, size) = Map<VectorType>(array1, size); in map_class_vector() 32 VectorType ma1 = Map<VectorType, Aligned>(array1, size); in map_class_vector() 33 VectorType ma2 = Map<VectorType, Aligned>(array2, size); in map_class_vector() 34 VectorType ma3 = Map<VectorType>(array3unaligned, size); in map_class_vector() 39 VERIFY_RAISES_ASSERT((Map<VectorType,Aligned>(array3unaligned, size))) in map_class_vector() 62 Map<MatrixType, Aligned>(array1, rows, cols) = MatrixType::Ones(rows,cols); in map_class_matrix() 63 Map<MatrixType>(array2, rows, cols) = Map<MatrixType>(array1, rows, cols); in map_class_matrix() 64 Map<MatrixType>(array3unaligned, rows, cols) = Map<MatrixType>(array1, rows, cols); in map_class_matrix() [all …]
|
/external/eigen/test/eigen2/ |
D | eigen2_map.cpp | 24 Map<VectorType, Aligned>(array1, size) = VectorType::Random(size); in map_class_vector() 25 Map<VectorType>(array2, size) = Map<VectorType>(array1, size); in map_class_vector() 26 …Map<VectorType>(array3unaligned, size) = Map<VectorType>((const Scalar*)array1, size); // test non… in map_class_vector() 27 VectorType ma1 = Map<VectorType>(array1, size); in map_class_vector() 28 VectorType ma2 = Map<VectorType, Aligned>(array2, size); in map_class_vector() 29 VectorType ma3 = Map<VectorType>(array3unaligned, size); in map_class_vector() 52 Map<MatrixType, Aligned>(array1, rows, cols) = MatrixType::Ones(rows,cols); in map_class_matrix() 53 …Map<MatrixType>(array2, rows, cols) = Map<MatrixType>((const Scalar*)array1, rows, cols); // test … in map_class_matrix() 54 Map<MatrixType>(array3unaligned, rows, cols) = Map<MatrixType>(array1, rows, cols); in map_class_matrix() 55 MatrixType ma1 = Map<MatrixType>(array1, rows, cols); in map_class_matrix() [all …]
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | MapsTransformValuesTest.java | 21 import java.util.Map; 57 protected Map<String, String> makeEmptyMap() { in makeEmptyMap() 63 protected Map<String, String> makePopulatedMap() { in makePopulatedMap() 64 Map<String, Integer> underlying = Maps.newHashMap(); in makePopulatedMap() 82 private void assertMapsEqual(Map<?, ?> expected, Map<?, ?> map) { in assertMapsEqual() argument 97 Map<String, String> map = Maps.transformValues( in testTransformEmptyMapEquality() 103 Map<String, String> map = Maps.transformValues( in testTransformSingletonMapEquality() 105 Map<String, String> expected = ImmutableMap.of("a", "1"); in testTransformSingletonMapEquality() 111 Map<String, Integer> underlying = ImmutableMap.of("a", 1); in testTransformIdentityFunctionEquality() 112 Map<String, Integer> map = Maps.transformValues( in testTransformIdentityFunctionEquality() [all …]
|
D | MapsTransformValuesUnmodifiableIteratorTest.java | 26 import java.util.Map; 47 final Map<K, V> delegate; 49 UnmodifiableIteratorMap(Map<K, V> delegate) { in UnmodifiableIteratorMap() 53 @Override protected Map<K, V> delegate() { in delegate() 109 @Override protected Map<String, String> makeEmptyMap() { 110 Map<String, Integer> underlying = Maps.newHashMap(); 115 @Override protected Map<String, String> makePopulatedMap() { 116 Map<String, Integer> underlying = Maps.newHashMap(); 135 private void assertMapsEqual(Map<?, ?> expected, Map<?, ?> map) { 150 Map<String, String> map = Maps.transformValues( [all …]
|
D | ForwardingMapTest.java | 37 import java.util.Map; 38 import java.util.Map.Entry; 49 private final Map<K, V> backingMap; 51 StandardImplForwardingMap(Map<K, V> backingMap) { in StandardImplForwardingMap() 55 @Override protected Map<K, V> delegate() { in delegate() 67 @Override public void putAll(Map<? extends K, ? extends V> map) { in putAll() 115 Map<String, Boolean> forward; 123 @Override protected Map<String, String> create( 125 Map<String, String> map = Maps.newLinkedHashMap(); 138 @Override protected Map<String, String> create( [all …]
|
D | BiMapMapInterfaceTest.java | 24 import java.util.Map; 25 import java.util.Map.Entry; 50 @Override protected Map<String, Integer> makeEmptyMap() { in makeEmptyMap() 54 @Override protected Map<String, Integer> makePopulatedMap() { in makePopulatedMap() 55 Map<String, Integer> map = makeEmptyMap(); in makePopulatedMap() 61 @Override protected void assertMoreInvariants(Map<String, Integer> map) { in assertMoreInvariants() 78 @Override protected Map<String, Integer> makeEmptyMap() { in makeEmptyMap() 88 @Override protected Map<String, Integer> makeEmptyMap() { in makeEmptyMap() 98 @Override protected Map<String, Integer> makeEmptyMap() { in makeEmptyMap() 101 @Override protected Map<String, Integer> makePopulatedMap() { in makePopulatedMap() [all …]
|
/external/guava/guava/src/com/google/common/collect/ |
D | Tables.java | 33 import java.util.Map; 155 public Map<C, V> column(R columnKey) { in column() 165 public Map<R, Map<C, V>> columnMap() { in columnMap() 216 public Map<R, V> row(C rowKey) { in row() 226 public Map<C, Map<R, V>> rowMap() { in rowMap() 365 Map<R, Map<C, V>> backingMap, Supplier<? extends Map<C, V>> factory) { in newCustomTable() 463 @Override public Map<C, V2> row(R rowKey) { in row() 467 @Override public Map<R, V2> column(C columnKey) { in column() 536 Map<R, Map<C, V2>> createRowMap() { in createRowMap() 537 Function<Map<C, V1>, Map<C, V2>> rowFunction = in createRowMap() [all …]
|
D | StandardTable.java | 35 import java.util.Map; 36 import java.util.Map.Entry; 65 @GwtTransient final Map<R, Map<C, V>> backingMap; 66 @GwtTransient final Supplier<? extends Map<C, V>> factory; 68 StandardTable(Map<R, Map<C, V>> backingMap, in StandardTable() 69 Supplier<? extends Map<C, V>> factory) { in StandardTable() 81 Map<C, V> map = safeGet(backingMap, rowKey); in contains() 89 for (Map<C, V> map : backingMap.values()) { in containsColumn() 105 for (Map<C, V> map : backingMap.values()) { in containsValue() 117 Map<C, V> map = safeGet(backingMap, rowKey); in get() [all …]
|
D | WellBehavedMap.java | 21 import java.util.Map; 35 private final Map<K, V> delegate; 38 private WellBehavedMap(Map<K, V> delegate) { in WellBehavedMap() 48 static <K, V> WellBehavedMap<K, V> wrap(Map<K, V> delegate) { in wrap() 52 @Override protected Map<K, V> delegate() { in delegate() 66 extends Sets.InvertibleFunction<K, Map.Entry<K, V>> { 67 final Map<K, V> map; 69 KeyToEntryConverter(Map<K, V> map) { in KeyToEntryConverter() 73 @Override public Map.Entry<K, V> apply(final K key) { in apply() 87 @Override public K invert(Map.Entry<K, V> entry) { in invert()
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
D | TestMapEntrySetGenerator.java | 20 import java.util.Map; 31 implements TestSetGenerator<Map.Entry<K, V>> { 42 public SampleElements<Map.Entry<K, V>> samples() { in samples() 47 public Set<Map.Entry<K, V>> create(Object... elements) { in create() 48 Map.Entry<K, V>[] entries = createArray(elements.length); in create() 53 public abstract Set<Map.Entry<K, V>> createFromEntries( in createFromEntries() 54 Map.Entry<K, V>[] entries); in createFromEntries() 58 public Map.Entry<K, V>[] createArray(int length) { in createArray() 59 return new Map.Entry[length]; in createArray() 64 public List<Map.Entry<K, V>> order(List<Map.Entry<K, V>> insertionOrder) { in order()
|
D | MapTestSuiteBuilder.java | 43 import java.util.Map; 44 import java.util.Map.Entry; 56 TestMapGenerator<K, V>, Map<K, V>, Map.Entry<K, V>> { 83 ? extends OneSizeTestContainerGenerator<Map<K, V>, Map.Entry<K, V>>> in createDerivedSuites() 180 implements TestSetGenerator<Map.Entry<K, V>> { 181 private final OneSizeTestContainerGenerator<Map<K, V>, Map.Entry<K, V>> 186 Map<K, V>, Map.Entry<K, V>> mapGenerator) { in MapEntrySetGenerator() 191 public SampleElements<Map.Entry<K, V>> samples() { in samples() 196 public Set<Map.Entry<K, V>> create(Object... elements) { in create() 201 public Map.Entry<K, V>[] createArray(int length) { in createArray() [all …]
|
D | AbstractMapTester.java | 23 import java.util.Map; 24 import java.util.Map.Entry; 40 AbstractContainerTester<Map<K, V>, Map.Entry<K, V>> { 41 protected Map<K, V> getMap() { in getMap() 51 @Override protected Collection<Map.Entry<K, V>> actualContents() { in actualContents() 78 protected Map.Entry<K, V>[] createArrayWithNullKey() { in createArrayWithNullKey() 79 Map.Entry<K, V>[] array = createSamplesArray(); in createArrayWithNullKey() 81 final Map.Entry<K, V> oldEntry = array[nullKeyLocation]; in createArrayWithNullKey() 106 protected Map.Entry<K, V>[] createArrayWithNullValue() { in createArrayWithNullValue() 107 Map.Entry<K, V>[] array = createSamplesArray(); in createArrayWithNullValue() [all …]
|
/external/chromium_org/v8/src/heap/ |
D | objects-visiting.h | 71 V(Map) \ 109 static VisitorId GetVisitorId(Map* map) { in GetVisitorId() 147 inline Callback GetVisitor(Map* map) { in GetVisitor() 203 INLINE(static ReturnType Visit(Map* map, HeapObject* object)) { in INLINE() 211 static inline ReturnType VisitSpecialized(Map* map, HeapObject* object) { in VisitSpecialized() 223 INLINE(static ReturnType Visit(Map* map, HeapObject* object)) { in INLINE() 253 INLINE(static int IterateBody(Map* map, HeapObject* obj)) { in INLINE() 262 INLINE(static int VisitJSFunction(Map* map, HeapObject* object)) { in INLINE() 277 INLINE(static int VisitByteArray(Map* map, HeapObject* object)) { in INLINE() 281 INLINE(static int VisitFixedDoubleArray(Map* map, HeapObject* object)) { in INLINE() [all …]
|
D | heap.h | 29 V(Map, byte_array_map, ByteArrayMap) \ 30 V(Map, free_space_map, FreeSpaceMap) \ 31 V(Map, one_pointer_filler_map, OnePointerFillerMap) \ 32 V(Map, two_pointer_filler_map, TwoPointerFillerMap) \ 42 V(Map, cell_map, CellMap) \ 43 V(Map, global_property_cell_map, GlobalPropertyCellMap) \ 44 V(Map, shared_function_info_map, SharedFunctionInfoMap) \ 45 V(Map, meta_map, MetaMap) \ 46 V(Map, heap_number_map, HeapNumberMap) \ 47 V(Map, mutable_heap_number_map, MutableHeapNumberMap) \ [all …]
|
/external/llvm/include/llvm/ADT/ |
D | MapVector.h | 34 MapType Map; variable 71 Map.clear(); in clear() 77 std::pair<typename MapType::iterator, bool> Result = Map.insert(Pair); 87 typename MapType::const_iterator Pos = Map.find(Key); in lookup() 88 return Pos == Map.end()? ValueT() : Vector[Pos->second].second; in lookup() 93 std::pair<typename MapType::iterator, bool> Result = Map.insert(Pair); in insert() 104 typename MapType::const_iterator Pos = Map.find(Key); in count() 105 return Pos == Map.end()? 0 : 1; in count() 109 typename MapType::const_iterator Pos = Map.find(Key); in find() 110 return Pos == Map.end()? Vector.end() : in find() [all …]
|
/external/ceres-solver/include/ceres/internal/ |
D | eigen.h | 43 typedef Eigen::Map<Vector> VectorRef; 44 typedef Eigen::Map<Matrix> MatrixRef; 45 typedef Eigen::Map<const Vector> ConstVectorRef; 46 typedef Eigen::Map<const Matrix> ConstMatrixRef; 54 typedef Eigen::Map<ColMajorMatrix, 0, 57 typedef Eigen::Map<const ColMajorMatrix, 70 typedef Eigen::Map< 77 typedef Eigen::Map < 82 typedef Eigen::Map< 86 typedef Eigen::Map <
|
/external/chromium_org/mojo/embedder/ |
D | simple_platform_shared_buffer_unittest.cc | 32 scoped_ptr<PlatformSharedBufferMapping> mapping(buffer->Map(0, kNumBytes)); in TEST() 56 buffer->Map((kNumInts / 2) * sizeof(int), 2 * sizeof(int))); in TEST() 80 buffer->Map(sizeof(int), kNumBytes - sizeof(int))); in TEST() 106 EXPECT_FALSE(buffer->Map(0, 0)); in TEST() 110 EXPECT_TRUE(buffer->Map(0, 100)); in TEST() 113 EXPECT_FALSE(buffer->Map(0, 101)); in TEST() 115 EXPECT_FALSE(buffer->Map(1, 100)); in TEST() 119 EXPECT_TRUE(buffer->Map(50, 50)); in TEST() 122 EXPECT_FALSE(buffer->Map(50, 51)); in TEST() 124 EXPECT_FALSE(buffer->Map(51, 50)); in TEST() [all …]
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | FunctionSummary.h | 57 MapTy Map; variable 61 MapTy::iterator I = Map.find(D); in findOrInsertSummary() 62 if (I != Map.end()) in findOrInsertSummary() 66 I = Map.insert(KVPair(D, FunctionSummary())).first; in findOrInsertSummary() 67 assert(I != Map.end()); in findOrInsertSummary() 88 MapTy::const_iterator I = Map.find(D); in mayInline() 89 if (I != Map.end() && I->second.InlineChecked) in mayInline() 106 MapTy::const_iterator I = Map.find(D); in getNumVisitedBasicBlocks() 107 if (I != Map.end()) in getNumVisitedBasicBlocks() 113 MapTy::const_iterator I = Map.find(D); in getNumTimesInlined() [all …]
|
/external/chromium_org/v8/src/ |
D | contexts.h | 82 V(STRING_FUNCTION_PROTOTYPE_MAP_INDEX, Map, string_function_prototype_map) \ 133 V(INT8_ARRAY_EXTERNAL_MAP_INDEX, Map, int8_array_external_map) \ 134 V(UINT8_ARRAY_EXTERNAL_MAP_INDEX, Map, uint8_array_external_map) \ 135 V(INT16_ARRAY_EXTERNAL_MAP_INDEX, Map, int16_array_external_map) \ 136 V(UINT16_ARRAY_EXTERNAL_MAP_INDEX, Map, uint16_array_external_map) \ 137 V(INT32_ARRAY_EXTERNAL_MAP_INDEX, Map, int32_array_external_map) \ 138 V(UINT32_ARRAY_EXTERNAL_MAP_INDEX, Map, uint32_array_external_map) \ 139 V(FLOAT32_ARRAY_EXTERNAL_MAP_INDEX, Map, float32_array_external_map) \ 140 V(FLOAT64_ARRAY_EXTERNAL_MAP_INDEX, Map, float64_array_external_map) \ 141 V(UINT8_CLAMPED_ARRAY_EXTERNAL_MAP_INDEX, Map, \ [all …]
|
/external/eigen/doc/ |
D | TutorialMapClass.dox | 3 /** \eigenManualPage TutorialMapClass Interfacing with raw buffers: the Map class 12 …ly want to re-use this memory as an %Eigen type. Fortunately, this is very easy with the Map class. 14 \section TutorialMapTypes Map types and declaring Map variables 16 A Map object has a type defined by its %Eigen equivalent: 18 Map<Matrix<typename Scalar, int RowsAtCompileTime, int ColsAtCompileTime> > 20 Note that, in this default case, a Map requires just a single template parameter. 22 To construct a Map variable, you need two other pieces of information: a pointer to the region of m… 24 Map<MatrixXf> mf(pf,rows,columns); 28 Map<const Vector4i> mi(pi); 32 Note that Map does not have a default constructor; you \em must pass a pointer to intialize the obj… [all …]
|
/external/chromium_org/v8/test/mjsunit/es6/ |
D | collections.js | 32 if (collection instanceof Map || collection instanceof Set) { 55 TestValidMapCalls(new Map); 109 TestMapBehavior1(new Map); 126 TestMapBehavior2(new Map); 139 TestQuery(new Map); 152 TestDelete(new Map); 163 TestGC1(new Map); 180 TestGC2(new Map); 196 TestEnumerable(Map); 213 TestArbitrary(new Map); [all …]
|
/external/glide/library/src/main/java/com/bumptech/glide/load/model/ |
D | GenericLoaderFactory.java | 7 import java.util.Map; 14 private Map<Class, Map<Class, ModelLoaderFactory>> modelClassToResourceFactories = 15 new HashMap<Class, Map<Class, ModelLoaderFactory>>(); 16 private Map<Class, Map<Class, ModelLoader>> cachedModelLoaders = 17 new HashMap<Class, Map<Class, ModelLoader>>(); 45 …Map<Class, ModelLoaderFactory> resourceToFactories = modelClassToResourceFactories.get(modelClass); in unregister() 68 …Map<Class, ModelLoaderFactory> resourceToFactories = modelClassToResourceFactories.get(modelClass); in register() 79 …for (Map<Class, ModelLoaderFactory> currentResourceToFactories : modelClassToResourceFactories.val… in register() 130 Map<Class, ModelLoader> resourceToLoaders = cachedModelLoaders.get(modelClass); in cacheModelLoader() 140 Map<Class, ModelLoader> resourceToLoaders = cachedModelLoaders.get(modelClass); in getCachedLoader() [all …]
|