Searched refs:cc_ops (Results 1 – 7 of 7) sorted by relevance
/netbsd-src/lib/libc/citrus/ |
H A D | citrus_ctype.h | 48 _DIAGASSERT(cc && cc->cc_ops); in _citrus_ctype_get_mb_cur_max() 49 return (*cc->cc_ops->co_get_mb_cur_max)(cc->cc_closure); in _citrus_ctype_get_mb_cur_max() 56 _DIAGASSERT(cc && cc->cc_ops && cc->cc_ops->co_mblen && nresult); in _citrus_ctype_mblen() 57 return (*cc->cc_ops->co_mblen)(cc->cc_closure, s, n, nresult); in _citrus_ctype_mblen() 65 _DIAGASSERT(cc && cc->cc_ops && cc->cc_ops->co_mbrlen && nresult); in _citrus_ctype_mbrlen() 66 return (*cc->cc_ops->co_mbrlen)(cc->cc_closure, s, n, pspriv, nresult); in _citrus_ctype_mbrlen() 74 _DIAGASSERT(cc && cc->cc_ops && cc->cc_ops->co_mbrtowc); in _citrus_ctype_mbrtowc() 75 return (*cc->cc_ops->co_mbrtowc)(cc->cc_closure, pwc, s, n, pspriv, in _citrus_ctype_mbrtowc() 83 _DIAGASSERT(cc && cc->cc_ops && cc->cc_ops->co_mbsinit && nresult); in _citrus_ctype_mbsinit() 84 return (*cc->cc_ops->co_mbsinit)(cc->cc_closure, pspriv, nresult); in _citrus_ctype_mbsinit() [all …]
|
H A D | citrus_ctype.c | 79 cc->cc_ops = (_citrus_ctype_ops_rec_t *)malloc(sizeof(*cc->cc_ops)); in _initctypemodule() 80 if (cc->cc_ops == NULL) in _initctypemodule() 83 ret = (*getops)(cc->cc_ops, sizeof(*cc->cc_ops), in _initctypemodule() 89 switch (cc->cc_ops->co_abi_version) { in _initctypemodule() 91 cc->cc_ops->co_btowc = &_citrus_ctype_btowc_fallback; in _initctypemodule() 92 cc->cc_ops->co_wctob = &_citrus_ctype_wctob_fallback; in _initctypemodule() 95 cc->cc_ops->co_mbsnrtowcs = &_citrus_ctype_mbsnrtowcs_fallback; in _initctypemodule() 96 cc->cc_ops->co_wcsnrtombs = &_citrus_ctype_wcsnrtombs_fallback; in _initctypemodule() 103 if (cc->cc_ops->co_init == NULL || in _initctypemodule() 104 cc->cc_ops->co_uninit == NULL || in _initctypemodule() [all …]
|
H A D | citrus_ctype_local.h | 219 _citrus_ctype_ops_rec_t *cc_ops; member
|
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/krb5/ |
H A D | cache.c | 126 for(i = 0; i < context->num_cc_ops && context->cc_ops[i]->prefix; i++) { in krb5_cc_register() 127 if(strcmp(context->cc_ops[i]->prefix, ops->prefix) == 0) { in krb5_cc_register() 139 const krb5_cc_ops **o = realloc(rk_UNCONST(context->cc_ops), in krb5_cc_register() 141 sizeof(context->cc_ops[0])); in krb5_cc_register() 147 context->cc_ops = o; in krb5_cc_register() 148 context->cc_ops[context->num_cc_ops] = NULL; in krb5_cc_register() 151 context->cc_ops[i] = ops; in krb5_cc_register() 272 for(i = 0; i < context->num_cc_ops && context->cc_ops[i]->prefix; i++) { in krb5_cc_resolve() 273 size_t prefix_len = strlen(context->cc_ops[i]->prefix); in krb5_cc_resolve() 275 if(strncmp(context->cc_ops[i]->prefix, name, prefix_len) == 0 in krb5_cc_resolve() [all …]
|
H A D | context.c | 280 context->cc_ops = NULL; in cc_ops_register() 305 const krb5_cc_ops **cc_ops; in cc_ops_copy() local 307 context->cc_ops = NULL; in cc_ops_copy() 313 cc_ops = malloc(sizeof(cc_ops[0]) * src_context->num_cc_ops); in cc_ops_copy() 314 if (cc_ops == NULL) { in cc_ops_copy() 320 memcpy(rk_UNCONST(cc_ops), src_context->cc_ops, in cc_ops_copy() 321 sizeof(cc_ops[0]) * src_context->num_cc_ops); in cc_ops_copy() 322 context->cc_ops = cc_ops; in cc_ops_copy() 636 free(rk_UNCONST(context->cc_ops)); in krb5_free_context()
|
H A D | krb5_locl.h | 241 const krb5_cc_ops **cc_ops; member
|
/netbsd-src/crypto/external/bsd/heimdal/dist/ |
H A D | ChangeLog.2005 | 1869 * lib/krb5/context.c: register KCM cc_ops 1878 * lib/krb5/krb5.h: fix cc_retrieve prototype, add KCM cc_ops
|