ctx               281 daemons/controld/controld_control.c         GMainContext *ctx = g_main_loop_get_context(controld_globals.mainloop);
ctx               289 daemons/controld/controld_control.c         crm_trace("Draining mainloop %d %d", g_main_loop_is_running(mloop), g_main_context_pending(ctx));
ctx               294 daemons/controld/controld_control.c             while((g_main_context_pending(ctx) && lpc < 10)) {
ctx               297 daemons/controld/controld_control.c                 g_main_context_dispatch(ctx);
ctx               301 daemons/controld/controld_control.c         crm_trace("Closing mainloop %d %d", g_main_loop_is_running(mloop), g_main_context_pending(ctx));
ctx                65 include/crm/common/logging_internal.h typedef void (*pcmk__config_error_func) (void *ctx, const char *msg, ...)
ctx                67 include/crm/common/logging_internal.h typedef void (*pcmk__config_warning_func) (void *ctx, const char *msg, ...)
ctx               151 lib/common/crmcommon_private.h void pcmk__log_xmllib_err(void *ctx, const char *fmt, ...)
ctx              1418 lib/common/mainloop.c         GMainContext *ctx = g_main_loop_get_context(mloop);
ctx              1423 lib/common/mainloop.c         for (int i = 0; (i < n) && g_main_context_pending(ctx); ++i) {
ctx              1424 lib/common/mainloop.c             g_main_context_dispatch(ctx);
ctx              1448 lib/common/mainloop.c     GMainContext *ctx = NULL;
ctx              1452 lib/common/mainloop.c     ctx = g_main_loop_get_context(mloop);
ctx              1453 lib/common/mainloop.c     if (ctx) {
ctx              1459 lib/common/mainloop.c             g_main_context_iteration(ctx, TRUE);
ctx                76 lib/common/md5.c md5_init_ctx (struct md5_ctx *ctx)
ctx                78 lib/common/md5.c   ctx->A = 0x67452301;
ctx                79 lib/common/md5.c   ctx->B = 0xefcdab89;
ctx                80 lib/common/md5.c   ctx->C = 0x98badcfe;
ctx                81 lib/common/md5.c   ctx->D = 0x10325476;
ctx                83 lib/common/md5.c   ctx->total[0] = ctx->total[1] = 0;
ctx                84 lib/common/md5.c   ctx->buflen = 0;
ctx                99 lib/common/md5.c md5_read_ctx (const struct md5_ctx *ctx, void *resbuf)
ctx               102 lib/common/md5.c   set_uint32 (r + 0 * sizeof ctx->A, SWAP (ctx->A));
ctx               103 lib/common/md5.c   set_uint32 (r + 1 * sizeof ctx->B, SWAP (ctx->B));
ctx               104 lib/common/md5.c   set_uint32 (r + 2 * sizeof ctx->C, SWAP (ctx->C));
ctx               105 lib/common/md5.c   set_uint32 (r + 3 * sizeof ctx->D, SWAP (ctx->D));
ctx               113 lib/common/md5.c md5_finish_ctx (struct md5_ctx *ctx, void *resbuf)
ctx               116 lib/common/md5.c   uint32_t bytes = ctx->buflen;
ctx               120 lib/common/md5.c   ctx->total[0] += bytes;
ctx               121 lib/common/md5.c   if (ctx->total[0] < bytes)
ctx               122 lib/common/md5.c     ++ctx->total[1];
ctx               125 lib/common/md5.c   ctx->buffer[size - 2] = SWAP (ctx->total[0] << 3);
ctx               126 lib/common/md5.c   ctx->buffer[size - 1] = SWAP ((ctx->total[1] << 3) | (ctx->total[0] >> 29));
ctx               128 lib/common/md5.c   memcpy (&((char *) ctx->buffer)[bytes], fillbuf, (size - 2) * 4 - bytes);
ctx               131 lib/common/md5.c   md5_process_block (ctx->buffer, size * 4, ctx);
ctx               133 lib/common/md5.c   return md5_read_ctx (ctx, resbuf);
ctx               157 lib/common/md5.c   struct md5_ctx ctx;
ctx               158 lib/common/md5.c   md5_init_ctx (&ctx);
ctx               205 lib/common/md5.c       md5_process_block (buffer, BLOCKSIZE, &ctx);
ctx               212 lib/common/md5.c     md5_process_bytes (buffer, sum, &ctx);
ctx               215 lib/common/md5.c   md5_finish_ctx (&ctx, resblock);
ctx               229 lib/common/md5.c   struct md5_ctx ctx;
ctx               232 lib/common/md5.c   md5_init_ctx (&ctx);
ctx               235 lib/common/md5.c   md5_process_bytes (buffer, len, &ctx);
ctx               238 lib/common/md5.c   return md5_finish_ctx (&ctx, resblock);
ctx               243 lib/common/md5.c md5_process_bytes (const void *buffer, size_t len, struct md5_ctx *ctx)
ctx               247 lib/common/md5.c   if (ctx->buflen != 0)
ctx               249 lib/common/md5.c       size_t left_over = ctx->buflen;
ctx               252 lib/common/md5.c       memcpy (&((char *) ctx->buffer)[left_over], buffer, add);
ctx               253 lib/common/md5.c       ctx->buflen += add;
ctx               255 lib/common/md5.c       if (ctx->buflen > 64)
ctx               257 lib/common/md5.c           md5_process_block (ctx->buffer, ctx->buflen & ~63, ctx);
ctx               259 lib/common/md5.c           ctx->buflen &= 63;
ctx               262 lib/common/md5.c           memcpy (ctx->buffer,
ctx               263 lib/common/md5.c                   &((char *) ctx->buffer)[(left_over + add) & ~63],
ctx               264 lib/common/md5.c                   ctx->buflen);
ctx               279 lib/common/md5.c             md5_process_block (memcpy (ctx->buffer, buffer, 64), 64, ctx);
ctx               286 lib/common/md5.c           md5_process_block (buffer, len & ~63, ctx);
ctx               295 lib/common/md5.c       size_t left_over = ctx->buflen;
ctx               297 lib/common/md5.c       memcpy (&((char *) ctx->buffer)[left_over], buffer, len);
ctx               301 lib/common/md5.c           md5_process_block (ctx->buffer, 64, ctx);
ctx               307 lib/common/md5.c           memcpy (ctx->buffer, &(((char *) ctx->buffer)[64]), left_over);
ctx               310 lib/common/md5.c       ctx->buflen = left_over;
ctx               328 lib/common/md5.c md5_process_block (const void *buffer, size_t len, struct md5_ctx *ctx)
ctx               334 lib/common/md5.c   uint32_t A = ctx->A;
ctx               335 lib/common/md5.c   uint32_t B = ctx->B;
ctx               336 lib/common/md5.c   uint32_t C = ctx->C;
ctx               337 lib/common/md5.c   uint32_t D = ctx->D;
ctx               343 lib/common/md5.c   ctx->total[0] += lolen;
ctx               344 lib/common/md5.c   ctx->total[1] += (len >> 31 >> 1) + (ctx->total[0] < lolen);
ctx               480 lib/common/md5.c   ctx->A = A;
ctx               481 lib/common/md5.c   ctx->B = B;
ctx               482 lib/common/md5.c   ctx->C = C;
ctx               483 lib/common/md5.c   ctx->D = D;
ctx               495 lib/common/schemas.c     relaxng_ctx_cache_t *ctx = NULL;
ctx               501 lib/common/schemas.c         ctx = *cached_ctx;
ctx               505 lib/common/schemas.c         ctx = pcmk__assert_alloc(1, sizeof(relaxng_ctx_cache_t));
ctx               507 lib/common/schemas.c         ctx->parser = xmlRelaxNGNewParserCtxt(relaxng_file);
ctx               508 lib/common/schemas.c         CRM_CHECK(ctx->parser != NULL, goto cleanup);
ctx               511 lib/common/schemas.c             xmlRelaxNGSetParserErrors(ctx->parser,
ctx               516 lib/common/schemas.c             xmlRelaxNGSetParserErrors(ctx->parser,
ctx               522 lib/common/schemas.c         ctx->rng = xmlRelaxNGParse(ctx->parser);
ctx               523 lib/common/schemas.c         CRM_CHECK(ctx->rng != NULL,
ctx               527 lib/common/schemas.c         ctx->valid = xmlRelaxNGNewValidCtxt(ctx->rng);
ctx               528 lib/common/schemas.c         CRM_CHECK(ctx->valid != NULL, goto cleanup);
ctx               531 lib/common/schemas.c             xmlRelaxNGSetValidErrors(ctx->valid,
ctx               536 lib/common/schemas.c             xmlRelaxNGSetValidErrors(ctx->valid,
ctx               543 lib/common/schemas.c     rc = xmlRelaxNGValidateDoc(ctx->valid, doc);
ctx               554 lib/common/schemas.c         *cached_ctx = ctx;
ctx               557 lib/common/schemas.c         if (ctx->parser != NULL) {
ctx               558 lib/common/schemas.c             xmlRelaxNGFreeParserCtxt(ctx->parser);
ctx               560 lib/common/schemas.c         if (ctx->valid != NULL) {
ctx               561 lib/common/schemas.c             xmlRelaxNGFreeValidCtxt(ctx->valid);
ctx               563 lib/common/schemas.c         if (ctx->rng != NULL) {
ctx               564 lib/common/schemas.c             xmlRelaxNGFree(ctx->rng);
ctx               566 lib/common/schemas.c         free(ctx);
ctx               576 lib/common/schemas.c     relaxng_ctx_cache_t *ctx = NULL;
ctx               583 lib/common/schemas.c             ctx = (relaxng_ctx_cache_t *) schema->cache;
ctx               584 lib/common/schemas.c             if (ctx == NULL) {
ctx               588 lib/common/schemas.c             if (ctx->parser != NULL) {
ctx               589 lib/common/schemas.c                 xmlRelaxNGFreeParserCtxt(ctx->parser);
ctx               592 lib/common/schemas.c             if (ctx->valid != NULL) {
ctx               593 lib/common/schemas.c                 xmlRelaxNGFreeValidCtxt(ctx->valid);
ctx               596 lib/common/schemas.c             if (ctx->rng != NULL) {
ctx               597 lib/common/schemas.c                 xmlRelaxNGFree(ctx->rng);
ctx               600 lib/common/schemas.c             free(ctx);
ctx               795 lib/common/schemas.c cib_upgrade_err(void *ctx, const char *fmt, ...)
ctx               803 lib/common/schemas.c     const unsigned * log_level = (const unsigned *) ctx;
ctx               846 lib/common/schemas.c                 if (ctx == NULL) {
ctx                25 lib/common/xml_display.c pcmk__log_xmllib_err(void *ctx, const char *fmt, ...)
ctx               125 tools/crm_verify.c output_config_error(void *ctx, const char *msg, ...)
ctx               129 tools/crm_verify.c     pcmk__output_t *out = ctx;
ctx               149 tools/crm_verify.c output_config_warning(void *ctx, const char *msg, ...)
ctx               153 tools/crm_verify.c     pcmk__output_t *out = ctx;