Lines Matching refs:cp

59   char *cp;  in _nl_explode_name()  local
75 *language = cp = name; in _nl_explode_name()
76 cp = _nl_find_language (*language); in _nl_explode_name()
78 if (*language == cp) in _nl_explode_name()
81 cp = strchr (*language, '\0'); in _nl_explode_name()
82 else if (cp[0] == '_') in _nl_explode_name()
85 cp[0] = '\0'; in _nl_explode_name()
86 *territory = ++cp; in _nl_explode_name()
88 while (cp[0] != '\0' && cp[0] != '.' && cp[0] != '@' in _nl_explode_name()
89 && cp[0] != '+' && cp[0] != ',' && cp[0] != '_') in _nl_explode_name()
90 ++cp; in _nl_explode_name()
94 if (cp[0] == '.') in _nl_explode_name()
98 cp[0] = '\0'; in _nl_explode_name()
99 *codeset = ++cp; in _nl_explode_name()
101 while (cp[0] != '\0' && cp[0] != '@') in _nl_explode_name()
102 ++cp; in _nl_explode_name()
106 if (*codeset != cp && (*codeset)[0] != '\0') in _nl_explode_name()
109 cp - *codeset); in _nl_explode_name()
118 if (cp[0] == '@' || (syntax != xpg && cp[0] == '+')) in _nl_explode_name()
121 syntax = cp[0] == '@' ? xpg : cen; in _nl_explode_name()
122 cp[0] = '\0'; in _nl_explode_name()
123 *modifier = ++cp; in _nl_explode_name()
125 while (syntax == cen && cp[0] != '\0' && cp[0] != '+' in _nl_explode_name()
126 && cp[0] != ',' && cp[0] != '_') in _nl_explode_name()
127 ++cp; in _nl_explode_name()
132 if (syntax != xpg && (cp[0] == '+' || cp[0] == ',' || cp[0] == '_')) in _nl_explode_name()
136 if (cp[0] == '+') in _nl_explode_name()
139 cp[0] = '\0'; in _nl_explode_name()
140 *special = ++cp; in _nl_explode_name()
142 while (cp[0] != '\0' && cp[0] != ',' && cp[0] != '_') in _nl_explode_name()
143 ++cp; in _nl_explode_name()
148 if (cp[0] == ',') in _nl_explode_name()
151 cp[0] = '\0'; in _nl_explode_name()
152 *sponsor = ++cp; in _nl_explode_name()
154 while (cp[0] != '\0' && cp[0] != '_') in _nl_explode_name()
155 ++cp; in _nl_explode_name()
160 if (cp[0] == '_') in _nl_explode_name()
163 cp[0] = '\0'; in _nl_explode_name()
164 *revision = ++cp; in _nl_explode_name()