/external/guava/guava-tests/test/com/google/common/collect/ |
MapMakerTest.java | 28 import java.util.Map; 55 final ConcurrentMap<String, String> map = new MapMaker() local 60 // seed the map, so its segment's count > 0 61 map.put("a", "a"); 68 map.get("b"); 75 map.clear(); 78 // don't check map.size() until we know the get("b") call is complete 81 // At this point, the listener should be holding the seed value (a -> a), and the map should 88 assertEquals(1, map.size()); 89 assertEquals("b", map.get("b")) 111 final Map<String, String> map = new MapMaker() local [all...] |
/external/libcxx/test/containers/associative/map/map.access/ |
index_rv_key.pass.cpp | 10 // <map> 12 // class map 16 #include <map> 27 std::map<MoveOnly, double> m; 44 std::map<MoveOnly, double, std::less<MoveOnly>, min_allocator<V>> m;
|
/external/libcxx/test/containers/associative/map/map.cons/ |
assign_initializer_list.pass.cpp | 10 // <map> 12 // class map 14 // map& operator=(initializer_list<value_type> il); 16 #include <map> 26 std::map<int, double> m = 51 std::map<int, double, std::less<int>, min_allocator<V>> m =
|
compare_alloc.pass.cpp | 10 // <map> 12 // class map 14 // map(const key_compare& comp, const allocator_type& a); 16 #include <map> 28 std::map<int, double, C, A> m(C(4), A(5)); 38 std::map<int, double, C, A> m(C(4), A());
|
initializer_list.pass.cpp | 10 // <map> 12 // class map 14 // map(initializer_list<value_type> il); 16 #include <map> 26 std::map<int, double> m = 47 std::map<int, double, std::less<int>, min_allocator<V>> m =
|
/external/libcxx/test/containers/associative/map/map.modifiers/ |
clear.pass.cpp | 10 // <map> 12 // class map 16 #include <map> 24 typedef std::map<int, double> M; 44 typedef std::map<int, double, std::less<int>, min_allocator<std::pair<const int, double>>> M;
|
insert_initializer_list.pass.cpp | 10 // <map> 12 // class map 16 #include <map> 26 std::map<int, double> m = 49 std::map<int, double, std::less<int>, min_allocator<V>> m =
|
/external/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/iterator/ |
main.cpp | 6 #include <map> 9 typedef std::map<int, int> intint_map; 10 typedef std::map<std::string, int> strint_map;
|
/external/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/iterator/ |
main.cpp | 2 #include <map> 5 typedef std::map<int, int> intint_map; 6 typedef std::map<std::string, int> strint_map;
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nouveau_render.h | 63 int map[VERT_ATTRIB_MAX]; member in struct:nouveau_render_state 74 for (i = 0; attr = (render)->map[i], i < NUM_VERTEX_ATTRS; i++) 77 for (i = 0; attr = (render)->map[i], i < render->attr_count; i++) \
|
/frameworks/support/v4/java/android/support/v4/util/ |
LruCache.java | 20 import java.util.Map; 30 private final LinkedHashMap<K, V> map; field in class:LruCache 52 this.map = new LinkedHashMap<K, V>(0, 0.75f, true); 84 mapValue = map.get(key); 93 * Attempt to create a value. This may take a long time, and the map 95 * added to the map while create() was working, we leave that value in 96 * the map and release the created value. 106 mapValue = map.put(key, createdValue); 110 map.put(key, mapValue); 140 previous = map.put(key, value) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/map/map.access/ |
index_rv_key.pass.cpp | 10 // <map> 12 // class map 16 #include <map> 27 std::map<MoveOnly, double> m; 44 std::map<MoveOnly, double, std::less<MoveOnly>, min_allocator<V>> m;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/map/map.cons/ |
assign_initializer_list.pass.cpp | 10 // <map> 12 // class map 14 // map& operator=(initializer_list<value_type> il); 16 #include <map> 26 std::map<int, double> m = 51 std::map<int, double, std::less<int>, min_allocator<V>> m =
|
compare_alloc.pass.cpp | 10 // <map> 12 // class map 14 // map(const key_compare& comp, const allocator_type& a); 16 #include <map> 28 std::map<int, double, C, A> m(C(4), A(5)); 38 std::map<int, double, C, A> m(C(4), A());
|
initializer_list.pass.cpp | 10 // <map> 12 // class map 14 // map(initializer_list<value_type> il); 16 #include <map> 26 std::map<int, double> m = 47 std::map<int, double, std::less<int>, min_allocator<V>> m =
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/map/map.modifiers/ |
clear.pass.cpp | 10 // <map> 12 // class map 16 #include <map> 24 typedef std::map<int, double> M; 44 typedef std::map<int, double, std::less<int>, min_allocator<std::pair<const int, double>>> M;
|
insert_initializer_list.pass.cpp | 10 // <map> 12 // class map 16 #include <map> 26 std::map<int, double> m = 49 std::map<int, double, std::less<int>, min_allocator<V>> m =
|
/external/chromium_org/chrome/browser/ui/views/passwords/ |
manage_passwords_view_test.cc | 61 autofill::PasswordFormMap map; local 62 map[kTestUsername] = test_form(); 63 controller()->OnPasswordAutofilled(map); 83 autofill::PasswordFormMap map; local 84 map[kTestUsername] = test_form(); 85 controller()->OnBlacklistBlockedAutofill(map);
|
/external/chromium_org/content/browser/android/java/ |
jni_helper.cc | 7 #include <map> 41 typedef std::map<MethodIdentifier, jmethodID> MethodIDMap; 60 MethodIDMap* map = g_method_id_map.Pointer(); local 68 MethodIDMap::const_iterator iter = map->find(key); 69 if (iter != map->end()) { 74 // Addition to the map does not invalidate this iterator. 90 // Another thread may have populated the map already. 92 map->insert(std::make_pair(key, id));
|
/external/chromium_org/third_party/webrtc/video_engine/test/auto_test/primitives/ |
framedrop_primitives.h | 14 #include <map> 185 // Map of frame creation timestamps to all Frame objects. 186 std::map<unsigned int, Frame*> created_frames_; 190 std::map<unsigned int, int64_t> sent_frames_; 191 std::map<unsigned int, int64_t> received_frames_; 192 std::map<unsigned int, int64_t> decoded_frames_; 193 std::map<unsigned int, int64_t> rendered_frames_;
|
/external/guava/guava/src/com/google/common/base/ |
Functions.java | 26 import java.util.Map; 93 * Returns a function which performs a map lookup. The returned function throws an {@link 94 * IllegalArgumentException} if given a key that does not exist in the map. 96 public static <K, V> Function<K, V> forMap(Map<K, V> map) { 97 return new FunctionForMapNoDefault<K, V>(map); 101 final Map<K, V> map; field in class:Functions.FunctionForMapNoDefault 103 FunctionForMapNoDefault(Map<K, V> map) { 148 final Map<K, ? extends V> map; field in class:Functions.ForMapWithDefault [all...] |
/external/guava/guava/src/com/google/common/collect/ |
WellBehavedMap.java | 21 import java.util.Map; 35 private final Map<K, V> delegate; 38 private WellBehavedMap(Map<K, V> delegate) { 43 * Wraps the given map into a {@code WellBehavedEntriesMap}, which 48 static <K, V> WellBehavedMap<K, V> wrap(Map<K, V> delegate) { 52 @Override protected Map<K, V> delegate() { 66 extends Sets.InvertibleFunction<K, Map.Entry<K, V>> { 67 final Map<K, V> map; field in class:WellBehavedMap.KeyToEntryConverter 69 KeyToEntryConverter(Map<K, V> map) [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/ |
SDL_blit.c | 90 info.aux_data = src->map->sw_data->aux_data; 92 info.table = src->map->table; 94 RunBlit = src->map->sw_data->blit; 241 surface->map->sw_blit = NULL; 245 if ( surface->map->identity ) { 250 if ( surface->map->dst->flags & SDL_HWSURFACE ) { 263 if ( surface->map->dst->flags & SDL_HWSURFACE ) { 278 video->CheckHWBlit(this, surface, surface->map->dst); 289 video->CheckHWBlit(this, surface, surface->map->dst); 304 if ( surface->map->identity && blit_index == 0 ) [all...] |
/frameworks/base/core/tests/coretests/src/android/provider/ |
SmsProviderTest.java | 54 ContentValues map = new ContentValues(); local 55 map.put("address", "+15045551337"); 56 map.put("read", 0); 61 map.put("body", "Test " + i + " !"); 62 map.put("date", dates[i]); 63 urls[i] = contentResolver.insert(Sms.Inbox.CONTENT_URI, map);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/export/ |
ExportFieldsPart.java | 73 HashMap<String, Control> map = getNameToField(); local 74 map.put("package", packageField); //$NON-NLS-1$ 75 map.put("projects", projectsField); //$NON-NLS-1$ 76 map.put("versionCode", versionCodeField); //$NON-NLS-1$ 77 map.put("_key.store", keyStoreField); //$NON-NLS-1$ 78 map.put("_key.alias", keyAliasField); //$NON-NLS-1$
|