pcmk__mock_strdup 379 lib/common/mock.c bool pcmk__mock_strdup = false; pcmk__mock_strdup 384 lib/common/mock.c if (!pcmk__mock_strdup) { pcmk__mock_strdup 69 lib/common/mock_private.h extern bool pcmk__mock_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()