Searched defs:contents (Results 1 - 4 of 4) sorted by relevance

/bind-9.11.3/unit/atf-src/atf-c++/
H A Dutils.cpp48 atf::utils::compare_file(const std::string& path, const std::string& contents) argument
50 return atf_utils_compare_file(path.c_str(), contents.c_str());
54 atf::utils::create_file(const std::string& path, const std::string& contents) argument
56 atf_utils_create_file(path.c_str(), "%s", contents.c_str());
/bind-9.11.3/unit/atf-src/atf-c/
H A Dutils.c96 /** Prints the contents of a file to stdout.
136 /** Compares a file against the given golden contents.
139 * \param contents Expected contents of the file.
141 * \return True if the file matches the contents; false otherwise. */
143 atf_utils_compare_file(const char *name, const char *contents) argument
148 const char *pos = contents;
149 ssize_t remaining = strlen(contents);
202 * \param contents Text to write into the created file.
203 * \param ... Positional parameters to the contents
205 atf_utils_create_file(const char *name, const char *contents, ...) argument
[all...]
/bind-9.11.3/unit/atf-src/tools/
H A Dtest_program_test.cpp78 write_test_case_result(const char *results_path, const std::string& contents) argument
83 results_file << contents; local
/bind-9.11.3/lib/isccfg/
H A Dparser.c73 create_string(cfg_parser_t *pctx, const char *contents, const cfg_type_t *type,
982 create_string(cfg_parser_t *pctx, const char *contents, const cfg_type_t *type, argument
990 len = strlen(contents);
997 memmove(obj->value.string.base, contents, len);

Completed in 18 milliseconds