ctx 271 daemons/controld/controld_control.c GMainContext *ctx = g_main_loop_get_context(crmd_mainloop); ctx 279 daemons/controld/controld_control.c crm_trace("Draining mainloop %d %d", g_main_loop_is_running(mloop), g_main_context_pending(ctx)); ctx 284 daemons/controld/controld_control.c while((g_main_context_pending(ctx) && lpc < 10)) { ctx 287 daemons/controld/controld_control.c g_main_context_dispatch(ctx); ctx 291 daemons/controld/controld_control.c crm_trace("Closing mainloop %d %d", g_main_loop_is_running(mloop), g_main_context_pending(ctx)); ctx 1391 lib/common/mainloop.c GMainContext *ctx = g_main_loop_get_context(mloop); ctx 1396 lib/common/mainloop.c for (int i = 0; (i < n) && g_main_context_pending(ctx); ++i) { ctx 1397 lib/common/mainloop.c g_main_context_dispatch(ctx); ctx 1420 lib/common/mainloop.c GMainContext *ctx = NULL; ctx 1424 lib/common/mainloop.c ctx = g_main_loop_get_context(mloop); ctx 1425 lib/common/mainloop.c if (ctx) { ctx 1431 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 467 lib/common/schemas.c relaxng_ctx_cache_t *ctx = NULL; ctx 473 lib/common/schemas.c ctx = *cached_ctx; ctx 477 lib/common/schemas.c ctx = calloc(1, sizeof(relaxng_ctx_cache_t)); ctx 480 lib/common/schemas.c ctx->parser = xmlRelaxNGNewParserCtxt(relaxng_file); ctx 481 lib/common/schemas.c CRM_CHECK(ctx->parser != NULL, goto cleanup); ctx 484 lib/common/schemas.c xmlRelaxNGSetParserErrors(ctx->parser, ctx 489 lib/common/schemas.c xmlRelaxNGSetParserErrors(ctx->parser, ctx 495 lib/common/schemas.c ctx->rng = xmlRelaxNGParse(ctx->parser); ctx 496 lib/common/schemas.c CRM_CHECK(ctx->rng != NULL, ctx 500 lib/common/schemas.c ctx->valid = xmlRelaxNGNewValidCtxt(ctx->rng); ctx 501 lib/common/schemas.c CRM_CHECK(ctx->valid != NULL, goto cleanup); ctx 504 lib/common/schemas.c xmlRelaxNGSetValidErrors(ctx->valid, ctx 509 lib/common/schemas.c xmlRelaxNGSetValidErrors(ctx->valid, ctx 520 lib/common/schemas.c rc = xmlRelaxNGValidateDoc(ctx->valid, doc); ctx 531 lib/common/schemas.c *cached_ctx = ctx; ctx 534 lib/common/schemas.c if (ctx->parser != NULL) { ctx 535 lib/common/schemas.c xmlRelaxNGFreeParserCtxt(ctx->parser); ctx 537 lib/common/schemas.c if (ctx->valid != NULL) { ctx 538 lib/common/schemas.c xmlRelaxNGFreeValidCtxt(ctx->valid); ctx 540 lib/common/schemas.c if (ctx->rng != NULL) { ctx 541 lib/common/schemas.c xmlRelaxNGFree(ctx->rng); ctx 543 lib/common/schemas.c free(ctx); ctx 557 lib/common/schemas.c relaxng_ctx_cache_t *ctx = NULL; ctx 565 lib/common/schemas.c ctx = (relaxng_ctx_cache_t *) known_schemas[lpc].cache; ctx 566 lib/common/schemas.c if (ctx == NULL) { ctx 569 lib/common/schemas.c if (ctx->parser != NULL) { ctx 570 lib/common/schemas.c xmlRelaxNGFreeParserCtxt(ctx->parser); ctx 572 lib/common/schemas.c if (ctx->valid != NULL) { ctx 573 lib/common/schemas.c xmlRelaxNGFreeValidCtxt(ctx->valid); ctx 575 lib/common/schemas.c if (ctx->rng != NULL) { ctx 576 lib/common/schemas.c xmlRelaxNGFree(ctx->rng); ctx 578 lib/common/schemas.c free(ctx); ctx 741 lib/common/schemas.c cib_upgrade_err(void *ctx, const char *fmt, ...) ctx 768 lib/common/schemas.c cib_upgrade_err(void *ctx, const char *fmt, ...) ctx 776 lib/common/schemas.c const unsigned * log_level = (const unsigned *) ctx; ctx 806 lib/common/schemas.c if (ctx == NULL) { ctx 817 lib/common/schemas.c if (ctx == NULL) { ctx 828 lib/common/schemas.c if (ctx == NULL) { ctx 807 lib/common/xml.c log_xmllib_err(void *ctx, const char *fmt, ...) ctx 812 lib/common/xml.c log_xmllib_err(void *ctx, const char *fmt, ...) ctx 78 lib/gnu/gl_openssl.h GL_CRYPTO_FN (_init_ctx) (struct _gl_ctx *ctx) ctx 79 lib/gnu/gl_openssl.h { (void) OPENSSL_FN (_Init) ((_gl_CTX *) ctx); } ctx 84 lib/gnu/gl_openssl.h GL_CRYPTO_FN (_process_bytes) (const void *buf, size_t len, struct _gl_ctx *ctx) ctx 85 lib/gnu/gl_openssl.h { OPENSSL_FN (_Update) ((_gl_CTX *) ctx, buf, len); } ctx 88 lib/gnu/gl_openssl.h GL_CRYPTO_FN (_process_block) (const void *buf, size_t len, struct _gl_ctx *ctx) ctx 89 lib/gnu/gl_openssl.h { GL_CRYPTO_FN (_process_bytes) (buf, len, ctx); } ctx 93 lib/gnu/gl_openssl.h GL_CRYPTO_FN (_finish_ctx) (struct _gl_ctx *ctx, void *restrict res) ctx 94 lib/gnu/gl_openssl.h { OPENSSL_FN (_Final) ((unsigned char *) res, (_gl_CTX *) ctx); return res; } ctx 101 lib/gnu/gl_openssl.h GL_CRYPTO_FN (_read_ctx) (const struct _gl_ctx *ctx, void *restrict res) ctx 104 lib/gnu/gl_openssl.h _gl_CTX tmp_ctx = *(_gl_CTX *) ctx; ctx 76 lib/gnu/md5.c md5_init_ctx (struct md5_ctx *ctx) ctx 78 lib/gnu/md5.c ctx->A = 0x67452301; ctx 79 lib/gnu/md5.c ctx->B = 0xefcdab89; ctx 80 lib/gnu/md5.c ctx->C = 0x98badcfe; ctx 81 lib/gnu/md5.c ctx->D = 0x10325476; ctx 83 lib/gnu/md5.c ctx->total[0] = ctx->total[1] = 0; ctx 84 lib/gnu/md5.c ctx->buflen = 0; ctx 99 lib/gnu/md5.c md5_read_ctx (const struct md5_ctx *ctx, void *resbuf) ctx 102 lib/gnu/md5.c set_uint32 (r + 0 * sizeof ctx->A, SWAP (ctx->A)); ctx 103 lib/gnu/md5.c set_uint32 (r + 1 * sizeof ctx->B, SWAP (ctx->B)); ctx 104 lib/gnu/md5.c set_uint32 (r + 2 * sizeof ctx->C, SWAP (ctx->C)); ctx 105 lib/gnu/md5.c set_uint32 (r + 3 * sizeof ctx->D, SWAP (ctx->D)); ctx 113 lib/gnu/md5.c md5_finish_ctx (struct md5_ctx *ctx, void *resbuf) ctx 116 lib/gnu/md5.c uint32_t bytes = ctx->buflen; ctx 120 lib/gnu/md5.c ctx->total[0] += bytes; ctx 121 lib/gnu/md5.c if (ctx->total[0] < bytes) ctx 122 lib/gnu/md5.c ++ctx->total[1]; ctx 125 lib/gnu/md5.c ctx->buffer[size - 2] = SWAP (ctx->total[0] << 3); ctx 126 lib/gnu/md5.c ctx->buffer[size - 1] = SWAP ((ctx->total[1] << 3) | (ctx->total[0] >> 29)); ctx 128 lib/gnu/md5.c memcpy (&((char *) ctx->buffer)[bytes], fillbuf, (size - 2) * 4 - bytes); ctx 131 lib/gnu/md5.c md5_process_block (ctx->buffer, size * 4, ctx); ctx 133 lib/gnu/md5.c return md5_read_ctx (ctx, resbuf); ctx 157 lib/gnu/md5.c struct md5_ctx ctx; ctx 158 lib/gnu/md5.c md5_init_ctx (&ctx); ctx 205 lib/gnu/md5.c md5_process_block (buffer, BLOCKSIZE, &ctx); ctx 212 lib/gnu/md5.c md5_process_bytes (buffer, sum, &ctx); ctx 215 lib/gnu/md5.c md5_finish_ctx (&ctx, resblock); ctx 229 lib/gnu/md5.c struct md5_ctx ctx; ctx 232 lib/gnu/md5.c md5_init_ctx (&ctx); ctx 235 lib/gnu/md5.c md5_process_bytes (buffer, len, &ctx); ctx 238 lib/gnu/md5.c return md5_finish_ctx (&ctx, resblock); ctx 243 lib/gnu/md5.c md5_process_bytes (const void *buffer, size_t len, struct md5_ctx *ctx) ctx 247 lib/gnu/md5.c if (ctx->buflen != 0) ctx 249 lib/gnu/md5.c size_t left_over = ctx->buflen; ctx 252 lib/gnu/md5.c memcpy (&((char *) ctx->buffer)[left_over], buffer, add); ctx 253 lib/gnu/md5.c ctx->buflen += add; ctx 255 lib/gnu/md5.c if (ctx->buflen > 64) ctx 257 lib/gnu/md5.c md5_process_block (ctx->buffer, ctx->buflen & ~63, ctx); ctx 259 lib/gnu/md5.c ctx->buflen &= 63; ctx 262 lib/gnu/md5.c memcpy (ctx->buffer, ctx 263 lib/gnu/md5.c &((char *) ctx->buffer)[(left_over + add) & ~63], ctx 264 lib/gnu/md5.c ctx->buflen); ctx 279 lib/gnu/md5.c md5_process_block (memcpy (ctx->buffer, buffer, 64), 64, ctx); ctx 286 lib/gnu/md5.c md5_process_block (buffer, len & ~63, ctx); ctx 295 lib/gnu/md5.c size_t left_over = ctx->buflen; ctx 297 lib/gnu/md5.c memcpy (&((char *) ctx->buffer)[left_over], buffer, len); ctx 301 lib/gnu/md5.c md5_process_block (ctx->buffer, 64, ctx); ctx 307 lib/gnu/md5.c memcpy (ctx->buffer, &(((char *) ctx->buffer)[64]), left_over); ctx 310 lib/gnu/md5.c ctx->buflen = left_over; ctx 328 lib/gnu/md5.c md5_process_block (const void *buffer, size_t len, struct md5_ctx *ctx) ctx 334 lib/gnu/md5.c uint32_t A = ctx->A; ctx 335 lib/gnu/md5.c uint32_t B = ctx->B; ctx 336 lib/gnu/md5.c uint32_t C = ctx->C; ctx 337 lib/gnu/md5.c uint32_t D = ctx->D; ctx 343 lib/gnu/md5.c ctx->total[0] += lolen; ctx 344 lib/gnu/md5.c ctx->total[1] += (len >> 31 >> 1) + (ctx->total[0] < lolen); ctx 480 lib/gnu/md5.c ctx->A = A; ctx 481 lib/gnu/md5.c ctx->B = B; ctx 482 lib/gnu/md5.c ctx->C = C; ctx 483 lib/gnu/md5.c ctx->D = D; ctx 88 lib/gnu/md5.h extern void __md5_init_ctx (struct md5_ctx *ctx) __THROW; ctx 95 lib/gnu/md5.h struct md5_ctx *ctx) __THROW; ctx 102 lib/gnu/md5.h struct md5_ctx *ctx) __THROW; ctx 108 lib/gnu/md5.h extern void *__md5_finish_ctx (struct md5_ctx *ctx, void *restrict resbuf) ctx 115 lib/gnu/md5.h extern void *__md5_read_ctx (const struct md5_ctx *ctx, void *restrict resbuf)