Home
last modified time | relevance | path

Searched refs:CHECK_RANGE (Results 1 – 2 of 2) sorted by relevance

/openbsd/src/usr.sbin/ldapd/
Dsyntax.c269 #define CHECK_RANGE(min, max) \ in syntax_is_time() macro
281 CHECK_RANGE(0, 99); /* century */ in syntax_is_time()
282 CHECK_RANGE(0, 99); /* year */ in syntax_is_time()
283 CHECK_RANGE(1, 12); /* month */ in syntax_is_time()
284 CHECK_RANGE(1, 31); /* day */ in syntax_is_time()
286 CHECK_RANGE(0, 23); /* hour */ in syntax_is_time()
289 CHECK_RANGE(0, 59); /* minute */ in syntax_is_time()
291 CHECK_RANGE(0, 59+gen); /* second or leap-second */ in syntax_is_time()
302 CHECK_RANGE(0, 23); /* hour */ in syntax_is_time()
304 CHECK_RANGE(0, 59); /* minute */ in syntax_is_time()
/openbsd/src/sys/dev/usb/dwc2/
Ddwc2_params.c770 #define CHECK_RANGE(_param, _min, _max, _def) do { \ macro
810 CHECK_RANGE(hird_threshold, 0, hsotg->params.besl ? 12 : 7, 0); in dwc2_check_params()
812 CHECK_RANGE(max_packet_count, in dwc2_check_params()
815 CHECK_RANGE(max_transfer_size, in dwc2_check_params()
826 CHECK_RANGE(host_channels, in dwc2_check_params()
829 CHECK_RANGE(host_rx_fifo_size, in dwc2_check_params()
832 CHECK_RANGE(host_nperio_tx_fifo_size, in dwc2_check_params()
835 CHECK_RANGE(host_perio_tx_fifo_size, in dwc2_check_params()
844 CHECK_RANGE(g_rx_fifo_size, in dwc2_check_params()
847 CHECK_RANGE(g_np_tx_fifo_size, in dwc2_check_params()