pcmk__mock_strdup 403 lib/common/mock.c bool pcmk__mock_strdup = false; pcmk__mock_strdup 408 lib/common/mock.c if (!pcmk__mock_strdup) { pcmk__mock_strdup 73 lib/common/mock_private.h extern bool pcmk__mock_strdup; pcmk__mock_strdup 38 lib/common/tests/cmdline/pcmk__new_common_args_test.c pcmk__mock_strdup = true; // strdup() will return NULL pcmk__mock_strdup 41 lib/common/tests/cmdline/pcmk__new_common_args_test.c pcmk__mock_strdup = false; // Use the real strdup() pcmk__mock_strdup 24 lib/common/tests/io/pcmk__full_path_test.c pcmk__mock_strdup = true; // strdup() will return NULL pcmk__mock_strdup 27 lib/common/tests/io/pcmk__full_path_test.c pcmk__mock_strdup = false; // Use real strdup() pcmk__mock_strdup 64 lib/common/tests/strings/pcmk__str_update_test.c pcmk__mock_strdup = true; // strdup() will return NULL pcmk__mock_strdup 67 lib/common/tests/strings/pcmk__str_update_test.c pcmk__mock_strdup = false; // Use the real strdup()