contents           37 include/crm/common/io_internal.h int pcmk__file_contents(const char *filename, char **contents);
contents           38 include/crm/common/io_internal.h int pcmk__write_sync(int fd, const char *contents);
contents          426 lib/common/io.c pcmk__file_contents(const char *filename, char **contents)
contents          432 lib/common/io.c     if ((filename == NULL) || (contents == NULL)) {
contents          449 lib/common/io.c         *contents = NULL;
contents          451 lib/common/io.c         *contents = calloc(length + 1, sizeof(char));
contents          452 lib/common/io.c         if (*contents == NULL) {
contents          465 lib/common/io.c         read_len = fread(*contents, 1, length, fp);
contents          467 lib/common/io.c             free(*contents);
contents          468 lib/common/io.c             *contents = NULL;
contents          474 lib/common/io.c             (*contents)[length] = '\0';
contents          495 lib/common/io.c pcmk__write_sync(int fd, const char *contents)
contents          503 lib/common/io.c     if ((contents != NULL) && (fprintf(fp, "%s", contents) < 0)) {
contents          419 lib/common/mock.c         const char *contents = NULL;
contents          425 lib/common/mock.c         contents = mock_ptr_type(const char *);
contents          428 lib/common/mock.c             strncpy(buf, contents, bufsize - 1);
contents          429 lib/common/mock.c             return strlen(contents);
contents         1426 lib/common/schemas.c external_refs_in_schema(GList **list, const char *contents)
contents         1432 lib/common/schemas.c     xmlNode *xml = pcmk__xml_parse(contents);
contents         1439 lib/common/schemas.c read_file_contents(const char *file, char **contents)
contents         1450 lib/common/schemas.c     rc = pcmk__file_contents(path, contents);
contents         1459 lib/common/schemas.c     char *contents = NULL;
contents         1479 lib/common/schemas.c     rc = read_file_contents(path, &contents);
contents         1480 lib/common/schemas.c     if (rc != pcmk_rc_ok || contents == NULL) {
contents         1494 lib/common/schemas.c                 xmlNewCDataBlock(parent->doc, (const xmlChar *) contents,
contents         1495 lib/common/schemas.c                                  strlen(contents)));
contents         1500 lib/common/schemas.c     external_refs_in_schema(&includes, contents);
contents         1509 lib/common/schemas.c     free(contents);
contents          117 lib/common/unittest.c     char *contents = NULL;
contents          129 lib/common/unittest.c     if (pcmk__file_contents(in_path, &contents) != pcmk_rc_ok) {
contents          135 lib/common/unittest.c     if (pcmk__write_sync(fd, contents) != pcmk_rc_ok) {
contents          138 lib/common/unittest.c         free(contents);