/external/llvm/unittests/Support/ |
YAMLIOTest.cpp | 181 BuiltInTypes map; local 200 yin >> map; local 203 EXPECT_TRUE(map.str.equals("hello there")); 204 EXPECT_EQ(map.u64, 5000000000ULL); 205 EXPECT_EQ(map.u32, 4000000000U); 206 EXPECT_EQ(map.u16, 65000); 207 EXPECT_EQ(map.u8, 255); 208 EXPECT_EQ(map.b, false); 209 EXPECT_EQ(map.s64, -5000000000LL); 210 EXPECT_EQ(map.s32, -2000000000L) 228 BuiltInTypes map; local 248 yout << map; local 253 BuiltInTypes map; local 254 yin >> map; local 328 ColorMap map; local 335 yin >> map; local 400 FlagsMap map; local 406 yin >> map; local 422 FlagsMap map; local 430 yout << map; local 511 MyCustomTypeMap map; local 520 yout << map; local 593 NameAndNumbers map; local 604 yout << map; local 950 ColorMap map; local 957 yin >> map; local 966 FlagsMap map; local 973 yin >> map; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
paint.c | 166 void *map = pipe->transfer_map(pipe, transfer); local 167 memcpy(map, p->gradient.color_data, sizeof(VGint)*1024); 256 VGfloat *map = (VGfloat*)buffer; local 258 map[4] = 0.f; 259 map[5] = 1.f; 260 map[6] = 2.f; 261 map[7] = 4.f; 268 VGfloat *map = (VGfloat*)buffer; local 271 map[0] = paint->gradient.linear.coords[2] - paint->gradient.linear.coords[0]; 272 map[1] = paint->gradient.linear.coords[3] - paint->gradient.linear.coords[1] 307 VGfloat *map = (VGfloat*)buffer; local 360 VGfloat *map = (VGfloat *)buffer; local [all...] |
/external/mesa3d/src/gallium/state_trackers/vega/ |
paint.c | 166 void *map = pipe->transfer_map(pipe, transfer); local 167 memcpy(map, p->gradient.color_data, sizeof(VGint)*1024); 256 VGfloat *map = (VGfloat*)buffer; local 258 map[4] = 0.f; 259 map[5] = 1.f; 260 map[6] = 2.f; 261 map[7] = 4.f; 268 VGfloat *map = (VGfloat*)buffer; local 271 map[0] = paint->gradient.linear.coords[2] - paint->gradient.linear.coords[0]; 272 map[1] = paint->gradient.linear.coords[3] - paint->gradient.linear.coords[1] 307 VGfloat *map = (VGfloat*)buffer; local 360 VGfloat *map = (VGfloat *)buffer; local [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/ |
SDL_pixels.c | 246 SDL_InvalidateMap(surface->map); 274 /* map each bit field to the full [0, 255] interval, 435 /* Map from Palette to Palette */ 438 Uint8 *map; local 443 /* If an identical palette, no need to map */ 452 map = (Uint8 *)SDL_malloc(src->ncolors); 453 if ( map == NULL ) { 458 map[i] = SDL_FindColor(dst, 461 return(map); 463 /* Map from Palette to BitField * 466 Uint8 *map; local 508 SDL_BlitMap *map; local 546 SDL_BlitMap *map; local [all...] |
/external/ceres-solver/include/ceres/ |
ordered_groups.h | 34 #include <map> 44 // that can serve as a key in a map or an element of a set. 64 typename map<T, int>::const_iterator it = element_to_group_.find(element); 111 typename map<int, set<T> >::reverse_iterator it = 113 map<int, set<T> > new_group_to_elements; 133 typename map<T, int>::const_iterator it = element_to_group_.find(element); 141 typename map<T, int>::const_iterator it = element_to_group_.find(element); 148 typename map<int, set<T> >::const_iterator it = 162 const map<int, set<T> >& group_to_elements() const { 167 map<int, set<T> > group_to_elements_ [all...] |
/external/chromium_org/net/base/ |
address_tracker_linux_unittest.cc | 153 AddressTrackerLinux::AddressMap map = GetAddressMap(); local 154 EXPECT_EQ(1u, map.size()); 155 EXPECT_EQ(1u, map.count(kAddr0)); 156 EXPECT_EQ(IFA_F_TEMPORARY, map[kAddr0].ifa_flags); 162 map = GetAddressMap(); 163 EXPECT_EQ(2u, map.size()); 164 EXPECT_EQ(1u, map.count(kAddr0)); 165 EXPECT_EQ(1u, map.count(kAddr2)); 166 EXPECT_EQ(IFA_F_HOMEADDRESS, map[kAddr2].ifa_flags); 171 map = GetAddressMap() 184 AddressTrackerLinux::AddressMap map = GetAddressMap(); local 217 AddressTrackerLinux::AddressMap map = GetAddressMap(); local 238 AddressTrackerLinux::AddressMap map = GetAddressMap(); local [all...] |
/external/oprofile/daemon/liblegacy/ |
opd_mapping.c | 27 /* hash map device mmap */ 48 perror("oprofiled: couldn't mmap hash map"); 60 struct opd_map * map = list_entry(pos, struct opd_map, next); local 62 opd_delete_image(map->image); 63 free(map); 71 struct opd_map * map; local 76 map = malloc(sizeof(struct opd_map)); 78 /* first map is the primary image */ 87 map->image = image; 88 map->start = start [all...] |
/frameworks/base/core/tests/coretests/src/android/util/ |
LongSparseLongArrayTest.java | 23 import java.util.Map; 77 final HashMap<Long, Long> map = new HashMap<Long, Long>(); local 84 map.put(key, value); 87 if (r.nextBoolean() && map.size() > 0) { 88 final int index = r.nextInt(map.size()); 89 final long key = getKeyAtIndex(map, index); 90 map.remove(key); 95 Log.d(TAG, "verifying a map with " + map.size() + " entries"); 97 for (Map.Entry<Long, Long> e : map.entrySet()) [all...] |
/libcore/luni/src/main/java/libcore/io/ |
Base64.java | 128 private static final byte[] map = new byte[] field in class:Base64 140 out[index++] = map[(in[i] & 0xff) >> 2]; 141 out[index++] = map[((in[i] & 0x03) << 4) | ((in[i+1] & 0xff) >> 4)]; 142 out[index++] = map[((in[i+1] & 0x0f) << 2) | ((in[i+2] & 0xff) >> 6)]; 143 out[index++] = map[(in[i+2] & 0x3f)]; 147 out[index++] = map[(in[end] & 0xff) >> 2]; 148 out[index++] = map[(in[end] & 0x03) << 4]; 153 out[index++] = map[(in[end] & 0xff) >> 2]; 154 out[index++] = map[((in[end] & 0x03) << 4) | ((in[end+1] & 0xff) >> 4)]; 155 out[index++] = map[((in[end+1] & 0x0f) << 2)] [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/personalization/ |
UserHistoryDictionaryBigramList.java | 60 final HashMap<String, Byte> map; local 62 map = mBigramMap.get(word1); 64 map = CollectionUtils.newHashMap(); 65 mBigramMap.put(word1, map); 67 if (!map.containsKey(word2)) { 69 map.put(word2, fcValue); 80 final HashMap<String, Byte> map; local 82 map = mBigramMap.get(word1); 86 if (!map.containsKey(word2)) { 89 map.put(word2, fcValue) [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/bits/ |
stl_map.h | 0 // Map implementation -*- C++ -*- 75 * For a @c map<Key,T> the key_type is Key, the mapped_type is T, and the 80 * The private tree data is declared exactly the same way for map and 86 class map class 107 friend class map<_Key, _Tp, _Compare, _Alloc>; 120 /// This turns a red-black tree into a [multi]map. 150 map() function in class:map 154 * @brief Creates a %map with no elements. 159 map(const _Compare& __comp, function in class:map 164 * @brief %Map copy constructor 170 map(const map& __x) function in class:map 181 map(map&& __x) function in class:map 195 map(initializer_list<value_type> __l, function in class:map 212 map(_InputIterator __first, _InputIterator __last) function in class:map 228 map(_InputIterator __first, _InputIterator __last, function in class:map [all...] |
/prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/include/bits/ |
stl_map.h | 0 // Map implementation -*- C++ -*- 75 * For a @c map<Key,T> the key_type is Key, the mapped_type is T, and the 80 * The private tree data is declared exactly the same way for map and 86 class map class 107 friend class map<_Key, _Tp, _Compare, _Alloc>; 120 /// This turns a red-black tree into a [multi]map. 150 map() function in class:map 154 * @brief Creates a %map with no elements. 159 map(const _Compare& __comp, function in class:map 164 * @brief %Map copy constructor 170 map(const map& __x) function in class:map 181 map(map&& __x) function in class:map 195 map(initializer_list<value_type> __l, function in class:map 212 map(_InputIterator __first, _InputIterator __last) function in class:map 228 map(_InputIterator __first, _InputIterator __last, function in class:map [all...] |
/prebuilts/ndk/6/sources/cxx-stl/gnu-libstdc++/include/bits/ |
stl_map.h | 0 // Map implementation -*- C++ -*- 75 * For a @c map<Key,T> the key_type is Key, the mapped_type is T, and the 80 * The private tree data is declared exactly the same way for map and 86 class map class 107 friend class map<_Key, _Tp, _Compare, _Alloc>; 120 /// This turns a red-black tree into a [multi]map. 150 map() function in class:map 154 * @brief Creates a %map with no elements. 159 map(const _Compare& __comp, function in class:map 164 * @brief %Map copy constructor 170 map(const map& __x) function in class:map 181 map(map&& __x) function in class:map 195 map(initializer_list<value_type> __l, function in class:map 212 map(_InputIterator __first, _InputIterator __last) function in class:map 228 map(_InputIterator __first, _InputIterator __last, function in class:map [all...] |
/prebuilts/ndk/7/sources/cxx-stl/gnu-libstdc++/include/bits/ |
stl_map.h | 0 // Map implementation -*- C++ -*- 75 * For a @c map<Key,T> the key_type is Key, the mapped_type is T, and the 80 * The private tree data is declared exactly the same way for map and 86 class map class 107 friend class map<_Key, _Tp, _Compare, _Alloc>; 120 /// This turns a red-black tree into a [multi]map. 150 map() function in class:map 154 * @brief Creates a %map with no elements. 159 map(const _Compare& __comp, function in class:map 164 * @brief %Map copy constructor 170 map(const map& __x) function in class:map 181 map(map&& __x) function in class:map 195 map(initializer_list<value_type> __l, function in class:map 212 map(_InputIterator __first, _InputIterator __last) function in class:map 228 map(_InputIterator __first, _InputIterator __last, function in class:map [all...] |
/external/chromium_org/third_party/WebKit/Source/core/platform/text/win/ |
LocaleWin.cpp | 72 static void ensureNameToLCIDMap(NameToLCIDMap& map) 74 if (!map.isEmpty()) 78 map.add("ar", 0x0001); 79 map.add("ar-eg", 0x0C01); 80 map.add("de", 0x0007); 81 map.add("de-de", 0x0407); 82 map.add("el", 0x0008); 83 map.add("el-gr", 0x0408); 84 map.add("en", 0x0009); 85 map.add("en-gb", 0x0809) [all...] |
/external/kernel-headers/original/linux/mtd/ |
cfi.h | 14 #include <linux/mtd/map.h> 274 static inline map_word cfi_build_cmd(u_long cmd, struct map_info *map, struct cfi_private *cfi) 285 if (map_bankwidth_is_large(map)) { 287 words_per_bus = (map_bankwidth(map)) / wordwidth; // i.e. normally 1 289 wordwidth = map_bankwidth(map); 293 chip_mode = map_bankwidth(map) / cfi_interleave(cfi); 294 chips_per_word = wordwidth * cfi_interleave(cfi) / map_bankwidth(map); 335 #define CMD(x) cfi_build_cmd((x), map, cfi) 338 static inline unsigned long cfi_merge_status(map_word val, struct map_info *map, 349 if (map_bankwidth_is_large(map)) { [all...] |
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.4.3/include/bits/ |
stl_map.h | 0 // Map implementation -*- C++ -*- 75 * For a @c map<Key,T> the key_type is Key, the mapped_type is T, and the 80 * The private tree data is declared exactly the same way for map and 86 class map class 107 friend class map<_Key, _Tp, _Compare, _Alloc>; 120 /// This turns a red-black tree into a [multi]map. 150 map() function in class:map 154 * @brief Creates a %map with no elements. 159 map(const _Compare& __comp, function in class:map 164 * @brief %Map copy constructor 170 map(const map& __x) function in class:map 181 map(map&& __x) function in class:map 195 map(initializer_list<value_type> __l, function in class:map 212 map(_InputIterator __first, _InputIterator __last) function in class:map 228 map(_InputIterator __first, _InputIterator __last, function in class:map [all...] |
/external/chromium_org/chrome/browser/invalidation/ |
invalidator_storage_unittest.cc | 113 // Clearing the storage should erase all version map entries, bootstrap data, 150 InvalidationStateMap map; local 213 InvalidatorStorage::DeserializeFromList(list_with_invalid_format, &map); 215 EXPECT_EQ(1U, map.size()); 216 EXPECT_EQ(20, map[valid_id].version); 220 // of the last entry with that key should be used in the version map. 222 InvalidationStateMap map; local 242 InvalidatorStorage::DeserializeFromList(list, &map); 243 EXPECT_EQ(2U, map.size()); 244 EXPECT_EQ(10, map[kAutofillId_].version) 249 InvalidationStateMap map; local 258 InvalidationStateMap map; local 285 InvalidationStateMap map; local 335 InvalidationStateMap map; local 350 InvalidationStateMap map; local 367 InvalidationStateMap map; local 374 InvalidationStateMap map; local 402 InvalidationStateMap map; local [all...] |
/system/extras/libpagemap/include/pagemap/ |
pagemap.h | 89 /* Get the map count (from /proc/kpagecount) of a physical frame. 174 /* Get the name, flags, start/end address, or offset of a map. */ 175 #define pm_map_name(map) ((map)->name) 176 #define pm_map_flags(map) ((map)->flags) 181 #define pm_map_start(map) ((map)->start) 182 #define pm_map_end(map) ((map)->end [all...] |
/external/guava/guava-tests/test/com/google/common/cache/ |
LocalLoadingCacheTest.java | 36 import java.util.Map; 146 ConcurrentMap<Object, Object> map = cache.localCache; // modifiable map view local 150 assertNull(map.put(one, one)); 151 assertSame(one, map.get(one)); 152 assertTrue(map.containsKey(one)); 153 assertTrue(map.containsValue(one)); 155 assertSame(one, map.replace(one, two)); 156 assertTrue(map.containsKey(one)); 157 assertFalse(map.containsValue(one)) 216 ConcurrentMap<Object, Object> map = cache.asMap(); local 270 ConcurrentMap<Object, Object> map = cache.asMap(); local [all...] |
/external/ceres-solver/internal/ceres/ |
linear_solver.h | 38 #include <map> 266 virtual map<string, int> CallStatistics() const { 267 return map<string, int>(); 270 virtual map<string, double> TimeStatistics() const { 271 return map<string, double>(); 301 virtual map<string, int> CallStatistics() const { 305 virtual map<string, double> TimeStatistics() const {
|
/external/chromium_org/third_party/icu/source/common/ |
umapfile.c | 37 # define IS_MAP(map) ((map)!=NULL) 41 # define IS_MAP(map) ((map)!=0) 73 # define IS_MAP(map) ((map)!=NULL) 100 HANDLE map; local 133 map=CreateFileMapping(file, mappingAttributesPtr, PAGE_READONLY, 0, 0, NULL); 135 if(map==NULL) { 139 /* map a view of the file into our address space * [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
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/clang/lib/Headers/ |
Makefile | 35 $(HeaderDir)/module.map: $(PROJ_SRC_DIR)/module.map $(HeaderDir)/.dir 41 all-local:: $(OBJHEADERS) $(HeaderDir)/module.map 55 $(PROJ_headers)/module.map: $(HeaderDir)/module.map | $(PROJ_headers) 57 $(Echo) Installing compiler module map file: $(notdir $<) 60 install-local:: $(INSTHEADERS) $(PROJ_headers)/module.map
|
/external/icu4c/common/ |
umapfile.c | 37 # define IS_MAP(map) ((map)!=NULL) 41 # define IS_MAP(map) ((map)!=0) 69 # define IS_MAP(map) ((map)!=NULL) 96 HANDLE map; local 129 map=CreateFileMapping(file, mappingAttributesPtr, PAGE_READONLY, 0, 0, NULL); 131 if(map==NULL) { 135 /* map a view of the file into our address space * [all...] |