Lines Matching defs:index
60 static int true_false_validator(int index, char *value);
61 static int strlen_validator(int index, char *value);
62 static int range_check_validator(int index, char *value);
112 int index;
420 int index;
428 index = findprotoopt(name);
429 if (index >= 0) {
431 prop = sa_create_property(proto_options[index].name, value);
469 range_check_validator(int index, char *value)
481 if (val < proto_options[index].minval ||
482 val > proto_options[index].maxval)
489 true_false_validator(int index, char *value)
493 index = index;
509 strlen_validator(int index, char *value)
513 if (proto_options[index].minval == 0) {
519 if (strlen(value) > proto_options[index].maxval ||
520 strlen(value) < proto_options[index].minval)
526 autofs_validate_proto_prop(int index, char *name, char *value)
531 return (proto_options[index].check(index, value));
545 int index = findprotoopt(name);
546 if (index >= 0) {
547 ret = autofs_validate_proto_prop(index, name, value);
549 sctype = proto_options[index].type;