Lines Matching refs:strchr
264 if (!strchr(locale, '\n')) { in g11n_getlocales()
284 *(strchr(locale, '\n')) = '\0'; /* remove the trailing \n */ in g11n_getlocales()
368 len1 = (strchr(langtag1, '-')) ? in g11n_langtag_match()
369 (strchr(langtag1, '-') - langtag1) in g11n_langtag_match()
372 len2 = (strchr(langtag2, '-')) ? in g11n_langtag_match()
373 (strchr(langtag2, '-') - langtag2) in g11n_langtag_match()
399 len1 = (strchr(langtag1, '-')) ? in g11n_langtag_match()
400 (strchr(langtag1, '-') - langtag1) : strlen(langtag1); in g11n_langtag_match()
402 len2 = (strchr(langtag2, '-')) ? in g11n_langtag_match()
403 (strchr(langtag2, '-') - langtag2) : strlen(langtag2); in g11n_langtag_match()
466 if (strchr(lang_subtag, '-')) in g11n_langtag_set_intersect()
467 *(strchr(lang_subtag, '-')) = '\0'; in g11n_langtag_set_intersect()
532 if (((dot_ptr = strchr((char *)s1, '.')) != NULL) && in locale_cmp()
539 if (((dot_ptr = strchr((char *)s2, '.')) != NULL) && in locale_cmp()
588 for (; s = strchr(s, ','); s++, n_langtags++) in g11n_langtag_set_locale_set_intersect()