Home
last modified time | relevance | path

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

/external/chromium_org/tools/telemetry/telemetry/util/
Dexception_formatter.py103 half_length = (max_length - len(middle)) / 2.
104 return (target[:int(math.floor(half_length))] + middle +
105 target[-int(math.ceil(half_length)):])
/external/chromium_org/third_party/webrtc/common_audio/vad/
Dvad_filterbank.c125 int half_length = data_length >> 1; // Downsampling by 2. in SplitFilter() local
129 AllPassFilter(&data_in[0], half_length, kAllPassCoefsQ15[0], upper_state, in SplitFilter()
133 AllPassFilter(&data_in[1], half_length, kAllPassCoefsQ15[1], lower_state, in SplitFilter()
137 for (i = 0; i < half_length; i++) { in SplitFilter()
Dvad_sp.c35 int half_length = (in_length >> 1); // Downsampling by 2 gives half length. in WebRtcVad_Downsampling() local
38 for (n = 0; n < half_length; n++) { in WebRtcVad_Downsampling()
/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.cc307 const int half_length = images_->top_arrow.width() / 2; in GetArrowRect() local
313 origin.Offset(-half_length, 0); in GetArrowRect()
321 origin.Offset(0, -half_length); in GetArrowRect()
/external/chromium_org/ui/gfx/
Dtext_elider.cc132 const size_t half_length = length / 2; in CutString() local
133 const size_t prefix_length = FindValidBoundaryBefore(length - half_length); in CutString()
134 const size_t suffix_start_guess = text_.length() - half_length; in CutString()
137 half_length - (suffix_start_guess - suffix_start); in CutString()