contents 73 include/crm/common/internal.h int pcmk__file_contents(const char *filename, char **contents); contents 74 include/crm/common/internal.h int pcmk__write_sync(int fd, const char *contents); contents 450 lib/common/io.c pcmk__file_contents(const char *filename, char **contents) contents 456 lib/common/io.c if ((filename == NULL) || (contents == NULL)) { contents 473 lib/common/io.c *contents = NULL; contents 475 lib/common/io.c *contents = calloc(length + 1, sizeof(char)); contents 476 lib/common/io.c if (*contents == NULL) { contents 481 lib/common/io.c read_len = fread(*contents, 1, length, fp); /* Coverity: False positive */ contents 483 lib/common/io.c free(*contents); contents 484 lib/common/io.c *contents = NULL; contents 506 lib/common/io.c pcmk__write_sync(int fd, const char *contents) contents 514 lib/common/io.c if ((contents != NULL) && (fprintf(fp, "%s", contents) < 0)) {