Lines Matching defs:format

234     else if (!strcmp(ident, "format"))         instr->_format    = format_parse();
474 else if (!strcmp(ident, "format")) oper->_format = format_parse();
480 parse_err(SYNERR, "expected one of - constraint, predicate, match, encode, format, construct, or the name of a defined operand attribute at %s\n", ident);
944 } // end while part of format description
2873 } // end while part of format description
3464 char *ADLParser::interface_field_parse(const char ** format) {
3485 if (format != NULL && _curchar == ',') {
3489 parse_err(SYNERR, "Missing '\"' in field format .\n");
3500 parse_err(SYNERR, "Missing '\"' at end of field format .\n");
3506 *format = start;
3560 FormatRule *format = (new FormatRule(desc));
3576 parse_err(SYNERR, "Unknown \"%s\" directive in format", ident);
3579 // Check for the opening '"' inside the format description
3582 if( _curchar == '"' ) { // Handle empty format string case
3584 format->_strings.addName(_ptr);
3587 // Collect the parts of the format description
3594 parse_err(SYNERR, "missing '\"' at end of format block");
3615 format->_strings.addName(start);
3626 format->_rep_vars.addName(rep_var);
3628 format->_strings.addName(NameList::_signal);
3644 } // end while part of format description
3646 // Check for closing '"' and '%}' in format description
3649 parse_err(SYNERR, "non-blank characters between closing '\"' and '%%' in format");
3652 } // Done with format description inside
3655 // Past format description, at '%'
3657 parse_err(SYNERR, "missing '%%}' at end of format block");
3671 return format;
3678 FormatRule *format = (new FormatRule(desc));
3700 format->_strings.addName(NameList::_signal2);
3701 format->_strings.addName(start);
3712 // switch to normal format parsing
3716 // Check for the opening '"' inside the format description
3719 if( _curchar == '"' ) { // Handle empty format string case
3721 format->_strings.addName(_ptr);
3724 // Collect the parts of the format description
3730 parse_err(SYNERR, "missing '\"' at end of format block");
3745 format->_strings.addName(start);
3756 format->_rep_vars.addName(next_rep_var);
3758 format->_strings.addName(NameList::_signal);
3774 } // end while part of format description
3778 format->_rep_vars.addName(rep_var);
3780 format->_strings.addName(NameList::_signal3);
3782 } // end while part of format description
3786 // Past format description, at '%'
3788 parse_err(SYNERR, "missing '%%}' at end of format block");
3798 return format;