Home
last modified time | relevance | path

Searched defs:key (Results 1 – 25 of 164) sorted by relevance

1234567

/device/generic/goldfish-opengl/android-emu/android/base/containers/
DLookup.h64 const typename T::key_type& key) { in find()
75 typename T::mapped_type* find(T& map, const typename T::key_type& key) { in find()
109 for (const auto& key : keys) { in findFirstOf() local
121 for (const auto& key : keys) { in findFirstOf() local
149 bool contains(const T& c, const typename T::key_type& key) { in contains()
159 for (const auto& key : keys) { in containsAnyOf() local
/device/generic/vulkan-cereal/base/
DLookup.h67 const typename T::key_type& key) { in find()
78 typename T::mapped_type* find(T& map, const typename T::key_type& key) { in find()
112 for (const auto& key : keys) { in findFirstOf() local
124 for (const auto& key : keys) { in findFirstOf() local
152 bool contains(const T& c, const typename T::key_type& key) { in contains()
162 for (const auto& key : keys) { in containsAnyOf() local
DStaticMap.h31 void set(const K& key, const V& value) { in set()
36 void erase(const K& key) { in erase()
41 bool isPresent(const K& key) const { in isPresent()
47 android::base::Optional<V> get(const K& key) const { in get()
DMruCache.h67 bool put(const K& key, size_t keySize, V&& value, size_t valueSize) { in put()
98 bool get(const K& key, const V** value) { in get()
127 EntryWithSize<K> key = mMostRecents.front(); in evictIfNecessary() local
/device/linaro/dragonboard/qcom/qrtr/src/
Dmap.c64 static int map_hash(struct map *map, unsigned int key) in map_hash()
91 int map_reput(struct map *map, unsigned int key, struct map_item *value, in map_reput()
114 int map_put(struct map *map, unsigned int key, struct map_item *value) in map_put()
149 static struct map_entry *map_find(const struct map *map, unsigned int key) in map_find()
173 int map_contains(const struct map *map, unsigned int key) in map_contains()
178 struct map_item *map_get(const struct map *map, unsigned int key) in map_get()
188 int map_remove(struct map *map, unsigned int key) in map_remove()
/device/generic/goldfish/network/wifi_forwarder/
Dcache.h43 IterPair(const Key& key, const Value& value) in IterPair()
81 IterPair(const Key& key, Value& value) : first(key), second(value) { } in IterPair()
122 insert_return_type insert_or_assign(const key_type& key, M&& value) { in insert_or_assign()
135 iterator find(const key_type& key) { in find()
139 const_iterator find(const key_type& key) const { in find()
151 size_t erase(const key_type& key) { in erase()
/device/google/contexthub/util/nanotool/
Dandroidcontexthub.cpp66 static bool CopyInt32Array(const char *key, in CopyInt32Array()
81 static bool CopyFloatArray(const char *key, in CopyFloatArray()
96 static bool GetCalibrationBytes(const char *key, SensorType sensor_type, in GetCalibrationBytes()
290 std::string key; in LoadCalibration() local
309 const char *key = AndroidContextHub::SensorTypeToCalibrationKey(sensor_type); in SetCalibration() local
321 const char *key = AndroidContextHub::SensorTypeToCalibrationKey(sensor_type); in SetCalibration() local
333 const char *key = AndroidContextHub::SensorTypeToCalibrationKey(sensor_type); in SetCalibration() local
345 const char *key = AndroidContextHub::SensorTypeToCalibrationKey(sensor_type); in SetCalibration() local
405 const char *key; in SensorTypeToCalibrationKey() local
Dcalibrationfile.cpp88 bool CalibrationFile::SetSingleAxis(const char *key, int32_t value) { in SetSingleAxis()
93 bool CalibrationFile::SetSingleAxis(const char *key, float value) { in SetSingleAxis()
98 bool CalibrationFile::SetTripleAxis(const char *key, int32_t x, int32_t y, in SetTripleAxis()
108 bool CalibrationFile::SetFourAxis(const char *key, int32_t x, int32_t y, in SetFourAxis()
/device/generic/vulkan-cereal/third-party/angle/src/libANGLE/
DBlobCache.cpp39 void BlobCache::put(const BlobCache::Key &key, angle::MemoryBuffer &&value) in put()
52 void BlobCache::putApplication(const BlobCache::Key &key, const angle::MemoryBuffer &value) in putApplication()
60 void BlobCache::populate(const BlobCache::Key &key, angle::MemoryBuffer &&value, CacheSource source) in populate()
71 const BlobCache::Key &key, in get()
148 void BlobCache::remove(const BlobCache::Key &key) in remove()
DAttributeMap.cpp20 void AttributeMap::insert(EGLAttrib key, EGLAttrib value) in insert()
37 EGLAttrib AttributeMap::get(EGLAttrib key, EGLAttrib defaultValue) const in get()
48 EGLint AttributeMap::getAsInt(EGLAttrib key, EGLint defaultValue) const in getAsInt()
DAttributeMap.h36 PackedEnumT getAsPackedEnum(EGLAttrib key) const in getAsPackedEnum()
42 PackedEnumT getAsPackedEnum(EGLAttrib key, PackedEnumT defaultValue) const in getAsPackedEnum()
/device/generic/vulkan-cereal/fake-android-guest/androidImpl/
DProperties.cpp33 int get(const char* key, char* value, const char* default_value) { in get()
44 int set(const char *key, const char *value) { in set()
72 EXPORT int property_get(const char* key, char* value, const char* default_value) { in property_get()
76 EXPORT int property_set(const char *key, const char *value) { in property_set()
/device/generic/vulkan-cereal/third-party/angle/src/compiler/translator/
DImmutableString_ESSL_autogen.cpp161 int MangledHashG(const char *key, const int *T) in MangledHashG()
173 int MangledPerfectHash(const char *key) in MangledPerfectHash()
202 int UnmangledHashG(const char *key, const int *T) in UnmangledHashG()
214 int UnmangledPerfectHash(const char *key) in UnmangledPerfectHash()
DImmutableString_autogen.cpp316 int MangledHashG(const char *key, const int *T) in MangledHashG()
328 int MangledPerfectHash(const char *key) in MangledPerfectHash()
364 int UnmangledHashG(const char *key, const int *T) in UnmangledHashG()
376 int UnmangledPerfectHash(const char *key) in UnmangledPerfectHash()
/device/generic/vulkan-cereal/host-common/
DMediaH264DecoderDefault.cpp50 uint64_t key = H264PingInfoParser::parseHostDecoderId(ptr); in readId() local
54 MediaH264DecoderPlugin* MediaH264DecoderDefault::getDecoder(uint64_t key) { in getDecoder()
71 void MediaH264DecoderDefault::addDecoder(uint64_t key, in addDecoder()
84 void MediaH264DecoderDefault::updateDecoder(uint64_t key, in updateDecoder()
95 void MediaH264DecoderDefault::removeDecoder(uint64_t key) { in removeDecoder()
DMediaVpxDecoder.cpp51 uint64_t key = VpxPingInfoParser::parseId(ptr); in readId() local
55 MediaVpxDecoderPlugin* MediaVpxDecoder::getDecoder(uint64_t key) { in getDecoder()
67 void MediaVpxDecoder::addDecoder(uint64_t key, MediaVpxDecoderPlugin* val) { in addDecoder()
79 void MediaVpxDecoder::removeDecoder(uint64_t key) { in removeDecoder()
/device/linaro/dragonboard/qcom/pd-mapper/
Dassoc.c66 void *assoc_get(struct assoc *assoc, const char *key) in assoc_get()
81 static void _assoc_set(struct assoc *assoc, const char *key, void *value) in _assoc_set()
122 void assoc_set(struct assoc *assoc, const char *key, void *value) in assoc_set()
Djson.c270 struct json_value key; in json_parse_property() local
360 struct json_value *json_get_child(struct json_value *object, const char *key) in json_get_child()
389 int json_get_number(struct json_value *object, const char *key, double *number) in json_get_number()
409 const char *json_get_string(struct json_value *object, const char *key) in json_get_string()
/device/google/cuttlefish/host/commands/secure_env/
Dinsecure_fallback_storage.cpp47 bool InsecureFallbackStorage::Allocate(const Json::Value& key, uint16_t size) { in Allocate()
91 Json::Value* InsecureFallbackStorage::GetEntry(const Json::Value& key) { in GetEntry()
125 const Json::Value& key, const TPM2B_MAX_NV_BUFFER& data) { in Write()
Dtpm_gatekeeper.cpp64 const uint8_t* key, in ComputePasswordSignature()
90 const uint8_t* key, in ComputeSignature()
162 Json::Value key{std::to_string(uid)}; // jsoncpp integer comparisons are janky in GetFailureRecordImpl() local
211 Json::Value key{std::to_string(uid)}; // jsoncpp integer comparisons are janky in WriteFailureRecordImpl() local
/device/generic/vulkan-cereal/third-party/angle/src/common/
Dhash_utils.h18 inline std::size_t ComputeGenericHash(const void *key, size_t keySize) in ComputeGenericHash()
32 std::size_t ComputeGenericHash(const T &key) in ComputeGenericHash()
/device/generic/vulkan-cereal/third-party/angle/src/common/third_party/base/anglebase/containers/
Dmru_cache.h94 iterator Put(const KeyType &key, Payload &&payload) in Put()
119 iterator Get(const KeyType &key) in Get()
133 iterator Peek(const KeyType &key) in Peek()
141 const_iterator Peek(const KeyType &key) const in Peek()
/device/google/trout/hal/common/android/vsock/
Dvsockinfo.cpp28 std::optional<unsigned> getNumberFromProperty(const char* key) { in getNumberFromProperty()
39 for (const auto& key : arr) { in getNumberFromProperties() local
/device/google/sunfish/json-c/
Djson_object.h70 char *key; member
346 # define json_object_object_foreach(obj,key,val) \ argument
359 # define json_object_object_foreach(obj,key,val) \ argument
/device/google/coral/json-c/
Djson_object.h70 char *key; member
346 # define json_object_object_foreach(obj,key,val) \ argument
359 # define json_object_object_foreach(obj,key,val) \ argument

1234567