Lines Matching refs:REQUIRE
273 REQUIRE(mctx != NULL); in isc_log_create()
274 REQUIRE(lctxp != NULL && *lctxp == NULL); in isc_log_create()
275 REQUIRE(lcfgp == NULL || *lcfgp == NULL); in isc_log_create()
337 REQUIRE(lcfgp != NULL && *lcfgp == NULL); in isc_logconfig_create()
338 REQUIRE(VALID_CONTEXT(lctx)); in isc_logconfig_create()
424 REQUIRE(VALID_CONTEXT(lctx)); in isc_logconfig_get()
436 REQUIRE(VALID_CONTEXT(lctx)); in isc_logconfig_use()
437 REQUIRE(VALID_CONFIG(lcfg)); in isc_logconfig_use()
438 REQUIRE(lcfg->lctx == lctx); in isc_logconfig_use()
468 REQUIRE(lctxp != NULL && VALID_CONTEXT(*lctxp)); in isc_log_destroy()
511 REQUIRE(lcfgp != NULL && VALID_CONFIG(*lcfgp)); in isc_logconfig_destroy()
519 REQUIRE(lcfg->lctx != NULL && lcfg->lctx->logconfig != lcfg); in isc_logconfig_destroy()
572 REQUIRE(VALID_CONTEXT(lctx)); in isc_log_registercategories()
573 REQUIRE(categories != NULL && categories[0].name != NULL); in isc_log_registercategories()
616 REQUIRE(VALID_CONTEXT(lctx)); in isc_log_categorybyname()
617 REQUIRE(name != NULL); in isc_log_categorybyname()
639 REQUIRE(VALID_CONTEXT(lctx)); in isc_log_registermodules()
640 REQUIRE(modules != NULL && modules[0].name != NULL); in isc_log_registermodules()
683 REQUIRE(VALID_CONTEXT(lctx)); in isc_log_modulebyname()
684 REQUIRE(name != NULL); in isc_log_modulebyname()
711 REQUIRE(VALID_CONFIG(lcfg)); in isc_log_createchannel()
712 REQUIRE(name != NULL); in isc_log_createchannel()
713 REQUIRE(type == ISC_LOG_TOSYSLOG || type == ISC_LOG_TOFILE || in isc_log_createchannel()
715 REQUIRE(destination != NULL || type == ISC_LOG_TONULL); in isc_log_createchannel()
716 REQUIRE(level >= ISC_LOG_CRITICAL); in isc_log_createchannel()
717 REQUIRE((flags & in isc_log_createchannel()
797 REQUIRE(VALID_CONFIG(lcfg)); in isc_log_usechannel()
798 REQUIRE(name != NULL); in isc_log_usechannel()
802 REQUIRE(category == NULL || category->id < lctx->category_count); in isc_log_usechannel()
803 REQUIRE(module == NULL || module->id < lctx->module_count); in isc_log_usechannel()
957 REQUIRE(VALID_CONTEXT(lctx)); in isc_log_setdebuglevel()
980 REQUIRE(VALID_CONTEXT(lctx)); in isc_log_getdebuglevel()
987 REQUIRE(VALID_CONFIG(lcfg)); in isc_log_setduplicateinterval()
994 REQUIRE(VALID_CONTEXT(lcfg)); in isc_log_getduplicateinterval()
1001 REQUIRE(VALID_CONFIG(lcfg)); in isc_log_settag()
1021 REQUIRE(VALID_CONFIG(lcfg)); in isc_log_gettag()
1036 REQUIRE(VALID_CONTEXT(lctx)); in isc_log_closefilelogs()
1063 REQUIRE(VALID_CONFIG(lcfg)); in assignchannel()
1067 REQUIRE(category_id < lctx->category_count); in assignchannel()
1068 REQUIRE(module == NULL || module->id < lctx->module_count); in assignchannel()
1069 REQUIRE(channel != NULL); in assignchannel()
1112 REQUIRE(VALID_CONFIG(lcfg)); in sync_channellist()
1116 REQUIRE(lctx->category_count != 0); in sync_channellist()
1157 REQUIRE(channel->type == ISC_LOG_TOFILE); in greatest_version()
1326 REQUIRE(channel->type == ISC_LOG_TOFILE); in isc_log_open()
1327 REQUIRE(FILE_STREAM(channel) == NULL); in isc_log_open()
1331 REQUIRE(path != NULL && *path != '\0'); in isc_log_open()
1424 REQUIRE(lctx == NULL || VALID_CONTEXT(lctx)); in isc_log_doit()
1425 REQUIRE(category != NULL); in isc_log_doit()
1426 REQUIRE(module != NULL); in isc_log_doit()
1427 REQUIRE(level != ISC_LOG_DYNAMIC); in isc_log_doit()
1428 REQUIRE(format != NULL); in isc_log_doit()
1438 REQUIRE(category->id < lctx->category_count); in isc_log_doit()
1439 REQUIRE(module->id < lctx->module_count); in isc_log_doit()