Lines Matching full:format
20 {LLDB_OPT_SET_1, false, "format", 'f', OptionParser::eRequiredArgument,
22 "Specify a format to be used for display."},
23 {LLDB_OPT_SET_2, false, "gdb-format", 'G', OptionParser::eRequiredArgument,
25 "Specify a format using a GDB format specifier string."},
28 "The size in bytes to use when displaying with the selected format."},
35 lldb::Format default_format, uint64_t default_byte_size, in OptionGroupFormat()
109 Format format = eFormatDefault; in SetOptionValue() local
113 ParserGDBFormatLetter(execution_context, gdb_format_str[0], format, in SetOptionValue()
120 // something is wrong. Also, if none of the format, size or count was in SetOptionValue()
123 (format == eFormatInvalid && byte_size == 0 && count == 0)) { in SetOptionValue()
125 error.SetErrorStringWithFormat("invalid gdb format string '%s'", in SetOptionValue()
130 // At least one of the format, size or count was set correctly. Anything in SetOptionValue()
132 if (format == eFormatInvalid) in SetOptionValue()
133 ParserGDBFormatLetter(execution_context, m_prev_gdb_format, format, in SetOptionValue()
141 ParserGDBFormatLetter(execution_context, m_prev_gdb_size, format, in SetOptionValue()
146 if (byte_size > 0 && format != lldb::eFormatAddressInfo) { in SetOptionValue()
154 // Count is enabled and was not set, set it to the default for gdb format in SetOptionValue()
166 m_format.SetCurrentValue(format); in SetOptionValue()
186 ExecutionContext *execution_context, char format_letter, Format &format, in ParserGDBFormatLetter() argument
191 format = eFormatOctal; in ParserGDBFormatLetter()
195 format = eFormatHex; in ParserGDBFormatLetter()
199 format = eFormatDecimal; in ParserGDBFormatLetter()
203 format = eFormatUnsigned; in ParserGDBFormatLetter()
207 format = eFormatBinary; in ParserGDBFormatLetter()
211 format = eFormatFloat; in ParserGDBFormatLetter()
215 format = eFormatAddressInfo; in ParserGDBFormatLetter()
225 format = eFormatInstruction; in ParserGDBFormatLetter()
229 format = eFormatChar; in ParserGDBFormatLetter()
233 format = eFormatCString; in ParserGDBFormatLetter()
237 format = eFormatOSType; in ParserGDBFormatLetter()
241 format = eFormatHexFloat; in ParserGDBFormatLetter()
251 // and the previous format was 'i', then we should reset it to the in ParserGDBFormatLetter()