Home
last modified time | relevance | path

Searched refs:value_ptr (Results 1 – 12 of 12) sorted by relevance

/system/bt/common/
Dlru.h98 auto value_ptr = Find(key); in Get() local
99 if (value_ptr == nullptr) { in Get()
102 *value = *value_ptr; in Get()
128 auto value_ptr = Find(key); in Put() local
129 if (value_ptr != nullptr) { in Put()
131 *value_ptr = std::move(value); in Put()
Dlru_unittest.cc136 auto value_ptr = cache.Find(1); in TEST() local
137 EXPECT_NE(value_ptr, nullptr); in TEST()
138 *value_ptr = 20; in TEST()
142 EXPECT_EQ(*value_ptr, 40); in TEST()
/system/security/keystore/include/keystore/
Dkeystore_hidl_support.h82 const uint8_t* value_ptr = reinterpret_cast<const uint8_t*>(&value); in copy_bytes_to_iterator() local
83 return std::copy(value_ptr, value_ptr + sizeof(value), dest); in copy_bytes_to_iterator()
114 uint8_t* value_ptr = reinterpret_cast<uint8_t*>(value); in copy_bytes_from_iterator() local
115 std::copy(src, src + sizeof(T), value_ptr); in copy_bytes_from_iterator()
/system/keymaster/ng/include/
DKeyMintUtils.h116 const uint8_t* value_ptr = reinterpret_cast<const uint8_t*>(&value); in copy_bytes_to_iterator() local
117 return std::copy(value_ptr, value_ptr + sizeof(value), dest); in copy_bytes_to_iterator()
Dkeystore_hidl_support.h97 const uint8_t* value_ptr = reinterpret_cast<const uint8_t*>(&value); in copy_bytes_to_iterator() local
98 return std::copy(value_ptr, value_ptr + sizeof(value), dest); in copy_bytes_to_iterator()
/system/bt/gd/packet/
Diterator.h70 uint8_t* value_ptr = (uint8_t*)&extracted_value; in extract() local
74 value_ptr[index] = this->operator*(); in extract()
/system/libufdt/utils/src/
Dmkdtimg_core.h28 int parse_option(char **option_ptr, char **value_ptr, char *line_str);
Dmkdtimg_core.c132 int parse_option(char **option_ptr, char **value_ptr, char *line_str) { in parse_option() argument
133 return split_str(option_ptr, value_ptr, line_str, '='); in parse_option()
/system/bt/stack/sdp/
Dsdp_db.cc71 if (sdpu_compare_uuid_arrays(p_attr->value_ptr, p_attr->len, in sdp_db_service_search()
76 if (find_uuid_in_seq(p_attr->value_ptr, p_attr->len, in sdp_db_service_search()
313 p_rec->attribute[zz].value_ptr -= sizeof(tSDP_RECORD); in SDP_DeleteRecord()
441 p_attr->value_ptr = &p_rec->attr_pad[p_rec->free_pad_ptr]; in SDP_AddAttribute()
778 pad_ptr = p_attr->value_ptr; in SDP_DeleteAttribute()
783 if (p_rec->attribute[zz].value_ptr > pad_ptr) in SDP_DeleteAttribute()
784 p_rec->attribute[zz].value_ptr -= len; in SDP_DeleteAttribute()
Dsdp_utils.cc475 if (p_attr->value_ptr != NULL) { in sdpu_build_attrib_entry()
476 ARRAY_TO_BE_STREAM(p_out, p_attr->value_ptr, (int)p_attr->len); in sdpu_build_attrib_entry()
505 if (p_attr->value_ptr != NULL) { in sdpu_build_attrib_entry()
506 ARRAY_TO_BE_STREAM(p_out, p_attr->value_ptr, (int)p_attr->len); in sdpu_build_attrib_entry()
1171 uint8_t* p_uuid = p_attr->value_ptr + 3; in sdpu_is_avrcp_profile_description_list()
Dsdpint.h87 uint8_t* value_ptr; /* Points to attr_pad */ member
Dsdp_server.cc664 attr_sav.value_ptr[attr_sav.len - 1] = 0x04; in process_service_search_attr_req()