Home | History | Annotate | Download | only in adaptation

Lines Matching refs:total_len

1090     UINT16 total_len = 0;
1103 if ((pbuf_USERIAL_Read->len) <= (len - total_len))
1106 copy_len = (len - total_len);
1108 memcpy((p_data + total_len), current_packet, copy_len);
1110 total_len += copy_len;
1122 if (pbuf_USERIAL_Read == NULL && (total_len < len))
1125 } while ((pbuf_USERIAL_Read != NULL) && (total_len < len));
1128 ALOGD( "%s: returned %d bytes", __func__, total_len);
1130 return total_len;