pcmk__mock_strdup 450 lib/common/mock.c bool pcmk__mock_strdup = false; pcmk__mock_strdup 455 lib/common/mock.c if (!pcmk__mock_strdup) { pcmk__mock_strdup 80 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 29 lib/common/tests/io/pcmk__full_path_test.c pcmk__mock_strdup = true; // strdup() will return NULL pcmk__mock_strdup 32 lib/common/tests/io/pcmk__full_path_test.c pcmk__mock_strdup = false; // Use real strdup() pcmk__mock_strdup 65 lib/common/tests/strings/pcmk__str_update_test.c pcmk__mock_strdup = true; // strdup() will return NULL pcmk__mock_strdup 68 lib/common/tests/strings/pcmk__str_update_test.c pcmk__mock_strdup = false; // Use the real strdup()