Searched refs:ndots (Results 1 - 24 of 24) sorted by relevance

/freebsd-9.3-release/contrib/bind9/bin/named/include/named/
H A Dlwsearch.h54 unsigned int ndots; member in struct:ns_lwsearchctx
86 dns_name_t *name, unsigned int ndots);
H A Dlwresd.h38 unsigned int ndots; member in struct:ns_lwresd
/freebsd-9.3-release/contrib/bind9/bin/named/
H A Dlwsearch.c135 dns_name_t *name, unsigned int ndots)
142 sctx->ndots = ndots;
149 if (dns_name_countlabels(name) > ndots)
134 ns_lwsearchctx_init(ns_lwsearchctx_t *sctx, ns_lwsearchlist_t *list, dns_name_t *name, unsigned int ndots) argument
H A Dlwresd.c234 * Build the ndots line
236 if (lwc->ndots != 1) {
238 snprintf(str, sizeof(str), "%u", lwc->ndots);
312 (void)cfg_map_get(lwres, "ndots", &obj);
314 lwresd->ndots = cfg_obj_asuint32(obj);
316 lwresd->ndots = 1;
H A Dlwdgabn.c628 cm->listener->manager->ndots);
H A Dlwdgrbn.c482 cm->listener->manager->ndots);
/freebsd-9.3-release/contrib/ntp/sntp/libevent/include/event2/
H A Ddns_compat.h243 ndots, timeout, max-timeouts, max-inflight, and attempts
304 Set the 'ndots' parameter for searches.
313 @param ndots the new ndots parameter
315 void evdns_search_ndots_set(const int ndots);
H A Ddns.h101 * number is greater than the ndots setting then the names is first tried
104 * The ndots setting can either be set from a resolv.conf, or by calling
107 * For example, with ndots set to 1 (the default) and a search domain list of
425 ndots, timeout, max-timeouts, max-inflight, attempts, randomize-case,
515 Set the 'ndots' parameter for searches.
520 @param ndots the new ndots parameter
523 void evdns_base_search_ndots_set(struct evdns_base *base, const int ndots);
/freebsd-9.3-release/contrib/bind9/lib/lwres/
H A Dlwconfig.c238 confdata->ndots = 1;
290 confdata->ndots = 1;
532 long ndots; local
549 } else if (strncmp("ndots:", word, 6) == 0) {
550 ndots = strtol(word + 6, &p, 10);
553 if (ndots < 0 || ndots > 0xff) /* Out of range. */
555 confdata->ndots = (lwres_uint8_t)ndots;
714 if (confdata->ndots >
[all...]
/freebsd-9.3-release/contrib/bind9/lib/irs/
H A Dresconf.c116 /*%< set to n in 'options ndots:n' */
117 isc_uint8_t ndots; member in struct:irs_resconf
436 long ndots; local
447 } else if (strncmp("ndots:", word, 6) == 0) {
448 ndots = strtol(word + 6, &p, 10);
451 if (ndots < 0 || ndots > 0xff) /* Out of range. */
453 conf->ndots = (isc_uint8_t)ndots;
505 conf->ndots
[all...]
/freebsd-9.3-release/contrib/groff/src/preproc/pic/
H A Dcommon.cpp66 int ndots; local
70 ndots = 2;
73 ndots = 4*int(M_PI/(2.0*gap_angle));
74 gap_angle = (M_PI*2.0)/ndots;
77 for (int i = 0; i < ndots; i++, ang += gap_angle)
198 int ndots = 4 * int(le / lt.dash_width / 4 + 0.5); local
199 if (ndots < 4)
200 ndots = 4;
205 for (int i = 1; i <= ndots; i++) {
208 double ld = i * le / ndots;
297 int ndots = int(total_angle/(lt.dash_width/rad) + .5); local
[all...]
H A Dtroff.cpp98 int ndots = int(dist/lt.dash_width + .5); local
99 if (ndots == 0)
102 vec /= double(ndots);
103 for (int j = 0; j <= ndots; j++)
/freebsd-9.3-release/contrib/bind9/bin/dig/include/dig/
H A Ddig.h262 extern int ndots;
/freebsd-9.3-release/contrib/bind9/lib/lwres/include/lwres/
H A Dlwres.h244 lwres_uint8_t ndots; /*%< set to n in 'options ndots:n' */ member in struct:__anon297
/freebsd-9.3-release/lib/libc/resolv/
H A Dres_init.c210 statp->ndots = 1;
582 if (!strncmp(cp, "ndots:", sizeof("ndots:") - 1)) {
583 i = atoi(cp + sizeof("ndots:") - 1);
585 statp->ndots = i;
587 statp->ndots = RES_MAXNDOTS;
590 printf(";;\tndots=%d\n", statp->ndots);
H A Dres_query.c241 * try 'as is'. The threshold can be set with the "ndots" option.
245 if (dots >= statp->ndots || trailing_dot) {
/freebsd-9.3-release/contrib/ntp/sntp/libevent/
H A Devdns.c3038 /* The ndots option controls how many dots it takes for the resolver */
3049 int ndots; member in struct:search_state
3074 state->ndots = 1;
3152 evdns_base_search_ndots_set(struct evdns_base *base, const int ndots) { argument
3156 base->global_search_state->ndots = ndots;
3160 evdns_search_ndots_set(const int ndots) { argument
3161 evdns_base_search_ndots_set(current_base, ndots);
3216 if (string_num_dots(name) >= base->global_search_state->ndots) {
3267 if (string_num_dots(handle->search_origname) < handle->search_state->ndots) {
3449 const int ndots = strtoint(val); local
[all...]
/freebsd-9.3-release/crypto/openssh/
H A Dssh.c326 int i, ndots; local
342 ndots = 0;
345 ndots++;
347 if (ndots > options.canonicalize_max_dots) {
/freebsd-9.3-release/include/
H A Dresolv.h167 unsigned ndots:4; /*%< threshold for initial abs. query */ member in struct:__res_state
/freebsd-9.3-release/contrib/bind9/bin/dig/
H A Dnslookup.c505 timeout, tries, port, ndots);
579 isc_result_t result = parse_uint(&n, value, 128, "ndots");
581 ndots = n;
664 } else if (strncasecmp(opt, "ndots=", 6) == 0) {
H A Ddighost.c144 int ndots = -1; variable
1244 if (ndots == -1) {
1245 ndots = lwconf->ndots;
1246 debug("ndots is %d.", ndots);
1914 * Check for a absolute name or ndots being met.
1922 (int)dns_name_countlabels(name) > ndots))
2084 if ((count_dots(utf8_textname) >= ndots) || !usesearch) {
2093 if ((count_dots(lookup->textname) >= ndots) || !usesearc
[all...]
H A Dhost.c150 "Usage: host [-aCdlriTwv] [-c class] [-N ndots] [-t type] [-W time]\n"
808 ndots = atoi(isc_commandline_argument);
H A Ddig.c189 " +ndots=### (Set NDOTS value)\n"
925 case 'd': /* ndots */
926 FULLCHECK("ndots");
931 result = parse_uint(&num, value, MAXNDOTS, "ndots");
933 fatal("Couldn't parse ndots");
934 ndots = num;
/freebsd-9.3-release/lib/libc/net/
H A Dgetaddrinfo.c2719 * try 'as is'. The threshold can be set with the "ndots" option.
2723 if (dots >= res->ndots || trailing_dot) {

Completed in 262 milliseconds