/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
CookieManagerTest.java | 30 import java.util.Map; 36 Map<String, List<String>> map) throws IOException { 39 manager.get(uri, map); 48 Map<String, List<String>> map) throws IOException { 51 manager.put(uri, map); 60 * {@link java.net.CookieManager#get(java.net.URI, java.util.Map)} & 61 * {@link java.net.CookieManager#put(java.net.URI, java.util.Map)} 80 private static Map<String, List<String>> addCookie(String[][] cookies) 147 Map<String, List<String>> map = manager.get(new URI("http:\/\/a.b.c\/"), local 276 Map<String, List<String>> map = manager.get(uri, local [all...] |
/external/chromium_org/third_party/angle/src/libGLESv2/ |
formatutils.cpp | 37 typedef std::map<FormatTypePair, FormatTypeInfo> FormatMap; 39 // A helper function to insert data into the format map with fewer characters. 40 static inline void InsertFormatMapping(FormatMap *map, GLenum format, GLenum type, GLenum internalFormat, ColorWriteFunction writeFunc) 42 map->insert(FormatPair(FormatTypePair(format, type), FormatTypeInfo(internalFormat, writeFunc))); 47 FormatMap map; local 52 InsertFormatMapping(&map, GL_ALPHA, GL_UNSIGNED_BYTE, GL_ALPHA8_EXT, WriteColor<A8, GLfloat> ); 53 InsertFormatMapping(&map, GL_ALPHA, GL_FLOAT, GL_ALPHA32F_EXT, WriteColor<A32F, GLfloat> ); 54 InsertFormatMapping(&map, GL_ALPHA, GL_HALF_FLOAT_OES, GL_ALPHA16F_EXT, WriteColor<A16F, GLfloat> ); 56 InsertFormatMapping(&map, GL_LUMINANCE, GL_UNSIGNED_BYTE, GL_LUMINANCE8_EXT, WriteColor<L8, GLfloat> ); 57 InsertFormatMapping(&map, GL_LUMINANCE, GL_FLOAT, GL_LUMINANCE32F_EXT, (…) 102 FormatMap map; local 407 TypeInfoMap map; local 664 InternalFormatInfoMap map; local 796 InternalFormatInfoMap map; local 877 const InternalFormatInfoMap* map = NULL; local [all...] |
/external/smack/src/com/kenai/jbosh/ |
ComposableBody.java | 21 import java.util.Map; 65 * Map of all attributes to their values. 67 private final Map<BodyQName, String> attrs; 88 private Map<BodyQName, String> map; field in class:ComposableBody.Builder 110 result.map = source.getAttributes(); 141 if (map == null) { 142 map = new HashMap<BodyQName, String>(); 144 map = new HashMap<BodyQName, String>(map); [all...] |
/frameworks/base/core/java/android/util/ |
LruCache.java | 20 import java.util.Map; 63 private final LinkedHashMap<K, V> map; field in class:LruCache 85 this.map = new LinkedHashMap<K, V>(0, 0.75f, true); 117 mapValue = map.get(key); 126 * Attempt to create a value. This may take a long time, and the map 128 * added to the map while create() was working, we leave that value in 129 * the map and release the created value. 139 mapValue = map.put(key, createdValue); 143 map.put(key, mapValue); 173 previous = map.put(key, value) [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/util/ |
LruCache.java | 20 import java.util.Map; 67 private final LinkedHashMap<K, V> map; field in class:LruCache 89 this.map = new LinkedHashMap<K, V>(0, 0.75f, true); 122 mapValue = map.get(key); 131 * Attempt to create a value. This may take a long time, and the map 133 * added to the map while create() was working, we leave that value in 134 * the map and release the created value. 144 mapValue = map.put(key, createdValue); 148 map.put(key, mapValue); 178 previous = map.put(key, value) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/lib/gcc/x86_64-w64-mingw32/4.8.3/plugin/include/ |
sbitmap.h | 101 bitmap_bit_p (const_sbitmap map, int bitno) 105 return (map->elms[i] >> s) & (SBITMAP_ELT_TYPE) 1; 108 /* Set bit number BITNO in the sbitmap MAP. */ 111 bitmap_set_bit (sbitmap map, int bitno) 113 gcc_checking_assert (! map->popcount); 114 map->elms[bitno / SBITMAP_ELT_BITS] 118 /* Reset bit number BITNO in the sbitmap MAP. */ 121 bitmap_clear_bit (sbitmap map, int bitno) 123 gcc_checking_assert (! map->popcount); 124 map->elms[bitno / SBITMAP_ELT_BITS [all...] |
/system/core/libutils/ |
PropertyMap.cpp | 112 void PropertyMap::addAll(const PropertyMap* map) { 113 for (size_t i = 0; i < map->mProperties.size(); i++) { 114 mProperties.add(map->mProperties.keyAt(i), map->mProperties.valueAt(i)); 126 PropertyMap* map = new PropertyMap(); local 127 if (!map) { 128 ALOGE("Error allocating property map."); 134 Parser parser(map, tokenizer); 143 delete map; 145 *outMap = map; [all...] |
/system/core/toolbox/ |
readtty.c | 13 } map[] = { variable in typeref:struct:__anon81281 30 for(i = 0; i < sizeof(map) / sizeof(map[0]); i++) { 31 if(key == map[i].key) { 32 next = strchr(map[i].chars, current); 35 return map[i].chars[1]; 45 for(i = 0; i < sizeof(map) / sizeof(map[0]); i++) { 46 if(key == map[i].key) { 47 next = strchr(map[i].chars+1, current) [all...] |
/external/chromium_org/third_party/harfbuzz-ng/src/ |
hb-ot-map-private.hh | 81 const feature_map_t *map = features.bsearch (&feature_tag); local 82 if (shift) *shift = map ? map->shift : 0; 83 return map ? map->mask : 0; 87 const feature_map_t *map = features.bsearch (&feature_tag); local 88 return map ? map->needs_fallback : false; 92 const feature_map_t *map = features.bsearch (&feature_tag); local 93 return map ? map->_1_mask : 0 97 const feature_map_t *map = features.bsearch (&feature_tag); local 102 const feature_map_t *map = features.bsearch (&feature_tag); local [all...] |
/external/chromium_org/v8/test/cctest/ |
test-ordered-hash-table.cc | 52 Handle<Map> map = factory->NewMap(JS_OBJECT_TYPE, JSObject::kHeaderSize); local 53 Handle<JSObject> obj = factory->NewJSObjectFromMap(map); 69 Handle<JSObject> obj1 = factory->NewJSObjectFromMap(map); 71 Handle<JSObject> obj2 = factory->NewJSObjectFromMap(map); 73 Handle<JSObject> obj3 = factory->NewJSObjectFromMap(map); 82 Handle<JSObject> obj4 = factory->NewJSObjectFromMap(map); 107 TEST(Map) { 119 Handle<Map> map = factory->NewMap(JS_OBJECT_TYPE, JSObject::kHeaderSize) local [all...] |
/external/harfbuzz_ng/src/ |
hb-ot-map-private.hh | 81 const feature_map_t *map = features.bsearch (&feature_tag); local 82 if (shift) *shift = map ? map->shift : 0; 83 return map ? map->mask : 0; 87 const feature_map_t *map = features.bsearch (&feature_tag); local 88 return map ? map->needs_fallback : false; 92 const feature_map_t *map = features.bsearch (&feature_tag); local 93 return map ? map->_1_mask : 0 97 const feature_map_t *map = features.bsearch (&feature_tag); local 102 const feature_map_t *map = features.bsearch (&feature_tag); local [all...] |
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.9/include/debug/ |
map.h | 1 // Debugging map implementation -*- C++ -*- 25 /** @file debug/map.h 40 /// Class std::map with safety/checking/debug instrumentation. 43 class map class in namespace:__debug 44 : public _GLIBCXX_STD_C::map<_Key, _Tp, _Compare, _Allocator>, 45 public __gnu_debug::_Safe_sequence<map<_Key, _Tp, _Compare, _Allocator> > 47 typedef _GLIBCXX_STD_C::map<_Key, _Tp, _Compare, _Allocator> _Base; 67 typedef __gnu_debug::_Safe_iterator<_Base_iterator, map> 69 typedef __gnu_debug::_Safe_iterator<_Base_const_iterator, map> 81 map() : _Base() { function in class:__debug::map 83 explicit map(const _Compare& __comp, function in class:__debug::map 88 map(_InputIterator __first, _InputIterator __last, function in class:__debug::map 96 map(const map& __x) function in class:__debug::map 99 map(const _Base& __x) function in class:__debug::map 108 map(initializer_list<value_type> __l, function in class:__debug::map 114 map(const allocator_type& __a) function in class:__debug::map 117 map(const map& __m, const allocator_type& __a) function in class:__debug::map 120 map(map&& __m, const allocator_type& __a) function in class:__debug::map 123 map(initializer_list<value_type> __l, const allocator_type& __a) function in class:__debug::map 127 map(_InputIterator __first, _InputIterator __last, function in class:__debug::map [all...] |
/external/guava/guava/src/com/google/common/collect/ |
ImmutableSortedMap.java | 35 import java.util.Map; 46 * of a separate map which can still change, an instance of {@code 49 * ("constant maps") and also lets you easily make a "defensive copy" of a map 80 * Returns the empty sorted map. 101 * Returns an immutable map containing a single entry. 110 * Returns an immutable sorted map containing the given entries, sorted by the 123 * Returns an immutable sorted map containing the given entries, sorted by the 136 * Returns an immutable sorted map containing the given entries, sorted by the 149 * Returns an immutable sorted map containing the given entries, sorted by the 162 * Returns an immutable map containing the same entries as {@code map}, sorte 477 final transient ImmutableSortedMap<K, V> map; field in class:ImmutableSortedMap.EntrySet 511 final ImmutableSortedMap<K, V> map; field in class:ImmutableSortedMap.EntrySetSerializedForm [all...] |
RegularImmutableMap.java | 199 final transient RegularImmutableMap<K, V> map; field in class:RegularImmutableMap.EntrySet 201 EntrySet(RegularImmutableMap<K, V> map) { 202 super(map.entries); 203 this.map = map; 209 V mappedValue = map.get(entry.getKey()); 226 final RegularImmutableMap<K, V> map; field in class:RegularImmutableMap.KeySet 228 KeySet(RegularImmutableMap<K, V> map) { 229 super(map.entries, map.keySetHashCode) 255 final RegularImmutableMap<?, V> map; field in class:RegularImmutableMap.Values [all...] |
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/ |
stl_map.h | 0 // Map implementation -*- C++ -*- 53 * Do not attempt to use it directly. @headername{map} 85 * For a @c map<Key,T> the key_type is Key, the mapped_type is T, and the 90 * The private tree data is declared exactly the same way for map and 96 class map class 117 friend class map<_Key, _Tp, _Compare, _Alloc>; 130 /// This turns a red-black tree into a [multi]map. 162 map() function in class:map 166 * @brief Creates a %map with no elements. 171 map(const _Compare& __comp function in class:map 182 map(const map& __x) function in class:map 208 map(initializer_list<value_type> __l, function in class:map 216 map(const allocator_type& __a) function in class:map 220 map(const map& __m, const allocator_type& __a) function in class:map 230 map(initializer_list<value_type> __l, const allocator_type& __a) function in class:map 236 map(_InputIterator __first, _InputIterator __last, function in class:map 253 map(_InputIterator __first, _InputIterator __last) function in class:map 270 map(_InputIterator __first, _InputIterator __last, function in class:map [all...] |
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.9/include/profile/ |
map.h | 1 // Profiling map implementation -*- C++ -*- 24 /** @file profile/map.h 38 /// Class std::map wrapper with performance instrumentation. 41 class map class in namespace:__profile 42 : public _GLIBCXX_STD_C::map<_Key, _Tp, _Compare, _Allocator> 44 typedef _GLIBCXX_STD_C::map<_Key, _Tp, _Compare, _Allocator> _Base; 71 map() function in class:__profile::map 76 map(const _Compare& __comp, function in class:__profile::map 87 map(_InputIterator __first, _InputIterator __last, function in class:__profile::map 93 map(const map& __x function in class:__profile::map 97 map(const _Base& __x) function in class:__profile::map 107 map(initializer_list<value_type> __l, function in class:__profile::map 114 map(const allocator_type& __a) function in class:__profile::map 118 map(const map& __x, const allocator_type& __a) function in class:__profile::map 128 map(initializer_list<value_type> __l, const allocator_type& __a) function in class:__profile::map 133 map(_InputIterator __first, _InputIterator __last, function in class:__profile::map [all...] |
/external/fio/ |
smalloc.c | 38 void *map; /* map of blocks */ member in struct:pool 39 unsigned int *bitmap; /* blocks free/busy map */ 92 return (ptr >= pool->map) && (ptr < pool->map + pool_size); 102 int (*func)(unsigned int *map, unsigned int mask)) 107 unsigned int *map; local 112 map = &pool->bitmap[pool_idx]; 125 if (!func(map, mask)) 136 static int mask_cmp(unsigned int *map, unsigned int mask [all...] |
/development/ndk/platforms/android-9/arch-x86/include/asm/ |
e820.h | 40 struct e820entry map[E820MAX]; member in struct:e820map
|
/external/apache-http/src/org/apache/http/impl/client/ |
BasicCredentialsProvider.java | 87 * @param map the credentials hash map 93 final HashMap<AuthScope, Credentials> map, 96 Credentials creds = map.get(authscope); 102 for (AuthScope current: map.keySet()) { 110 creds = map.get(bestMatch);
|
/external/chromium_org/base/metrics/ |
histogram_flattener.h | 8 #include <map>
|
/external/chromium_org/base/prefs/ |
pref_value_map.h | 8 #include <map> 19 // A generic string to value map used by the PrefStore implementations. 22 typedef std::map<std::string, base::Value*>::iterator iterator; 23 typedef std::map<std::string, base::Value*>::const_iterator const_iterator; 29 // the map. Returns true if a value is present. If not, |value| is not 38 // Removes the value for |key| from the map. Returns true if a value was 42 // Clears the map. 74 // Compares this value map against |other| and stores all key names that have 81 typedef std::map<std::string, base::Value*> Map; [all...] |
/external/chromium_org/base/test/launcher/ |
test_results_tracker.h | 8 #include <map> 67 // Map where keys are test result statuses, and values are sets of tests 69 typedef std::map<TestResult::Status, std::set<std::string> > TestStatusMap; 71 // Returns a test status map (see above) for current test iteration. 74 // Returns a test status map (see above) for all test iterations. 78 void GetTestStatusForIteration(int iteration, TestStatusMap* map) const; 92 typedef std::map<std::string, AggregateTestResult> ResultsMap;
|
/external/chromium_org/chrome/browser/extensions/api/ |
chrome_extensions_api_client.h | 24 std::map<settings_namespace::Namespace, ValueStoreCache*>* caches)
|
/external/chromium_org/chrome/browser/extensions/ |
bookmark_app_helper.h | 8 #include <map> 48 // |sizes| and resizes it to that size. This returns a map of sizes to bitmaps 51 static std::map<int, SkBitmap> ConstrainBitmapsToSizes( 58 static void GenerateIcon(std::map<int, SkBitmap>* bitmaps, 71 const std::map<GURL, std::vector<SkBitmap> >& bitmaps);
|
extension_renderer_state.h | 8 #include <map> 50 // the IDs in our map. Called on the IO thread. 66 typedef std::map<RenderId, TabAndWindowId> TabAndWindowIdMap; 67 typedef std::map<RenderId, WebViewInfo> WebViewInfoMap; 78 typedef std::map<int, WebViewPartitionInfo> WebViewPartitionIDMap; 83 // Adds or removes a render view from our map.
|