Lines Matching defs:ctx
38 mpd_context_t ctx;
50 mpd_init(&ctx, 38);
51 ctx.traps = 0;
53 result = mpd_new(&ctx);
54 a = mpd_new(&ctx);
55 b = mpd_new(&ctx);
56 c = mpd_new(&ctx);
57 mpd_set_string(a, argv[1], &ctx);
58 mpd_set_string(b, argv[2], &ctx);
59 mpd_set_string(c, argv[3], &ctx);
62 mpd_powmod(result, a, b, c, &ctx);
68 mpd_snprint_flags(status_str, MPD_MAX_FLAG_STRING, ctx.status);