Home
last modified time | relevance | path

Searched refs:remaining_len (Results 1 – 2 of 2) sorted by relevance

/system/update_engine/
Dtest_http_server.cc246 size_t remaining_len = total_len; in WritePayload() local
253 string partial = line.substr(start_modulo, remaining_len); in WritePayload()
256 remaining_len -= partial.length(); in WritePayload()
260 while (success && remaining_len >= line_len) { in WritePayload()
263 remaining_len -= line_len; in WritePayload()
267 if (success && remaining_len) { in WritePayload()
268 string partial = line.substr(0, remaining_len); in WritePayload()
271 remaining_len -= partial.length(); in WritePayload()
274 return (total_len - remaining_len); in WritePayload()
/system/bt/bta/hd/
Dbta_hd_act.cc552 uint16_t remaining_len = p_msg->len; in bta_hd_get_report_act() local
553 if (remaining_len < 1) { in bta_hd_get_report_act()
560 remaining_len--; in bta_hd_get_report_act()
563 if (remaining_len < 1) { in bta_hd_get_report_act()
569 remaining_len--; in bta_hd_get_report_act()
573 if (remaining_len < 2) { in bta_hd_get_report_act()