Lines Matching refs:contents
72 /** Prints the contents of a file to stdout.
112 /** Compares a file against the given golden contents.
115 * \param contents Expected contents of the file.
117 * \return True if the file matches the contents; false otherwise. */
119 atf_utils_compare_file(const char *name, const char *contents)
124 const char *pos = contents;
125 ssize_t remaining = strlen(contents);
178 * \param contents Text to write into the created file.
179 * \param ... Positional parameters to the contents. */
181 atf_utils_create_file(const char *name, const char *contents, ...)
187 va_start(ap, contents);
188 error = atf_dynstr_init_ap(&formatted, contents, ap);
379 * \param expout Expected contents of stdout.
380 * \param experr Expected contents of stderr. */