Home
last modified time | relevance | path

Searched refs:error_ (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/native/libs/vr/libpdx/private/pdx/
Dstatus.h15 ErrorStatus(int error) : error_{error} {} in ErrorStatus()
16 int error() const { return error_; } in error()
21 int error_;
30 Status() : error_{-1} {} in Status()
42 Status(const ErrorStatus& error_status) : error_{error_status.error()} {} in Status()
48 : value_{std::move(other.value_)}, error_{other.error_} { in Status()
49 other.error_ = -1;
55 error_ = other.error_;
57 other.error_ = -1;
65 error_ = 0; in SetValue()
[all …]
/frameworks/base/tools/aapt2/format/
DContainer.cpp49 error_ = "failed writing container format header"; in ContainerWriter()
68 error_ = "too many entries being serialized"; in AddResTableEntry()
90 error_ = "failed writing to output"; in AddResTableEntry()
99 error_ = "too many entries being serialized"; in AddResFileEntry()
136 error_ = "failed writing to output"; in AddResFileEntry()
144 error_ = error.str(); in AddResFileEntry()
146 error_ = "failed writing to output"; in AddResFileEntry()
153 error_ = "failed writing to output"; in AddResFileEntry()
160 return !error_.empty(); in HadError()
164 return error_; in GetError()
[all …]
DArchive.cpp47 error_ = "directory does not exist"; in Open()
50 error_ = "not a directory"; in Open()
67 error_ = SystemErrorCodeToString(errno); in StartEntry()
79 error_ = SystemErrorCodeToString(errno); in Write()
110 return !error_.empty(); in HadError()
114 return error_; in GetError()
122 std::string error_; member in aapt::__anon52c9490b0111::DirectoryWriter
132 error_ = SystemErrorCodeToString(errno); in Open()
155 error_ = ZipWriter::ErrorCodeString(result); in StartEntry()
164 error_ = ZipWriter::ErrorCodeString(result); in Write()
[all …]
DContainer.h53 std::string error_; variable
101 std::string error_; variable
/frameworks/base/tools/aapt2/link/
DXmlReferenceLinker.cpp45 : callsite_(callsite), context_(context), symbols_(symbols), decls_(decls), error_(false) {} in ReferenceVisitor()
49 error_ = true; in Visit()
54 return error_; in HasError()
64 bool error_; member in aapt::__anondb2bbb330111::ReferenceVisitor
110 error_ = true; in Visit()
128 error_ = true; in Visit()
137 return error_ || reference_visitor_.HasError(); in HasError()
149 bool error_ = false; member in aapt::__anondb2bbb330111::XmlVisitor
DReferenceLinker.cpp61 error_ = true; in Visit()
107 error_ = true; in Visit()
116 error_ = true; in Visit()
122 return error_; in HasError()
158 bool error_ = false; member in aapt::__anonfa9393220111::ReferenceLinkerVisitor
/frameworks/base/tools/aapt2/io/
DFileStream.cpp45 error_ = SystemErrorCodeToString(errno); in FileInputStream()
54 error_ = "Bad File Descriptor"; in FileInputStream()
76 error_ = SystemErrorCodeToString(errno); in Next()
108 return error_; in GetError()
117 error_ = SystemErrorCodeToString(errno); in FileOutputStream()
131 error_ = "Bad File Descriptor"; in FileOutputStream()
183 error_ = SystemErrorCodeToString(errno); in FlushImpl()
199 return error_; in GetError()
DFileStream.h55 std::string error_; variable
97 std::string error_; variable
/frameworks/base/tools/aapt2/text/
DPrinter.cpp39 if (error_) { in Print()
55 error_ = true; in Print()
63 error_ = true; in Print()
71 error_ = true; in Print()
DPrinter.h47 bool error_ = false; variable
/frameworks/base/tools/aapt2/format/binary/
DResChunkPullParser.cpp59 error_ = "chunk is past the end of the document"; in Next()
65 error_ = "chunk has too small header"; in Next()
70 error_ = "chunk's total size is smaller than header " + ChunkHeaderDump(current_chunk_); in Next()
74 error_ = "chunk's data extends past the end of the document " + ChunkHeaderDump(current_chunk_); in Next()
DResChunkPullParser.h67 std::string error_; variable
106 return error_; in error()
/frameworks/native/services/vr/performanced/
Ddirectory_reader.h21 error_ = errno; in DirectoryReader()
33 int GetError() const { return error_; } in GetError()
47 int error_; variable
/frameworks/base/tools/aapt2/compile/
DInlineXmlFormatParser.cpp55 error_ = true; in Visit()
63 error_ = true; in Visit()
72 error_ = true; in Visit()
101 return error_; in HasError()
110 bool error_ = false; member in aapt::__anon877bf72f0111::Visitor
/frameworks/compile/libbcc/bcinfo/Wrap/
Dbitcode_wrapperer.cpp72 error_(false) { in BitcodeWrapperer()
81 error_ = true; in BitcodeWrapperer()
355 if (error_) { in PrintWrapperHeader()
370 if (!error_ && in GenerateWrappedBitcodeFile()
384 return !error_ && Seek(infile_bc_offset_) && in GenerateRawBitcodeFile()
/frameworks/native/services/vr/virtual_touchpad/
DEvdevInjector.h60 int GetError() const { return error_; } in GetError()
61 void ResetError() { error_ = 0; } in ResetError()
136 int error_ = 0; variable
DEvdevInjector.cpp300 if (!error_) { in Error()
301 error_ = code; in Error()
307 if (error_) { in RequireState()
308 return error_; in RequireState()
335 result.appendFormat("injector_error = %d\n", error_); in dumpInternal()
/frameworks/native/libs/vr/libpdx/
Dclient.cpp27 error_ = -status.error(); in CheckReconnect()
42 ret.SetError(-error_); in CheckReconnect()
69 error_ = -status.error();
81 int Client::error() const { return error_; } in error()
111 error_ = error <= 0 ? error : -error; in Close()
/frameworks/base/tools/aapt2/java/
DJavaClassGenerator.h117 std::string error_; variable
121 return error_; in GetError()
/frameworks/base/tools/aapt2/
DResourceUtils.cpp848 if (!error_.empty()) { in AppendText()
893 error_ = in AppendText()
911 error_ = StringPrintf("unescaped apostrophe in string\n\"%s\"", text.c_str()); in AppendText()
924 error_ = StringPrintf("invalid unicode code point in string\n\"%s\"", utf8_data + previous_len); in AppendText()
933 if (!error_.empty()) { in StartSpan()
947 if (!error_.empty()) { in EndSpan()
957 if (!error_.empty()) { in StartUntranslatable()
968 if (!error_.empty()) { in EndUntranslatable()
983 return error_.empty(); in operator bool()
987 return error_; in GetError()
DResourceUtils.h317 std::string error_; variable
/frameworks/base/tools/aapt2/util/
DUtil.h183 std::string error_; variable
191 return error_; in Error()
203 return error_.empty();
/frameworks/base/tools/aapt2/xml/
DXmlPullParser.cpp62 error_ = in_->GetError(); in Next()
71 error_ = XML_ErrorString(XML_GetErrorCode(parser_)); in Next()
108 const std::string& XmlPullParser::error() const { return error_; } in error()
DXmlPullParser.h179 std::string error_; variable
/frameworks/compile/libbcc/bcinfo/include/bcinfo/Wrap/
Dbitcode_wrapperer.h218 bool error_; variable

12