/external/guava/guava/src/com/google/common/collect/ |
H A D | EnumBiMap.java | 57 * Returns a new bimap with the same mappings as the specified map. If the 58 * specified map is an {@code EnumBiMap}, the new bimap has the same types as 59 * the provided map. Otherwise, the specified map must contain at least one 62 * @param map the map whose mappings are to be placed in this map 63 * @throws IllegalArgumentException if map is not an {@code EnumBiMap} 67 create(Map<K, V> map) { argument 68 EnumBiMap<K, V> bimap = create(inferKeyType(map), inferValueTyp 80 inferKeyType(Map<K, ?> map) argument 91 inferValueType(Map<?, V> map) argument [all...] |
H A D | EnumHashBiMap.java | 56 * Constructs a new bimap with the same mappings as the specified map. If the 57 * specified map is an {@code EnumHashBiMap} or an {@link EnumBiMap}, the new 59 * map must contain at least one mapping, in order to determine the key type. 61 * @param map the map whose mappings are to be placed in this map 62 * @throws IllegalArgumentException if map is not an {@code EnumBiMap} or an 66 create(Map<K, ? extends V> map) { argument 67 EnumHashBiMap<K, V> bimap = create(EnumBiMap.inferKeyType(map)); 68 bimap.putAll(map); [all...] |
H A D | RegularImmutableMultiset.java | 36 private final transient ImmutableMap<E, Integer> map; field in class:RegularImmutableMultiset 39 RegularImmutableMultiset(ImmutableMap<E, Integer> map, int size) { argument 40 this.map = map; 46 return map.isPartialView(); 51 Integer value = map.get(element); 62 return map.containsKey(element); 67 return map.keySet(); 73 map.entrySet().iterator(); 90 return map [all...] |
H A D | WellBehavedMap.java | 43 * Wraps the given map into a {@code WellBehavedEntriesMap}, which 67 final Map<K, V> map; field in class:WellBehavedMap.KeyToEntryConverter 69 KeyToEntryConverter(Map<K, V> map) { argument 70 this.map = map; 79 return map.get(key); 82 return map.put(key, value);
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
H A D | EnumBiMap.java | 53 * Returns a new bimap with the same mappings as the specified map. If the 54 * specified map is an {@code EnumBiMap}, the new bimap has the same types as 55 * the provided map. Otherwise, the specified map must contain at least one 58 * @param map the map whose mappings are to be placed in this map 59 * @throws IllegalArgumentException if map is not an {@code EnumBiMap} 63 create(Map<K, V> map) { argument 64 EnumBiMap<K, V> bimap = create(inferKeyType(map), inferValueTyp 76 inferKeyType(Map<K, ?> map) argument 87 inferValueType(Map<?, V> map) argument [all...] |
H A D | EnumHashBiMap.java | 51 * Constructs a new bimap with the same mappings as the specified map. If the 52 * specified map is an {@code EnumHashBiMap} or an {@link EnumBiMap}, the new 54 * map must contain at least one mapping, in order to determine the key type. 56 * @param map the map whose mappings are to be placed in this map 57 * @throws IllegalArgumentException if map is not an {@code EnumBiMap} or an 61 create(Map<K, ? extends V> map) { argument 62 EnumHashBiMap<K, V> bimap = create(EnumBiMap.inferKeyType(map)); 63 bimap.putAll(map); [all...] |
H A D | HashBiMap.java | 57 * Constructs a new bimap containing initial values from {@code map}. The 59 * in the specified map. 62 Map<? extends K, ? extends V> map) { 63 HashBiMap<K, V> bimap = create(map.size()); 64 bimap.putAll(map); 61 create( Map<? extends K, ? extends V> map) argument
|
/external/guava/guava-tests/test/com/google/common/collect/ |
H A D | MutableClassToInstanceMapTest.java | 60 MutableClassToInstanceMap<Number> map 64 map.putInstance(entry.getKey(), entry.getValue()); 66 return (Map) map; 82 private ClassToInstanceMap<Number> map; field in class:MutableClassToInstanceMapTest 85 map = MutableClassToInstanceMap.create(); 98 map.put(Integer.class, new Integer(5)); 100 map.put(Double.class, new Long(42)); 104 // Won't compile: map.put(String.class, "x"); 108 assertNull(map.putInstance(Integer.class, new Integer(5))); 110 Integer oldValue = map [all...] |
/external/hamcrest/library/src/org/hamcrest/collection/ |
H A D | IsMapContaining.java | 24 public boolean matchesSafely(Map<K, V> map) { argument 25 for (Entry<K, V> entry : map.entrySet()) { 34 description.appendText("map containing [")
|
/external/libedit/src/ |
H A D | keymacro.h | 52 keymacro_node_t *map; /* Key map */ member in struct:el_keymacromacro_t
|
/external/libunwind/src/ |
H A D | elfxx.h | 103 elf_map_cached_image (struct map_info *map, unw_word_t ip) argument 109 lock_acquire (&map->ei_lock, saved_mask); 110 if (map->ei.image == NULL) 112 if (elf_map_image(&map->ei, map->path) < 0) 114 map->ei.image = NULL; 118 lock_release (&map->ei_lock, saved_mask);
|
/external/libvpx/libvpx/test/ |
H A D | active_map_test.cc | 41 vpx_active_map_t map = {0}; local 53 map.cols = (kWidth + 15) / 16; 54 map.rows = (kHeight + 15) / 16; 55 ASSERT_EQ(map.cols, 13u); 56 ASSERT_EQ(map.rows, 9u); 57 map.active_map = active_map; 58 encoder->Control(VP8E_SET_ACTIVEMAP, &map); 60 vpx_active_map_t map = {0}; local 61 map.cols = (kWidth + 15) / 16; 62 map [all...] |
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
H A D | cpumap.h | 9 int map[]; member in struct:cpu_map 14 void cpu_map__delete(struct cpu_map *map); 16 size_t cpu_map__fprintf(struct cpu_map *map, FILE *fp); 17 int cpu_map__get_socket(struct cpu_map *map, int idx); 18 int cpu_map__get_core(struct cpu_map *map, int idx); 26 return sock->map[s]; 39 static inline int cpu_map__nr(const struct cpu_map *map) argument 41 return map ? map->nr : 1; 44 static inline bool cpu_map__empty(const struct cpu_map *map) argument [all...] |
/external/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_swtnl_draw.c | 47 const void *map; local 70 map = pipe_buffer_map(&svga->pipe, 75 draw_set_mapped_vertex_buffer(draw, i, map); 80 map = NULL; 82 map = pipe_buffer_map(&svga->pipe, svga->curr.ib.buffer, 86 (const ubyte *) map + svga->curr.ib.offset, 91 map = pipe_buffer_map(&svga->pipe, 95 assert(map); 98 map,
|
/external/mesa3d/src/gallium/drivers/trace/ |
H A D | tr_texture.h | 76 void *map; member in struct:trace_transfer
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
H A D | nouveau_span.c | 38 GLboolean map) 42 if (map) 47 framebuffer_map_unmap(struct gl_context *ctx, struct gl_framebuffer *fb, GLboolean map) argument 52 renderbuffer_map_unmap(ctx, fb->_ColorDrawBuffers[i], map); 54 renderbuffer_map_unmap(ctx, fb->_ColorReadBuffer, map); 57 renderbuffer_map_unmap(ctx, fb->Attachment[BUFFER_DEPTH].Renderbuffer, map); 61 span_map_unmap(struct gl_context *ctx, GLboolean map) argument 65 framebuffer_map_unmap(ctx, ctx->DrawBuffer, map); 68 framebuffer_map_unmap(ctx, ctx->ReadBuffer, map); 71 if (map) 37 renderbuffer_map_unmap(struct gl_context *ctx, struct gl_renderbuffer *rb, GLboolean map) argument [all...] |
/external/mesa3d/src/mesa/drivers/dri/r200/ |
H A D | radeon_span.c | 58 GLubyte *map; local 66 &map, &stride); 68 rrb->base.Map = map;
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
H A D | radeon_span.c | 58 GLubyte *map; local 66 &map, &stride); 68 rrb->base.Map = map;
|
/external/nanohttpd/samples/src/main/java/fi/iki/elonen/debug/ |
H A D | DebugServer.java | 58 private String toString(Map<String, ? extends Object> map) { argument 59 if (map.size() == 0) { 62 return unsortedList(map); 65 private String unsortedList(Map<String, ? extends Object> map) { argument 68 for (Map.Entry entry : map.entrySet()) {
|
/external/oprofile/daemon/liblegacy/ |
H A D | opd_mapping.h | 62 * @param proc process to add map to 84 * @param map map to check 88 * of the map @map, %0 otherwise. 90 inline static int opd_is_in_map(struct opd_map * map, unsigned long eip) argument 92 return (eip >= map->start && eip < map->end); 97 * opd_map_offset - return offset of sample against map 98 * @param map ma 105 opd_map_offset(struct opd_map * map, unsigned long eip) argument [all...] |
/external/pcre/dist/ |
H A D | pcre_stringpiece_unittest.cc | 9 #include <map> 38 typedef std::map<StringPiece, int> TestMap; 39 TestMap map; local 41 map.insert(std::make_pair(p1, 0)); 42 map.insert(std::make_pair(p2, 1)); 43 map.insert(std::make_pair(p3, 2)); 45 CHECK(map.size() == 3); 47 TestMap::const_iterator iter = map.begin(); 54 CHECK(iter == map.end()); 56 TestMap::iterator new_iter = map [all...] |
/external/pdfium/core/include/thirdparties/freetype/freetype/ |
H A D | ftautoh.h | 61 * glyph-to-script-map 68 * auto-hinted, the Unicode character map of the font gets examined, and 81 * structure. The `glyph-to-script-map' property returns a pointer to 102 * "glyph-to-script-map", &prop ); 104 * // adjust `prop.map' as needed right here 120 * A list of constants used for the @glyph-to-script-map property to 245 * The data exchange structure for the @glyph-to-script-map property. 251 FT_Byte* map; member in struct:FT_Prop_GlyphToScriptMap_ 266 * @glyph-to-script-map property). By default, this is 285 * creation of the glyph-to-script map whic [all...] |
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/include/freetype/ |
H A D | ftautoh.h | 61 * glyph-to-script-map 68 * auto-hinted, the Unicode character map of the font gets examined, and 81 * structure. The `glyph-to-script-map' property returns a pointer to 102 * "glyph-to-script-map", &prop ); 104 * // adjust `prop.map' as needed right here 120 * A list of constants used for the @glyph-to-script-map property to 245 * The data exchange structure for the @glyph-to-script-map property. 251 FT_Byte* map; member in struct:FT_Prop_GlyphToScriptMap_ 266 * @glyph-to-script-map property). By default, this is 285 * creation of the glyph-to-script map whic [all...] |
/external/sepolicy/tools/sepolicy-analyze/ |
H A D | utils.c | 29 void *map; local 42 map = mmap(NULL, sb.st_size, PROT_READ | PROT_WRITE, MAP_PRIVATE, fd, 0); 43 if (map == MAP_FAILED) { 51 pf->data = map; 56 munmap(map, sb.st_size); 63 munmap(map, sb.st_size);
|
/external/smack/src/org/jivesoftware/smack/packet/ |
H A D | DefaultPacketExtension.java | 51 private Map<String,String> map; field in class:DefaultPacketExtension 102 if (map == null) { 105 return Collections.unmodifiableSet(new HashMap<String,String>(map).keySet()); 115 if (map == null) { 118 return map.get(name); 128 if (map == null) { 129 map = new HashMap<String,String>(); 131 map.put(name, value);
|