/external/chromium_org/base/files/ |
memory_mapped_file_unittest.cc | 60 MemoryMappedFile map; local 61 map.Initialize(temp_file_path()); 62 ASSERT_EQ(kFileSize, map.length()); 63 ASSERT_TRUE(map.data() != NULL); 64 EXPECT_TRUE(map.IsValid()); 65 ASSERT_TRUE(CheckBufferContents(map.data(), kFileSize, 0)); 71 MemoryMappedFile map; local 72 map.Initialize(File(temp_file_path(), File::FLAG_OPEN | File::FLAG_READ)); 73 ASSERT_EQ(kFileSize, map.length()); 74 ASSERT_TRUE(map.data() != NULL) 82 MemoryMappedFile map; local 93 MemoryMappedFile map; local 107 MemoryMappedFile map; local 122 MemoryMappedFile map; local 138 MemoryMappedFile map; local 154 MemoryMappedFile map; local [all...] |
/external/chromium_org/gpu/config/ |
dx_diag_node.h | 11 #include <map> 21 std::map<std::string, std::string> values; 22 std::map<std::string, DxDiagNode> children;
|
/external/chromium_org/third_party/libvpx/source/libvpx/test/ |
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.rows = (kHeight + 15) / 16 [all...] |
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
symbolize.h | 41 #include <map> 43 using std::map; 71 typedef map<const void*, const char*> SymbolMap; 76 // Map from addresses to symbol names.
|
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
symbolize.h | 41 #include <map> 43 using std::map; 71 typedef map<const void*, const char*> SymbolMap; 76 // Map from addresses to symbol names.
|
/external/libcxx/test/containers/associative/map/map.access/ |
max_size.pass.cpp | 10 // <map> 12 // class map 16 #include <map> 24 typedef std::map<int, double> M; 30 typedef std::map<int, double, std::less<int>, min_allocator<std::pair<const int, double>>> M;
|
/external/libcxx/test/containers/associative/map/map.ops/ |
Android.mk | 17 test_makefile := external/libcxx/test/containers/associative/map/map.ops/Android.mk 19 test_name := containers/associative/map/map.ops/find 23 test_name := containers/associative/map/map.ops/equal_range 27 test_name := containers/associative/map/map.ops/lower_bound 31 test_name := containers/associative/map/map.ops/upper_boun [all...] |
/external/libvpx/libvpx/test/ |
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.rows = (kHeight + 15) / 16 [all...] |
/external/qemu/android/utils/ |
intmap.h | 26 /* Create new integer map */ 29 /* Returns the number of keys stored in the map */ 30 int aintmap_getCount( AIntMap* map ); 32 /* Returns TRUE if the map has a value for the 'key'. Necessary because 33 * NULL is a valid value for the map. 35 int aintmap_has( AIntMap* map, int key ); 37 /* Get the value associated with a 'key', or NULL if not in map */ 38 void* aintMap_get( AIntMap* map, int key ); 40 /* Get the value associated with a 'key', or 'def' if not in map */ 41 void* aintMap_getWithDefault( AIntMap* map, int key, void* def ) [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/ |
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.rows = (kHeight + 15) / 16 [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/map/map.access/ |
max_size.pass.cpp | 10 // <map> 12 // class map 16 #include <map> 24 typedef std::map<int, double> M; 30 typedef std::map<int, double, std::less<int>, min_allocator<std::pair<const int, double>>> M;
|
/system/core/include/cutils/ |
hashmap.h | 18 * Hash map. 31 /** A hash map. */ 35 * Creates a new hash map. Returns NULL if memory allocation fails. 45 * Frees the hash map. Does not free the keys or values themselves. 47 void hashmapFree(Hashmap* map); 56 * Puts value for the given key in the map. Returns pre-existing value if 59 * If memory allocation fails, this function returns NULL, the map's size 62 void* hashmapPut(Hashmap* map, void* key, void* value); 65 * Gets a value from the map. Returns NULL if no entry for the given key is 68 void* hashmapGet(Hashmap* map, void* key) [all...] |
/external/chromium_org/base/posix/ |
file_descriptor_shuffle_unittest.cc | 70 InjectiveMultimap map; local 73 EXPECT_TRUE(PerformInjectiveMultimap(map, &tracer)); 78 InjectiveMultimap map; local 80 map.push_back(InjectionArc(0, 0, false)); 82 EXPECT_TRUE(PerformInjectiveMultimap(map, &tracer)); 87 InjectiveMultimap map; local 89 map.push_back(InjectionArc(0, 0, true)); 91 EXPECT_TRUE(PerformInjectiveMultimap(map, &tracer)); 96 InjectiveMultimap map; local 98 map.push_back(InjectionArc(0, 1, false)) 106 InjectiveMultimap map; local 118 InjectiveMultimap map; local 129 InjectiveMultimap map; local 141 InjectiveMultimap map; local 156 InjectiveMultimap map; local 171 InjectiveMultimap map; local 186 InjectiveMultimap map; local 201 InjectiveMultimap map; local 213 InjectiveMultimap map; local 226 InjectiveMultimap map; local 239 InjectiveMultimap map; local 265 InjectiveMultimap map; local 272 InjectiveMultimap map; local 280 InjectiveMultimap map; local [all...] |
/sdk/emulator/opengl/shared/emugl/common/ |
id_to_object_map_unittest.cpp | 39 IdToObjectMap<Foo> map; local 40 EXPECT_TRUE(map.empty()); 41 EXPECT_EQ(0U, map.size()); 45 IdToObjectMap<Foo> map; local 48 // Add all items in the map. 50 EXPECT_FALSE(map.set(n, new Foo(n))) << "For key " << n; 54 EXPECT_EQ(static_cast<size_t>(kMax), map.size()); 56 // Find all items in the map. 58 EXPECT_TRUE(map.contains(n)) << "For key " << n; 60 EXPECT_TRUE(map.find(n, &foo)) << "For key " << n 68 IdToObjectMap<Foo> map; local 85 IdToObjectMap<Foo> map; local [all...] |
/system/extras/libpagemap/ |
pm_map.c | 22 int pm_map_pagemap(pm_map_t *map, uint64_t **pagemap_out, size_t *len) { 23 if (!map) 26 return pm_process_pagemap_range(map->proc, map->start, map->end, 30 int pm_map_usage_flags(pm_map_t *map, pm_memusage_t *usage_out, 38 if (!map || !usage_out) 41 error = pm_map_pagemap(map, &pagemap, &len); 47 usage.vss += map->proc->ker->pagesize; 55 error = pm_kernel_flags(map->proc->ker, PM_PAGEMAP_PFN(pagemap[i]) [all...] |
/external/libcxx/test/containers/associative/map/map.cons/ |
Android.mk | 17 test_makefile := external/libcxx/test/containers/associative/map/map.cons/Android.mk 19 test_name := containers/associative/map/map.cons/default 23 test_name := containers/associative/map/map.cons/compare 27 test_name := containers/associative/map/map.cons/alloc 31 test_name := containers/associative/map/map.cons/iter_ite [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
MutableClassToInstanceMapTest.java | 30 import java.util.Map; 31 import java.util.Map.Entry; 59 public Map<Class, Number> create(Object... elements) { 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)) [all...] |
/external/chromium_org/content/common/dom_storage/ |
dom_storage_map_unittest.cc | 26 scoped_refptr<DOMStorageMap> map(new DOMStorageMap(kQuota)); 32 // Check the behavior of an empty map. 33 EXPECT_EQ(0u, map->Length()); 34 EXPECT_TRUE(map->Key(0).is_null()); 35 EXPECT_TRUE(map->Key(100).is_null()); 36 EXPECT_TRUE(map->GetItem(kKey).is_null()); 37 EXPECT_FALSE(map->RemoveItem(kKey, &old_value)); 38 EXPECT_EQ(0u, map->bytes_used()); 39 copy = map->DeepCopy(); 42 map->SwapValues(&swap) [all...] |
/external/guava/guava/src/com/google/common/collect/ |
RegularImmutableMultiset.java | 22 import java.util.Map; 36 private final transient ImmutableMap<E, Integer> map; field in class:RegularImmutableMultiset 39 RegularImmutableMultiset(ImmutableMap<E, Integer> map, int size) { 40 this.map = map; 46 return map.isPartialView(); 51 Integer value = map.get(element); 62 return map.containsKey(element); 67 return map.keySet(); 72 final Iterator<Map.Entry<E, Integer>> mapIterator [all...] |
/external/valgrind/main/memcheck/tests/ |
pointer-trace.c | 22 char *map; local 54 map = mmap(0, stepsize * 2, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANONYMOUS, -1, 0); 55 if (map == (char *)-1) 59 map = mmap(0, stepsize * 2, PROT_WRITE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANONYMOUS, -1, 0); 60 if (map == (char *)-1) 66 map = mmap(0, stepsize * 2, PROT_WRITE|PROT_READ, MAP_PRIVATE, fd, 0); 67 if (map == (char *)-1) 69 //printf("trap 3 = %p-%p\n", map, map+stepsize*2); 72 map = mmap(0, 256*1024, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANONYMOUS, -1, 0) [all...] |
/external/libcxx/test/containers/unord/unord.map/unord.map.cnstr/ |
Android.mk | 17 test_makefile := external/libcxx/test/containers/unord/unord.map/unord.map.cnstr/Android.mk 19 test_name := containers/unord/unord.map/unord.map.cnstr/default 23 test_name := containers/unord/unord.map/unord.map.cnstr/size_hash 27 test_name := containers/unord/unord.map/unord.map.cnstr/range_size_hash_equal_allocator 31 test_name := containers/unord/unord.map/unord.map.cnstr/init_siz [all...] |
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
SortedMapInterfaceTest.java | 25 import java.util.Map; 26 import java.util.Map.Entry; 79 final SortedMap<K, V> map; local 81 map = makePopulatedMap(); 85 Iterator<K> iterator = map.keySet().iterator(); 87 Comparator<? super K> comparator = map.comparator(); 94 assertTrue(map.comparator().compare(prior, current) < 0); 101 final Map<K, V> map; 104 map = makeEitherMap() [all...] |
/system/core/liblog/ |
event_tag_map.c | 38 * Map. 51 static int processFile(EventTagMap* map); 52 static int countMapLines(const EventTagMap* map); 53 static int parseMapLines(EventTagMap* map); 55 static int sortTags(EventTagMap* map); 59 * Open the map file and allocate a structure to manage it. 76 fprintf(stderr, "%s: unable to open map '%s': %s\n", 84 fprintf(stderr, "%s: unable to seek map '%s'\n", OUT_TAG, fileName); 110 * Close the map. 112 void android_closeEventTagMap(EventTagMap* map) [all...] |
/external/llvm/unittests/ADT/ |
IntervalMapTest.cpp | 19 // Empty map tests 22 UUMap map(allocator); 23 EXPECT_TRUE(map.empty()); 25 // Lookup on empty map. 26 EXPECT_EQ(0u, map.lookup(0)); 27 EXPECT_EQ(7u, map.lookup(0, 7)); 28 EXPECT_EQ(0u, map.lookup(~0u-1)); 29 EXPECT_EQ(7u, map.lookup(~0u-1, 7)); 32 EXPECT_TRUE(map.begin() == map.begin()) [all...] |
/libcore/jsr166-tests/src/test/java/jsr166/ |
TreeSubMapTest.java | 15 * Returns a new map from Integers 1-5 to Strings "A"-"E". 18 TreeMap map = new TreeMap(); local 19 assertTrue(map.isEmpty()); 20 map.put(zero, "Z"); 21 map.put(one, "A"); 22 map.put(five, "E"); 23 map.put(three, "C"); 24 map.put(two, "B"); 25 map.put(four, "D"); 26 map.put(seven, "F") 33 TreeMap map = new TreeMap(); local 42 TreeMap map = new TreeMap(); local 55 TreeMap map = new TreeMap(); local 64 NavigableMap map = map5(); local 86 NavigableMap map = map5(); local 95 NavigableMap map = map5(); local 105 NavigableMap map = map5(); local 116 NavigableMap map = map5(); local 125 NavigableMap map = map5(); local 133 NavigableMap map = map5(); local 141 NavigableMap map = map5(); local 155 NavigableMap map = map5(); local [all...] |