scratch 210 daemons/based/based_messages.c xmlNode *scratch = pcmk__xml_copy(NULL, existing_cib); scratch 221 daemons/based/based_messages.c rc = pcmk__update_schema(&scratch, NULL, true, true); scratch 223 daemons/based/based_messages.c new_schema = crm_element_value(scratch, PCMK_XA_VALIDATE_WITH); scratch 281 daemons/based/based_messages.c free_xml(scratch); scratch 341 lib/cib/cib_utils.c xmlNode *scratch = NULL; scratch 413 lib/cib/cib_utils.c scratch = *current_cib; scratch 416 lib/cib/cib_utils.c top = pcmk__xe_create(NULL, (const char *) scratch->name); scratch 417 lib/cib/cib_utils.c pcmk__xe_copy_attrs(top, scratch, pcmk__xaf_none); scratch 420 lib/cib/cib_utils.c xml_track_changes(scratch, user, NULL, cib_acl_enabled(scratch, user)); scratch 421 lib/cib/cib_utils.c rc = (*fn) (op, call_options, section, req, input, scratch, &scratch, output); scratch 426 lib/cib/cib_utils.c *current_cib = scratch; scratch 429 lib/cib/cib_utils.c scratch = pcmk__xml_copy(NULL, *current_cib); scratch 432 lib/cib/cib_utils.c xml_track_changes(scratch, user, NULL, cib_acl_enabled(scratch, user)); scratch 434 lib/cib/cib_utils.c &scratch, output); scratch 436 lib/cib/cib_utils.c if ((scratch != NULL) && !xml_tracking_changes(scratch)) { scratch 438 lib/cib/cib_utils.c xml_track_changes(scratch, user, *current_cib, scratch 440 lib/cib/cib_utils.c xml_calculate_changes(*current_cib, scratch); scratch 442 lib/cib/cib_utils.c CRM_CHECK(*current_cib != scratch, return -EINVAL); scratch 445 lib/cib/cib_utils.c xml_acl_disable(scratch); /* Allow the system to make any additional changes */ scratch 447 lib/cib/cib_utils.c if (rc == pcmk_ok && scratch == NULL) { scratch 451 lib/cib/cib_utils.c } else if(rc == pcmk_ok && xml_acl_denied(scratch)) { scratch 464 lib/cib/cib_utils.c if (scratch && (cib == NULL || cib->variant != cib_file)) { scratch 465 lib/cib/cib_utils.c const char *new_version = crm_element_value(scratch, PCMK_XA_CRM_FEATURE_SET); scratch 480 lib/cib/cib_utils.c crm_element_value_int(scratch, PCMK_XA_ADMIN_EPOCH, &new); scratch 491 lib/cib/cib_utils.c crm_element_value_int(scratch, PCMK_XA_EPOCH, &new); scratch 504 lib/cib/cib_utils.c pcmk__strip_xml_text(scratch); scratch 513 lib/cib/cib_utils.c local_diff = xml_create_patchset(2, patchset_cib, scratch, scratch 525 lib/cib/cib_utils.c local_diff = xml_create_patchset(0, patchset_cib, scratch, scratch 529 lib/cib/cib_utils.c pcmk__log_xml_changes(LOG_TRACE, scratch); scratch 530 lib/cib/cib_utils.c xml_accept_changes(scratch); scratch 533 lib/cib/cib_utils.c patchset_process_digest(local_diff, patchset_cib, scratch, with_digest); scratch 554 lib/cib/cib_utils.c save_xml_to_file(scratch, "PatchApply:actual", NULL); scratch 588 lib/cib/cib_utils.c const char *schema = crm_element_value(scratch, PCMK_XA_VALIDATE_WITH); scratch 590 lib/cib/cib_utils.c pcmk__xe_add_last_written(scratch); scratch 602 lib/cib/cib_utils.c crm_xml_add(scratch, PCMK_XA_UPDATE_ORIGIN, origin); scratch 604 lib/cib/cib_utils.c pcmk__xe_remove_attr(scratch, PCMK_XA_UPDATE_ORIGIN); scratch 608 lib/cib/cib_utils.c crm_xml_add(scratch, PCMK_XA_UPDATE_CLIENT, user); scratch 610 lib/cib/cib_utils.c pcmk__xe_remove_attr(scratch, PCMK_XA_UPDATE_CLIENT); scratch 614 lib/cib/cib_utils.c crm_xml_add(scratch, PCMK_XA_UPDATE_USER, user); scratch 616 lib/cib/cib_utils.c pcmk__xe_remove_attr(scratch, PCMK_XA_UPDATE_USER); scratch 623 lib/cib/cib_utils.c && !pcmk__configured_schema_validates(scratch)) { scratch 624 lib/cib/cib_utils.c const char *current_schema = crm_element_value(scratch, scratch 634 lib/cib/cib_utils.c *result_cib = scratch; scratch 640 lib/cib/cib_utils.c && xml_acl_filtered_copy(user, patchset_cib, scratch, result_cib)) { scratch 645 lib/cib/cib_utils.c free_xml(scratch); scratch 421 lib/pacemaker/pcmk_sched_bundle.c GList *scratch = NULL; scratch 434 lib/pacemaker/pcmk_sched_bundle.c scratch = g_hash_table_get_values(dependent->allowed_nodes); scratch 435 lib/pacemaker/pcmk_sched_bundle.c scratch = pcmk__sort_nodes(scratch, NULL); scratch 436 lib/pacemaker/pcmk_sched_bundle.c for (const GList *iter = scratch; iter != NULL; iter = iter->next) { scratch 449 lib/pacemaker/pcmk_sched_bundle.c g_list_free(scratch); scratch 142 maint/gnulib/lib/malloc/dynarray-skeleton.c DYNARRAY_ELEMENT scratch[DYNARRAY_INITIAL_SIZE]; scratch 159 maint/gnulib/lib/malloc/dynarray-skeleton.c # define DYNARRAY_SCRATCH(list) (list)->scratch scratch 184 maint/gnulib/lib/malloc/dynarray-skeleton.c if (list->u.dynarray_header.array != list->scratch) scratch 130 maint/gnulib/lib/malloc/dynarray.h void *scratch, size_t element_size); scratch 139 maint/gnulib/lib/malloc/dynarray.h void *scratch, size_t element_size); scratch 144 maint/gnulib/lib/malloc/dynarray.h void *scratch, size_t element_size); scratch 160 maint/gnulib/lib/malloc/dynarray.h bool __libc_dynarray_finalize (struct dynarray_header *list, void *scratch, scratch 31 maint/gnulib/lib/malloc/dynarray_emplace_enlarge.c void *scratch, size_t element_size) scratch 62 maint/gnulib/lib/malloc/dynarray_emplace_enlarge.c if (list->array == scratch) scratch 29 maint/gnulib/lib/malloc/dynarray_finalize.c void *scratch, size_t element_size, scratch 43 maint/gnulib/lib/malloc/dynarray_finalize.c if (list->array != scratch) scratch 56 maint/gnulib/lib/malloc/dynarray_finalize.c if (list->array != scratch) scratch 31 maint/gnulib/lib/malloc/dynarray_resize.c void *scratch, size_t element_size) scratch 52 maint/gnulib/lib/malloc/dynarray_resize.c if (list->array == scratch) scratch 28 maint/gnulib/lib/malloc/dynarray_resize_clear.c void *scratch, size_t element_size) scratch 31 maint/gnulib/lib/malloc/dynarray_resize_clear.c if (!__libc_dynarray_resize (list, size, scratch, element_size)) scratch 34 maint/gnulib/tests/test-arcfour.c char scratch[16]; scratch 37 maint/gnulib/tests/test-arcfour.c arcfour_stream (&ctx, plaintext_1, scratch, sizeof (plaintext_1)); scratch 38 maint/gnulib/tests/test-arcfour.c if (memcmp (scratch, ciphertext_1, sizeof (ciphertext_1))) scratch 43 maint/gnulib/tests/test-arcfour.c printf ("%02x ", scratch[i] & 0xFF); scratch 54 maint/gnulib/tests/test-arcfour.c arcfour_stream (&ctx, scratch, scratch, sizeof (plaintext_1)); scratch 55 maint/gnulib/tests/test-arcfour.c if (memcmp (scratch, plaintext_1, sizeof (plaintext_1))) scratch 63 maint/gnulib/tests/test-arcfour.c printf ("%02x ", scratch[i] & 0xFF); scratch 29 maint/gnulib/tests/test-arctwo.c char scratch[16]; scratch 78 maint/gnulib/tests/test-arctwo.c arctwo_encrypt (&ctx, plaintext_1, scratch, ARCTWO_BLOCK_SIZE); scratch 80 maint/gnulib/tests/test-arctwo.c if (memcmp (scratch, ciphertext_1, sizeof (ciphertext_1))) scratch 84 maint/gnulib/tests/test-arctwo.c arctwo_decrypt (&ctx, scratch, scratch, ARCTWO_BLOCK_SIZE); scratch 85 maint/gnulib/tests/test-arctwo.c if (memcmp (scratch, plaintext_1, sizeof (plaintext_1))) scratch 90 maint/gnulib/tests/test-arctwo.c arctwo_encrypt (&ctx, plaintext_2, scratch, ARCTWO_BLOCK_SIZE); scratch 91 maint/gnulib/tests/test-arctwo.c if (memcmp (scratch, ciphertext_2, sizeof (ciphertext_2))) scratch 95 maint/gnulib/tests/test-arctwo.c arctwo_decrypt (&ctx, scratch, scratch, ARCTWO_BLOCK_SIZE); scratch 96 maint/gnulib/tests/test-arctwo.c if (memcmp (scratch, plaintext_2, sizeof (plaintext_2))) scratch 101 maint/gnulib/tests/test-arctwo.c arctwo_encrypt (&ctx, plaintext_3, scratch, ARCTWO_BLOCK_SIZE); scratch 103 maint/gnulib/tests/test-arctwo.c if (memcmp (scratch, ciphertext_3, sizeof (ciphertext_3))) scratch 107 maint/gnulib/tests/test-arctwo.c arctwo_decrypt (&ctx, scratch, scratch, ARCTWO_BLOCK_SIZE); scratch 108 maint/gnulib/tests/test-arctwo.c if (memcmp (scratch, plaintext_3, sizeof (plaintext_3))) scratch 113 maint/gnulib/tests/test-arctwo.c arctwo_encrypt (&ctx, plaintext_4, scratch, ARCTWO_BLOCK_SIZE); scratch 115 maint/gnulib/tests/test-arctwo.c if (memcmp (scratch, ciphertext_4, sizeof (ciphertext_4))) scratch 123 maint/gnulib/tests/test-arctwo.c printf ("%02x ", scratch[i] & 0xFF); scratch 129 maint/gnulib/tests/test-arctwo.c arctwo_decrypt (&ctx, scratch, scratch, ARCTWO_BLOCK_SIZE); scratch 130 maint/gnulib/tests/test-arctwo.c if (memcmp (scratch, plaintext_4, sizeof (plaintext_4))) scratch 135 maint/gnulib/tests/test-arctwo.c arctwo_encrypt (&ctx, plaintext_5, scratch, ARCTWO_BLOCK_SIZE); scratch 137 maint/gnulib/tests/test-arctwo.c if (memcmp (scratch, ciphertext_5, sizeof (ciphertext_5))) scratch 145 maint/gnulib/tests/test-arctwo.c printf ("%02x ", scratch[i] & 0xFF); scratch 151 maint/gnulib/tests/test-arctwo.c arctwo_decrypt (&ctx, scratch, scratch, ARCTWO_BLOCK_SIZE); scratch 152 maint/gnulib/tests/test-arctwo.c if (memcmp (scratch, plaintext_5, sizeof (plaintext_5))) scratch 157 maint/gnulib/tests/test-arctwo.c arctwo_encrypt (&ctx, plaintext_6, scratch, ARCTWO_BLOCK_SIZE); scratch 159 maint/gnulib/tests/test-arctwo.c if (memcmp (scratch, ciphertext_6, sizeof (ciphertext_6))) scratch 167 maint/gnulib/tests/test-arctwo.c printf ("%02x ", scratch[i] & 0xFF); scratch 173 maint/gnulib/tests/test-arctwo.c arctwo_decrypt (&ctx, scratch, scratch, ARCTWO_BLOCK_SIZE); scratch 174 maint/gnulib/tests/test-arctwo.c if (memcmp (scratch, plaintext_6, sizeof (plaintext_6))) scratch 34 maint/gnulib/tests/test-gc-arcfour.c char scratch[16]; scratch 52 maint/gnulib/tests/test-gc-arcfour.c memcpy (scratch, plaintext_1, sizeof (plaintext_1)); scratch 53 maint/gnulib/tests/test-gc-arcfour.c rc = gc_cipher_encrypt_inline (ctx, sizeof (plaintext_1), scratch); scratch 57 maint/gnulib/tests/test-gc-arcfour.c if (memcmp (scratch, ciphertext_1, sizeof (ciphertext_1))) scratch 62 maint/gnulib/tests/test-gc-arcfour.c printf ("%02x ", scratch[i] & 0xFF); scratch 76 maint/gnulib/tests/test-gc-arcfour.c rc = gc_cipher_decrypt_inline (ctx, sizeof (plaintext_1), scratch); scratch 80 maint/gnulib/tests/test-gc-arcfour.c if (memcmp (scratch, plaintext_1, sizeof (plaintext_1))) scratch 88 maint/gnulib/tests/test-gc-arcfour.c printf ("%02x ", scratch[i] & 0xFF); scratch 33 maint/gnulib/tests/test-gc-arctwo.c char scratch[16]; scratch 51 maint/gnulib/tests/test-gc-arctwo.c memcpy (scratch, plaintext, sizeof (plaintext)); scratch 52 maint/gnulib/tests/test-gc-arctwo.c rc = gc_cipher_encrypt_inline (ctx, sizeof (plaintext), scratch); scratch 56 maint/gnulib/tests/test-gc-arctwo.c if (memcmp (scratch, ciphertext, sizeof (ciphertext))) scratch 61 maint/gnulib/tests/test-gc-arctwo.c printf ("%02x ", scratch[i] & 0xFF); scratch 75 maint/gnulib/tests/test-gc-arctwo.c rc = gc_cipher_decrypt_inline (ctx, sizeof (plaintext), scratch); scratch 79 maint/gnulib/tests/test-gc-arctwo.c if (memcmp (scratch, plaintext, sizeof (plaintext))) scratch 87 maint/gnulib/tests/test-gc-arctwo.c printf ("%02x ", scratch[i] & 0xFF);