Home | History | Annotate | Download | only in intl

Lines Matching defs:cp

66   char *cp;
82 *language = cp = name;
83 cp = _nl_find_language (*language);
85 if (*language == cp)
88 cp = strchr (*language, '\0');
89 else if (cp[0] == '_')
92 cp[0] = '\0';
93 *territory = ++cp;
95 while (cp[0] != '\0' && cp[0] != '.' && cp[0] != '@'
96 && cp[0] != '+' && cp[0] != ',' && cp[0] != '_')
97 ++cp;
101 if (cp[0] == '.')
105 cp[0] = '\0';
106 *codeset = ++cp;
108 while (cp[0] != '\0' && cp[0] != '@')
109 ++cp;
113 if (*codeset != cp && (*codeset)[0] != '\0')
116 cp - *codeset);
125 if (cp[0] == '@' || (syntax != xpg && cp[0] == '+'))
128 syntax = cp[0] == '@' ? xpg : cen;
129 cp[0] = '\0';
130 *modifier = ++cp;
132 while (syntax == cen && cp[0] != '\0' && cp[0] != '+'
133 && cp[0] != ',' && cp[0] != '_')
134 ++cp;
139 if (syntax != xpg && (cp[0] == '+' || cp[0] == ',' || cp[0] == '_'))
143 if (cp[0] == '+')
146 cp[0] = '\0';
147 *special = ++cp;
149 while (cp[0] != '\0' && cp[0] != ',' && cp[0] != '_')
150 ++cp;
155 if (cp[0] == ',')
158 cp[0] = '\0';
159 *sponsor = ++cp;
161 while (cp[0] != '\0' && cp[0] != '_')
162 ++cp;
167 if (cp[0] == '_')
170 cp[0] = '\0';
171 *revision = ++cp;