Searched defs:file (Results 1 - 25 of 59) sorted by relevance

123

/bind-9.6-ESV-R11/lib/isc/unix/
H A Derrno2result.c20 /*! \file */
37 isc___errno2result(int posixerrno, const char *file, unsigned int line) { argument
111 UNEXPECTED_ERROR(file, line, "unable to convert errno "
/bind-9.6-ESV-R11/lib/isc/win32/
H A Derrno2result.c35 isc__errno2resultx(int posixerrno, const char *file, int line) { argument
103 UNEXPECTED_ERROR(file, line, "unable to convert errno "
/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/lib/tests/
H A Dtestutil.c9 * By using this file, you agree to the terms and conditions set forth bellow.
23 * appear in each source code file, this License Terms and Conditions.
56 FILE *file; local
61 file = fopen(filename, "w");
62 if (file == NULL) {
63 fprintf(stderr, "failed to create config file `%s'\n",
75 fputc('\n', file);
76 fputs(arg, file);
79 fputc('\n', file);
81 fclose(file);
[all...]
/bind-9.6-ESV-R11/contrib/zkt/
H A Dzone.h3 ** @(#) zone.h -- Header file for zone info
49 const char *file; /* file name (zone.db) */ member in struct:Zone
50 const char *sfile; /* file name of secured zone (zone.db.signed) */
58 extern zone_t *zone_new (zone_t **zp, const char *zone, const char *dir, const char *file, const char *signed_ext, const zconf_t *cp);
H A Dzfparse.c3 ** @(#) zfparse.c -- A zone file parser
145 int addkeydb (const char *file, const char *keydbfile) argument
149 if ( (fp = fopen (file, "a")) == NULL )
162 ** parse the BIND zone file 'file' and store the minimum and
164 ** if keydbfile is set, check if this file is already include.
169 int parsezonefile (const char *file, long *pminttl, long *pmaxttl, const char *keydbfile) argument
180 assert (file != NULL);
184 dbg_val4 ("parsezonefile (\"%s\", %ld, %ld, \"%s\")\n", file, *pminttl, *pmaxttl, keydbfile);
186 if ( (infp = fopen (file, "
[all...]
H A Dzkt-conf.c5 ** A config file utility for the DNSSEC Zone Key Tool
104 const char *file; local
121 if ( fileexist (defconfname) ) /* load default config file */
123 dbg_val ("Load site wide config file \"%s\"\n", defconfname);
145 if ( fileexist (defconfname) ) /* load default config file */
166 usage ("empty config file name");
183 case 'l': /* local config file */
186 if ( fileexist (LOCALCONF_FILE) ) /* try to load local config file */
188 dbg_val ("Load local config file \"%s\"\n", LOCALCONF_FILE);
192 usage ("error: no local config file foun
[all...]
H A Dzone.c105 if ( zp->file ) free ((char *)zp->file);
140 zone_t *zone_new (zone_t **zp, const char *zone, const char *dir, const char *file, const char *signed_ext, const zconf_t *cp) argument
148 dbg_val3 ("zone_new: (zp, zone: %s, dir: %s, file: %s, cp)\n", zone, dir, file);
152 if ( file == NULL || *file == '\0' )
153 file = cp->zonefile;
155 { /* check if file contains a path */
157 if ( (p = strrchr (file, '/')) !
[all...]
H A Dlog.c104 ** lg_fileopen (path, name) -- open the log file
105 ** Name is a (absolute or relative) file or directory name.
108 ** returns the open file pointer or NULL on error
248 ** lg_open (prog, facility, syslevel, path, file, filelevel)
252 ** -1 on file open error
254 int lg_open (const char *progname, const char *facility, const char *syslevel, const char *path, const char *file, const char *filelevel) argument
258 dbg_val6 ("lg_open (%s, %s, %s, %s, %s, %s)\n", progname, facility, syslevel, path, file, filelevel);
270 if ( file && * file )
272 if ( (lg_fp = lg_fileopen (path, file))
[all...]
H A Dncparse.c74 { "file", TOK_FILE },
210 dbg_val ("parse_namedconf: parsing file \"%s\" \n", filename);
286 dbg_val4 ("dir %s view %s zone %s file %s\n", dir, view, zone, zonefile);
298 int printzone (const char *dir, const char *view, const char *zone, const char *file) argument
303 printf ("file ");
305 printf ("%s/", dir, file);
306 printf ("%s", file);
H A Drollover.c128 /* check if there is a local config file to get the name of the zone file */
130 if ( fileexist (path) ) /* parent dir has local config file ? */
135 /* build the path of the .signed zone file */
137 if ( conf != zp->conf ) /* if we read in a local config file.. */
141 /* currently we use the signed zone file name of the
142 * current directory for checking if the file exist.
143 * TODO: Instead we have to use the name of the zone file
149 /* hack: we are using the standard zone file name for a static zone here */
173 return fileexist (path); /* parent dir has zone.db.signed file
205 get_parent_phase(const char *file) argument
[all...]
H A Dzkt-ls.c127 static void parsefile (const char *file, dki_t **listp, int sub_before);
147 const char *file; local
160 if ( fileexist (defconfname) ) /* load default config file */
204 if ( fileexist (defconfname) ) /* load default config file */
282 file = config->zonedir; /* use default directory */
284 file = argv[c++];
286 if ( is_directory (file) )
287 parsedirectory (file, &data, subdomain_before_parent);
289 parsefile (file, &data, subdomain_before_parent);
326 sopt_usage ("\tusage: %s [-adefhkLprtzC] [-c config] [file|di
405 parsefile(const char *file, dki_t **listp, int sub_before) argument
[all...]
/bind-9.6-ESV-R11/lib/dns/tests/
H A Dnsec3_test.c19 /*! \file */
37 iteration_test(const char* file, unsigned int expected) { argument
45 result = dns_test_loaddb(&db, dns_dbtype_zone, "test", file);
/bind-9.6-ESV-R11/unit/atf-src/atf-c/detail/
H A Dsanity.c63 atf_sanity_inv(const char *file, int line, const char *cond) argument
65 fail("Invariant check failed at %s:%d: %s", file, line, cond);
69 atf_sanity_pre(const char *file, int line, const char *cond) argument
71 fail("Precondition check failed at %s:%d: %s", file, line, cond);
75 atf_sanity_post(const char *file, int line, const char *cond) argument
77 fail("Postcondition check failed at %s:%d: %s", file, line, cond);
/bind-9.6-ESV-R11/bin/tests/
H A Djournalprint.c20 /*! \file */
48 destination.file.stream = errout;
49 destination.file.name = NULL;
50 destination.file.versions = ISC_LOG_ROLLNEVER;
51 destination.file.maximum_size = 0;
65 char *file; local
75 file = argv[1];
80 result = dns_journal_print(mctx, file, stdout);
H A Dlwresconf_test.c57 const char *file = "/etc/resolv.conf"; local
65 file = argv[1];
83 if (lwres_conf_parse(ctx, file) == 0) {
/bind-9.6-ESV-R11/lib/isc/
H A Dassertions.c20 /*! \file */
46 isc_assertion_failed(const char *file, int line, isc_assertiontype_t type, argument
49 isc_assertion_failed_cb(file, line, type, cond);
98 default_callback(const char *file, int line, isc_assertiontype_t type, argument
102 file, line, isc_assertion_typetotext(type), cond,
H A Derror.c20 /*! \file */
61 isc_error_unexpected(const char *file, int line, const char *format, ...) { argument
65 (unexpected_callback)(file, line, format, args);
70 isc_error_fatal(const char *file, int line, const char *format, ...) { argument
74 (fatal_callback)(file, line, format, args);
80 isc_error_runtimecheck(const char *file, int line, const char *expression) { argument
81 isc_error_fatal(file, line, "RUNTIME_CHECK(%s) %s", expression,
87 default_unexpected_callback(const char *file, int line, const char *format, argument
90 fprintf(stderr, "%s:%d: ", file, line);
97 default_fatal_callback(const char *file, in argument
[all...]
/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/lib/
H A Dapi.c9 * By using this file, you agree to the terms and conditions set forth bellow.
23 * appear in each source code file, this License Terms and Conditions.
73 idn__setconffile(const char *file) { argument
77 TRACE(("idn__setconffile(%s)\n", (file == NULL) ? "<null>" : file));
84 if (file == NULL)
87 s = (char *)malloc(strlen(file) + 1);
92 strcpy(s, file);
H A Dfilechecker.c9 * By using this file, you agree to the terms and conditions set forth bellow.
23 * appear in each source code file, this License Terms and Conditions.
69 static idn_result_t read_file(const char *file, FILE *fp,
77 idn__filechecker_create(const char *file, idn__filechecker_t *ctxp) { argument
82 assert(file != NULL && ctxp != NULL);
84 TRACE(("idn__filechecker_create(file=\"%-.100s\")\n", file));
86 if ((fp = fopen(file, "r")) == NULL) {
88 file));
100 r = read_file(file, f
152 read_file(const char *file, FILE *fp, idn_ucsset_t set) argument
[all...]
H A Dfilemapper.c9 * By using this file, you agree to the terms and conditions set forth bellow.
23 * appear in each source code file, this License Terms and Conditions.
83 static idn_result_t read_file(const char *file, FILE *fp,
90 idn__filemapper_create(const char *file, idn__filemapper_t *ctxp) { argument
95 assert(file != NULL && ctxp != NULL);
97 TRACE(("idn__filemapper_create(file=\"%-.100s\")\n", file));
99 if ((fp = fopen(file, "r")) == NULL) {
101 file));
112 r = read_file(file, f
238 read_file(const char *file, FILE *fp, idn_ucsmap_t map) argument
[all...]
/bind-9.6-ESV-R11/contrib/queryperf/utils/
H A Dgen-data-queryperf.py10 # behaviour with NXdomain) and with domains from a real zone file."
56 sys.stdout.write(" [-m MAXSIZE] [-f zone-file]\n")
90 file = open(zone_file) variable
91 line = file.readline()
98 line = file.readline()
99 file.close()
/bind-9.6-ESV-R11/contrib/sdb/bdb/
H A Dzone2bdb.c46 * 'file' is a valid non-existant path.
49 bdb_init(const char *file) argument
55 REQUIRE(db->open(db, file, NULL, DB_HASH, DB_CREATE | DB_EXCL, 0) == 0);
/bind-9.6-ESV-R11/lib/isc/pthreads/
H A Dmutex.c20 /*! \file */
62 const char * file; member in struct:__anon187
70 const char * file; /*%< File mutex was created in. */ member in struct:isc_mutexstats
90 isc_mutex_init_profile(isc_mutex_t *mp, const char *file, int line) { argument
117 mp->stats->file = file;
123 mp->stats->lockers[i].file = NULL;
134 isc_mutex_lock_profile(isc_mutex_t *mp, const char *file, int line) { argument
154 if (mp->stats->lockers[i].file == NULL) {
156 locker->file
177 isc_mutex_unlock_profile(isc_mutex_t *mp, const char *file, int line) argument
259 isc__mutex_init(isc_mutex_t *mp, const char *file, unsigned int line) argument
[all...]
/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/tools/idnconv/
H A Dutil.c9 * By using this file, you agree to the terms and conditions set forth bellow.
23 * appear in each source code file, this License Terms and Conditions.
272 load_conf_file(idn_resconf_t conf, const char *file) { argument
275 if ((r = idn_resconf_loadfile(conf, file)) != idn_success) {
276 errormsg("error reading configuration file: %s\n",
293 errormsg("cannot read alias file %s: %s\n",
/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/wsock/common/
H A Dencoding.c16 * By using this file, you agree to the terms and conditions set forth bellow.
30 * appear in each source code file, this License Terms and Conditions.
215 * idnGetLogFile - refer to log file
218 idnGetLogFile(char *file, size_t len) argument
220 BOOL v = GetStringFromRegistry(IDNVAL_LOGFILE, file, len,
224 (v == TRUE) ? file : "<none>");

Completed in 62 milliseconds

123