HomeSort by relevance Sort by last modified time
    Searched refs:KeyType (Results 1 - 25 of 41) sorted by null

1 2

  /external/chromium_org/chrome/browser/chromeos/login/screens/
screen_context.h 37 typedef std::string KeyType;
43 bool SetBoolean(const KeyType& key, bool value);
44 bool SetInteger(const KeyType& key, int value);
45 bool SetDouble(const KeyType& key, double value);
46 bool SetString(const KeyType& key, const std::string& value);
47 bool SetString(const KeyType& key, const base::string16& value);
49 bool GetBoolean(const KeyType& key);
50 bool GetBoolean(const KeyType& key, bool default_value);
51 int GetInteger(const KeyType& key);
52 int GetInteger(const KeyType& key, int default_value)
    [all...]
screen_context.cc 18 bool ScreenContext::SetBoolean(const KeyType& key, bool value) {
22 bool ScreenContext::SetInteger(const KeyType& key, int value) {
26 bool ScreenContext::SetDouble(const KeyType& key, double value) {
30 bool ScreenContext::SetString(const KeyType& key, const std::string& value) {
34 bool ScreenContext::SetString(const KeyType& key, const base::string16& value) {
38 bool ScreenContext::GetBoolean(const KeyType& key) {
42 bool ScreenContext::GetBoolean(const KeyType& key, bool default_value) {
46 int ScreenContext::GetInteger(const KeyType& key) {
50 int ScreenContext::GetInteger(const KeyType& key, int default_value) {
54 double ScreenContext::GetDouble(const KeyType& key)
    [all...]
  /frameworks/compile/mclinker/include/mcld/ADT/
HashEntry.h 35 template <typename KeyType, typename ValueType, typename KeyCompare>
39 typedef KeyType key_type;
44 typedef HashEntry<KeyType, ValueType, KeyCompare> Self;
48 HashEntry(const KeyType& pKey);
52 KeyType& key()
55 const KeyType& key() const
70 KeyType m_Key;
  /external/chromium_org/third_party/WebKit/Source/wtf/
HashIterators.h 31 template<typename HashTableType, typename KeyType, typename MappedType> struct HashTableConstKeysIterator;
32 template<typename HashTableType, typename KeyType, typename MappedType> struct HashTableConstValuesIterator;
33 template<typename HashTableType, typename KeyType, typename MappedType> struct HashTableKeysIterator;
34 template<typename HashTableType, typename KeyType, typename MappedType> struct HashTableValuesIterator;
36 template<typename HashTableType, typename KeyType, typename MappedType> struct HashTableConstIteratorAdapter<HashTableType, KeyValuePair<KeyType, MappedType> > {
38 typedef KeyValuePair<KeyType, MappedType> ValueType;
40 typedef HashTableConstKeysIterator<HashTableType, KeyType, MappedType> Keys;
41 typedef HashTableConstValuesIterator<HashTableType, KeyType, MappedType> Values;
59 template<typename HashTableType, typename KeyType, typename MappedType> struct HashTableIteratorAdapter<HashTableType, KeyValuePair<KeyType, MappedT (…)
    [all...]
StdLibExtras.h 179 template<typename ArrayElementType, typename KeyType, typename ArrayType, typename ExtractKey, BinarySearchMode mode>
180 inline ArrayElementType* binarySearchImpl(ArrayType& array, size_t size, KeyType key, const ExtractKey& extractKey = ExtractKey())
185 KeyType val = extractKey(&array[offset + pos]);
219 template<typename ArrayElementType, typename KeyType, typename ArrayType, typename ExtractKey>
220 inline ArrayElementType* binarySearch(ArrayType& array, size_t size, KeyType key, ExtractKey extractKey = ExtractKey())
222 return binarySearchImpl<ArrayElementType, KeyType, ArrayType, ExtractKey, KeyMustBePresentInArray>(array, size, key, extractKey);
226 template<typename ArrayElementType, typename KeyType, typename ArrayType, typename ExtractKey>
227 inline ArrayElementType* tryBinarySearch(ArrayType& array, size_t size, KeyType key, ExtractKey extractKey = ExtractKey())
229 return binarySearchImpl<ArrayElementType, KeyType, ArrayType, ExtractKey, KeyMightNotBePresentInArray>(array, size, key, extractKey);
233 template<typename ArrayElementType, typename KeyType, typename ArrayType, typename ExtractKey
    [all...]
RefPtrHashMap.h 40 typedef typename KeyTraits::TraitType KeyType;
54 typedef HashTable<KeyType, ValueType, KeyValuePairKeyExtractor<ValueType>,
77 iterator find(const KeyType&);
79 const_iterator find(const KeyType&) const;
81 bool contains(const KeyType&) const;
83 MappedPeekType get(const KeyType&) const;
90 AddResult set(const KeyType&, MappedPassInType);
96 AddResult add(const KeyType&, MappedPassInType);
99 void remove(const KeyType&);
104 MappedPassOutType take(const KeyType&); // efficient combination of get with remov
    [all...]
HashMap.h 38 static const typename T::KeyType& extract(const T& p) { return p.key; }
51 typedef typename KeyTraits::TraitType KeyType;
64 typedef HashTable<KeyType, ValueType, KeyValuePairKeyExtractor<ValueType>,
94 iterator find(const KeyType&);
95 const_iterator find(const KeyType&) const;
96 bool contains(const KeyType&) const;
97 MappedPeekType get(const KeyType&) const;
102 AddResult set(const KeyType&, MappedPassInType);
107 AddResult add(const KeyType&, MappedPassInType);
109 void remove(const KeyType&)
    [all...]
  /external/openfst/src/include/fst/
generic-register.h 27 // objects of KeyType and EntryType.
28 // KeyType must:
40 template<class KeyType, class EntryType, class RegisterType>
43 typedef KeyType Key;
53 void SetEntry(const KeyType &key,
60 EntryType GetEntry(const KeyType &key) const {
74 virtual EntryType LoadEntryFromSharedObject(const KeyType &key) const {
96 virtual string ConvertKeyToSoFilename(const KeyType& key) const = 0;
99 const KeyType &key) const {
112 typedef map<KeyType, EntryType> RegisterMapType
    [all...]
  /external/chromium_org/components/autofill/core/browser/webdata/
autofill_change.h 17 // For classic Autofill form fields, the KeyType is AutofillKey.
19 template <typename KeyType>
31 const KeyType& key() const { return key_; }
34 GenericAutofillChange(Type type, const KeyType& key)
39 KeyType key_;
  /external/chromium_org/base/containers/
mru_cache.h 34 template <class KeyType, class ValueType>
36 typedef std::map<KeyType, ValueType> Type;
42 template <class KeyType, class PayloadType, class DeletorType,
48 typedef std::pair<KeyType, PayloadType> value_type;
52 typedef typename MapType<KeyType,
90 iterator Put(const KeyType& key, const PayloadType& payload) {
113 iterator Get(const KeyType& key) {
128 iterator Peek(const KeyType& key) {
217 template <class KeyType, class PayloadType>
218 class MRUCache : public MRUCacheBase<KeyType,
    [all...]
small_map.h 152 template <typename KeyType, typename ValueType>
153 struct select_equal_key< std::map<KeyType, ValueType>, false> {
155 bool operator()(const KeyType& left, const KeyType& right) {
160 template <typename KeyType, typename ValueType>
161 struct select_equal_key< base::hash_map<KeyType, ValueType>, false> {
163 bool operator()(const KeyType& left, const KeyType& right) {
  /external/clang/test/SemaCXX/
PR11358.cpp 29 template <typename KeyType, typename ValueType>
30 void MapTest(hash_map<KeyType, ValueType> map) {
31 for (hash_map<KeyType, ValueType>::const_iterator it = map.begin(); // expected-error{{missing 'typename'}}
  /frameworks/compile/mclinker/include/mcld/Support/
UniqueGCFactory.h 26 template<typename KeyType, typename DataType, size_t ChunkSize>
31 typedef std::map<KeyType, DataType*> KeyMap;
46 DataType* find(const KeyType& pKey) {
53 const DataType* find(const KeyType& pKey) const {
60 DataType* produce(const KeyType& pKey, bool& pExist) {
73 DataType* produce(const KeyType& pKey, const DataType& pValue, bool& pExist) {
  /external/chromium_org/third_party/WebKit/Source/bindings/v8/
DOMWrapperMap.h 42 template<class KeyType>
45 typedef HashMap<KeyType*, UnsafePersistent<v8::Object> > MapType;
52 v8::Handle<v8::Object> get(KeyType* key)
57 v8::Handle<v8::Object> getNewLocal(v8::Isolate* isolate, KeyType* key)
62 void set(KeyType* key, v8::Handle<v8::Object> wrapper, const WrapperConfiguration& configuration)
64 ASSERT(static_cast<KeyType*>(toNative(wrapper)) == key);
89 void removeAndDispose(KeyType* key)
98 static void makeWeakCallback(v8::Isolate*, v8::Persistent<v8::Object>* wrapper, DOMWrapperMap<KeyType>*);
  /external/eigen/unsupported/Eigen/src/SparseExtra/
RandomSetter.h 21 typedef int KeyType;
22 typedef std::map<KeyType,Scalar> Type;
27 static void setInvalidKey(Type&, const KeyType&) {}
49 typedef int KeyType;
50 typedef std::unordered_map<KeyType,Scalar> Type;
55 static void setInvalidKey(Type&, const KeyType&) {}
66 typedef int KeyType;
67 typedef google::dense_hash_map<KeyType,Scalar> Type;
72 static void setInvalidKey(Type& map, const KeyType& k)
84 typedef int KeyType;
    [all...]
  /external/chromium/base/
id_map.h 37 typedef int32 KeyType;
38 typedef base::hash_map<KeyType, T*> HashTable;
59 KeyType Add(T* data) {
62 KeyType this_id = next_id_;
73 void AddWithID(T* data, KeyType id) {
80 void Remove(KeyType id) {
101 T* Lookup(KeyType id) const {
138 KeyType GetCurrentKey() const {
192 for (std::set<KeyType>::const_iterator i = removed_ids_.begin();
206 std::set<KeyType> removed_ids_
    [all...]
  /external/chromium/chrome/browser/webdata/
autofill_change.h 14 // For classic Autofill form fields, the KeyType is AutofillKey.
16 template <typename KeyType>
28 const KeyType& key() const { return key_; }
31 GenericAutofillChange(Type type, const KeyType& key)
36 KeyType key_;
  /external/webrtc/src/system_wrappers/source/
sort.cc 91 template<typename KeyType>
94 KeyType key;
202 template <typename KeyType>
205 bool operator()(const SortKey<KeyType>& sortKeyX,
206 const SortKey<KeyType>& sortKeyY) const
212 template <typename KeyType>
215 KeyType operator()(const SortKey<KeyType>& sortKey,
244 template<typename KeyType>
246 SortKey<KeyType>*& ptrSortKey
    [all...]
  /external/chromium_org/net/base/
expiring_cache.h 17 template <typename KeyType,
22 void Handle(const KeyType& key,
33 // KeyType must be LessThanComparable, Assignable, and CopyConstructible.
67 template <typename KeyType,
71 typename EvictionHandler = NoopEvictionHandler<KeyType,
83 typedef std::map<KeyType, Entry> EntryMap;
86 typedef KeyType key_type;
102 const KeyType& key() const { return it_->first; }
125 const ValueType* Get(const KeyType& key, const ExpirationType& now) {
140 void Put(const KeyType& key
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/
ShapeInfo.h 43 template<class KeyType, class InfoType>
46 static InfoType* ensureInfo(const KeyType* key)
48 InfoMap& infoMap = MappedInfo<KeyType, InfoType>::infoMap();
54 static void removeInfo(const KeyType* key) { infoMap().remove(key); }
55 static InfoType* info(const KeyType* key) { return infoMap().get(key); }
57 typedef HashMap<const KeyType*, OwnPtr<InfoType> > InfoMap;
  /external/webrtc/src/system_wrappers/test/TestSort/
TestSort.cpp 23 template<typename KeyType>
26 KeyType key;
47 template<typename DataType, typename KeyType>
50 KeyType keyX = ((const DataType*)dataX)->key;
51 KeyType keyY = ((const DataType*)dataY)->key;
126 template<typename KeyType>
131 KeyType key[DataLength];
132 KeyType keyRef[DataLength];
133 LotsOfData<KeyType> data[DataLength];
134 LotsOfData<KeyType> dataRef[DataLength]
    [all...]
  /external/chromium_org/base/
id_map.h 36 typedef int32 KeyType;
37 typedef base::hash_map<KeyType, T*> HashTable;
58 KeyType Add(T* data) {
61 KeyType this_id = next_id_;
72 void AddWithID(T* data, KeyType id) {
79 void Remove(KeyType id) {
111 T* Lookup(KeyType id) const {
170 KeyType GetCurrentKey() const {
230 for (std::set<KeyType>::const_iterator i = removed_ids_.begin();
244 std::set<KeyType> removed_ids_
    [all...]
  /external/chromium_org/content/browser/indexed_db/
indexed_db_dispatcher_host.h 99 typedef int32 KeyType;
105 KeyType Add(RefCountedType* data) {
109 RefCountedType* Lookup(KeyType id) {
116 void Remove(KeyType id) { map_.Remove(id); }
  /frameworks/native/include/media/drm/
DrmAPI.h 90 enum KeyType {
112 // specified keyType. When the keyType is kKeyType_Offline or
114 // provided to. When the keyType is kKeyType_Release, scope should be set to
122 // in generating the key request. Init may be null when keyType is
127 // keyType specifies if the keys are to be used for streaming or offline content
136 String8 const &mimeType, KeyType keyType,
  /external/chromium_org/net/third_party/nss/ssl/
sslplatf.c 205 PRBool isTLS, KeyType keyType)
227 switch (keyType) {
257 if (keyType == ecKey) {
329 PRBool isTLS, KeyType keyType)
364 switch (keyType) {
374 if (keyType == ecKey) {
461 PRBool isTLS, KeyType keyType)
    [all...]

Completed in 569 milliseconds

1 2