Home
last modified time | relevance | path

Searched refs:ndots (Results 1 – 25 of 27) sorted by relevance

12

/freebsd-9-stable/contrib/bind9/lib/irs/
Dresconf.c117 isc_uint8_t ndots; member
437 long ndots; in resconf_parseoption() local
449 ndots = strtol(word + 6, &p, 10); in resconf_parseoption()
452 if (ndots < 0 || ndots > 0xff) /* Out of range. */ in resconf_parseoption()
454 conf->ndots = (isc_uint8_t)ndots; in resconf_parseoption()
506 conf->ndots = 1; in irs_resconf_load()
644 return ((unsigned int)conf->ndots); in irs_resconf_getndots()
/freebsd-9-stable/contrib/bind9/lib/lwres/
Dlwconfig.c240 confdata->ndots = 1; in lwres_conf_init()
292 confdata->ndots = 1; in lwres_conf_clear()
566 long ndots; in lwres_conf_parseoption() local
584 ndots = strtol(word + 6, &p, 10); in lwres_conf_parseoption()
587 if (ndots < 0 || ndots > 0xff) /* Out of range. */ in lwres_conf_parseoption()
589 confdata->ndots = (lwres_uint8_t)ndots; in lwres_conf_parseoption()
761 if (confdata->ndots > 0) in lwres_conf_print()
762 fprintf(fp, "options ndots:%d\n", confdata->ndots); in lwres_conf_print()
/freebsd-9-stable/contrib/groff/src/preproc/pic/
Dcommon.cpp66 int ndots; in dotted_circle() local
70 ndots = 2; in dotted_circle()
73 ndots = 4*int(M_PI/(2.0*gap_angle)); in dotted_circle()
74 gap_angle = (M_PI*2.0)/ndots; in dotted_circle()
77 for (int i = 0; i < ndots; i++, ang += gap_angle) in dotted_circle()
198 int ndots = 4 * int(le / lt.dash_width / 4 + 0.5); in dotted_ellipse() local
199 if (ndots < 4) in dotted_ellipse()
200 ndots = 4; in dotted_ellipse()
205 for (int i = 1; i <= ndots; i++) { in dotted_ellipse()
208 double ld = i * le / ndots; in dotted_ellipse()
[all …]
Dtroff.cpp98 int ndots = int(dist/lt.dash_width + .5); in line() local
99 if (ndots == 0) in line()
102 vec /= double(ndots); in line()
103 for (int j = 0; j <= ndots; j++) in line()
/freebsd-9-stable/contrib/bind9/bin/named/
Dlwsearch.c135 dns_name_t *name, unsigned int ndots) in ns_lwsearchctx_init() argument
142 sctx->ndots = ndots; in ns_lwsearchctx_init()
149 if (dns_name_countlabels(name) > ndots) in ns_lwsearchctx_init()
Dlwresd.c236 if (lwc->ndots != 1) { in ns_lwresd_parseeresolvconf()
238 snprintf(str, sizeof(str), "%u", lwc->ndots); in ns_lwresd_parseeresolvconf()
314 lwresd->ndots = cfg_obj_asuint32(obj); in ns_lwdmanager_create()
316 lwresd->ndots = 1; in ns_lwdmanager_create()
Dlwdgabn.c628 cm->listener->manager->ndots); in ns_lwdclient_processgabn()
Dlwdgrbn.c486 cm->listener->manager->ndots); in ns_lwdclient_processgrbn()
/freebsd-9-stable/contrib/bind9/bin/named/include/named/
Dlwsearch.h54 unsigned int ndots; member
86 dns_name_t *name, unsigned int ndots);
Dlwresd.h38 unsigned int ndots; member
/freebsd-9-stable/usr.sbin/bsdconfig/networking/share/
Dresolv.subr125 ndots = split(subdomain, labels, ".") - 1
126 while ( ndots-- >= search_ndots ) {
171 local search nfields ndots domain="${hostname#*.}"
175 ndots=$(( $nfields - 1 ))
176 while [ $ndots -ge ${RESOLVER_SEARCH_NDOTS:-1} ]; do
179 ndots=$(( $ndots - 1 ))
/freebsd-9-stable/contrib/ntp/sntp/libevent/include/event2/
Ddns_compat.h315 void evdns_search_ndots_set(const int ndots);
Ddns.h523 void evdns_base_search_ndots_set(struct evdns_base *base, const int ndots);
/freebsd-9-stable/lib/libc/resolv/
Dres_init.c229 statp->ndots = 1; in __res_vinit()
615 statp->ndots = i; in res_setoptions()
617 statp->ndots = RES_MAXNDOTS; in res_setoptions()
620 printf(";;\tndots=%d\n", statp->ndots); in res_setoptions()
Dres_query.c247 if (dots >= statp->ndots || trailing_dot) { in res_nsearch()
/freebsd-9-stable/contrib/ntp/sntp/libevent/
Devdns.c3049 int ndots; member
3074 state->ndots = 1; in search_state_new()
3152 evdns_base_search_ndots_set(struct evdns_base *base, const int ndots) { in evdns_base_search_ndots_set() argument
3156 base->global_search_state->ndots = ndots; in evdns_base_search_ndots_set()
3160 evdns_search_ndots_set(const int ndots) { in evdns_search_ndots_set() argument
3161 evdns_base_search_ndots_set(current_base, ndots); in evdns_search_ndots_set()
3216 if (string_num_dots(name) >= base->global_search_state->ndots) { in search_request_new()
3267 if (string_num_dots(handle->search_origname) < handle->search_state->ndots) { in search_try_next()
3449 const int ndots = strtoint(val); in evdns_base_set_option_impl() local
3450 if (ndots == -1) return -1; in evdns_base_set_option_impl()
[all …]
/freebsd-9-stable/crypto/openssh/
Dssh.c326 int i, ndots; in resolve_canonicalize() local
342 ndots = 0; in resolve_canonicalize()
345 ndots++; in resolve_canonicalize()
347 if (ndots > options.canonicalize_max_dots) { in resolve_canonicalize()
/freebsd-9-stable/contrib/bind9/bin/dig/include/dig/
Ddig.h261 extern int ndots;
/freebsd-9-stable/contrib/bind9/lib/lwres/include/lwres/
Dlwres.h245 lwres_uint8_t ndots; /*%< set to n in 'options ndots:n' */ member
/freebsd-9-stable/include/
Dresolv.h167 unsigned ndots:4; /*%< threshold for initial abs. query */ member
/freebsd-9-stable/contrib/bind9/bin/dig/
Dnslookup.c502 timeout, tries, port, ndots); in show_settings()
578 ndots = n; in set_ndots()
Ddighost.c146 int ndots = -1; variable
1256 if (ndots == -1) { in setup_system()
1257 ndots = lwconf->ndots; in setup_system()
1258 debug("ndots is %d.", ndots); in setup_system()
1935 (int)dns_name_countlabels(name) > ndots)) in next_origin()
2094 if ((count_dots(utf8_textname) >= ndots) || !usesearch) { in setup_lookup()
2103 if ((count_dots(lookup->textname) >= ndots) || !usesearch) { in setup_lookup()
Dhost.c820 ndots = atoi(isc_commandline_argument); in parse_args()
Ddig.c948 ndots = num; in plus_option()
/freebsd-9-stable/contrib/bind9/doc/misc/
Doptions42 ndots <integer>;

12