Searched defs:newname (Results 1 - 15 of 15) sorted by relevance

/bind-9.11.3/bin/dnssec/
H A Ddnssec-revoke.c83 char newname[1024], oldname[1024]; local
229 isc_buffer_init(&buf, newname, sizeof(newname));
232 if (access(newname, F_OK) == 0 && !force) {
234 "use -f to force overwrite", newname);
247 printf("%s\n", newname);
257 if (strcmp(oldname, newname) == 0)
H A Ddnssec-settime.c135 char newname[1024]; local
641 isc_buffer_init(&buf, newname, sizeof(newname));
657 printf("%s\n", newname);
666 printf("%s\n", newname);
/bind-9.11.3/bin/named/
H A Dlwsearch.c104 dns_name_t *newname; local
110 newname = isc_mem_get(list->mctx, sizeof(dns_name_t));
111 if (newname == NULL)
113 dns_name_init(newname, NULL);
114 result = dns_name_dup(name, list->mctx, newname);
116 isc_mem_put(list->mctx, newname, sizeof(dns_name_t));
119 ISC_LINK_INIT(newname, link);
120 ISC_LIST_APPEND(list->names, newname, link);
/bind-9.11.3/lib/isc/
H A Dlex.c1006 char *newname; local
1013 newname = isc_mem_strdup(lex->mctx, name);
1014 if (newname == NULL)
1017 source->name = newname;
/bind-9.11.3/lib/isc/unix/
H A Dfile.c400 isc_file_rename(const char *oldname, const char *newname) { argument
404 REQUIRE(newname != NULL);
406 r = rename(oldname, newname);
/bind-9.11.3/lib/isc/win32/
H A Dfile.c185 isc_file_safemovefile(const char *oldname, const char *newname) { argument
203 if (stat(newname, &sbuf) == 0) {
205 strlcpy(buf, newname, sizeof(buf));
211 _chmod(newname, _S_IREAD | _S_IWRITE);
213 filestatus = MoveFile(newname, buf);
219 filestatus = MoveFile(oldname, newname);
226 filestatus = MoveFile(buf, newname);
458 isc_file_rename(const char *oldname, const char *newname) { argument
462 REQUIRE(newname != NULL);
464 r = isc_file_safemovefile(oldname, newname);
[all...]
/bind-9.11.3/lib/dns/
H A Dtkey.c162 dns_name_t *newname = NULL; local
176 RETERR(dns_message_gettempname(msg, &newname));
177 dns_name_init(newname, NULL);
178 RETERR(dns_name_dup(name, msg->mctx, newname));
189 ISC_LIST_INIT(newname->list);
190 ISC_LIST_APPEND(newname->list, newset, link);
192 ISC_LIST_APPEND(*namelist, newname, link);
204 if (newname != NULL)
205 dns_message_puttempname(msg, &newname);
H A Dcache.c487 char *newname; local
492 newname = isc_mem_strdup(cache->mctx, filename);
493 if (newname == NULL)
499 cache->filename = newname;
H A Djournal.c2098 char newname[1024]; local
2108 result = isc_string_printf(newname, sizeof(newname), "%.*s.jnw",
2153 CHECK(journal_open(mctx, newname, ISC_TRUE, ISC_TRUE, &j2));
2279 if (rename(newname, filename) == -1) {
2287 if (rename(newname, filename) == -1)
2300 (void)isc_file_remove(newname);
H A Dsdb.c424 dns_name_t *newname, *origin; local
434 newname = dns_fixedname_name(&fnewname);
443 result = dns_name_fromtext(newname, &b, origin, 0, NULL);
449 unsigned int nlabels = dns_name_countlabels(newname);
450 dns_name_getlabelsequence(newname, 0, nlabels - 1, newname);
454 if (sdbnode == NULL || !dns_name_equal(sdbnode->name, newname)) {
465 result = dns_name_dup(newname, mctx, sdbnode->name);
473 dns_name_equal(newname, &sdb->common.origin))
H A Dsdlz.c1962 dns_name_t *newname, *origin; local
1971 newname = dns_fixedname_name(&fnewname);
1980 result = dns_name_fromtext(newname, &b, origin, 0, NULL);
1986 unsigned int nlabels = dns_name_countlabels(newname);
1987 dns_name_getlabelsequence(newname, 0, nlabels - 1, newname);
1991 if (sdlznode == NULL || !dns_name_equal(sdlznode->name, newname)) {
2002 result = dns_name_dup(newname, mctx, sdlznode->name);
2010 dns_name_equal(newname, &sdlz->common.origin))
H A Dupdate.c894 dns_dbversion_t *ver, dns_name_t *oldname, dns_name_t *newname,
929 CHECK(dns_dbiterator_current(dbit, &node, newname));
940 CHECK(rrset_exists(db, ver, newname,
947 result = dns_db_find(db, newname, ver,
956 dns_name_equal(newname, found))) {
893 next_active(dns_update_log_t *log, dns_zone_t *zone, dns_db_t *db, dns_dbversion_t *ver, dns_name_t *oldname, dns_name_t *newname, isc_boolean_t forward) argument
H A Dclient.c2584 dns_name_t *newname = NULL; local
2591 result = dns_message_gettempname(msg, &newname);
2597 dns_name_init(newname, NULL);
2598 dns_name_setbuffer(newname, namebuf);
2600 result = dns_name_copy(name, newname, NULL);
2650 ISC_LIST_APPEND(newname->list, newrdataset, link);
2653 *newnamep = newname;
2658 dns_message_puttempname(msg, &newname);
2827 dns_name_t *name, *newname; local
2938 newname
[all...]
H A Dzone.c6646 dns_name_t *newname, isc_boolean_t bottom)
6659 CHECK(dns_dbiterator_current(dbit, &node, newname));
6660 if (bottom && dns_name_issubdomain(newname, oldname) &&
6661 !dns_name_equal(newname, oldname)) {
6645 next_active(dns_db_t *db, dns_dbversion_t *version, dns_name_t *oldname, dns_name_t *newname, isc_boolean_t bottom) argument
/bind-9.11.3/bin/tests/db/
H A Dt_db.c1012 char *newname; local
1044 newname = T_ARG(5);
1056 t_info("testing using file %s and name %s\n", filename, newname);
1106 len = strlen(newname);
1107 isc_buffer_init(&newname_buffer, newname, len);
2581 char *newname; local
2604 newname = T_ARG(5);
2611 t_info("testing using file %s and name %s\n", filename, newname);
2659 len = strlen(newname);
2660 isc_buffer_init(&name_buffer, newname, le
[all...]

Completed in 111 milliseconds