Lines Matching defs:tresult

74 	isc_result_t tresult;
89 tresult = dns_rdataclass_fromtext(&rdclass, &r);
90 if (tresult != ISC_R_SUCCESS) {
102 tresult = dns_rdatatype_fromtext(&rdtype, &r);
103 if (tresult != ISC_R_SUCCESS) {
116 tresult = dns_name_fromtext(dns_fixedname_name(&fixed), &b,
118 if (tresult != ISC_R_SUCCESS) {
157 isc_result_t tresult;
168 tresult = check_orderent(cfg_listelt_value(element), logctx);
169 if (tresult != ISC_R_SUCCESS)
170 result = tresult;
186 isc_result_t tresult;
215 tresult = dns_name_fromtext(name, &buffer, dns_rootname,
217 if (tresult != ISC_R_SUCCESS) {
265 isc_result_t tresult;
279 tresult = dns_name_fromtext(name, &b, dns_rootname, 0, NULL);
280 if (tresult != ISC_R_SUCCESS) {
283 result = tresult;
298 tresult = dns_secalg_fromtext(&alg, &r);
299 if (tresult != ISC_R_SUCCESS) {
303 result = tresult;
312 isc_result_t tresult;
326 tresult = dns_name_fromtext(name, &b, dns_rootname, 0, NULL);
327 if (tresult != ISC_R_SUCCESS) {
330 result = tresult;
346 tresult = dns_dsdigest_fromtext(&digest, &r);
347 if (tresult != ISC_R_SUCCESS) {
351 result = tresult;
458 isc_result_t result = ISC_R_SUCCESS, tresult;
467 tresult = checkacl(acls[i++], actx, NULL, voptions, config,
469 if (tresult != ISC_R_SUCCESS)
470 result = tresult;
533 isc_result_t tresult;
535 tresult = cfg_acl_fromconfig(obj, config,
540 if (tresult != ISC_R_SUCCESS)
541 result = tresult;
694 isc_result_t tresult;
696 tresult = cfg_acl_fromconfig(obj, config, logctx, actx,
701 result = tresult;
718 isc_result_t result = ISC_R_SUCCESS, tresult;
759 tresult = cfg_acl_fromconfig(aclobj, config, logctx,
762 if (tresult != ISC_R_SUCCESS)
763 result = tresult;
932 isc_result_t tresult;
1099 tresult = check_name(str);
1100 if (tresult != ISC_R_SUCCESS) {
1104 result = tresult;
1121 tresult = disabled_algorithms(obj, logctx);
1122 if (tresult != ISC_R_SUCCESS)
1123 result = tresult;
1138 tresult = disabled_ds_digests(obj, logctx);
1139 if (tresult != ISC_R_SUCCESS)
1140 result = tresult;
1153 tresult = isc_symtab_create(mctx, 100, freekey, mctx,
1155 if (tresult != ISC_R_SUCCESS)
1156 result = tresult;
1187 tresult = dns_name_fromstring(name, dlv, 0, NULL);
1188 if (tresult != ISC_R_SUCCESS) {
1191 result = tresult;
1195 tresult = nameexist(obj, dlv, 1, symtab,
1200 if (tresult != ISC_R_SUCCESS &&
1202 result = tresult;
1228 tresult = dns_name_fromstring(name, dlv, 0, NULL);
1229 if (tresult != ISC_R_SUCCESS) {
1233 result = tresult;
1269 tresult = isc_symtab_create(mctx, 100, freekey, mctx,
1271 if (tresult != ISC_R_SUCCESS)
1272 result = tresult;
1278 tresult = mustbesecure(obj, symtab, logctx, mctx);
1279 if (tresult != ISC_R_SUCCESS)
1280 result = tresult;
1335 tresult = check_dscp(options, logctx);
1336 if (tresult != ISC_R_SUCCESS)
1337 result = tresult;
1390 tresult = isc_hex_decodestring(cfg_obj_asstring(obj), &b);
1391 if (tresult == ISC_R_NOSPACE) {
1394 } else if (tresult != ISC_R_SUCCESS) {
1398 if (tresult != ISC_R_SUCCESS)
1399 result = tresult;
1401 if (tresult == ISC_R_SUCCESS &&
1408 if (tresult == ISC_R_SUCCESS &&
1415 if (tresult == ISC_R_SUCCESS &&
1523 isc_result_t tresult;
1568 tresult = isc_symtab_define(symtab, listname, 1, symvalue,
1570 if (tresult == ISC_R_EXISTS)
1572 tresult = get_masters_def(config, listname, &obj);
1573 if (tresult != ISC_R_SUCCESS) {
1575 result = tresult;
1624 isc_result_t tresult;
1653 tresult = dns_ssu_mtypefromstring(cfg_obj_asstring(matchtype),
1655 if (tresult != ISC_R_SUCCESS) {
1661 tresult = dns_name_fromstring(id, str, 1, NULL);
1662 if (tresult != ISC_R_SUCCESS) {
1665 result = tresult;
1671 if (tresult == ISC_R_SUCCESS &&
1675 tresult = dns_name_fromstring(name, str, 0, NULL);
1676 if (tresult != ISC_R_SUCCESS) {
1679 result = tresult;
1683 if (tresult == ISC_R_SUCCESS &&
1700 if (tresult == ISC_R_SUCCESS &&
1715 if (tresult == ISC_R_SUCCESS &&
1745 tresult = dns_rdatatype_fromtext(&type, &r);
1746 if (tresult != ISC_R_SUCCESS) {
1749 result = tresult;
1796 isc_result_t tresult;
1921 tresult = dns_name_fromtext(dns_fixedname_name(&fixedname), &b,
1923 if (tresult != ISC_R_SUCCESS) {
1932 tresult = nameexist(zconfig, namebuf,
1937 if (tresult != ISC_R_SUCCESS)
1938 result = tresult;
1975 tresult = checkacl(acls[i], actx, zconfig,
1977 if (tresult != ISC_R_SUCCESS) {
1978 result = tresult;
1990 tresult = cfg_map_get(zoptions, "notify", &obj);
1991 if (tresult != ISC_R_SUCCESS && voptions != NULL)
1992 tresult = cfg_map_get(voptions, "notify", &obj);
1993 if (tresult != ISC_R_SUCCESS && goptions != NULL)
1994 tresult = cfg_map_get(goptions, "notify", &obj);
1995 if (tresult == ISC_R_SUCCESS) {
2007 tresult = cfg_map_get(zoptions, "also-notify", &obj);
2008 if (tresult == ISC_R_SUCCESS && !donotify) {
2013 if (tresult != ISC_R_SUCCESS && voptions != NULL)
2014 tresult = cfg_map_get(voptions, "also-notify", &obj);
2015 if (tresult != ISC_R_SUCCESS && goptions != NULL)
2016 tresult = cfg_map_get(goptions, "also-notify", &obj);
2017 if (tresult == ISC_R_SUCCESS && donotify) {
2019 tresult = validate_masters(obj, config, &count,
2021 if (tresult != ISC_R_SUCCESS && result == ISC_R_SUCCESS)
2022 result = tresult;
2038 tresult = validate_masters(obj, config, &count,
2040 if (tresult != ISC_R_SUCCESS && result == ISC_R_SUCCESS)
2041 result = tresult;
2042 if (tresult == ISC_R_SUCCESS && count == 0) {
2300 tresult = dns_name_fromtext(sname, &b2, dns_rootname,
2302 if (tresult != ISC_R_SUCCESS) {
2356 tresult = cfg_map_get(zoptions, "key-directory", &obj);
2357 if (tresult == ISC_R_SUCCESS) {
2359 tresult = isc_file_isdirectory(dir);
2360 switch (tresult) {
2376 dir, isc_result_totext(tresult));
2377 result = tresult;
2384 tresult = check_options(zoptions, logctx, mctx, optlevel_zone);
2385 if (tresult != ISC_R_SUCCESS)
2386 result = tresult;
2396 tresult = cfg_map_get(zoptions, "dlz", &obj);
2397 if (tresult == ISC_R_SUCCESS)
2401 tresult = cfg_map_get(zoptions, "database", &obj);
2402 if (dlz && tresult == ISC_R_SUCCESS) {
2408 (tresult == ISC_R_NOTFOUND ||
2409 (tresult == ISC_R_SUCCESS &&
2415 tresult = cfg_map_get(zoptions, "file", &fileobj);
2418 if ((tresult != ISC_R_SUCCESS &&
2426 result = tresult;
2427 } else if (tresult == ISC_R_SUCCESS &&
2429 tresult = fileexist(fileobj, files, ISC_TRUE, logctx);
2430 if (tresult != ISC_R_SUCCESS)
2431 result = tresult;
2432 } else if (tresult == ISC_R_SUCCESS &&
2436 tresult = fileexist(fileobj, files, ISC_FALSE, logctx);
2437 if (tresult != ISC_R_SUCCESS)
2438 result = tresult;
2600 isc_result_t tresult;
2617 tresult = dns_name_fromtext(name, &b, dns_rootname,
2619 if (tresult != ISC_R_SUCCESS) {
2622 result = tresult;
2625 tresult = bind9_check_key(key, logctx);
2626 if (tresult != ISC_R_SUCCESS)
2627 return (tresult);
2634 tresult = isc_symtab_define(symtab, keyname, 1, symvalue,
2636 if (tresult == ISC_R_EXISTS) {
2652 result = tresult;
2653 } else if (tresult != ISC_R_SUCCESS) {
2655 return (tresult);
2703 isc_result_t tresult;
2732 tresult = isc_netaddr_prefixok(&n1, p1);
2733 if (tresult != ISC_R_SUCCESS) {
2734 INSIST(tresult == ISC_R_FAILURE);
2739 result = tresult;
2787 tresult = dns_name_fromtext(keyname, &b, dns_rootname,
2789 if (tresult != ISC_R_SUCCESS) {
2796 tresult = isc_symtab_lookup(symtab, namebuf, 1, NULL);
2797 if (tresult != ISC_R_SUCCESS) {
2821 isc_result_t tresult;
2874 tresult = isc_base64_decodestring(keystr, &b);
2876 if (tresult != ISC_R_SUCCESS) {
2878 "%s", isc_result_totext(tresult));
3025 isc_result_t result, tresult;
3047 tresult = dns_name_fromstring(name, zonename, 0, NULL);
3048 if (tresult != ISC_R_SUCCESS) {
3052 result = tresult;
3056 tresult = isc_symtab_lookup(symtab, namebuf, 3, &value);
3057 if (tresult == ISC_R_SUCCESS) {
3092 isc_result_t tresult = ISC_R_SUCCESS;
3118 tresult = isc_symtab_create(mctx, 1000, freekey, mctx,
3120 if (tresult != ISC_R_SUCCESS)
3136 tresult = check_zoneconf(zone, voptions, config, symtab,
3139 if (tresult != ISC_R_SUCCESS)
3152 if (tresult != ISC_R_SUCCESS)
3206 tresult = isc_symtab_create(mctx, 1000, freekey, mctx,
3208 if (tresult != ISC_R_SUCCESS)
3212 tresult = check_keylist(keys, symtab, mctx, logctx);
3213 if (tresult == ISC_R_EXISTS)
3215 else if (tresult != ISC_R_SUCCESS) {
3216 result = tresult;
3223 tresult = check_keylist(keys, symtab, mctx, logctx);
3224 if (tresult == ISC_R_EXISTS)
3226 else if (tresult != ISC_R_SUCCESS) {
3227 result = tresult;
3293 tresult = check_trusted_key(obj, ISC_FALSE, &tflags,
3295 if (tresult != ISC_R_SUCCESS)
3296 result = tresult;
3329 tresult = check_trusted_key(obj, ISC_TRUE, &mflags,
3331 if (tresult != ISC_R_SUCCESS)
3332 result = tresult;
3360 tresult = check_options(voptions, logctx, mctx,
3363 tresult = check_options(config, logctx, mctx,
3365 if (tresult != ISC_R_SUCCESS)
3366 result = tresult;
3368 tresult = check_viewacls(actx, voptions, config, logctx, mctx);
3369 if (tresult != ISC_R_SUCCESS)
3370 result = tresult;
3372 tresult = check_recursionacls(actx, voptions, viewname,
3374 if (tresult != ISC_R_SUCCESS)
3375 result = tresult;
3377 tresult = check_filteraaaa(actx, voptions, viewname, config,
3379 if (tresult != ISC_R_SUCCESS)
3380 result = tresult;
3382 tresult = check_dns64(actx, voptions, config, logctx, mctx);
3383 if (tresult != ISC_R_SUCCESS)
3384 result = tresult;
3386 tresult = check_ratelimit(actx, voptions, config, logctx, mctx);
3387 if (tresult != ISC_R_SUCCESS)
3388 result = tresult;
3426 isc_result_t tresult;
3441 tresult = isc_symtab_define(symtab, default_channels[i], 1,
3443 if (tresult != ISC_R_SUCCESS)
3444 result = tresult;
3476 tresult = isc_symtab_define(symtab, channelname, 1,
3478 if (tresult != ISC_R_SUCCESS)
3479 result = tresult;
3502 tresult = isc_symtab_lookup(symtab, channelname, 1,
3504 if (tresult != ISC_R_SUCCESS) {
3508 result = tresult;
3550 isc_result_t result = ISC_R_SUCCESS, tresult;
3591 tresult = cfg_acl_fromconfig(allow, config, logctx,
3595 if (tresult != ISC_R_SUCCESS)
3596 result = tresult;
3597 tresult = bind9_check_controlskeys(control, keylist,
3599 if (tresult != ISC_R_SUCCESS)
3600 result = tresult;
3607 tresult = isc_sockaddr_frompath(&addr, path);
3608 if (tresult == ISC_R_NOSPACE) {
3633 tresult = bind9_check_controlskeys(control, keylist,
3635 if (tresult != ISC_R_SUCCESS)
3636 result = tresult;
3654 isc_result_t tresult;
3685 tresult = isc_symtab_create(mctx, 100, NULL, NULL, ISC_FALSE,
3687 if (tresult != ISC_R_SUCCESS)
3688 result = tresult;
3706 tresult = isc_symtab_create(mctx, 100, NULL, NULL, ISC_TRUE, &symtab);
3707 if (tresult != ISC_R_SUCCESS)
3708 result = tresult;
3722 tresult = ISC_R_SUCCESS;
3728 tresult = dns_rdataclass_fromtext(&vclass, &r);
3729 if (tresult != ISC_R_SUCCESS)
3735 if (tresult == ISC_R_SUCCESS && symtab != NULL) {
3737 tresult = isc_symtab_define(symtab, key, symtype,
3740 if (tresult == ISC_R_EXISTS) {
3751 result = tresult;
3752 } else if (tresult != ISC_R_SUCCESS) {
3753 result = tresult;
3764 if (tresult == ISC_R_SUCCESS)
3765 tresult = check_viewconf(config, voptions, key, vclass,
3767 if (tresult != ISC_R_SUCCESS)
3777 tresult = cfg_map_get(options, "cache-file", &obj);
3778 if (tresult == ISC_R_SUCCESS) {
3837 tresult = cfg_map_get(config, "kal", &kals);
3838 if (tresult == ISC_R_SUCCESS) {