Searched refs:error_code (Results 1 - 25 of 274) sorted by relevance

1234567891011

/external/llvm/include/llvm/Object/
H A DObjectFile.h69 content_iterator& increment(error_code &err) {
71 if (error_code ec = Current.getNext(next))
106 error_code getNext(RelocationRef &Result) const;
108 error_code getAddress(uint64_t &Result) const;
109 error_code getOffset(uint64_t &Result) const;
110 error_code getSymbol(SymbolRef &Result) const;
111 error_code getType(uint64_t &Result) const;
116 error_code getHidden(bool &Result) const;
121 error_code getTypeName(SmallVectorImpl<char> &Result) const;
122 error_code getAdditionalInf
[all...]
H A DMachO.h31 MachOObjectFile(MemoryBuffer *Object, MachOObject *MOO, error_code &ec);
50 error_code getSectionFinalSegmentName(DataRefImpl Sec, StringRef &Res) const;
59 virtual error_code getSymbolNext(DataRefImpl Symb, SymbolRef &Res) const;
60 virtual error_code getSymbolName(DataRefImpl Symb, StringRef &Res) const;
61 virtual error_code getSymbolFileOffset(DataRefImpl Symb, uint64_t &Res) const;
62 virtual error_code getSymbolAddress(DataRefImpl Symb, uint64_t &Res) const;
63 virtual error_code getSymbolSize(DataRefImpl Symb, uint64_t &Res) const;
64 virtual error_code getSymbolNMTypeChar(DataRefImpl Symb, char &Res) const;
65 virtual error_code getSymbolFlags(DataRefImpl Symb, uint32_t &Res) const;
66 virtual error_code getSymbolTyp
[all...]
H A DCOFF.h102 error_code getString(uint32_t offset, StringRef &Res) const;
109 virtual error_code getSymbolNext(DataRefImpl Symb, SymbolRef &Res) const;
110 virtual error_code getSymbolName(DataRefImpl Symb, StringRef &Res) const;
111 virtual error_code getSymbolFileOffset(DataRefImpl Symb, uint64_t &Res) const;
112 virtual error_code getSymbolAddress(DataRefImpl Symb, uint64_t &Res) const;
113 virtual error_code getSymbolSize(DataRefImpl Symb, uint64_t &Res) const;
114 virtual error_code getSymbolNMTypeChar(DataRefImpl Symb, char &Res) const;
115 virtual error_code getSymbolFlags(DataRefImpl Symb, uint32_t &Res) const;
116 virtual error_code getSymbolType(DataRefImpl Symb, SymbolRef::Type &Res) const;
117 virtual error_code getSymbolSectio
[all...]
H A DError.h38 inline error_code make_error_code(object_error e) {
39 return error_code(static_cast<int>(e), object_category());
/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/common/
H A Derroroutput.py33 error_code = '%04d' % error.code
35 error_code = 'New Error ' + error_code
36 return '%s:%s:(%s) %s' % (filename, line, error_code, error.message)
/external/chromium/net/base/
H A Dtest_root_certs_openssl.cc20 unsigned long error_code = ERR_peek_error(); local
21 if (ERR_GET_LIB(error_code) != ERR_LIB_X509 ||
22 ERR_GET_REASON(error_code) != X509_R_CERT_ALREADY_IN_HASH_TABLE) {
/external/javasqlite/src/main/java/SQLite/
H A DVm.java19 protected int error_code = 0; field in class:Vm
/external/llvm/include/llvm/Support/
H A DProgram.h20 class error_code;
115 static error_code ChangeStdinToBinary();
116 static error_code ChangeStdoutToBinary();
117 static error_code ChangeStderrToBinary();
H A DMemoryBuffer.h23 class error_code;
67 static error_code getFile(StringRef Filename, OwningPtr<MemoryBuffer> &result,
70 static error_code getFile(const char *Filename,
77 static error_code getOpenFile(int FD, const char *Filename,
111 static error_code getSTDIN(OwningPtr<MemoryBuffer> &result);
117 static error_code getFileOrSTDIN(StringRef Filename,
120 static error_code getFileOrSTDIN(const char *Filename,
H A DFileOutputBuffer.h24 class error_code;
43 static error_code create(StringRef FilePath, size_t Size,
72 error_code commit(int64_t NewSmallerSize = -1);
H A DFileSystem.h14 // All functions return an error_code and their actual work via the last out
19 // this does not guarantee that error_code will be in the set of explicitly
21 // errors occur, the correct error_code will be used ]. All functions may
164 friend error_code status(const Twine &path, file_status &result);
233 /// platform specific error_code.
234 error_code make_absolute(SmallVectorImpl<char> &path);
244 /// error_code.
245 error_code copy_file(const Twine &from, const Twine &to,
253 /// otherwise a platform specific error_code.
254 error_code create_directorie
[all...]
H A Dsystem_error.h39 virtual bool equivalent(const error_code& code, int condition) const;
56 class error_code
60 error_code();
61 error_code(int val, const error_category& cat);
63 error_code(ErrorCodeEnum e);
68 error_code& operator=(ErrorCodeEnum e);
80 bool operator<(const error_code& lhs, const error_code& rhs);
83 operator<<(basic_ostream<charT,traits>& os, const error_code& ec);
113 system_error(error_code e
726 class error_code { class in namespace:llvm
730 error_code() : _val_(0), _cat_(&system_category()) {} function in class:llvm::error_code
736 error_code(int _val, const error_category& _cat) function in class:llvm::error_code
740 error_code(E _e, typename enable_if_c< function in class:llvm::error_code
[all...]
/external/chromium/base/
H A Dplatform_file_posix.cc34 bool* created, PlatformFileError* error_code) {
48 *error_code = error_code ? PLATFORM_FILE_ERROR_FAILED : PLATFORM_FILE_OK;
97 if (error_code) {
99 *error_code = PLATFORM_FILE_OK;
106 *error_code = PLATFORM_FILE_ERROR_ACCESS_DENIED;
109 *error_code = PLATFORM_FILE_ERROR_IN_USE;
112 *error_code = PLATFORM_FILE_ERROR_EXISTS;
115 *error_code = PLATFORM_FILE_ERROR_NOT_FOUND;
118 *error_code
33 CreatePlatformFile(const FilePath& name, int flags, bool* created, PlatformFileError* error_code) argument
[all...]
/external/llvm/lib/Support/
H A DDataStream.cpp66 error_code OpenFile(const std::string &Filename) {
70 return error_code::success();
79 return error_code(errno, posix_category());
80 return error_code::success();
90 if (error_code e = s->OpenFile(Filename)) {
H A DMemoryBuffer.cpp167 error_code MemoryBuffer::getFileOrSTDIN(StringRef Filename,
175 error_code MemoryBuffer::getFileOrSTDIN(const char *Filename,
208 uint64_t Offset, error_code EC)
228 static error_code getMemoryBufferForStream(int FD,
240 return error_code(errno, posix_category());
246 return error_code::success();
249 error_code MemoryBuffer::getFile(StringRef Filename,
259 error_code MemoryBuffer::getFile(const char *Filename,
267 error_code err = sys::fs::is_directory(Filename, is_dir);
280 return error_code(errn
[all...]
/external/llvm/lib/Support/Windows/
H A DPathV2.inc45 error_code UTF8ToUTF16(StringRef utf8, SmallVectorImpl<wchar_t> &utf16) {
67 return error_code::success();
70 error_code UTF16ToUTF8(const wchar_t *utf16, size_t utf16_len,
97 return error_code::success();
100 error_code TempDir(SmallVectorImpl<wchar_t> &result) {
113 return error_code::success();
131 error_code current_path(SmallVectorImpl<char> &result) {
172 return error_code::success();
175 error_code copy_file(const Twine &from, const Twine &to, copy_option copt) {
185 if (error_code e
[all...]
/external/llvm/lib/Support/Unix/
H A DPathV2.inc92 error_code TempDir(SmallVectorImpl<char> &result) {
107 return error_code::success();
115 error_code current_path(SmallVectorImpl<char> &result) {
127 return error_code(errno, system_category());
135 return error_code::success();
138 error_code copy_file(const Twine &from, const Twine &to, copy_option copt) {
151 return error_code(errno, system_category());
157 return error_code(errno, system_category());
166 return error_code(errno, system_category());
192 return error_code(errn
[all...]
/external/llvm/lib/Object/
H A DObject.cpp46 error_code ec;
53 if (error_code ec = (*unwrap(Sym))->getSection(*unwrap(Sect)))
73 error_code ec;
81 if (error_code ec = (*unwrap(SI))->getName(ret))
88 if (error_code ec = (*unwrap(SI))->getSize(ret))
95 if (error_code ec = (*unwrap(SI))->getContents(ret))
102 if (error_code ec = (*unwrap(SI))->getAddress(ret))
110 if (error_code ec = (*unwrap(SI))->containsSymbol(**unwrap(Sym), ret))
131 error_code ec;
141 if (error_code e
[all...]
H A DCOFFObjectFile.cpp34 bool checkSize(const MemoryBuffer *m, error_code &ec, uint64_t size) {
44 error_code &ec,
92 error_code COFFObjectFile::getSymbolNext(DataRefImpl Symb,
101 error_code COFFObjectFile::getSymbolName(DataRefImpl Symb,
107 error_code COFFObjectFile::getSymbolFileOffset(DataRefImpl Symb,
111 if (error_code ec = getSection(symb->SectionNumber, Section))
114 if (error_code ec = getSymbolNMTypeChar(Symb, Type))
125 error_code COFFObjectFile::getSymbolAddress(DataRefImpl Symb,
129 if (error_code ec = getSection(symb->SectionNumber, Section))
132 if (error_code e
[all...]
/external/chromium/chrome/browser/chromeos/
H A Dgoogle_update_chromeos.cc107 GoogleUpdateErrorCode error_code) {
109 DCHECK(results == UPGRADE_ERROR ? error_code != GOOGLE_UPDATE_NO_ERROR :
110 error_code == GOOGLE_UPDATE_NO_ERROR);
112 listener_->OnReportResults(results, error_code, version_available_);
106 ReportResults(GoogleUpdateUpgradeResult results, GoogleUpdateErrorCode error_code) argument
/external/kernel-headers/original/asm-arm/
H A Dsigcontext.h11 unsigned long error_code; member in struct:sigcontext
/external/llvm/utils/obj2yaml/
H A Dobj2yaml.h32 llvm::error_code coff2yaml(llvm::raw_ostream &Out, llvm::MemoryBuffer *TheObj);
/external/llvm/unittests/Support/
H A DMemoryTest.cpp60 error_code EC;
62 EXPECT_EQ(error_code::success(), EC);
71 error_code EC;
73 EXPECT_EQ(error_code::success(), EC);
75 EXPECT_EQ(error_code::success(), EC);
77 EXPECT_EQ(error_code::success(), EC);
93 EXPECT_EQ(error_code::success(), EC);
106 error_code EC;
108 EXPECT_EQ(error_code::success(), EC);
125 error_code E
[all...]
/external/chromium/chrome/browser/tab_contents/
H A Dtab_contents_ssl_helper.h27 scoped_refptr<SSLAddCertHandler> handler, int error_code);
33 scoped_refptr<SSLAddCertHandler> handler, int error_code);
/external/chromium/net/tools/flip_server/
H A Dbalsa_enums.h96 static const char* ParseStateToString(ParseState error_code);
97 static const char* ErrorCodeToString(ErrorCode error_code);

Completed in 484 milliseconds

1234567891011