Lines Matching defs:ctx
38 mpd_context_t ctx;
50 mpd_init(&ctx, 38);
51 ctx.traps = 0;
53 q = mpd_new(&ctx);
54 r = mpd_new(&ctx);
55 a = mpd_new(&ctx);
56 b = mpd_new(&ctx);
57 mpd_set_string(a, argv[1], &ctx);
58 mpd_set_string(b, argv[2], &ctx);
61 mpd_divmod(q, r, a, b, &ctx);
69 mpd_snprint_flags(status_str, MPD_MAX_FLAG_STRING, ctx.status);