Lines Matching refs:str

99 					   const unsigned long *str,
202 idn_nameprep_isprohibited(idn_nameprep_t handle, const unsigned long *str,
204 assert(handle != NULL && str != NULL && found != NULL);
206 TRACE(("idn_nameprep_isprohibited(ctx=%s, str=\"%s\")\n",
207 handle->version, idn__debug_ucs4xstring(str, 50)));
209 return (idn_nameprep_check(handle->prohibited_proc, str, found));
213 idn_nameprep_isunassigned(idn_nameprep_t handle, const unsigned long *str,
215 assert(handle != NULL && str != NULL && found != NULL);
217 TRACE(("idn_nameprep_isunassigned(handle->version, str=\"%s\")\n",
218 handle->version, idn__debug_ucs4xstring(str, 50)));
220 return (idn_nameprep_check(handle->unassigned_proc, str, found));
224 idn_nameprep_check(nameprep_checkproc proc, const unsigned long *str,
228 while (*str != '\0') {
229 v = *str;
236 *found = str;
239 *found = str;
242 str++;
249 idn_nameprep_isvalidbidi(idn_nameprep_t handle, const unsigned long *str,
256 assert(handle != NULL && str != NULL && found != NULL);
258 TRACE(("idn_nameprep_isvalidbidi(ctx=%s, str=\"%s\")\n",
259 handle->version, idn__debug_ucs4xstring(str, 50)));
261 if (*str == '\0') {
270 if (*str > UCS_MAX) {
273 } else if (*str > UNICODE_MAX) {
275 *found = str;
278 first_char = last_char = (*(handle->biditype_proc))(*str);
282 str++;
287 while (*str != '\0') {
288 v = *str;
295 *found = str;
300 *found = str;
304 *found = str;
311 str++;
316 *found = str - 1;
342 idn_nameprep_prohibitproc(void *handle, const unsigned long *str,
344 return idn_nameprep_isprohibited((idn_nameprep_t)handle, str, found);
348 idn_nameprep_unassignedproc(void *handle, const unsigned long *str,
350 return idn_nameprep_isunassigned((idn_nameprep_t)handle, str, found);
354 idn_nameprep_bidiproc(void *handle, const unsigned long *str,
356 return idn_nameprep_isvalidbidi((idn_nameprep_t)handle, str, found);