Lines Matching defs:value

112       uint8_t* p = cl_req.find_type_value.value;
116 memcpy(cl_req.find_type_value.value, p_clcb->uuid.To128BitLE().data(),
120 memcpy(cl_req.find_type_value.value, p_clcb->uuid.To128BitLE().data(),
222 attr.len, 0, attr.value);
238 attr.handle, attr.len, 0, attr.value);
308 memcmp(p_rsp_value->value, p_attr->value + p_attr->offset,
317 /* update write offset and check if end of attribute value */
352 p_attr->value + p_attr->offset); /* data */
366 * Description This function handles the find by type value response.
390 STREAM_TO_UINT16(result.value.group_value.e_handle, p);
391 result.value.group_value.service_type = p_clcb->uuid;
401 p_clcb->s_handle = (result.value.group_value.e_handle == 0)
403 : (result.value.group_value.e_handle + 1);
569 tGATT_VALUE value = {
573 LOG(ERROR) << StringPrintf("value resp op_code = %s len = %d",
578 gatt_end_operation(p_clcb, GATT_INVALID_PDU, &value);
582 STREAM_TO_UINT16(value.handle, p);
583 STREAM_TO_UINT16(value.offset, p);
585 value.len = len - 4;
587 memcpy(value.value, p, value.len);
592 and value are matched or not */
594 gatt_end_operation(p_clcb, p_clcb->status, &value);
596 if (!gatt_check_write_long_terminate(tcb, p_clcb, &value))
604 * Description Handle the handle value indication/notification.
611 tGATT_VALUE value;
628 memset(&value, 0, sizeof(value));
629 STREAM_TO_UINT16(value.handle, p);
630 value.len = len - 2;
631 memcpy(value.value, p, value.len);
633 if (!GATT_HANDLE_IS_VALID(value.handle)) {
653 /* should notify all registered client with the handle value
675 gatt_cl_complete.att_value = value;
691 * read characteristic value.
718 /* this is an error case that server's response containing a value length
790 memcpy(&p_clcb->read_uuid128.result.value, &record_value,
791 sizeof(result.value));
846 /* UUID match for read characteristic value */
848 /* only read the first matching UUID characteristic value, and
859 memcpy(&result.value, &record_value, sizeof(result.value));
873 } else /* read characteristic value */
900 /* allocate GKI buffer holding up long attribute value */
904 /* copy attrobute value into cb buffer */
942 p_clcb->read_uuid128.result.value.incl_service.service_type =