Lines Matching defs:n_max
60 char *value, int nid, int n_min, int n_max,
63 char *value, int nid, int n_min, int n_max,
67 int n_min, int n_max, char *buf, const int buf_size,
69 static int req_check_len(int len, int n_min, int n_max);
1133 long n_min, n_max;
1211 if (!NCONF_get_number(req_conf, dn_sect, buf, &n_max)) {
1213 n_max = -1;
1217 n_min, n_max, chtype, mval))
1271 if (!NCONF_get_number(req_conf, attr_sect, buf, &n_max)) {
1273 n_max = -1;
1278 n_max, chtype))
1359 char *value, int nid, int n_min, int n_max,
1365 ret = build_data(text, def, value, n_min, n_max, buf, sizeof(buf),
1380 int n_max, unsigned long chtype)
1385 ret = build_data(text, def, value, n_min, n_max, buf, sizeof(buf),
1401 int n_min, int n_max, char *buf, const int buf_size,
1444 if (!req_check_len(i, n_min, n_max)) {
1452 static int req_check_len(int len, int n_min, int n_max)
1459 if (n_max >= 0 && len > n_max) {
1461 "String too long, must be at most %d bytes long\n", n_max);