Lines Matching refs:p_attr
228 tGATT_VALUE *p_attr = (tGATT_VALUE *)p_clcb->p_attr_buf;
230 if (p_attr)
235 p_clcb->s_handle = p_attr->handle;
240 p_attr->handle,
241 p_attr->len,
243 p_attr->value);
247 if (p_attr->len <= (p_tcb->payload_size - GATT_HDR_SIZE))
249 p_clcb->s_handle = p_attr->handle;
254 p_attr->handle,
255 p_attr->len,
257 p_attr->value);
321 tGATT_VALUE *p_attr = (tGATT_VALUE *)p_clcb->p_attr_buf;
329 if (p_rsp_value->handle != p_attr->handle ||
331 memcmp(p_rsp_value->value, p_attr->value + p_attr->offset, p_rsp_value->len))
342 if ((p_attr->offset += p_rsp_value->len) >= p_attr->len)
364 tGATT_VALUE *p_attr = (tGATT_VALUE *)p_clcb->p_attr_buf;
370 to_send = p_attr->len - p_attr->offset;
375 p_clcb->s_handle = p_attr->handle;
377 offset = p_attr->offset;
388 p_attr->handle,
391 p_attr->value + p_attr->offset); /* data */
562 tGATT_VALUE *p_attr = (tGATT_VALUE *)p_clcb->p_attr_buf;
581 (p_attr) &&
582 (handle == p_attr->handle) )