Lines Matching defs:fields
16 * fields enclosed by brackets "[]" replaced with your own identifying
604 * dsym_free_fields(): frees an array of fields allocated by
607 * input: char **: array of fields to free
612 dsym_free_fields(char **fields)
615 if (fields != NULL) {
617 free(fields[i]);
619 free(fields);
626 * input: char **: the fields allocated by dsym_init_parser()
632 dsym_close_parser(char **fields, dhcp_symbol_t *sym)
634 dsym_free_fields(fields);
644 * char ***: the return location for the symbol fields
660 char **fields;
676 (fields = calloc(DSYM_NUM_FIELDS, sizeof (char *))) == NULL) {
698 if ((fields[i] = strdup(field)) == NULL) {
710 dsym_free_fields(fields);
712 *fields_ret = fields;
723 * char **: symbol fields initialized by dsym_init_parser()
733 dsym_parse_field(int field_num, char **fields, dhcp_symbol_t *sym)
742 ret = dsym_parse_cat(fields[field_num], &sym->ds_category);
744 ret = dsym_parse_classes(fields[field_num],
750 ret = dsym_parse_intrange(fields[field_num], &intval, 0,
760 ret = dsym_parse_type(fields[field_num], &sym->ds_type);
764 ret = dsym_parse_intrange(fields[field_num], &intval, 0,
774 ret = dsym_parse_intrange(fields[field_num], &intval, 0,
790 * input: char **: symbol fields initialized by dsym_init_parser()
794 * boolean_t: parse all fields even though errors occur?
802 dsym_parser(char **fields, dhcp_symbol_t *sym, int *lastField,
814 tret = dsym_parse_field(i, fields, sym);