pcmk__mock_calloc 90 lib/common/mock.c bool pcmk__mock_calloc = false; pcmk__mock_calloc 95 lib/common/mock.c if (!pcmk__mock_calloc) { pcmk__mock_calloc 28 lib/common/mock_private.h extern bool pcmk__mock_calloc; pcmk__mock_calloc 24 lib/common/tests/cmdline/pcmk__new_common_args_test.c pcmk__mock_calloc = true; // calloc() will return NULL pcmk__mock_calloc 28 lib/common/tests/cmdline/pcmk__new_common_args_test.c pcmk__mock_calloc = false; // Use real calloc() pcmk__mock_calloc 84 lib/common/tests/output/pcmk__output_new_test.c pcmk__mock_calloc = true; // calloc() will return NULL pcmk__mock_calloc 90 lib/common/tests/output/pcmk__output_new_test.c pcmk__mock_calloc = false; // Use real calloc() pcmk__mock_calloc 47 lib/common/tests/strings/pcmk__compress_test.c pcmk__mock_calloc = true; // calloc() will return NULL pcmk__mock_calloc 51 lib/common/tests/strings/pcmk__compress_test.c pcmk__mock_calloc = false; // Use the real calloc() pcmk__mock_calloc 26 lib/common/tests/utils/crm_user_lookup_test.c pcmk__mock_calloc = true; // calloc() will return NULL pcmk__mock_calloc 32 lib/common/tests/utils/crm_user_lookup_test.c pcmk__mock_calloc = false; // Use real calloc() pcmk__mock_calloc 19 lib/pengine/tests/status/pe_new_working_set_test.c pcmk__mock_calloc = true; // calloc() will return NULL pcmk__mock_calloc 25 lib/pengine/tests/status/pe_new_working_set_test.c pcmk__mock_calloc = false; // Use real calloc()