Searched refs:trimmedEnd (Results 1 – 4 of 4) sorted by relevance
144 const char *trimmedEnd = locEnd-1; in setAllowedLocales() local145 while (trimmedEnd > locStart && *trimmedEnd == ' ') { in setAllowedLocales()146 trimmedEnd--; in setAllowedLocales()148 if (trimmedEnd <= locStart) { in setAllowedLocales()151 const char *locale = uprv_strndup(locStart, (int32_t)(trimmedEnd + 1 - locStart)); in setAllowedLocales()
156 const char *trimmedEnd = locEnd-1; in setAllowedLocales() local157 while (trimmedEnd > locStart && *trimmedEnd == ' ') { in setAllowedLocales()158 trimmedEnd--; in setAllowedLocales()160 if (trimmedEnd <= locStart) { in setAllowedLocales()163 const char *locale = uprv_strndup(locStart, (int32_t)(trimmedEnd + 1 - locStart)); in setAllowedLocales()