HomeSort by: relevance | last modified time | path
    Searched refs:zfile (Results 1 - 14 of 14) sorted by relevancy

  /src/external/bsd/nsd/dist/
ixfrcreate.h 35 struct ixfr_create* ixfr_create_start(struct zone* zone, const char* zfile,
46 int append_mem, struct nsd* nsd, const char* zfile,
55 int ixfr_create_from_difference(struct zone* zone, const char* zfile,
59 void ixfr_readup_exist(struct zone* zone, struct nsd* nsd, const char* zfile);
ixfr.h 228 void ixfr_write_to_file(struct zone* zone, const char* zfile);
231 void ixfr_read_from_file(struct nsd* nsd, struct zone* zone, const char* zfile);
238 const char* zfile, int file_num);
241 int ixfr_file_exists(const char* zfile, int file_num);
244 int ixfr_rename_it(const char* zname, const char* zfile, int oldnum,
248 int ixfr_read_file_header(const char* zname, const char* zfile,
253 int ixfr_unlink_it(const char* zname, const char* zfile, int file_num,
257 void ixfr_delete_superfluous_files(struct zone* zone, const char* zfile,
dbcreate.c 178 const char* zfile; local
190 zfile = config_make_zonefile(zopt, nsd);
191 if(!create_path_components(zfile, &notexist)) {
193 "the path could not be created", zopt->name, zfile);
202 /* write to zfile~ first, then rename if that works */
203 snprintf(bakfile, sizeof(bakfile), "%s~", zfile);
209 zone->opts->name, zfile));
214 if(rename(bakfile, zfile) == -1) {
216 bakfile, zfile, strerror(errno));
222 zone->opts->name, zfile));
    [all...]
ixfrcreate.c 177 const char* zfile)
180 snprintf(buf, sizeof(buf), "%s.spoolzone.%u", zfile,
189 struct ixfr_create* ixfr_create_start(struct zone* zone, const char* zfile,
208 if(!create_ixfr_spool_name(ixfrcr, zfile)) {
826 const char* zfile, int checknew, uint32_t old_serial,
831 if(!ixfr_read_file_header(zone->opts->name, zfile, 1, &file_oldserial,
839 zfile);
847 const char* zfile, int file_num, size_t* data_size)
850 if(!ixfr_read_file_header(zname, zfile, file_num, &file_oldserial,
861 struct zone* zone, const char* zfile, int checknew
    [all...]
ixfr.c 1644 static void make_ixfr_name(char* buf, size_t len, const char* zfile,
1648 snprintf(buf, len, "%s.ixfr", zfile);
1649 else snprintf(buf, len, "%s.ixfr.%d", zfile, file_num);
1653 static void make_ixfr_name_temp(char* buf, size_t len, const char* zfile,
1657 snprintf(buf, len, "%s.ixfr%s", zfile, (temp?".temp":""));
1658 else snprintf(buf, len, "%s.ixfr.%d%s", zfile, file_num,
1663 static int ixfr_file_exists_ctmp(const char* zfile, int file_num, int temp)
1667 make_ixfr_name_temp(ixfrfile, sizeof(ixfrfile), zfile, file_num, temp);
1678 int ixfr_file_exists(const char* zfile, int file_num)
1680 return ixfr_file_exists_ctmp(zfile, file_num, 0)
    [all...]
  /src/common/dist/zlib/contrib/pascal/
example.pas 87 zfile: gzFile;
92 zfile := gzopen(fname, 'wb');
93 if zfile = NIL then
98 gzputc(zfile, 'h');
99 if gzputs(zfile, 'ello') <> 4 then
101 WriteLn('gzputs err: ', gzerror(zfile, err));
105 if gzprintf(zfile, ', %s!', 'hello') <> 8 then
107 WriteLn('gzprintf err: ', gzerror(zfile, err));
111 if gzputs(zfile, ', hello!') <> 8 then
113 WriteLn('gzputs err: ', gzerror(zfile, err))
    [all...]
  /src/external/gpl3/binutils/dist/zlib/contrib/pascal/
example.pas 87 zfile: gzFile;
92 zfile := gzopen(fname, 'wb');
93 if zfile = NIL then
98 gzputc(zfile, 'h');
99 if gzputs(zfile, 'ello') <> 4 then
101 WriteLn('gzputs err: ', gzerror(zfile, err));
105 if gzprintf(zfile, ', %s!', 'hello') <> 8 then
107 WriteLn('gzprintf err: ', gzerror(zfile, err));
111 if gzputs(zfile, ', hello!') <> 8 then
113 WriteLn('gzputs err: ', gzerror(zfile, err))
    [all...]
  /src/external/gpl3/binutils.old/dist/zlib/contrib/pascal/
example.pas 87 zfile: gzFile;
92 zfile := gzopen(fname, 'wb');
93 if zfile = NIL then
98 gzputc(zfile, 'h');
99 if gzputs(zfile, 'ello') <> 4 then
101 WriteLn('gzputs err: ', gzerror(zfile, err));
105 if gzprintf(zfile, ', %s!', 'hello') <> 8 then
107 WriteLn('gzprintf err: ', gzerror(zfile, err));
111 if gzputs(zfile, ', hello!') <> 8 then
113 WriteLn('gzputs err: ', gzerror(zfile, err))
    [all...]
  /src/external/gpl3/gdb/dist/zlib/contrib/pascal/
example.pas 87 zfile: gzFile;
92 zfile := gzopen(fname, 'wb');
93 if zfile = NIL then
98 gzputc(zfile, 'h');
99 if gzputs(zfile, 'ello') <> 4 then
101 WriteLn('gzputs err: ', gzerror(zfile, err));
105 if gzprintf(zfile, ', %s!', 'hello') <> 8 then
107 WriteLn('gzprintf err: ', gzerror(zfile, err));
111 if gzputs(zfile, ', hello!') <> 8 then
113 WriteLn('gzputs err: ', gzerror(zfile, err))
    [all...]
  /src/external/gpl3/gdb.old/dist/zlib/contrib/pascal/
example.pas 87 zfile: gzFile;
92 zfile := gzopen(fname, 'wb');
93 if zfile = NIL then
98 gzputc(zfile, 'h');
99 if gzputs(zfile, 'ello') <> 4 then
101 WriteLn('gzputs err: ', gzerror(zfile, err));
105 if gzprintf(zfile, ', %s!', 'hello') <> 8 then
107 WriteLn('gzprintf err: ', gzerror(zfile, err));
111 if gzputs(zfile, ', hello!') <> 8 then
113 WriteLn('gzputs err: ', gzerror(zfile, err))
    [all...]
  /src/external/bsd/unbound/dist/testcode/
unitzonemd.c 64 static void zonemd_generate_test(const char* zname, char* zfile,
91 z = authtest_addzone(az, zname, zfile);
182 char* zfile = SRCDIRSTR "/testdata/zonemd.example1.zone"; local
209 z = authtest_addzone(az, zname, zfile);
254 static void zonemd_verify_test(char* zname, char* zfile, char* tastr,
305 z = authtest_addzone(env.auth_zones, zname, zfile);
307 fatal_exit("could not addzone %s %s", zname, zfile);
  /src/external/mpl/bind/dist/bin/check/
named-checkconf.c 143 configure_hint(const char *zfile, const char *zclass, isc_mem_t *mctx) {
149 if (zfile == NULL) {
160 result = dns_rootns_create(mctx, rdclass, zfile, &db);
178 const char *zfile = NULL; local
253 zfile = cfg_obj_asstring(fileobj);
262 return configure_hint(zfile, zclass, mctx);
284 if (zfile == NULL) {
457 result = load_zone(mctx, zname, zfile, masterformat, zclass, maxttl,
  /src/external/bsd/nsd/dist/contrib/bind2nsd/scripts/
nsd-sync 228 zfile = rname + '/' + zdict[ii].getFile()
229 (output, errors) = run_cmd_capture(chkzone + ' ' + zone + ' ' + zfile)
s64-sync 236 zfile = rname + '/' + zdict[ii].getFile()
237 (output, errors) = run_cmd_capture(chkzone + ' ' + zone + ' ' + zfile)

Completed in 42 milliseconds