Home | History | Annotate | Download | only in intl

Lines Matching refs:cp

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