Home
last modified time | relevance | path

Searched refs:error_ (Results 1 – 25 of 32) 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.cpp48 error_ = "failed writing container format header"; in ContainerWriter()
61 error_ = "too many entries being serialized"; in AddResTableEntry()
83 error_ = "failed writing to output"; in AddResTableEntry()
92 error_ = "too many entries being serialized"; in AddResFileEntry()
129 error_ = "failed writing to output"; in AddResFileEntry()
137 error_ = error.str(); in AddResFileEntry()
139 error_ = "failed writing to output"; in AddResFileEntry()
146 error_ = "failed writing to output"; in AddResFileEntry()
153 return !error_.empty(); in HadError()
157 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::__anonc4b4d0140111::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::__anon5c5e3c5c0111::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::__anon5c5e3c5c0111::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::__anon9b947ceb0111::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::__anon12def3180111::Visitor
/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/opt/gamesdk/third_party/protobuf-3.0.0/js/binary/
Dreader.js96 this.error_ = false;
154 this.error_ = false;
222 return this.error_ || this.decoder_.getError();
294 this.error_ = true;
396 this.error_ = true;
408 this.error_ = true;
575 if (!this.error_ &&
578 this.error_ = true;
Ddecoder.js266 this.error_ = false;
332 this.error_ = false;
437 return this.error_ ||
498 this.error_ = true;
960 this.error_ = true;
/frameworks/base/tools/aapt2/java/
DJavaClassGenerator.h117 std::string error_; variable
121 return error_; in GetError()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/
Dplugin.pb.cc65 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CodeGeneratorResponse, error_), in protobuf_AssignDesc_google_2fprotobuf_2fcompiler_2fplugin_2eproto()
1069 error_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); in SharedCtor()
1079 error_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); in SharedDtor()
1112 error_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); in Clear()
1297error_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.error_ in MergeFrom()
1329 error_.Swap(&other->error_); in InternalSwap()
1524 error_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); in clear_error()
1529 return error_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); in error()
1533 error_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); in set_error()
1538error_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(valu… in set_error()
[all …]
Dplugin.pb.h406 ::google::protobuf::internal::ArenaStringPtr error_;
743 error_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); in clear_error()
748 return error_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); in error()
752 error_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); in set_error()
757error_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(valu… in set_error()
762 error_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), in set_error()
769 return error_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); in mutable_error()
774 return error_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); in release_error()
782 error_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), error); in set_allocated_error()
/frameworks/base/tools/aapt2/
DResourceUtils.cpp847 if (!error_.empty()) { in AppendText()
892 error_ = in AppendText()
910 error_ = StringPrintf("unescaped apostrophe in string\n\"%s\"", text.c_str()); in AppendText()
923 error_ = StringPrintf("invalid unicode code point in string\n\"%s\"", utf8_data + previous_len); in AppendText()
932 if (!error_.empty()) { in StartSpan()
946 if (!error_.empty()) { in EndSpan()
956 if (!error_.empty()) { in StartUntranslatable()
967 if (!error_.empty()) { in EndUntranslatable()
982 return error_.empty(); in operator bool()
986 return error_; in GetError()
/frameworks/base/tools/aapt2/util/
DUtil.h183 std::string error_; variable
191 return error_; in Error()
203 return error_.empty();

12