scratch 203 daemons/based/based_messages.c xmlNode *scratch = copy_xml(existing_cib); scratch 215 daemons/based/based_messages.c rc = update_validation(&scratch, &new_version, 0, TRUE, TRUE); scratch 270 daemons/based/based_messages.c free_xml(scratch); scratch 352 lib/cib/cib_utils.c xmlNode *scratch = NULL; scratch 425 lib/cib/cib_utils.c scratch = *current_cib; scratch 428 lib/cib/cib_utils.c top = create_xml_node(NULL, (const char *) scratch->name); scratch 429 lib/cib/cib_utils.c copy_in_properties(top, scratch); scratch 432 lib/cib/cib_utils.c xml_track_changes(scratch, user, NULL, cib_acl_enabled(scratch, user)); scratch 433 lib/cib/cib_utils.c rc = (*fn) (op, call_options, section, req, input, scratch, &scratch, output); scratch 438 lib/cib/cib_utils.c *current_cib = scratch; scratch 441 lib/cib/cib_utils.c scratch = copy_xml(*current_cib); scratch 444 lib/cib/cib_utils.c xml_track_changes(scratch, user, NULL, cib_acl_enabled(scratch, user)); scratch 446 lib/cib/cib_utils.c &scratch, output); scratch 448 lib/cib/cib_utils.c if ((scratch != NULL) && !xml_tracking_changes(scratch)) { scratch 450 lib/cib/cib_utils.c xml_track_changes(scratch, user, *current_cib, scratch 452 lib/cib/cib_utils.c xml_calculate_changes(*current_cib, scratch); scratch 454 lib/cib/cib_utils.c CRM_CHECK(*current_cib != scratch, return -EINVAL); scratch 457 lib/cib/cib_utils.c xml_acl_disable(scratch); /* Allow the system to make any additional changes */ scratch 459 lib/cib/cib_utils.c if (rc == pcmk_ok && scratch == NULL) { scratch 463 lib/cib/cib_utils.c } else if(rc == pcmk_ok && xml_acl_denied(scratch)) { scratch 472 lib/cib/cib_utils.c if (scratch) { scratch 473 lib/cib/cib_utils.c new_version = crm_element_value(scratch, XML_ATTR_CRM_VERSION); scratch 487 lib/cib/cib_utils.c crm_element_value_int(scratch, XML_ATTR_GENERATION_ADMIN, &new); scratch 498 lib/cib/cib_utils.c crm_element_value_int(scratch, XML_ATTR_GENERATION, &new); scratch 511 lib/cib/cib_utils.c pcmk__strip_xml_text(scratch); scratch 512 lib/cib/cib_utils.c fix_plus_plus_recursive(scratch); scratch 520 lib/cib/cib_utils.c local_diff = xml_create_patchset(2, patchset_cib, scratch, scratch 532 lib/cib/cib_utils.c local_diff = xml_create_patchset(0, patchset_cib, scratch, scratch 536 lib/cib/cib_utils.c pcmk__log_xml_changes(LOG_TRACE, scratch); scratch 537 lib/cib/cib_utils.c xml_accept_changes(scratch); scratch 540 lib/cib/cib_utils.c patchset_process_digest(local_diff, patchset_cib, scratch, with_digest); scratch 561 lib/cib/cib_utils.c save_xml_to_file(scratch, "PatchApply:actual", NULL); scratch 595 lib/cib/cib_utils.c const char *schema = crm_element_value(scratch, XML_ATTR_VALIDATION); scratch 597 lib/cib/cib_utils.c pcmk__xe_add_last_written(scratch); scratch 615 lib/cib/cib_utils.c crm_xml_add(scratch, XML_ATTR_UPDATE_ORIG, origin); scratch 617 lib/cib/cib_utils.c xml_remove_prop(scratch, XML_ATTR_UPDATE_ORIG); scratch 621 lib/cib/cib_utils.c crm_xml_add(scratch, XML_ATTR_UPDATE_CLIENT, user); scratch 623 lib/cib/cib_utils.c xml_remove_prop(scratch, XML_ATTR_UPDATE_CLIENT); scratch 627 lib/cib/cib_utils.c crm_xml_add(scratch, XML_ATTR_UPDATE_USER, user); scratch 629 lib/cib/cib_utils.c xml_remove_prop(scratch, XML_ATTR_UPDATE_USER); scratch 636 lib/cib/cib_utils.c if ((rc == pcmk_ok) && check_schema && !validate_xml(scratch, NULL, true)) { scratch 637 lib/cib/cib_utils.c const char *current_schema = crm_element_value(scratch, scratch 647 lib/cib/cib_utils.c *result_cib = scratch; scratch 653 lib/cib/cib_utils.c && xml_acl_filtered_copy(user, patchset_cib, scratch, result_cib)) { scratch 658 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);