Lines Matching refs:contents
143 * contents in place already. If so, eat up the error. */
217 int read_full_stream(FILE *f, char **contents, size_t *size) {
223 assert(contents);
271 *contents = buf;
280 int read_full_file(const char *fn, char **contents, size_t *size) {
284 assert(contents);
290 return read_full_stream(f, contents, size);
302 _cleanup_free_ char *contents = NULL, *key = NULL;
325 r = read_full_stream(f, &contents, NULL);
327 r = read_full_file(fname, &contents, NULL);
331 for (p = contents; *p; p++) {