Home | History | Annotate | Download | only in Core

Lines Matching defs:error

17 #include "lldb/Core/Error.h"
113 Error &error) const
117 error.SetErrorString ("invalid register info argument.");
126 error.SetErrorStringWithFormat("invalid register value type for register %s", reg_info->name);
132 error.SetErrorString ("destination is too big");
142 error.SetErrorString ("invalid register value to copy into");
153 error.SetErrorStringWithFormat("failed to copy data for register write of %s", reg_info->name);
163 Error &error)
167 error.SetErrorString ("invalid register info argument.");
180 // Error! (The register should always be big enough to hold the data)
189 error.SetErrorStringWithFormat ("register buffer is too small to receive %u bytes of data.", src_len);
197 error.SetErrorStringWithFormat("%u bytes is too big to store in register %s (%u bytes)", src_len, reg_info->name, dst_len);
212 error.SetErrorStringWithFormat("invalid register value type for register %s", reg_info->name);
229 error.SetErrorStringWithFormat("failed to copy data for register write of %s", reg_info->name);
313 Error
316 Error error;
320 error.SetErrorString ("empty data.");
321 return error;
326 error.SetErrorString ("invalid register info.");
327 return error;
334 error.SetErrorString ("not enough data.");
335 return error;
349 error.SetErrorString("");
383 error.SetErrorString ("data copy failed data.");
384 return error;
389 return error;
444 Error
447 Error error;
450 error.SetErrorString ("Invalid register info argument.");
451 return error;
456 error.SetErrorString ("Invalid c-string value string.");
457 return error;
464 error.SetErrorString ("Invalid encoding.");
472 error.SetErrorStringWithFormat ("'%s' is not a valid unsigned integer string value", value_str);
474 error
478 error.SetErrorStringWithFormat ("unsupported unsigned integer byte size: %u", byte_size);
483 error.SetErrorStringWithFormat ("unsupported unsigned integer byte size: %u", byte_size);
484 return error;
493 error.SetErrorStringWithFormat ("'%s' is not a valid signed integer string value", value_str);
495 error.SetErrorStringWithFormat ("value 0x%" PRIx64 " is too large to fit in a %u byte signed integer value", sval64, byte_size);
499 error.SetErrorStringWithFormat ("unsupported signed integer byte size: %u", byte_size);
504 error.SetErrorStringWithFormat ("unsupported signed integer byte size: %u", byte_size);
505 return error;
515 error.SetErrorStringWithFormat ("'%s' is not a valid float string value", value_str);
522 error.SetErrorStringWithFormat ("'%s' is not a valid float string value", value_str);
529 error.SetErrorStringWithFormat ("'%s' is not a valid float string value", value_str);
533 error.SetErrorStringWithFormat ("unsupported float byte size: %u", byte_size);
534 return error;
540 error.SetErrorString ("unrecognized vector encoding string value.");
543 if (error.Fail())
546 return error;