contents 33 include/crm/common/io_internal.h int pcmk__file_contents(const char *filename, char **contents); contents 34 include/crm/common/io_internal.h int pcmk__write_sync(int fd, const char *contents); contents 432 lib/common/io.c pcmk__file_contents(const char *filename, char **contents) contents 438 lib/common/io.c if ((filename == NULL) || (contents == NULL)) { contents 455 lib/common/io.c *contents = NULL; contents 457 lib/common/io.c *contents = calloc(length + 1, sizeof(char)); contents 458 lib/common/io.c if (*contents == NULL) { contents 464 lib/common/io.c read_len = fread(*contents, 1, length, fp); contents 466 lib/common/io.c free(*contents); contents 467 lib/common/io.c *contents = NULL; contents 473 lib/common/io.c (*contents)[length] = '\0'; contents 494 lib/common/io.c pcmk__write_sync(int fd, const char *contents) contents 502 lib/common/io.c if ((contents != NULL) && (fprintf(fp, "%s", contents) < 0)) { contents 373 lib/common/mock.c const char *contents = NULL; contents 379 lib/common/mock.c contents = mock_ptr_type(const char *); contents 382 lib/common/mock.c strncpy(buf, contents, bufsize - 1); contents 383 lib/common/mock.c return strlen(contents); contents 303 maint/gnulib/lib/git-merge-changelog.c char *contents = read_file (filename, 0, &length); contents 304 maint/gnulib/lib/git-merge-changelog.c if (contents == NULL) contents 321 maint/gnulib/lib/git-merge-changelog.c char *contents_end = contents + length; contents 322 maint/gnulib/lib/git-merge-changelog.c char *start = contents; contents 26 maint/gnulib/lib/gl_anyavltree_list2.h create_subtree_with_contents (size_t count, const void **contents) contents 38 maint/gnulib/lib/gl_anyavltree_list2.h node->left = create_subtree_with_contents (half1, contents); contents 46 maint/gnulib/lib/gl_anyavltree_list2.h node->value = contents[half1]; contents 50 maint/gnulib/lib/gl_anyavltree_list2.h node->right = create_subtree_with_contents (half2, contents + half1 + 1); contents 82 maint/gnulib/lib/gl_anyavltree_list2.h size_t count, const void **contents) contents 111 maint/gnulib/lib/gl_anyavltree_list2.h list->root = create_subtree_with_contents (count, contents); contents 83 maint/gnulib/lib/gl_anylinked_list2.h size_t count, const void **contents) contents 113 maint/gnulib/lib/gl_anylinked_list2.h for (; count > 0; contents++, count--) contents 121 maint/gnulib/lib/gl_anylinked_list2.h node->value = *contents; contents 29 maint/gnulib/lib/gl_anyrbtree_list2.h size_t count, const void **contents) contents 44 maint/gnulib/lib/gl_anyrbtree_list2.h create_subtree_with_contents (bh - 1, half1, contents); contents 52 maint/gnulib/lib/gl_anyrbtree_list2.h node->value = contents[half1]; contents 59 maint/gnulib/lib/gl_anyrbtree_list2.h create_subtree_with_contents (bh - 1, half2, contents + half1 + 1); contents 87 maint/gnulib/lib/gl_anyrbtree_list2.h size_t count, const void **contents) contents 126 maint/gnulib/lib/gl_anyrbtree_list2.h list->root = create_subtree_with_contents (bh, count, contents); contents 80 maint/gnulib/lib/gl_array_list.c size_t count, const void **contents) contents 100 maint/gnulib/lib/gl_array_list.c memcpy (list->elements, contents, count * sizeof (const void *)); contents 84 maint/gnulib/lib/gl_carray_list.c size_t count, const void **contents) contents 104 maint/gnulib/lib/gl_carray_list.c memcpy (list->elements, contents, count * sizeof (const void *)); contents 183 maint/gnulib/lib/gl_list.h size_t count, const void **contents) contents 192 maint/gnulib/lib/gl_list.h size_t count, const void **contents) contents 528 maint/gnulib/lib/gl_list.h size_t count, const void **contents); contents 622 maint/gnulib/lib/gl_list.h size_t count, const void **contents) contents 626 maint/gnulib/lib/gl_list.h contents); contents 83 maint/gnulib/lib/gl_list.hh size_t count, ELTYPE **contents) contents 89 maint/gnulib/lib/gl_list.hh count, contents)) contents 63 maint/gnulib/lib/gl_sublist.c size_t count, const void **contents) contents 52 maint/gnulib/lib/gl_xlist.h size_t count, const void **contents) contents 101 maint/gnulib/lib/gl_xlist.h size_t count, const void **contents) contents 105 maint/gnulib/lib/gl_xlist.h allow_duplicates, count, contents); contents 575 maint/gnulib/lib/javacomp.c const char *contents) contents 587 maint/gnulib/lib/javacomp.c fputs (contents, fp); contents 2655 maint/gnulib/lib/localename.c char contents[FLEXIBLE_ARRAY_MEMBER]; contents 2677 maint/gnulib/lib/localename.c if (strcmp (p->contents, string) == 0) contents 2678 maint/gnulib/lib/localename.c return p->contents; contents 2682 maint/gnulib/lib/localename.c malloc (FLEXSIZEOF (struct struniq_hash_node, contents, size)); contents 2686 maint/gnulib/lib/localename.c memcpy (new_node->contents, string, size); contents 2694 maint/gnulib/lib/localename.c if (strcmp (p->contents, string) == 0) contents 2708 maint/gnulib/lib/localename.c return new_node->contents; contents 138 maint/gnulib/lib/obstack.c h->next_free = h->object_base = __PTR_ALIGN ((char *) chunk, chunk->contents, contents 208 maint/gnulib/lib/obstack.c __PTR_ALIGN ((char *) new_chunk, new_chunk->contents, h->alignment_mask); contents 218 maint/gnulib/lib/obstack.c == __PTR_ALIGN ((char *) old_chunk, old_chunk->contents, contents 170 maint/gnulib/lib/obstack.h char contents[__FLEXIBLE_ARRAY_MEMBER]; /* objects begin here */ contents 321 maint/gnulib/lib/obstack.h __o->chunk->contents, \ contents 449 maint/gnulib/lib/obstack.h (h)->chunk->contents, \ contents 284 maint/gnulib/lib/string-buffer.c char *contents = buffer->data; contents 287 maint/gnulib/lib/string-buffer.c contents = realloc (contents, buffer->length); contents 288 maint/gnulib/lib/string-buffer.c if (contents == NULL) contents 291 maint/gnulib/lib/string-buffer.c return contents; contents 33 maint/gnulib/lib/symlink.c rpl_symlink (char const *contents, char const *name) contents 43 maint/gnulib/lib/symlink.c return symlink (contents, name); contents 50 maint/gnulib/lib/symlink.c symlink (_GL_UNUSED char const *contents, contents 36 maint/gnulib/lib/symlinkat.c rpl_symlinkat (char const *contents, int fd, char const *name) contents 47 maint/gnulib/lib/symlinkat.c return symlinkat (contents, fd, name); contents 69 maint/gnulib/lib/symlinkat.c symlink_reversed (char const *file, char const *contents) contents 71 maint/gnulib/lib/symlinkat.c return symlink (contents, file); contents 77 maint/gnulib/lib/symlinkat.c symlinkat_reversed (int fd, char const *file, char const *contents); contents 81 maint/gnulib/lib/symlinkat.c # define AT_FUNC_POST_FILE_PARAM_DECLS , char const *contents contents 82 maint/gnulib/lib/symlinkat.c # define AT_FUNC_POST_FILE_ARGS , contents contents 96 maint/gnulib/lib/symlinkat.c symlinkat (char const *contents, int fd, char const *file) contents 98 maint/gnulib/lib/symlinkat.c return symlinkat_reversed (fd, file, contents); contents 2059 maint/gnulib/lib/unistd.in.h _GL_FUNCDECL_RPL (symlink, int, (char const *contents, char const *file) contents 2061 maint/gnulib/lib/unistd.in.h _GL_CXXALIAS_RPL (symlink, int, (char const *contents, char const *file)); contents 2064 maint/gnulib/lib/unistd.in.h _GL_FUNCDECL_SYS (symlink, int, (char const *contents, char const *file) contents 2067 maint/gnulib/lib/unistd.in.h _GL_CXXALIAS_SYS (symlink, int, (char const *contents, char const *file)); contents 2086 maint/gnulib/lib/unistd.in.h (char const *contents, int fd, char const *file) contents 2089 maint/gnulib/lib/unistd.in.h (char const *contents, int fd, char const *file)); contents 2093 maint/gnulib/lib/unistd.in.h (char const *contents, int fd, char const *file) contents 2097 maint/gnulib/lib/unistd.in.h (char const *contents, int fd, char const *file)); contents 94 maint/gnulib/tests/test-array_list.c const void **contents = contents 100 maint/gnulib/tests/test-array_list.c contents[i] = RANDOM_OBJECT (); contents 104 maint/gnulib/tests/test-array_list.c initial_size, contents); contents 110 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_nx_add_last (list2, contents[i]) != NULL); contents 377 maint/gnulib/tests/test-array_list.c free (contents); contents 315 maint/gnulib/tests/test-asyncsafe-linked_list-strong.c const void **contents = contents 320 maint/gnulib/tests/test-asyncsafe-linked_list-strong.c contents[i] = RANDOM_OBJECT (); contents 325 maint/gnulib/tests/test-asyncsafe-linked_list-strong.c ASSERT (gl_list_nx_add_first (list1, contents[i]) != NULL); contents 330 maint/gnulib/tests/test-asyncsafe-linked_list-strong.c ASSERT (gl_list_nx_add_last (list2, contents[i]) != NULL); contents 334 maint/gnulib/tests/test-asyncsafe-linked_list-strong.c initial_sum += (uintptr_t) contents[i]; contents 440 maint/gnulib/tests/test-asyncsafe-linked_list-weak.c const void **contents = contents 445 maint/gnulib/tests/test-asyncsafe-linked_list-weak.c contents[i] = RANDOM_OBJECT (); contents 450 maint/gnulib/tests/test-asyncsafe-linked_list-weak.c ASSERT (gl_list_nx_add_first (list1, contents[i]) != NULL); contents 455 maint/gnulib/tests/test-asyncsafe-linked_list-weak.c ASSERT (gl_list_nx_add_last (list2, contents[i]) != NULL); contents 100 maint/gnulib/tests/test-avltree_list.c const void **contents = contents 106 maint/gnulib/tests/test-avltree_list.c contents[i] = RANDOM_OBJECT (); contents 110 maint/gnulib/tests/test-avltree_list.c initial_size, contents); contents 116 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_nx_add_last (list2, contents[i]) != NULL); contents 120 maint/gnulib/tests/test-avltree_list.c initial_size, contents); contents 459 maint/gnulib/tests/test-avltree_list.c free (contents); contents 127 maint/gnulib/tests/test-avltreehash_list.c const void **contents = contents 133 maint/gnulib/tests/test-avltreehash_list.c contents[i] = RANDOM_OBJECT (); contents 138 maint/gnulib/tests/test-avltreehash_list.c initial_size, contents); contents 145 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_nx_add_last (list2, contents[i]) != NULL); contents 150 maint/gnulib/tests/test-avltreehash_list.c initial_size, contents); contents 489 maint/gnulib/tests/test-avltreehash_list.c free (contents); contents 96 maint/gnulib/tests/test-carray_list.c const void **contents = contents 102 maint/gnulib/tests/test-carray_list.c contents[i] = RANDOM_OBJECT (); contents 106 maint/gnulib/tests/test-carray_list.c initial_size, contents); contents 112 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_nx_add_last (list2, contents[i]) != NULL); contents 116 maint/gnulib/tests/test-carray_list.c initial_size, contents); contents 455 maint/gnulib/tests/test-carray_list.c free (contents); contents 224 maint/gnulib/tests/test-execute-main.c char *contents = read_file (BASE ".tmp", 0, &length); contents 225 maint/gnulib/tests/test-execute-main.c ASSERT (length == 3 && memcmp (contents, "bar", 3) == 0); contents 276 maint/gnulib/tests/test-execute-main.c char *contents = read_file (BASE ".tmp", 0, &length); contents 277 maint/gnulib/tests/test-execute-main.c ASSERT (length == 3 && memcmp (contents, "bar", 3) == 0); contents 395 maint/gnulib/tests/test-execute-main.c char *contents = read_file (BASE ".tmp", 0, &length); contents 396 maint/gnulib/tests/test-execute-main.c ASSERT (length == 6 && memcmp (contents, "Foobar", 6) == 0); contents 87 maint/gnulib/tests/test-execute-script.c char *contents = read_file (DATA_FILENAME, 0, &length); contents 88 maint/gnulib/tests/test-execute-script.c ASSERT (length == 11 && memcmp (contents, "Halle Potta", 11) == 0); contents 96 maint/gnulib/tests/test-linked_list.c const void **contents = contents 102 maint/gnulib/tests/test-linked_list.c contents[i] = RANDOM_OBJECT (); contents 106 maint/gnulib/tests/test-linked_list.c initial_size, contents); contents 112 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_nx_add_last (list2, contents[i]) != NULL); contents 116 maint/gnulib/tests/test-linked_list.c initial_size, contents); contents 455 maint/gnulib/tests/test-linked_list.c free (contents); contents 123 maint/gnulib/tests/test-linkedhash_list.c const void **contents = contents 129 maint/gnulib/tests/test-linkedhash_list.c contents[i] = RANDOM_OBJECT (); contents 134 maint/gnulib/tests/test-linkedhash_list.c initial_size, contents); contents 141 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_nx_add_last (list2, contents[i]) != NULL); contents 146 maint/gnulib/tests/test-linkedhash_list.c initial_size, contents); contents 485 maint/gnulib/tests/test-linkedhash_list.c free (contents); contents 100 maint/gnulib/tests/test-rbtree_list.c const void **contents = contents 106 maint/gnulib/tests/test-rbtree_list.c contents[i] = RANDOM_OBJECT (); contents 110 maint/gnulib/tests/test-rbtree_list.c initial_size, contents); contents 116 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_nx_add_last (list2, contents[i]) != NULL); contents 120 maint/gnulib/tests/test-rbtree_list.c initial_size, contents); contents 459 maint/gnulib/tests/test-rbtree_list.c free (contents); contents 127 maint/gnulib/tests/test-rbtreehash_list.c const void **contents = contents 133 maint/gnulib/tests/test-rbtreehash_list.c contents[i] = RANDOM_OBJECT (); contents 138 maint/gnulib/tests/test-rbtreehash_list.c initial_size, contents); contents 145 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_nx_add_last (list2, contents[i]) != NULL); contents 150 maint/gnulib/tests/test-rbtreehash_list.c initial_size, contents); contents 489 maint/gnulib/tests/test-rbtreehash_list.c free (contents); contents 85 maint/gnulib/tests/test-readlinkat.c const char *contents = "don't matter!"; contents 86 maint/gnulib/tests/test-readlinkat.c ssize_t exp = strlen (contents); contents 89 maint/gnulib/tests/test-readlinkat.c ASSERT (symlinkat (contents, AT_FDCWD, BASE "link") == 0); contents 91 maint/gnulib/tests/test-readlinkat.c ASSERT (symlinkat (contents, dfd, BASE "link") == -1); contents 98 maint/gnulib/tests/test-readlinkat.c ASSERT (strncmp (contents, buf, exp) == 0); contents 102 maint/gnulib/tests/test-readlinkat.c ASSERT (symlinkat (contents, dfd, BASE "link") == 0); contents 105 maint/gnulib/tests/test-readlinkat.c ASSERT (symlinkat (contents, AT_FDCWD, BASE "link") == -1); contents 109 maint/gnulib/tests/test-readlinkat.c ASSERT (strncmp (contents, buf, exp) == 0); contents 112 maint/gnulib/tests/test-readlinkat.c ASSERT (strncmp (contents, buf, exp) == 0); contents 48 maint/gnulib/tests/test-symlinkat.c do_symlink (char const *contents, char const *name) contents 50 maint/gnulib/tests/test-symlinkat.c return symlinkat (contents, dfd, name);