Searched defs:filename (Results 1 - 25 of 71) sorted by relevance

123

/bind-9.11.3/contrib/idn/idnkit-1.0-src/lib/tests/
H A Dtestutil.c55 create_conf_file(const char *filename, unsigned int flags, ...) { argument
61 file = fopen(filename, "w");
64 filename);
/bind-9.11.3/lib/lwres/win32/
H A Dlwconfig.c82 lwres_conf_parse(lwres_context_t *ctx, const char *filename) { argument
95 ret = generic_lwres_conf_parse(ctx, filename);
/bind-9.11.3/lib/dns/
H A Dgen-unix.h44 char *filename; member in struct:__anon109
64 dir->filename = NULL;
69 dir->filename = dirent->d_name;
72 if (dir->filename != NULL)
H A Dgen-win32.h212 char *filename; member in struct:__anon110
241 dir->filename = NULL;
244 dir->filename = dir->find_data.cFileName;
256 dir->filename = dir->find_data.cFileName;
258 dir->filename = NULL;
261 dir->filename = NULL;
263 if (dir->filename != NULL)
H A Drootns.c195 const char *filename, dns_db_t **target)
218 if (filename != NULL) {
220 * Load the hints from the specified filename.
222 result = dns_master_loadfile(filename, &db->origin,
245 (filename != NULL) ? filename : "<BUILT-IN>");
252 "'%s': %s", (filename != NULL) ? filename : "<BUILT-IN>",
194 dns_rootns_create(isc_mem_t *mctx, dns_rdataclass_t rdclass, const char *filename, dns_db_t **target) argument
/bind-9.11.3/lib/isc/tests/
H A Dfile_test.c39 touch(const char *filename) { argument
42 unlink(filename);
43 fd = creat(filename, 0644);
/bind-9.11.3/bin/tools/
H A Dgenrandom.c34 generate(char *filename, unsigned int bytes) { argument
37 fp = fopen(filename, "w");
39 printf("failed to open %s\n", filename);
51 printf("error writing to %s\n", filename);
56 printf("error writing to %s\n", filename);
/bind-9.11.3/lib/isc/unix/
H A Dstdio.c23 isc_stdio_open(const char *filename, const char *mode, FILE **fp) { argument
26 f = fopen(filename, mode);
/bind-9.11.3/lib/isc/win32/
H A Dstdio.c25 isc_stdio_open(const char *filename, const char *mode, FILE **fp) { argument
28 f = fopen(filename, mode);
H A Dfsaccess.c58 char filename[1024]; local
60 REQUIRE(filename != NULL);
62 if (isc_file_absolutepath(file, filename,
63 sizeof(filename)) != ISC_R_SUCCESS) {
71 if (isalpha(filename[0]) && filename[1] == ':' &&
72 (filename[2] == '\\' || filename[2] == '/')) {
74 strlcpy(drive, filename, ISC_MIN(3 + 1, sizeof(drive)));
75 } else if ((filename[
143 NTFS_Access_Control(const char *filename, const char *user, int access, isc_boolean_t isdir) argument
315 isc_fsaccess_changeowner(const char *filename, const char *user) argument
[all...]
/bind-9.11.3/contrib/sdb/dir/
H A Ddirdb.c65 char filename[255]; local
80 snprintf(filename, sizeof(filename), "%s", (char *)dbdata);
82 snprintf(filename, sizeof(filename), "%s/%s",
84 CHECKN(lstat(filename, &statbuf));
100 CHECKN(readlink(filename, filename2, sizeof(filename2) - 1));
/bind-9.11.3/bin/dnssec/
H A Ddnssec-revoke.c81 char const *filename = NULL; local
166 filename = argv[isc_commandline_index];
169 &dir, &filename);
171 fatal("cannot process filename %s: %s",
192 result = dst_key_fromnamedfile(filename, dir,
197 filename, isc_result_totext(result));
/bind-9.11.3/bin/tests/
H A Dcfg_test.c67 char *filename = NULL; local
141 filename = argv[1];
153 if (type == NULL || filename == NULL)
157 result = cfg_parse_file(pctx, filename, type, &cfg);
H A Dmakejournal.c58 loadzone(dns_db_t **db, const char *origin, const char *filename) { argument
75 result = dns_db_load(*db, filename);
H A Dnsecify.c107 nsecify(char *filename) { argument
125 origintext = strrchr(filename, '/');
127 origintext = filename;
140 result = dns_db_load(db, filename);
179 len = strlen(filename);
181 fatal("filename too long");
182 snprintf(newfilename, sizeof(newfilename), "%s.new", filename);
H A Dzone_test.c78 setup(const char *zonename, const char *filename, const char *classname) { argument
89 zonename, filename, classname);
109 result = dns_zone_setfile(zone, filename);
237 char *filename = NULL; local
249 if (filename != NULL)
251 filename = isc_commandline_argument;
292 if (filename == NULL)
293 filename = argv[isc_commandline_index];
294 setup(argv[isc_commandline_index], filename, classname);
/bind-9.11.3/bin/tests/system/rsabigexponent/
H A Dbigkey.c133 char filename[255]; variable
221 isc_buffer_init(&buf, filename, sizeof(filename) - 1);
225 printf("%s\n", filename);
/bind-9.11.3/unit/atf-src/atf-sh/
H A Datf-sh.cpp48 fix_plain_name(const char *filename) argument
50 const atf::fs::path filepath(filename);
52 return std::string("./") + filename;
54 return std::string(filename);
59 construct_script(const char* filename) argument
72 ". " + fix_plain_name(filename) + " ; " +
/bind-9.11.3/lib/irs/
H A Ddnsconf.c182 irs_dnsconf_load(isc_mem_t *mctx, const char *filename, irs_dnsconf_t **confp) argument
202 if (!isc_file_exists(filename))
209 result = cfg_parse_file(parser, filename, &cfg_type_dnsconf,
/bind-9.11.3/contrib/dnsperf-2.1.0.0-1/
H A Ddatafile.c61 perf_datafile_open(isc_mem_t *mctx, const char *filename) argument
80 if (filename == NULL) {
83 dfile->fd = open(filename, O_RDONLY);
85 perf_log_fatal("unable to open file: %s", filename);
/bind-9.11.3/lib/dns/tests/
H A Dmaster_test.c133 include_callback(const char *filename, void *arg) { argument
135 *argp = isc_mem_strdup(mctx, filename);
371 char *filename = NULL; local
385 &filename, mctx, dns_masterformat_text);
387 ATF_CHECK(filename != NULL);
388 if (filename != NULL) {
389 ATF_CHECK_STREQ(filename, "testdata/master/master7.data");
390 isc_mem_free(mctx, filename);
/bind-9.11.3/lib/lwres/
H A Dlwconfig.c20 * lwres_conf_parse() opens the file filename and parses it to initialise
29 * parsed filename. It returns #LWRES_R_FAILURE if filename could not be
614 lwres_conf_parse(lwres_context_t *ctx, const char *filename) { argument
624 REQUIRE(filename != NULL);
625 REQUIRE(strlen(filename) > 0U);
629 if ((fp = fopen(filename, "r")) == NULL)
/bind-9.11.3/bin/win32/BINDInstall/
H A DVersionInfo.cpp22 CVersionInfo::CVersionInfo(CString filename) argument
30 m_filename = filename;
33 hFile = FindFirstFile(filename, &fd);
44 DWORD viSize = GetFileVersionInfoSize((LPTSTR)(LPCTSTR)filename, &handle);
56 if(!GetFileVersionInfo((LPTSTR)(LPCTSTR)filename, handle, viSize, m_versionInfo))
/bind-9.11.3/contrib/sdb/sqlite/
H A Dsqlitedb.c44 char *filename; member in struct:_dbinfo
52 if (sqlite3_open(dbi->filename, &dbi->db) == SQLITE_OK) {
230 if (dbi->filename != NULL)
231 isc_mem_free(ns_g_mctx, dbi->filename);
271 dbi->filename = NULL;
274 STRDUP_OR_FAIL(dbi->filename, argv[0]);
H A Dzone2sqlite.c41 char *filename; member in struct:_dbinfo
71 if (sqlite3_open(dbi->filename, &dbi->db) == SQLITE_OK) {
163 dbi.filename = argv[3];
192 printf("Connecting to '%s'\n", dbi.filename);
196 dbi.filename);

Completed in 31 milliseconds

123