Searched refs:safety_margin (Results 1 – 3 of 3) sorted by relevance
14200 const size_t safety_margin = 16; // to avoid overruns! in convert_valid() local14201 while(pos + 64 + safety_margin <= size) { in convert_valid()14402 const size_t safety_margin = size - margin + 1; // to avoid overruns! in convert() local14403 while(pos + 64 + safety_margin <= size) { in convert()14477 const size_t safety_margin = size - margin + 1; // to avoid overruns! in convert_with_errors() local14478 while(pos + 64 + safety_margin <= size) { in convert_with_errors()14581 const size_t safety_margin = 16; // to avoid overruns! in convert_valid() local14582 while(pos + 64 + safety_margin <= size) { in convert_valid()14756 const size_t safety_margin = size - margin + 1; // to avoid overruns! in convert() local14757 while(pos + 64 + safety_margin <= size) { in convert()[all …]
2749 uint32_t safety_margin = s->thread_info.volume_change_safety_margin; in pa_source_volume_change_push() local2775 if (nc->at + safety_margin > c->at) { in pa_source_volume_change_push()2776 nc->at += safety_margin; in pa_source_volume_change_push()2781 else if (nc->at - safety_margin > c->at) { in pa_source_volume_change_push()2782 nc->at -= safety_margin; in pa_source_volume_change_push()2791 nc->at += safety_margin; in pa_source_volume_change_push()2794 nc->at -= safety_margin; in pa_source_volume_change_push()
3738 uint32_t safety_margin = s->thread_info.volume_change_safety_margin; in pa_sink_volume_change_push() local3764 if (nc->at + safety_margin > c->at) { in pa_sink_volume_change_push()3765 nc->at += safety_margin; in pa_sink_volume_change_push()3770 else if (nc->at - safety_margin > c->at) { in pa_sink_volume_change_push()3771 nc->at -= safety_margin; in pa_sink_volume_change_push()3780 nc->at += safety_margin; in pa_sink_volume_change_push()3783 nc->at -= safety_margin; in pa_sink_volume_change_push()