Home
last modified time | relevance | path

Searched refs:error_ (Results 1 – 25 of 29) 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()
108 error_ = in->GetError(); in WriteFile()
116 return !error_.empty(); in HadError()
120 return error_; in GetError()
128 std::string error_; member in aapt::__anon52c9490b0111::DirectoryWriter
138 error_ = SystemErrorCodeToString(errno); in Open()
161 error_ = ZipWriter::ErrorCodeString(result); in StartEntry()
[all …]
DContainer.h52 std::string error_; variable
100 std::string error_; variable
DArchive_test.cpp32 bool HadError() const override { return !error_.empty(); } in HadError()
34 std::string GetError() const override { return error_; } in GetError()
36 std::string error_; member in aapt::TestData
183 input->error_ = "DirectoryWriteFileError"; in TEST_F()
243 input->error_ = "ZipFileWriteFileError"; in TEST_F()
/frameworks/base/libs/androidfw/
DFileStream.cpp45 error_ = SystemErrorCodeToString(errno); in FileInputStream()
54 error_ = "Bad File Descriptor"; in FileInputStream()
64 error_ = "Bad File Descriptor"; in FileInputStream()
87 error_ = SystemErrorCodeToString(errno); in Next()
124 return error_; in GetError()
137 error_ = SystemErrorCodeToString(errno); in FileOutputStream()
151 error_ = "Bad File Descriptor"; in FileOutputStream()
203 error_ = SystemErrorCodeToString(errno); in FlushImpl()
219 return error_; in GetError()
/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.h46 bool error_ = false; variable
/frameworks/base/tools/aapt2/format/binary/
DResChunkPullParser.cpp61 error_ = "chunk is past the end of the document"; in Next()
67 error_ = "chunk has too small header"; in Next()
72 error_ = "chunk's total size is smaller than header " + ChunkHeaderDump(current_chunk_); in Next()
76 error_ = "chunk's data extends past the end of the document " + ChunkHeaderDump(current_chunk_); in Next()
DResChunkPullParser.h67 std::string error_; variable
107 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/base/tools/aapt2/link/
DXmlReferenceLinker.cpp86 error_ = true; in Visit()
105 error_ = true; in Visit()
114 return error_ || reference_transformer_.HasError(); in HasError()
126 bool error_ = false; member in aapt::__anondb2bbb330111::XmlVisitor
DReferenceLinker.h50 return error_; in HasError()
63 bool error_ = false; variable
DReferenceLinker.cpp91 error_ = true; in TransformDerived()
138 error_ = true; in TransformDerived()
146 error_ = true; in TransformDerived()
158 error_ = true; in TransformItem()
/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/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/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.h115 std::string error_; variable
119 return error_; in GetError()
/frameworks/base/libs/androidfw/include/androidfw/
DFileStream.h65 std::string error_; variable
108 std::string error_; variable
/frameworks/base/tools/aapt2/util/
DUtil.h181 std::string error_; variable
189 return error_; in Error()
201 return error_.empty();
/frameworks/base/tools/aapt2/
DResourceUtils.cpp883 if (!error_.empty()) { in AppendText()
928 error_ = in AppendText()
946 error_ = StringPrintf("unescaped apostrophe in string\n\"%s\"", text.c_str()); in AppendText()
959 error_ = StringPrintf("invalid unicode code point in string\n\"%s\"", utf8_data + previous_len); in AppendText()
968 if (!error_.empty()) { in StartSpan()
982 if (!error_.empty()) { in EndSpan()
992 if (!error_.empty()) { in StartUntranslatable()
1003 if (!error_.empty()) { in EndUntranslatable()
1018 return error_.empty(); in operator bool()
1022 return error_; in GetError()
/frameworks/base/tools/aapt2/xml/
DXmlPullParser.cpp61 error_ = in_->GetError(); in Next()
70 error_ = XML_ErrorString(XML_GetErrorCode(parser_)); in Next()
106 const std::string& XmlPullParser::error() const { return error_; } in error()
/frameworks/compile/libbcc/bcinfo/include/bcinfo/Wrap/
Dbitcode_wrapperer.h218 bool error_; variable

12