ctx 421 crmd/control.c GMainContext *ctx = g_main_loop_get_context(crmd_mainloop); ctx 429 crmd/control.c crm_trace("Draining mainloop %d %d", g_main_loop_is_running(mloop), g_main_context_pending(ctx)); ctx 434 crmd/control.c while((g_main_context_pending(ctx) && lpc < 10)) { ctx 437 crmd/control.c g_main_context_dispatch(ctx); ctx 441 crmd/control.c crm_trace("Closing mainloop %d %d", g_main_loop_is_running(mloop), g_main_context_pending(ctx)); ctx 425 lib/common/schemas.c relaxng_ctx_cache_t *ctx = NULL; ctx 431 lib/common/schemas.c ctx = *cached_ctx; ctx 435 lib/common/schemas.c ctx = calloc(1, sizeof(relaxng_ctx_cache_t)); ctx 438 lib/common/schemas.c ctx->parser = xmlRelaxNGNewParserCtxt(relaxng_file); ctx 439 lib/common/schemas.c CRM_CHECK(ctx->parser != NULL, goto cleanup); ctx 442 lib/common/schemas.c xmlRelaxNGSetParserErrors(ctx->parser, ctx 447 lib/common/schemas.c xmlRelaxNGSetParserErrors(ctx->parser, ctx 453 lib/common/schemas.c ctx->rng = xmlRelaxNGParse(ctx->parser); ctx 454 lib/common/schemas.c CRM_CHECK(ctx->rng != NULL, ctx 458 lib/common/schemas.c ctx->valid = xmlRelaxNGNewValidCtxt(ctx->rng); ctx 459 lib/common/schemas.c CRM_CHECK(ctx->valid != NULL, goto cleanup); ctx 462 lib/common/schemas.c xmlRelaxNGSetValidErrors(ctx->valid, ctx 467 lib/common/schemas.c xmlRelaxNGSetValidErrors(ctx->valid, ctx 478 lib/common/schemas.c rc = xmlRelaxNGValidateDoc(ctx->valid, doc); ctx 489 lib/common/schemas.c *cached_ctx = ctx; ctx 492 lib/common/schemas.c if (ctx->parser != NULL) { ctx 493 lib/common/schemas.c xmlRelaxNGFreeParserCtxt(ctx->parser); ctx 495 lib/common/schemas.c if (ctx->valid != NULL) { ctx 496 lib/common/schemas.c xmlRelaxNGFreeValidCtxt(ctx->valid); ctx 498 lib/common/schemas.c if (ctx->rng != NULL) { ctx 499 lib/common/schemas.c xmlRelaxNGFree(ctx->rng); ctx 501 lib/common/schemas.c free(ctx); ctx 515 lib/common/schemas.c relaxng_ctx_cache_t *ctx = NULL; ctx 524 lib/common/schemas.c ctx = (relaxng_ctx_cache_t *) known_schemas[lpc].cache; ctx 525 lib/common/schemas.c if (ctx == NULL) { ctx 528 lib/common/schemas.c if (ctx->parser != NULL) { ctx 529 lib/common/schemas.c xmlRelaxNGFreeParserCtxt(ctx->parser); ctx 531 lib/common/schemas.c if (ctx->valid != NULL) { ctx 532 lib/common/schemas.c xmlRelaxNGFreeValidCtxt(ctx->valid); ctx 534 lib/common/schemas.c if (ctx->rng != NULL) { ctx 535 lib/common/schemas.c xmlRelaxNGFree(ctx->rng); ctx 537 lib/common/schemas.c free(ctx); ctx 699 lib/common/schemas.c cib_upgrade_err(void *ctx, const char *fmt, ...) ctx 703 lib/common/schemas.c cib_upgrade_err(void *ctx, const char *fmt, ...) ctx 2723 lib/common/xml.c crm_xml_err(void *ctx, const char *fmt, ...) ctx 2727 lib/common/xml.c crm_xml_err(void *ctx, const char *fmt, ...) ctx 72 lib/gnu/md5.c md5_init_ctx (struct md5_ctx *ctx) ctx 74 lib/gnu/md5.c ctx->A = 0x67452301; ctx 75 lib/gnu/md5.c ctx->B = 0xefcdab89; ctx 76 lib/gnu/md5.c ctx->C = 0x98badcfe; ctx 77 lib/gnu/md5.c ctx->D = 0x10325476; ctx 79 lib/gnu/md5.c ctx->total[0] = ctx->total[1] = 0; ctx 80 lib/gnu/md5.c ctx->buflen = 0; ctx 95 lib/gnu/md5.c md5_read_ctx (const struct md5_ctx *ctx, void *resbuf) ctx 98 lib/gnu/md5.c set_uint32 (r + 0 * sizeof ctx->A, SWAP (ctx->A)); ctx 99 lib/gnu/md5.c set_uint32 (r + 1 * sizeof ctx->B, SWAP (ctx->B)); ctx 100 lib/gnu/md5.c set_uint32 (r + 2 * sizeof ctx->C, SWAP (ctx->C)); ctx 101 lib/gnu/md5.c set_uint32 (r + 3 * sizeof ctx->D, SWAP (ctx->D)); ctx 109 lib/gnu/md5.c md5_finish_ctx (struct md5_ctx *ctx, void *resbuf) ctx 112 lib/gnu/md5.c uint32_t bytes = ctx->buflen; ctx 116 lib/gnu/md5.c ctx->total[0] += bytes; ctx 117 lib/gnu/md5.c if (ctx->total[0] < bytes) ctx 118 lib/gnu/md5.c ++ctx->total[1]; ctx 121 lib/gnu/md5.c ctx->buffer[size - 2] = SWAP (ctx->total[0] << 3); ctx 122 lib/gnu/md5.c ctx->buffer[size - 1] = SWAP ((ctx->total[1] << 3) | (ctx->total[0] >> 29)); ctx 124 lib/gnu/md5.c memcpy (&((char *) ctx->buffer)[bytes], fillbuf, (size - 2) * 4 - bytes); ctx 127 lib/gnu/md5.c md5_process_block (ctx->buffer, size * 4, ctx); ctx 129 lib/gnu/md5.c return md5_read_ctx (ctx, resbuf); ctx 138 lib/gnu/md5.c struct md5_ctx ctx; ctx 146 lib/gnu/md5.c md5_init_ctx (&ctx); ctx 190 lib/gnu/md5.c md5_process_block (buffer, BLOCKSIZE, &ctx); ctx 197 lib/gnu/md5.c md5_process_bytes (buffer, sum, &ctx); ctx 200 lib/gnu/md5.c md5_finish_ctx (&ctx, resblock); ctx 212 lib/gnu/md5.c struct md5_ctx ctx; ctx 215 lib/gnu/md5.c md5_init_ctx (&ctx); ctx 218 lib/gnu/md5.c md5_process_bytes (buffer, len, &ctx); ctx 221 lib/gnu/md5.c return md5_finish_ctx (&ctx, resblock); ctx 226 lib/gnu/md5.c md5_process_bytes (const void *buffer, size_t len, struct md5_ctx *ctx) ctx 230 lib/gnu/md5.c if (ctx->buflen != 0) ctx 232 lib/gnu/md5.c size_t left_over = ctx->buflen; ctx 235 lib/gnu/md5.c memcpy (&((char *) ctx->buffer)[left_over], buffer, add); ctx 236 lib/gnu/md5.c ctx->buflen += add; ctx 238 lib/gnu/md5.c if (ctx->buflen > 64) ctx 240 lib/gnu/md5.c md5_process_block (ctx->buffer, ctx->buflen & ~63, ctx); ctx 242 lib/gnu/md5.c ctx->buflen &= 63; ctx 244 lib/gnu/md5.c memcpy (ctx->buffer, ctx 245 lib/gnu/md5.c &((char *) ctx->buffer)[(left_over + add) & ~63], ctx 246 lib/gnu/md5.c ctx->buflen); ctx 261 lib/gnu/md5.c md5_process_block (memcpy (ctx->buffer, buffer, 64), 64, ctx); ctx 268 lib/gnu/md5.c md5_process_block (buffer, len & ~63, ctx); ctx 277 lib/gnu/md5.c size_t left_over = ctx->buflen; ctx 279 lib/gnu/md5.c memcpy (&((char *) ctx->buffer)[left_over], buffer, len); ctx 283 lib/gnu/md5.c md5_process_block (ctx->buffer, 64, ctx); ctx 285 lib/gnu/md5.c memcpy (ctx->buffer, &ctx->buffer[16], left_over); ctx 287 lib/gnu/md5.c ctx->buflen = left_over; ctx 305 lib/gnu/md5.c md5_process_block (const void *buffer, size_t len, struct md5_ctx *ctx) ctx 311 lib/gnu/md5.c uint32_t A = ctx->A; ctx 312 lib/gnu/md5.c uint32_t B = ctx->B; ctx 313 lib/gnu/md5.c uint32_t C = ctx->C; ctx 314 lib/gnu/md5.c uint32_t D = ctx->D; ctx 319 lib/gnu/md5.c ctx->total[0] += len; ctx 320 lib/gnu/md5.c if (ctx->total[0] < len) ctx 321 lib/gnu/md5.c ++ctx->total[1]; ctx 457 lib/gnu/md5.c ctx->A = A; ctx 458 lib/gnu/md5.c ctx->B = B; ctx 459 lib/gnu/md5.c ctx->C = C; ctx 460 lib/gnu/md5.c ctx->D = D; ctx 80 lib/gnu/md5.h extern void __md5_init_ctx (struct md5_ctx *ctx) __THROW; ctx 87 lib/gnu/md5.h struct md5_ctx *ctx) __THROW; ctx 94 lib/gnu/md5.h struct md5_ctx *ctx) __THROW; ctx 100 lib/gnu/md5.h extern void *__md5_finish_ctx (struct md5_ctx *ctx, void *resbuf) __THROW; ctx 106 lib/gnu/md5.h extern void *__md5_read_ctx (const struct md5_ctx *ctx, void *resbuf) __THROW; ctx 155 lrmd/lrmd_alert_api.c lrmd_drain_alerts(GMainContext *ctx) ctx 177 lrmd/lrmd_alert_api.c g_main_context_iteration(ctx, TRUE); ctx 115 lrmd/lrmd_private.h void lrmd_drain_alerts(GMainContext *ctx);