/external/droiddriver/src/com/google/android/droiddriver/base/ |
H A D | DroidDriverContext.java | 40 private final Map<R, E> map; field in class:DroidDriverContext 45 map = new WeakHashMap<R, E>(); 57 E element = map.get(rawElement); 60 map.put(rawElement, element); 71 map.clear();
|
/external/guava/guava/src/com/google/common/collect/ |
H A D | ImmutableClassToInstanceMap.java | 24 * A class-to-instance map backed by an {@link ImmutableMap}. See also {@link 52 * and build again. Thus each map generated by this builder will be a superset 53 * of any map generated before it. 62 * Associates {@code key} with {@code value} in the built map. Duplicate 71 * Associates all of {@code map's} keys and values in the built map. 74 * @throws NullPointerException if any key or value in {@code map} is null 79 Map<? extends Class<? extends T>, ? extends T> map) { 81 : map.entrySet()) { 94 * Returns a new immutable class-to-instance map containin 78 putAll( Map<? extends Class<? extends T>, ? extends T> map) argument 117 copyOf( Map<? extends Class<? extends S>, ? extends S> map) argument [all...] |
H A D | Interners.java | 45 final ConcurrentMap<E, E> map = new MapMaker().makeMap(); 48 E canonical = map.putIfAbsent(checkNotNull(sample), sample); 56 private final MapMakerInternalMap<E, Dummy> map; field in class:Interners.CustomInterner 59 this.map = mm 68 ReferenceEntry<E, Dummy> entry = map.getEntry(sample); 77 Dummy sneaky = map.putIfAbsent(sample, Dummy.VALUE);
|
H A D | Serialization.java | 38 * Reads a count corresponding to a serialized map, multiset, or multimap. It 39 * returns the size of a map serialized by {@link 54 * Stores the contents of a map in an output stream, as part of serialization. 61 static <K, V> void writeMap(Map<K, V> map, ObjectOutputStream stream) argument 63 stream.writeInt(map.size()); 64 for (Map.Entry<K, V> entry : map.entrySet()) { 71 * Populates a map by reading an input stream, as part of deserialization. 74 static <K, V> void populateMap(Map<K, V> map, ObjectInputStream stream) argument 77 populateMap(map, stream, size); 81 * Populates a map b 85 populateMap(Map<K, V> map, ObjectInputStream stream, int size) argument [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
H A D | ConcurrentHashMultisetBasherTest.java | 62 private void testAddAndRemove(ConcurrentMap<String, AtomicInteger> map) argument 65 final ConcurrentHashMultiset<String> multiset = new ConcurrentHashMultiset<String>(map); 96 // Since we have access to the backing map, verify that there are no zeroes in the map 97 for (AtomicInteger value : map.values()) { 98 assertTrue("map should not contain a zero", value.get() != 0);
|
/external/icu/icu4c/source/i18n/ |
H A D | casetrn.cpp | 91 CaseMapTransliterator::CaseMapTransliterator(const UnicodeString &id, UCaseMapFull *map) : argument 94 fMap(map)
|
/external/iptables/extensions/ |
H A D | libxt_connlabel.c | 15 static struct nfct_labelmap *map; variable in typeref:struct:nfct_labelmap 41 tmp = nfct_labelmap_get_bit(map, cb->arg); 57 const char *name = nfct_labelmap_get_name(map, b); 117 map = nfct_labelmap_new(NULL); 118 if (!map) {
|
/external/jarjar/src/main/com/tonicsystems/jarjar/ |
H A D | KeepProcessor.java | 80 public String map(String key) { method in class:KeepProcessor 93 map(s.replace('.', '/'));
|
/external/javassist/src/main/javassist/ |
H A D | CtConstructor.java | 70 * <code>map</code> if <code>map</code> is not <code>null</code>. 76 * This is done whichever <code>map</code> is null or not. 90 * @param map the hashtable associating original class names 97 public CtConstructor(CtConstructor src, CtClass declaring, ClassMap map) argument 101 copy(src, true, map); 224 * <code>map</code> if <code>map</code> is not <code>null</code>. 227 * @param map the hashtable associating original class names 231 public void setBody(CtConstructor src, ClassMap map) argument 347 toMethod(String name, CtClass declaring, ClassMap map) argument [all...] |
H A D | CtNewMethod.java | 154 * @param map the hash table associating original class names 161 ClassMap map) throws CannotCompileException { 162 return new CtMethod(src, declaring, map); 176 * @param map the hash table associating original class names 183 ClassMap map) throws CannotCompileException { 184 CtMethod cm = new CtMethod(src, declaring, map); 160 copy(CtMethod src, CtClass declaring, ClassMap map) argument 182 copy(CtMethod src, String name, CtClass declaring, ClassMap map) argument
|
/external/kernel-headers/original/uapi/asm-x86/asm/ |
H A D | e820.h | 3 #define E820MAP 0x2d0 /* our map */ 11 * internal memory map tables to have room for these additional 17 * of three memory map entries per node is "enough" entries for 19 * use of additional EFI map entries. Future platforms may want 60 struct e820entry map[E820_X_MAX]; member in struct:e820map
|
/external/kernel-headers/original/uapi/linux/ |
H A D | map_to_7segment.h | 36 * Register a map variable, and fill it with a character set: 44 * In device drivers it is recommended, if required, to make the char map 78 static __inline__ int map_to_seg7(struct seg7_conversion_map *map, int c) argument 80 return c >= 0 && c < sizeof(map->table) ? map->table[c] : -EINVAL; 154 /* This set tries to map as close as possible to the visible characteristics 168 /* This set tries to map as close as possible to the symbolic characteristics
|
/external/libselinux/src/ |
H A D | mapping.c | 32 selinux_set_mapping(struct security_class_mapping *map) argument 46 if (!map) { 51 while (map[i].name) 61 while (map[j].name) { 62 struct security_class_mapping *p_in = map + (j++);
|
/external/libsepol/include/sepol/policydb/ |
H A D | ebitmap.h | 30 MAPTYPE map; /* this node's portion of the bitmap */ member in struct:ebitmap_node 68 if (n->map & (MAPBIT << (bit - n->startbit)))
|
/external/libunwind/src/ |
H A D | Los-common.c | 29 /* Global to hold the map for all local unwinds. */ 59 the current map. As we progress, simply start from the last element 74 after advancing to the next map element. */ 83 we gather a map of the process before starting. If the cache is missing 84 a map, or a map exists but doesn't have the "expected_flags" set, then 91 struct map_info *map; local 97 map = map_find_from_addr (new_list, addr); 98 if (map && (expected_flags == 0 || (map 130 struct map_info *map; local 170 struct map_info *map; local 208 struct map_info *map; local [all...] |
/external/libunwind/src/mi/ |
H A D | map.c | 106 map_free_info (struct map_info *map) argument 108 mempool_free (&map_pool, map); 114 struct map_info *map; local 117 map = map_info; 118 map_info = map->next; 119 if (map->ei.image != MAP_FAILED && map->ei.image != NULL) 120 munmap (map->ei.image, map->ei.size); 121 if (map [all...] |
/external/linux-tools-perf/perf-3.12.0/tools/perf/ui/browsers/ |
H A D | map.c | 13 #include "map.h" 17 struct map *map; member in struct:map_browser 56 sym = map__find_symbol(self->map, addr, NULL); 58 sym = map__find_symbol_by_name(self->map, target, NULL); 75 if (ui_browser__show(&self->b, self->map->dso->long_name, 101 int map__browse(struct map *self) 110 .map = self,
|
/external/lldb/include/lldb/DataFormatters/ |
H A D | TypeCategoryMap.h | 35 typedef std::map<KeyType, ValueSP> MapType; 128 MapType& map () function in class:lldb_private::TypeCategoryMap
|
/external/llvm/unittests/ADT/ |
H A D | DenseMapTest.cpp | 12 #include <map> 76 // allows all of the map implementations to be tested with shared 110 // Empty map tests 135 // Constant map tests 143 // A map with a single entry 223 // Test copying from a default-constructed map. 230 // Test copying from an empty map where SmallDenseMap isn't small. 266 // Make this more interesting by inserting 100 numbers into the map. 288 std::map<typename TypeParam::key_type, unsigned> visitedIndex; 290 // Insert 100 numbers into the map 339 DenseMap<unsigned, unsigned, TestDenseMapInfo> map; local 373 SmallDenseMap<unsigned, unsigned, 32, ContiguousDenseMapInfo> map; local [all...] |
/external/llvm/utils/emacs/ |
H A D | tablegen-mode.el | 87 (defvar tablegen-mode-map nil) ; Create a mode-specific keymap. 89 (if (not tablegen-mode-map) 91 (setq tablegen-mode-map (make-sparse-keymap)) 92 (define-key tablegen-mode-map "\t" 'tab-to-tab-stop) 93 (define-key tablegen-mode-map "\es" 'center-line) 94 (define-key tablegen-mode-map "\eS" 'center-paragraph)) 98 \\{tablegen-mode-map} 102 (use-local-map tablegen-mode-map) ; Provides the local keymap.
|
/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_transfer.c | 20 uint8_t *map = NULL; local 42 map = pipe_transfer_map(pipe, transfer); 43 if (map == NULL) 50 memcpy(map, data, box->width); 57 util_copy_rect(map, 66 map += transfer->layer_stride; 72 if (map)
|
/external/mesa3d/src/gallium/drivers/nouveau/ |
H A D | nouveau_context.h | 32 uint8_t *map; member in struct:nouveau_context::__anon27228
|
/external/mesa3d/src/gallium/drivers/nv30/ |
H A D | nv30_fragprog.c | 40 uint32_t *map; local 47 map = pipe_buffer_map(pipe, fp->buffer, PIPE_TRANSFER_WRITE, &transfer); 49 memcpy(map, fp->insn, fp->insn_len * 4); 52 *map++ = (fp->insn[i] >> 16) | (fp->insn[i] << 16);
|
/external/mesa3d/src/gallium/drivers/r300/ |
H A D | r300_query.c | 143 uint32_t temp, *map; local 155 map = r300->rws->buffer_map(q->cs_buf, r300->cs, 158 if (!map) 165 temp += util_le32_to_cpu(*map); 166 map++;
|
H A D | r300_transfer.c | 186 /* We cannot map a tiled texture directly because the data is 232 char *map; local 242 map = r300->rws->buffer_map(tex->cs_buf, r300->cs, transfer->usage); 244 if (!map) { 248 return map + r300_transfer(transfer)->offset +
|