Lines Matching defs:handle
104 idn_nameprep_t handle;
119 for (handle = nameprep_versions; handle->version != NULL; handle++) {
120 if (strcmp(handle->version, version) == 0) {
121 *handlep = handle;
129 idn_nameprep_destroy(idn_nameprep_t handle) {
130 assert(handle != NULL);
138 idn_nameprep_map(idn_nameprep_t handle, const unsigned long *from,
140 assert(handle != NULL && from != NULL && to != NULL);
143 handle->version, idn__debug_ucs4xstring(from, 50)));
157 mapped = (*handle->map_proc)(v);
202 idn_nameprep_isprohibited(idn_nameprep_t handle, const unsigned long *str,
204 assert(handle != NULL && str != NULL && found != NULL);
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));
249 idn_nameprep_isvalidbidi(idn_nameprep_t handle, const unsigned long *str,
256 assert(handle != NULL && str != NULL && found != NULL);
259 handle->version, idn__debug_ucs4xstring(str, 50)));
278 first_char = last_char = (*(handle->biditype_proc))(*str);
298 last_char = (*(handle->biditype_proc))(v);
331 idn_nameprep_destroyproc(void *handle) {
332 idn_nameprep_destroy((idn_nameprep_t)handle);
336 idn_nameprep_mapproc(void *handle, const unsigned long *from,
338 return idn_nameprep_map((idn_nameprep_t)handle, from, to, tolen);
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);