Home
last modified time | relevance | path

Searched refs:half_length (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/tools/telemetry/telemetry/
Dexception_formatter.py38 half_length = (length - len(middle)) / 2.
39 return '%s%s%s' % (target[:int(math.floor(half_length))],
41 target[-int(math.ceil(half_length)):])
/external/webrtc/src/common_audio/vad/
Dvad_filterbank.c110 int half_length = WEBRTC_SPL_RSHIFT_W16(in_vector_length, 1); in WebRtcVad_SplitFilter() local
113 WebRtcVad_Allpass(&in_vector[0], kAllPassCoefsQ15[0], half_length, in WebRtcVad_SplitFilter()
117 WebRtcVad_Allpass(&in_vector[1], kAllPassCoefsQ15[1], half_length, in WebRtcVad_SplitFilter()
121 for (i = 0; i < half_length; i++) { in WebRtcVad_SplitFilter()
Dvad_sp.c33 int half_length = (in_length >> 1); // Downsampling by 2 gives half length. in WebRtcVad_Downsampling() local
36 for (n = 0; n < half_length; n++) { in WebRtcVad_Downsampling()
/external/chromium_org/ui/views/bubble/
Dbubble_border.cc306 const int half_length = images_->top_arrow.width() / 2; in GetArrowRect() local
312 origin.Offset(-half_length, 0); in GetArrowRect()
320 origin.Offset(0, -half_length); in GetArrowRect()
/external/chromium_org/ui/gfx/
Dtext_elider.cc66 const size_t half_length = length / 2; in CutString() local
67 const size_t prefix_length = FindValidBoundaryBefore(length - half_length); in CutString()
68 const size_t suffix_start_guess = text_.length() - half_length; in CutString()
71 half_length - (suffix_start_guess - suffix_start); in CutString()