Home
last modified time | relevance | path

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

/device/linaro/hikey/hifi/xaf/hifi-dpf/ipc/xt-shmem/hikey/
Ddsp_debug.c234 char *str_begin = 0; in dsp_om_trim_zero() local
240 str_begin = str; in dsp_om_trim_zero()
243 while (str_begin < str_end) { in dsp_om_trim_zero()
244 if (ISSPACE(*str_begin)) { in dsp_om_trim_zero()
245 *str_begin = 0; in dsp_om_trim_zero()
246 str_begin++; in dsp_om_trim_zero()
251 while (str_begin < str_end) { in dsp_om_trim_zero()
260 return str_begin; in dsp_om_trim_zero()
265 char *str_begin = 0; in dsp_om_split_str() local
274 str_begin = dsp_om_trim_zero(str); in dsp_om_split_str()
[all …]
/device/google/crosshatch/vibrator/
Dimpl.cpp48 const auto str_begin = str.find_first_not_of(whitespace); in trim() local
49 if (str_begin == std::string::npos) { in trim()
54 const auto str_range = str_end - str_begin + 1; in trim()
56 return str.substr(str_begin, str_range); in trim()
/device/google/wahoo/vibrator/
Dservice.cpp55 const auto str_begin = str.find_first_not_of(whitespace); in trim() local
56 if (str_begin == std::string::npos) { in trim()
61 const auto str_range = str_end - str_begin + 1; in trim()
63 return str.substr(str_begin, str_range); in trim()
/device/google/bonito/vibrator/
Dservice.cpp65 const auto str_begin = str.find_first_not_of(whitespace); in trim() local
66 if (str_begin == std::string::npos) { in trim()
71 const auto str_range = str_end - str_begin + 1; in trim()
73 return str.substr(str_begin, str_range); in trim()
/device/google/coral/vibrator/
DHardware.cpp73 const auto str_begin = str.find_first_not_of(whitespace); in trim() local
74 if (str_begin == std::string::npos) { in trim()
79 const auto str_range = str_end - str_begin + 1; in trim()
81 return str.substr(str_begin, str_range); in trim()