Home
last modified time | relevance | path

Searched refs:err_ (Results 1 – 7 of 7) sorted by relevance

/arkcompiler/runtime_core/platforms/windows/libpandabase/
Derror.cpp24 if (std::holds_alternative<std::string>(err_)) { in ToString()
25 return std::get<std::string>(err_); in ToString()
28 int err = std::get<int>(err_); in ToString()
/arkcompiler/runtime_core/libpandabase/os/
Derror.h28 explicit Error(int err) : err_(err) {} in Error()
30 explicit Error(std::string msg) : err_(std::move(msg)) {} in Error()
40 std::variant<int, std::string> err_;
/arkcompiler/runtime_core/platforms/unix/libpandabase/
Derror.cpp30 if (std::holds_alternative<std::string>(err_)) { in ToString()
31 return std::get<std::string>(err_); in ToString()
34 int err = std::get<int>(err_); in ToString()
/arkcompiler/runtime_core/assembler/
Dlexer.h103 Error err_; variable
Dassembly-parser.h79 return err_; in ShowError()
99 panda::pandasm::Error err_; variable
Dlexer.cpp187 return std::pair<std::vector<Token>, Error>(lines_.back().tokens, err_); in TokenizeString()
250 err_ = Error(std::string("Missing terminating ") + quote + " character", 0, in LexString()
Dassembly-parser.cpp654 if (open_ || err_.err != Error::ErrorType::ERR_NONE) { in ParseResetFunctionLabelsAndParams()
770 if (err_.err != Error::ErrorType::ERR_NONE) { in ParseResetTables()
776 if (err_.err != Error::ErrorType::ERR_NONE) { in ParseResetTables()
944 if (!context_.Mask() && err_.err == Error::ErrorType::ERR_NONE) { in ParseAfterLine()
948 if (err_.err != Error::ErrorType::ERR_NONE) { in ParseAfterLine()
966 if (open_ && err_.err == Error::ErrorType::ERR_NONE) { in ParseAfterMainLoop()
974 if (err_.err != Error::ErrorType::ERR_NONE) { in ParseAfterMainLoop()
975 return Unexpected(err_); in ParseAfterMainLoop()
1075 err_ = context_.err; in SetError()