/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
ImmutableEnumMap.java | 21 import java.util.Map; 30 static <K, V> ImmutableMap<K, V> asImmutable(Map<K, V> map) { 31 for (Map.Entry<K, V> entry : checkNotNull(map).entrySet()) { 35 return new ImmutableEnumMap<K, V>(map); 38 ImmutableEnumMap(Map<? extends K, ? extends V> delegate) {
|
/external/hamcrest/hamcrest-library/src/test/java/org/hamcrest/collection/ |
IsMapWithSizeTest.java | 8 import java.util.Map; 22 assertMismatchDescription("map size was <3>", aMapWithSize(equalTo(2)), mapWithKeys("a", "b", "c")); 26 Map<Object, Object> map = mapWithKeys(new Object(), new Object()); local 27 assertMatches("correct size", aMapWithSize(equalTo(2)), map); 28 assertMismatchDescription("map size was <2>", aMapWithSize(equalTo(3)), map); 32 Map<String, Integer> map = mapWithKeys("a", "b"); local 33 assertMatches("correct size", aMapWithSize(equalTo(2)), map); 38 Map<?, ?> map = mapWithKeys("a", "b"); local 44 Map<Object, Object> map = mapWithKeys(new Object(), new Object()); local [all...] |
/external/libcxx/test/std/containers/associative/map/map.access/ |
empty.pass.cpp | 10 // <map> 12 // class map 16 #include <map> 24 typedef std::map<int, double> M; 34 typedef std::map<int, double, std::less<int>, min_allocator<std::pair<const int, double>>> M;
|
/external/libcxx/test/std/containers/associative/map/map.cons/ |
compare.pass.cpp | 10 // <map> 12 // class map 14 // explicit map(const key_compare& comp); 18 #include <map> 28 const std::map<int, double, C> m(C(3)); 36 const std::map<int, double, C, min_allocator<std::pair<const int, double>>> m(C(3));
|
/external/libcxx/test/std/containers/associative/map/map.ops/ |
equal_range0.pass.cpp | 12 // <map> 14 // class map 24 #include <map> 32 typedef std::map<int, double, transparent_less> M; 39 typedef std::map<int, double, transparent_less_not_referenceable> M;
|
/external/parameter-framework/upstream/parameter/ |
MappingData.h | 33 #include <map> 37 typedef std::map<std::string, std::string>::const_iterator KeyToValueMapConstIterator; 62 std::map<std::string, std::string> _keyToValueMap;
|
/external/pdfium/core/fpdfapi/render/ |
cpdf_docrenderdata.h | 10 #include <map> 38 std::map<CPDF_Font*, RetainPtr<CPDF_Type3Cache>> m_Type3FaceMap; 39 std::map<CPDF_Object*, RetainPtr<CPDF_TransferFunc>> m_TransferFuncMap;
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/util/ |
H2Map_TypeForwardOnlyTest.java | 18 H2Map_TypeForwardOnly map; field in class:H2Map_TypeForwardOnlyTest 21 map = new H2Map_TypeForwardOnly(); 28 assertThat(map.getResultSetType(),equalTo(ResultSet.TYPE_FORWARD_ONLY));
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue171/ |
GenericExtendsObjectTest.java | 29 ClassWithGenericMap map = new ClassWithGenericMap(); local 32 map.services.put("wow", list); 33 String output = yaml.dump(map);
|
/external/tensorflow/tensorflow/contrib/lite/tools/ |
mutable_op_resolver.h | 18 #include <map> 49 std::map<int, TfLiteRegistration*> builtins_; 50 std::map<std::string, TfLiteRegistration*> custom_ops_;
|
/external/tensorflow/tensorflow/stream_executor/ |
plugin_registry.h | 19 #include <map> 107 std::map<PluginId, BlasFactory> blas; 108 std::map<PluginId, DnnFactory> dnn; 109 std::map<PluginId, FftFactory> fft; 110 std::map<PluginId, RngFactory> rng; 127 std::map<PluginId, FactoryT>* factories); 132 PluginId plugin_id, const std::map<PluginId, FactoryT>& factories, 133 const std::map<PluginId, FactoryT>& generic_factories) const; 146 std::map<PlatformKind, Platform::Id> platform_id_by_kind_; 149 std::map<Platform::Id, PluginFactories> factories_ [all...] |
/frameworks/base/tools/aapt2/format/binary/ |
BinaryResourceParser.h | 61 const android::ResTable_map_entry* map); 64 const android::ResTable_map_entry* map); 67 const android::ResTable_map_entry* map); 70 const android::ResTable_map_entry* map); 73 const android::ResTable_map_entry* map); 107 std::map<ResourceId, ResourceName> id_index_; 119 inline const ResTable_map* begin(const ResTable_map_entry* map) { 120 return (const ResTable_map*)((const uint8_t*)map + ::aapt::util::DeviceToHost32(map->size)); 123 inline const ResTable_map* end(const ResTable_map_entry* map) { [all...] |
/frameworks/support/jetifier/jetifier/core/src/test/kotlin/com/android/tools/build/jetifier/core/type/ |
TypesMapTest.kt | 26 map = listOf( 36 map = listOf( 46 map = listOf( 60 private fun testRewrites(map: List<Pair<String, String>>, from: String, expected: String) { 61 val typesMap = TypesMap(map 62 .map { JavaType.fromDotVersion(it.first) to JavaType.fromDotVersion(it.second) }
|
/hardware/libhardware/modules/camera/3_4/metadata/ |
default_option_delegate.h | 22 #include <map> 36 DefaultOptionDelegate(std::map<int, T> defaults) 57 std::map<int, T> defaults_;
|
/hardware/qcom/display/msm8909/sdm/include/utils/ |
factory.h | 34 #include <map> 49 typename std::map<std::string, Creator>::iterator it = map_.find(name); 58 std::map<std::string, Creator> map_;
|
/hardware/qcom/display/msm8909w_3100/sdm/include/utils/ |
factory.h | 34 #include <map> 49 typename std::map<std::string, Creator>::iterator it = map_.find(name); 58 std::map<std::string, Creator> map_;
|
/hardware/qcom/display/msm8998/sdm/include/utils/ |
factory.h | 34 #include <map> 49 typename std::map<std::string, Creator>::iterator it = map_.find(name); 58 std::map<std::string, Creator> map_;
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/containers/associative/map/map.access/ |
empty.pass.cpp | 10 // <map> 12 // class map 16 #include <map> 24 typedef std::map<int, double> M; 34 typedef std::map<int, double, std::less<int>, min_allocator<std::pair<const int, double>>> M;
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/containers/associative/map/map.cons/ |
compare.pass.cpp | 10 // <map> 12 // class map 14 // explicit map(const key_compare& comp); 16 #include <map> 26 std::map<int, double, C> m(C(3)); 34 std::map<int, double, C, min_allocator<std::pair<const int, double>>> m(C(3));
|
/system/core/fs_mgr/ |
fs_mgr_priv_avb_ops.h | 28 #include <map> 50 FsManagerAvbOps(std::map<std::string, std::string>&& by_name_symlink_map); 66 std::map<std::string, std::string> by_name_symlink_map_;
|
/system/extras/simpleperf/ |
test_util.h | 17 #include <map> 30 void ParseSymbol(const ElfFileSymbol& symbol, std::map<std::string, ElfFileSymbol>* symbols); 31 void CheckElfFileSymbols(const std::map<std::string, ElfFileSymbol>& symbols);
|
/test/suite_harness/common/util/src/com/android/compatibility/common/util/ |
KeyValueArgsParser.java | 31 final HashMap<String, String> map = new HashMap<String, String>(); local 40 map.put(key, s); 47 return map;
|
/frameworks/base/core/jni/ |
android_view_KeyCharacterMap.cpp | 50 NativeKeyCharacterMap(int32_t deviceId, const sp<KeyCharacterMap>& map) : 51 mDeviceId(deviceId), mMap(map) { 73 NativeKeyCharacterMap* map = new NativeKeyCharacterMap(deviceId, local 75 if (!map) { 80 reinterpret_cast<jlong>(map)); 99 NativeKeyCharacterMap* map = new NativeKeyCharacterMap(deviceId, kcm); local 100 return reinterpret_cast<jlong>(map); 104 NativeKeyCharacterMap* map = reinterpret_cast<NativeKeyCharacterMap*>(ptr); local 107 parcel->writeInt32(map->getDeviceId()); 108 map->getMap()->writeToParcel(parcel) 113 NativeKeyCharacterMap* map = reinterpret_cast<NativeKeyCharacterMap*>(ptr); local 119 NativeKeyCharacterMap* map = reinterpret_cast<NativeKeyCharacterMap*>(ptr); local 125 NativeKeyCharacterMap* map = reinterpret_cast<NativeKeyCharacterMap*>(ptr); local 139 NativeKeyCharacterMap* map = reinterpret_cast<NativeKeyCharacterMap*>(ptr); local 145 NativeKeyCharacterMap* map = reinterpret_cast<NativeKeyCharacterMap*>(ptr); local 162 NativeKeyCharacterMap* map = reinterpret_cast<NativeKeyCharacterMap*>(ptr); local 167 NativeKeyCharacterMap* map = reinterpret_cast<NativeKeyCharacterMap*>(ptr); local 173 NativeKeyCharacterMap* map = reinterpret_cast<NativeKeyCharacterMap*>(ptr); local [all...] |
/external/eigen/test/ |
mapstride.cpp | 29 Map<VectorType, Alignment, InnerStride<3> > map(array, size); 30 map = v; 34 VERIFY(map[i] == v[i]); 39 Map<VectorType, Unaligned, InnerStride<Dynamic> > map(array, size, InnerStride<Dynamic>(2)); 40 map = v; 44 VERIFY(map[i] == v[i]); 83 Map<MatrixType, Alignment, OuterStride<Dynamic> > map(array, rows, cols, OuterStride<Dynamic>(m.innerSize()+1)) [all...] |
/system/core/libbacktrace/include/backtrace/ |
BacktraceMap.h | 40 // Special flag to indicate a map is in /dev/. However, a map in 62 // If uncached is true, then parse the current process map as of the call. 63 // Passing a map created with uncached set to true to Backtrace::Create() 73 iterator(BacktraceMap* map, size_t index) : map_(map), index_(index) {} 99 backtrace_map_t* map = &map_->maps_[index_]; local 100 if (map->load_bias == static_cast<uint64_t>(-1)) { 101 map->load_bias = map_->GetLoadBias(index_); 103 return map; 124 backtrace_map_t map; local [all...] |