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

123

/bind-9.6-ESV-R11/bin/rndc/win32/
H A Dos.c45 safe_create(const char *filename) { argument
50 if (stat(filename, &sb) == -1) {
58 fd = open(filename, O_WRONLY | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR);
/bind-9.6-ESV-R11/bin/rndc/unix/
H A Dos.c47 safe_create(const char *filename) { argument
53 if (stat(filename, &sb) == -1) {
63 fd = open(filename, flags, S_IRUSR | S_IWUSR);
/bind-9.6-ESV-R11/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.6-ESV-R11/contrib/pkcs11-keygen/
H A DPEM_write_pubkey.c3 * usage: PEM_write_pubkey -e engine -p pin -k keyname -f filename
24 char *filename = NULL; local
41 filename = optarg;
53 if ((errflg) || (!engine) || (!filename) || (!keyname)) {
56 "-k keyname -f filename\n");
107 fp = fopen(filename, "w");
H A Dreadkey.c1 /* readkey [-s $slot] -l $label [-p $pin] -f $filename */
35 char *filename; local
77 filename = optarg;
85 if ((errflg) || (!label) || (!filename)) {
87 "usage: readkey [-s slot] -l label [-p pin] -f filename\n");
202 fp = fopen(filename, "w");
H A Dwritekey.c1 /* writekey [-s $slot] [-p $pin] -l $label -i $id -f $filename */
44 char *label = NULL, *filename = NULL; local
67 filename = optarg;
79 if ((errflg) || (!label) || (!id) || (!filename)) {
82 "-f filename\n");
107 fp = fopen(filename, "r");
/bind-9.6-ESV-R11/lib/dns/
H A Dgen-unix.h53 char *filename; member in struct:__anon88
73 dir->filename = NULL;
78 dir->filename = dirent->d_name;
81 if (dir->filename != NULL)
H A Dgen-win32.h221 char *filename; member in struct:__anon89
250 dir->filename = NULL;
253 dir->filename = dir->find_data.cFileName;
265 dir->filename = dir->find_data.cFileName;
267 dir->filename = NULL;
270 dir->filename = NULL;
272 if (dir->filename != NULL)
/bind-9.6-ESV-R11/lib/lwres/win32/
H A Dlwconfig.c91 lwres_conf_parse(lwres_context_t *ctx, const char *filename) { argument
104 ret = generic_lwres_conf_parse(ctx, filename);
/bind-9.6-ESV-R11/lib/isc/unix/
H A Dstdio.c31 isc_stdio_open(const char *filename, const char *mode, FILE **fp) { argument
34 f = fopen(filename, mode);
/bind-9.6-ESV-R11/lib/isc/win32/
H A Dstdio.c30 isc_stdio_open(const char *filename, const char *mode, FILE **fp) { argument
33 f = fopen(filename, mode);
/bind-9.6-ESV-R11/unit/atf-src/atf-sh/
H A Datf-sh.cpp53 fix_plain_name(const char *filename) argument
55 const atf::fs::path filepath(filename);
57 return std::string("./") + filename;
59 return std::string(filename);
64 construct_script(const char* filename) argument
75 ". " + fix_plain_name(filename) + " ; " +
/bind-9.6-ESV-R11/bin/tests/
H A Dcfg_test.c74 char *filename = NULL; local
117 filename = argv[1];
127 if (type == NULL || filename == NULL)
131 result = cfg_parse_file(pctx, filename, type, &cfg);
H A Dnsecify.c116 nsecify(char *filename) { argument
134 origintext = strrchr(filename, '/');
136 origintext = filename;
149 result = dns_db_load(db, filename);
188 len = strlen(filename);
190 fatal("filename too long");
191 sprintf(newfilename, "%s.new", filename);
H A Dzone_test.c86 setup(const char *zonename, const char *filename, const char *classname) { argument
97 zonename, filename, classname);
117 result = dns_zone_setfile(zone, filename);
245 char *filename = NULL; local
257 if (filename != NULL)
259 filename = isc_commandline_argument;
300 if (filename == NULL)
301 filename = argv[isc_commandline_index];
302 setup(argv[isc_commandline_index], filename, classname);
/bind-9.6-ESV-R11/contrib/sdb/dir/
H A Ddirdb.c67 char filename[255]; local
78 snprintf(filename, sizeof(filename), "%s", (char *)dbdata);
80 snprintf(filename, sizeof(filename), "%s/%s",
82 CHECKN(lstat(filename, &statbuf));
98 CHECKN(readlink(filename, filename2, sizeof(filename2) - 1));
/bind-9.6-ESV-R11/bin/check/
H A Dnamed-checkzone.c86 "%s zonename filename\n",
88 progmode == progmode_check ? "[-o filename]" : "{-o filename}");
104 char *filename = NULL; local
459 filename = argv[isc_commandline_index++];
460 result = load_zone(mctx, origin, filename, inputformat, classname,
/bind-9.6-ESV-R11/bin/dnssec/
H A Ddnssec-keyfromlabel.c101 char filename[255]; local
270 isc_buffer_init(&buf, filename, sizeof(filename) - 1);
303 program, filename);
321 printf("%s\n", filename);
H A Ddnssec-dsfromkey.c66 char filename[1024]; local
79 isc_buffer_init(&buf, filename, sizeof(filename));
105 result = dns_db_load(db, filename);
107 fatal("can't load %s: %s", filename, isc_result_totext(result));
111 fatal("can't find %s node in %s", setname, filename);
116 fatal("no DNSKEY RR for %s in %s", setname, filename);
122 loadkey(char *filename, unsigned char *key_buf, unsigned int key_buf_size, argument
135 result = dst_key_fromnamedfile(filename, DST_TYPE_PUBLIC, mctx, &key);
138 filename, isc_result_totex
[all...]
H A Ddnssec-keygen.c145 char filename[255]; local
478 isc_buffer_init(&buf, filename, sizeof(filename) - 1);
524 program, filename);
548 printf("%s\n", filename);
/bind-9.6-ESV-R11/bin/named/win32/
H A Dos.c179 safe_open(const char *filename, isc_boolean_t append) { argument
183 if (stat(filename, &sb) == -1) {
190 fd = open(filename, O_WRONLY|O_CREAT|O_APPEND,
193 (void)unlink(filename);
194 fd = open(filename, O_WRONLY|O_CREAT|O_EXCL,
210 ns_os_writepidfile(const char *filename, isc_boolean_t first_time) { argument
226 if (filename == NULL)
228 len = strlen(filename);
232 (*report)("couldn't malloc '%s': %s", filename, strbuf);
236 strcpy(pidfile, filename);
[all...]
/bind-9.6-ESV-R11/bin/tests/master/
H A Dt_master.c136 test_master_x(const char *filename) { argument
145 fp = fopen(filename, "r");
170 filename, line);
177 t_info("Missing datafile %s\n", filename);
/bind-9.6-ESV-R11/bin/win32/BINDInstall/
H A DVersionInfo.cpp20 CVersionInfo::CVersionInfo(CString filename) argument
28 m_filename = filename;
31 hFile = FindFirstFile(filename, &fd);
42 DWORD viSize = GetFileVersionInfoSize((LPTSTR)(LPCTSTR)filename, &handle);
54 if(!GetFileVersionInfo((LPTSTR)(LPCTSTR)filename, handle, viSize, m_versionInfo))
/bind-9.6-ESV-R11/contrib/sdb/sqlite/
H A Dsqlitedb.c53 char *filename; member in struct:_dbinfo
61 if (sqlite3_open(dbi->filename, &dbi->db) == SQLITE_OK) {
229 if (dbi->filename != NULL)
230 isc_mem_free(ns_g_mctx, dbi->filename);
270 dbi->filename = NULL;
273 STRDUP_OR_FAIL(dbi->filename, argv[0]);
H A Dzone2sqlite.c52 char *filename; member in struct:_dbinfo
82 if (sqlite3_open(dbi->filename, &dbi->db) == SQLITE_OK) {
174 dbi.filename = argv[3];
203 printf("Connecting to '%s'\n", dbi.filename);
207 dbi.filename);

Completed in 890 milliseconds

123