scratch 226 daemons/based/based_messages.c xmlNode *scratch = copy_xml(existing_cib); scratch 238 daemons/based/based_messages.c rc = update_validation(&scratch, &new_version, 0, TRUE, TRUE); scratch 293 daemons/based/based_messages.c free_xml(scratch); scratch 153 lib/cib/cib_utils.c xmlNode *scratch = NULL; scratch 223 lib/cib/cib_utils.c scratch = current_cib; scratch 226 lib/cib/cib_utils.c current_cib = create_xml_node(NULL, (const char *)scratch->name); scratch 227 lib/cib/cib_utils.c copy_in_properties(current_cib, scratch); scratch 230 lib/cib/cib_utils.c xml_track_changes(scratch, user, NULL, cib_acl_enabled(scratch, user)); scratch 231 lib/cib/cib_utils.c rc = (*fn) (op, call_options, section, req, input, scratch, &scratch, output); scratch 234 lib/cib/cib_utils.c scratch = copy_xml(current_cib); scratch 235 lib/cib/cib_utils.c xml_track_changes(scratch, user, NULL, cib_acl_enabled(scratch, user)); scratch 236 lib/cib/cib_utils.c rc = (*fn) (op, call_options, section, req, input, current_cib, &scratch, output); scratch 238 lib/cib/cib_utils.c if(scratch && xml_tracking_changes(scratch) == FALSE) { scratch 240 lib/cib/cib_utils.c xml_track_changes(scratch, user, current_cib, cib_acl_enabled(current_cib, user)); scratch 241 lib/cib/cib_utils.c xml_calculate_changes(current_cib, scratch); scratch 243 lib/cib/cib_utils.c CRM_CHECK(current_cib != scratch, return -EINVAL); scratch 246 lib/cib/cib_utils.c xml_acl_disable(scratch); /* Allow the system to make any additional changes */ scratch 248 lib/cib/cib_utils.c if (rc == pcmk_ok && scratch == NULL) { scratch 252 lib/cib/cib_utils.c } else if(rc == pcmk_ok && xml_acl_denied(scratch)) { scratch 261 lib/cib/cib_utils.c if (scratch) { scratch 262 lib/cib/cib_utils.c new_version = crm_element_value(scratch, XML_ATTR_CRM_VERSION); scratch 276 lib/cib/cib_utils.c crm_element_value_int(scratch, XML_ATTR_GENERATION_ADMIN, &new); scratch 287 lib/cib/cib_utils.c crm_element_value_int(scratch, XML_ATTR_GENERATION, &new); scratch 300 lib/cib/cib_utils.c pcmk__strip_xml_text(scratch); scratch 301 lib/cib/cib_utils.c fix_plus_plus_recursive(scratch); scratch 309 lib/cib/cib_utils.c local_diff = xml_create_patchset(2, current_cib, scratch, (bool*)config_changed, manage_counters); scratch 320 lib/cib/cib_utils.c local_diff = xml_create_patchset(0, current_cib, scratch, (bool*)config_changed, manage_counters); scratch 323 lib/cib/cib_utils.c xml_log_changes(LOG_TRACE, __func__, scratch); scratch 324 lib/cib/cib_utils.c xml_accept_changes(scratch); scratch 331 lib/cib/cib_utils.c patchset_process_digest(local_diff, current_cib, scratch, with_digest); scratch 351 lib/cib/cib_utils.c save_xml_to_file(scratch, "PatchApply:actual", NULL); scratch 379 lib/cib/cib_utils.c const char *schema = crm_element_value(scratch, XML_ATTR_VALIDATION); scratch 381 lib/cib/cib_utils.c pcmk__xe_add_last_written(scratch); scratch 395 lib/cib/cib_utils.c crm_xml_replace(scratch, XML_ATTR_UPDATE_ORIG, origin); scratch 396 lib/cib/cib_utils.c crm_xml_replace(scratch, XML_ATTR_UPDATE_CLIENT, scratch 398 lib/cib/cib_utils.c crm_xml_replace(scratch, XML_ATTR_UPDATE_USER, crm_element_value(req, F_CIB_USER)); scratch 404 lib/cib/cib_utils.c if ((rc == pcmk_ok) && check_schema && !validate_xml(scratch, NULL, TRUE)) { scratch 405 lib/cib/cib_utils.c const char *current_schema = crm_element_value(scratch, scratch 415 lib/cib/cib_utils.c *result_cib = scratch; scratch 417 lib/cib/cib_utils.c if(xml_acl_filtered_copy(user, current_cib, scratch, result_cib)) { scratch 421 lib/cib/cib_utils.c free_xml(scratch); scratch 372 lib/pacemaker/pcmk_sched_bundle.c GList *scratch = NULL; scratch 382 lib/pacemaker/pcmk_sched_bundle.c scratch = g_hash_table_get_values(rsc_lh->allowed_nodes); scratch 383 lib/pacemaker/pcmk_sched_bundle.c scratch = pcmk__sort_nodes(scratch, NULL); scratch 385 lib/pacemaker/pcmk_sched_bundle.c for (GList *gIter = scratch; gIter != NULL; gIter = gIter->next) { scratch 396 lib/pacemaker/pcmk_sched_bundle.c g_list_free(scratch); scratch 658 lib/pacemaker/pcmk_sched_clone.c GList *scratch = NULL; scratch 666 lib/pacemaker/pcmk_sched_clone.c scratch = g_hash_table_get_values(local_child->allowed_nodes); scratch 667 lib/pacemaker/pcmk_sched_clone.c scratch = pcmk__sort_nodes(scratch, NULL); scratch 669 lib/pacemaker/pcmk_sched_clone.c gIter = scratch; scratch 681 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);