scratch 229 daemons/based/based_messages.c xmlNode *scratch = copy_xml(existing_cib); scratch 241 daemons/based/based_messages.c rc = update_validation(&scratch, &new_version, 0, TRUE, TRUE); scratch 296 daemons/based/based_messages.c free_xml(scratch); scratch 229 lib/cib/cib_utils.c xmlNode *scratch = NULL; scratch 299 lib/cib/cib_utils.c scratch = current_cib; scratch 302 lib/cib/cib_utils.c current_cib = create_xml_node(NULL, (const char *)scratch->name); scratch 303 lib/cib/cib_utils.c copy_in_properties(current_cib, scratch); scratch 306 lib/cib/cib_utils.c xml_track_changes(scratch, user, NULL, cib_acl_enabled(scratch, user)); scratch 307 lib/cib/cib_utils.c rc = (*fn) (op, call_options, section, req, input, scratch, &scratch, output); scratch 310 lib/cib/cib_utils.c scratch = copy_xml(current_cib); scratch 311 lib/cib/cib_utils.c xml_track_changes(scratch, user, NULL, cib_acl_enabled(scratch, user)); scratch 312 lib/cib/cib_utils.c rc = (*fn) (op, call_options, section, req, input, current_cib, &scratch, output); scratch 314 lib/cib/cib_utils.c if(scratch && xml_tracking_changes(scratch) == FALSE) { scratch 316 lib/cib/cib_utils.c xml_track_changes(scratch, user, current_cib, cib_acl_enabled(current_cib, user)); scratch 317 lib/cib/cib_utils.c xml_calculate_changes(current_cib, scratch); scratch 319 lib/cib/cib_utils.c CRM_CHECK(current_cib != scratch, return -EINVAL); scratch 322 lib/cib/cib_utils.c xml_acl_disable(scratch); /* Allow the system to make any additional changes */ scratch 324 lib/cib/cib_utils.c if (rc == pcmk_ok && scratch == NULL) { scratch 328 lib/cib/cib_utils.c } else if(rc == pcmk_ok && xml_acl_denied(scratch)) { scratch 337 lib/cib/cib_utils.c if (scratch) { scratch 338 lib/cib/cib_utils.c new_version = crm_element_value(scratch, XML_ATTR_CRM_VERSION); scratch 352 lib/cib/cib_utils.c crm_element_value_int(scratch, XML_ATTR_GENERATION_ADMIN, &new); scratch 363 lib/cib/cib_utils.c crm_element_value_int(scratch, XML_ATTR_GENERATION, &new); scratch 376 lib/cib/cib_utils.c pcmk__strip_xml_text(scratch); scratch 377 lib/cib/cib_utils.c fix_plus_plus_recursive(scratch); scratch 385 lib/cib/cib_utils.c local_diff = xml_create_patchset(2, current_cib, scratch, (bool*)config_changed, manage_counters); scratch 396 lib/cib/cib_utils.c local_diff = xml_create_patchset(0, current_cib, scratch, (bool*)config_changed, manage_counters); scratch 399 lib/cib/cib_utils.c xml_log_changes(LOG_TRACE, __func__, scratch); scratch 400 lib/cib/cib_utils.c xml_accept_changes(scratch); scratch 407 lib/cib/cib_utils.c patchset_process_digest(local_diff, current_cib, scratch, with_digest); scratch 427 lib/cib/cib_utils.c save_xml_to_file(scratch, "PatchApply:actual", NULL); scratch 455 lib/cib/cib_utils.c const char *schema = crm_element_value(scratch, XML_ATTR_VALIDATION); scratch 457 lib/cib/cib_utils.c pcmk__xe_add_last_written(scratch); scratch 471 lib/cib/cib_utils.c crm_xml_replace(scratch, XML_ATTR_UPDATE_ORIG, origin); scratch 472 lib/cib/cib_utils.c crm_xml_replace(scratch, XML_ATTR_UPDATE_CLIENT, scratch 474 lib/cib/cib_utils.c crm_xml_replace(scratch, XML_ATTR_UPDATE_USER, crm_element_value(req, F_CIB_USER)); scratch 480 lib/cib/cib_utils.c if ((rc == pcmk_ok) && check_schema && !validate_xml(scratch, NULL, TRUE)) { scratch 481 lib/cib/cib_utils.c const char *current_schema = crm_element_value(scratch, scratch 491 lib/cib/cib_utils.c *result_cib = scratch; scratch 493 lib/cib/cib_utils.c if(xml_acl_filtered_copy(user, current_cib, scratch, result_cib)) { scratch 497 lib/cib/cib_utils.c free_xml(scratch); scratch 383 lib/pacemaker/pcmk_sched_bundle.c GList *scratch = NULL; scratch 393 lib/pacemaker/pcmk_sched_bundle.c scratch = g_hash_table_get_values(rsc_lh->allowed_nodes); scratch 394 lib/pacemaker/pcmk_sched_bundle.c scratch = sort_nodes_by_weight(scratch, NULL, data_set); scratch 396 lib/pacemaker/pcmk_sched_bundle.c for (GList *gIter = scratch; gIter != NULL; gIter = gIter->next) { scratch 407 lib/pacemaker/pcmk_sched_bundle.c g_list_free(scratch); scratch 1065 lib/pacemaker/pcmk_sched_clone.c GList *scratch = NULL; scratch 1073 lib/pacemaker/pcmk_sched_clone.c scratch = g_hash_table_get_values(local_child->allowed_nodes); scratch 1074 lib/pacemaker/pcmk_sched_clone.c scratch = sort_nodes_by_weight(scratch, NULL, data_set); scratch 1076 lib/pacemaker/pcmk_sched_clone.c gIter = scratch; scratch 1088 lib/pacemaker/pcmk_sched_clone.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);