Home
last modified time | relevance | path

Searched refs:safety_margin (Results 1 – 3 of 3) sorted by relevance

/third_party/node/deps/simdutf/
Dsimdutf.cpp14200 const size_t safety_margin = 16; // to avoid overruns! in convert_valid() local
14201 while(pos + 64 + safety_margin <= size) { in convert_valid()
14402 const size_t safety_margin = size - margin + 1; // to avoid overruns! in convert() local
14403 while(pos + 64 + safety_margin <= size) { in convert()
14477 const size_t safety_margin = size - margin + 1; // to avoid overruns! in convert_with_errors() local
14478 while(pos + 64 + safety_margin <= size) { in convert_with_errors()
14581 const size_t safety_margin = 16; // to avoid overruns! in convert_valid() local
14582 while(pos + 64 + safety_margin <= size) { in convert_valid()
14756 const size_t safety_margin = size - margin + 1; // to avoid overruns! in convert() local
14757 while(pos + 64 + safety_margin <= size) { in convert()
[all …]
/third_party/pulseaudio/src/pulsecore/
Dsource.c2749 uint32_t safety_margin = s->thread_info.volume_change_safety_margin; in pa_source_volume_change_push() local
2775 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()
Dsink.c3738 uint32_t safety_margin = s->thread_info.volume_change_safety_margin; in pa_sink_volume_change_push() local
3764 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()