Searched defs:tld (Results 1 - 4 of 4) sorted by relevance
/bind-9.11.3/contrib/queryperf/utils/ |
H A D | gen-data-queryperf.py | 20 tld = 'org' variable 30 def remove_tld(label, tld): 31 if label.endswith('.' + tld + '.'): 32 return label[0:-(1 + len(tld) + 1)] 54 return "www." + label + "." + tld + " A" 66 "number=", "tld=", 78 elif option == "--tld" or option == "-t": 79 tld = str(value) 101 domain = remove_tld(domain_line.group(1), tld)
|
/bind-9.11.3/contrib/idn/idnkit-1.0-src/lib/ |
H A D | mapselector.c | 166 idn_mapselector_add(idn_mapselector_t ctx, const char *tld, const char *name) { argument 171 assert(ctx != NULL && tld != NULL); 173 TRACE(("idn_mapselector_add(tld=%s, name=%s)\n", tld, name)); 175 if (!(tld[0] == '.' && tld[1] == '\0')) { 176 if (tld[0] == '.') 177 tld++; 178 if (strchr(tld, '.') != NULL) { 180 "invalid TLD \"%-.100s\"\n", tld)); 212 idn_mapselector_addall(idn_mapselector_t ctx, const char *tld, const char **scheme_names, int nschemes) argument 236 idn_mapselector_mapper(idn_mapselector_t ctx, const char *tld) argument 267 idn_mapselector_map(idn_mapselector_t ctx, const unsigned long *from, const char *tld, unsigned long *to, size_t tolen) argument 336 idn_mapselector_map2(idn_mapselector_t ctx, const unsigned long *from, const unsigned long *tld, unsigned long *to, size_t tolen) argument [all...] |
H A D | res.c | 1247 const unsigned long *tld; local 1254 tld = labellist_gettldname(label); 1255 TRACE(("res localmap(label=\"%s\", tld=\"%s\")\n", 1257 idn__debug_ucs4xstring(tld, 50))); 1265 if (tld == from) 1266 tld = idn_mapselector_getdefaulttld(); 1279 r = idn_mapselector_map2(local_mapper, from, tld, to,
|
H A D | resconf.c | 906 idn_resconf_addalllocalmapselectornames(idn_resconf_t ctx, const char *tld, argument 910 assert(ctx != NULL && names != NULL && tld != NULL); 912 TRACE(("idn_resconf_addalllocalmapselectorname(tld=%s, nnames=%d)\n", 913 tld, nnames)); 921 r = idn_mapselector_addall(ctx->local_mapper, tld, names, nnames);
|
Completed in 19 milliseconds