Lines Matching refs:p_len
165 uint16_t mtu, uint16_t* p_len, in read_attr_value() argument
185 *p_len = gatt_build_uuid_to_stream_len(attr16.p_value->uuid); in read_attr_value()
186 if (mtu < *p_len) return GATT_NO_RESOURCES; in read_attr_value()
196 *p_len = (val_len == Uuid::kNumBytes16) ? 5 : 19; in read_attr_value()
198 if (mtu < *p_len) return GATT_NO_RESOURCES; in read_attr_value()
216 *p_len = 6; in read_attr_value()
218 *p_len = 4; in read_attr_value()
220 if (mtu < *p_len) return GATT_NO_RESOURCES; in read_attr_value()
256 uint16_t s_handle, uint16_t e_handle, const Uuid& type, uint16_t* p_len, in gatts_db_read_attr_value_by_type() argument
266 if (*p_len <= 2) { in gatts_db_read_attr_value_by_type()
273 status = read_attr_value(attr, 0, &p, false, (uint16_t)(*p_len - 2), in gatts_db_read_attr_value_by_type()
287 *p_len -= (len + 2); in gatts_db_read_attr_value_by_type()
444 uint16_t offset, uint8_t* p_value, uint16_t* p_len, uint16_t mtu, in gatts_read_attr_value_by_handle() argument
452 mtu, p_len, sec_flag, key_size); in gatts_read_attr_value_by_handle()