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

123456789

/external/llvm/include/llvm/Object/
H A DObjectFile.h65 content_iterator& increment(error_code &err) {
67 if (error_code ec = Current.getNext(next))
98 error_code getNext(RelocationRef &Result) const;
100 error_code getAddress(uint64_t &Result) const;
101 error_code getSymbol(SymbolRef &Result) const;
102 error_code getType(uint32_t &Result) const;
107 error_code getTypeName(SmallVectorImpl<char> &Result) const;
108 error_code getAdditionalInfo(int64_t &Result) const;
114 error_code getValueString(SmallVectorImpl<char> &Result) const;
134 error_code getNex
[all...]
H A DMachO.h30 MachOObjectFile(MemoryBuffer *Object, MachOObject *MOO, error_code &ec);
49 virtual error_code getSymbolNext(DataRefImpl Symb, SymbolRef &Res) const;
50 virtual error_code getSymbolName(DataRefImpl Symb, StringRef &Res) const;
51 virtual error_code getSymbolOffset(DataRefImpl Symb, uint64_t &Res) const;
52 virtual error_code getSymbolAddress(DataRefImpl Symb, uint64_t &Res) const;
53 virtual error_code getSymbolSize(DataRefImpl Symb, uint64_t &Res) const;
54 virtual error_code getSymbolNMTypeChar(DataRefImpl Symb, char &Res) const;
55 virtual error_code isSymbolInternal(DataRefImpl Symb, bool &Res) const;
56 virtual error_code isSymbolGlobal(DataRefImpl Symb, bool &Res) const;
57 virtual error_code isSymbolWea
[all...]
H A DCOFF.h99 error_code getString(uint32_t offset, StringRef &Res) const;
106 virtual error_code getSymbolNext(DataRefImpl Symb, SymbolRef &Res) const;
107 virtual error_code getSymbolName(DataRefImpl Symb, StringRef &Res) const;
108 virtual error_code getSymbolOffset(DataRefImpl Symb, uint64_t &Res) const;
109 virtual error_code getSymbolAddress(DataRefImpl Symb, uint64_t &Res) const;
110 virtual error_code getSymbolSize(DataRefImpl Symb, uint64_t &Res) const;
111 virtual error_code getSymbolNMTypeChar(DataRefImpl Symb, char &Res) const;
112 virtual error_code isSymbolInternal(DataRefImpl Symb, bool &Res) const;
113 virtual error_code isSymbolGlobal(DataRefImpl Symb, bool &Res) const;
114 virtual error_code isSymbolWea
[all...]
H A DError.h38 inline error_code make_error_code(object_error e) {
39 return error_code(static_cast<int>(e), object_category());
H A DBinary.h61 error_code createBinary(MemoryBuffer *Source, OwningPtr<Binary> &Result);
62 error_code createBinary(StringRef Path, OwningPtr<Binary> &Result);
H A DArchive.h38 error_code getName(StringRef &Result) const;
47 error_code getAsBinary(OwningPtr<Binary> &Result) const;
72 Archive(MemoryBuffer *source, error_code &ec);
/external/llvm/include/llvm/Support/
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
118 /// platform specific error_code.
119 error_code make_absolute(SmallVectorImpl<char> &path);
129 /// error_code.
130 error_code copy_file(const Twine &from, const Twine &to,
138 /// otherwise a platform specific error_code.
139 error_code create_directories(const Twine &path, bool &existed);
146 /// otherwise a platform specific error_code
[all...]
H A DMemoryBuffer.h22 class error_code;
66 static error_code getFile(StringRef Filename, OwningPtr<MemoryBuffer> &result,
69 static error_code getFile(const char *Filename,
76 static error_code getOpenFile(int FD, const char *Filename,
110 static error_code getSTDIN(OwningPtr<MemoryBuffer> &result);
116 static error_code getFileOrSTDIN(StringRef Filename,
119 static error_code getFileOrSTDIN(const char *Filename,
H A Dsystem_error.h37 virtual bool equivalent(const error_code& code, int condition) const;
54 class error_code
58 error_code();
59 error_code(int val, const error_category& cat);
61 error_code(ErrorCodeEnum e);
66 error_code& operator=(ErrorCodeEnum e);
78 bool operator<(const error_code& lhs, const error_code& rhs);
81 operator<<(basic_ostream<charT,traits>& os, const error_code& ec);
111 system_error(error_code e
735 class error_code { class in namespace:llvm
739 error_code() : _val_(0), _cat_(&system_category()) {} function in class:llvm::error_code
741 error_code(int _val, const error_category& _cat) function in class:llvm::error_code
745 error_code(E _e, typename enable_if_c< function in class:llvm::error_code
[all...]
/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/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/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/lib/Object/
H A DObject.cpp44 error_code ec;
51 if (error_code ec = (*unwrap(SI))->getName(ret))
58 if (error_code ec = (*unwrap(SI))->getSize(ret))
65 if (error_code ec = (*unwrap(SI))->getContents(ret))
H A DCOFFObjectFile.cpp31 bool checkSize(const MemoryBuffer *m, error_code &ec, uint64_t size) {
41 error_code &ec,
89 error_code COFFObjectFile::getSymbolNext(DataRefImpl Symb,
98 error_code COFFObjectFile::getSymbolName(DataRefImpl Symb,
104 error_code COFFObjectFile::getSymbolOffset(DataRefImpl Symb,
108 if (error_code ec = getSection(symb->SectionNumber, Section))
111 if (error_code ec = getSymbolNMTypeChar(Symb, Type))
122 error_code COFFObjectFile::getSymbolAddress(DataRefImpl Symb,
126 if (error_code ec = getSection(symb->SectionNumber, Section))
129 if (error_code e
[all...]
/external/llvm/lib/Support/Windows/
H A DPathV2.inc44 error_code UTF8ToUTF16(StringRef utf8, SmallVectorImpl<wchar_t> &utf16) {
69 error_code UTF16ToUTF8(const wchar_t *utf16, size_t utf16_len,
99 error_code TempDir(SmallVectorImpl<wchar_t> &result) {
138 error_code current_path(SmallVectorImpl<char> &result) {
182 error_code copy_file(const Twine &from, const Twine &to, copy_option copt) {
192 if (error_code ec = UTF8ToUTF16(f, wide_from)) return ec;
193 if (error_code ec = UTF8ToUTF16(t, wide_to)) return ec;
205 error_code create_directory(const Twine &path, bool &existed) {
209 if (error_code ec = UTF8ToUTF16(path.toStringRef(path_storage),
214 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);
/external/chromium/chrome/browser/google/
H A Dgoogle_update.h70 // state is, |error_code| represents what error occurred and |version|
75 GoogleUpdateErrorCode error_code,
116 bool ReportFailure(HRESULT hr, GoogleUpdateErrorCode error_code,
130 // listener. If results indicates an error, the error_code will indicate which
134 GoogleUpdateErrorCode error_code);
/external/llvm/lib/Support/
H A DMemoryBuffer.cpp39 namespace { const llvm::error_code success; }
158 error_code MemoryBuffer::getFileOrSTDIN(StringRef Filename,
166 error_code MemoryBuffer::getFileOrSTDIN(const char *Filename,
205 error_code MemoryBuffer::getFile(StringRef Filename,
215 error_code MemoryBuffer::getFile(const char *Filename,
225 return error_code(errno, posix_category());
227 error_code ret = getOpenFile(FD, Filename, result, FileSize, FileSize,
256 return error_code(errno, posix_category());
276 error_code MemoryBuffer::getOpenFile(int FD, const char *Filename,
291 return error_code(errn
[all...]
/external/llvm/lib/Support/Unix/
H A DPathV2.inc77 error_code TempDir(SmallVectorImpl<char> &result) {
100 error_code current_path(SmallVectorImpl<char> &result) {
107 return error_code(errno, system_category());
118 error_code copy_file(const Twine &from, const Twine &to, copy_option copt) {
131 return error_code(errno, system_category());
137 return error_code(errno, system_category());
146 return error_code(errno, system_category());
172 return error_code(errno, system_category());
177 error_code create_directory(const Twine &path, bool &existed) {
183 return error_code(errn
[all...]
/external/chromium/chrome/browser/net/
H A Dresolve_proxy_msg_helper_unittest.cc29 PendingResult(int error_code, argument
31 : error_code(error_code), proxy_list(proxy_list) {
34 int error_code; member in struct:ResolveProxyMsgHelperTest::PendingResult
110 EXPECT_EQ(net::OK, pending_result()->error_code);
122 EXPECT_EQ(net::OK, pending_result()->error_code);
134 EXPECT_EQ(net::OK, pending_result()->error_code);
169 EXPECT_EQ(net::OK, pending_result()->error_code);
180 EXPECT_EQ(net::OK, pending_result()->error_code);
191 EXPECT_EQ(net::OK, pending_result()->error_code);
[all...]
/external/chromium/base/files/
H A Dfile_path_watcher_win.cc202 DWORD error_code = GetLastError(); local
203 if (error_code != ERROR_FILE_NOT_FOUND &&
204 error_code != ERROR_PATH_NOT_FOUND &&
205 error_code != ERROR_ACCESS_DENIED &&
206 error_code != ERROR_SHARING_VIOLATION &&
207 error_code != ERROR_DIRECTORY) {
/external/chromium/base/i18n/
H A Dfile_util_icu.cc95 UErrorCode error_code = U_ZERO_ERROR; local
101 error_code);
102 DCHECK(U_SUCCESS(error_code));
108 UErrorCode error_code = U_ZERO_ERROR; local
111 collator_.reset(icu::Collator::createInstance(error_code));
112 DCHECK(U_SUCCESS(error_code));

Completed in 1897 milliseconds

123456789