Lines Matching refs:ops
112 converter_ops_t *ops;
310 ctx->ops = &none_converter_ops;
314 ctx->ops = (converter_ops_t *)v;
323 ctx->ops = &iconv_converter_ops;
328 r = (ctx->ops->openfromucs4)(ctx, &(ctx->private_data));
338 r = (*ctx->ops->opentoucs4)(ctx, &(ctx->private_data));
365 (void)(*ctx->ops->close)(ctx, ctx->private_data);
401 encoding_type = ctx->ops->encoding_type;
414 iscompat = (ctx->ops->encoding_type != IDN_NONACE);
431 r = (*ctx->ops->openfromucs4)(ctx, &(ctx->private_data));
437 r = (*ctx->ops->convfromucs4)(ctx, ctx->private_data, from, to, tolen);
470 r = (*ctx->ops->opentoucs4)(ctx, &(ctx->private_data));
476 r = (*ctx->ops->convtoucs4)(ctx, ctx->private_data, from, to, tolen);
500 converter_ops_t *ops;
507 if ((ops = malloc(sizeof(*ops))) == NULL) {
519 ops->openfromucs4 = openfromucs4;
520 ops->opentoucs4 = opentoucs4;
521 ops->convfromucs4 = convfromucs4;
522 ops->convtoucs4 = convtoucs4;
523 ops->close = close;
524 ops->encoding_type = encoding_type;
526 r = idn__strhash_put(encoding_name_hash, name, ops);
528 free(ops);