| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
| ConfigParser.py | 52 The filename defaults to fp.name; it is only used in error 112 class Error(Exception): 139 class NoSectionError(Error): 143 Error.__init__(self, 'No section: %r' % (section,)) 147 class DuplicateSectionError(Error): 151 Error.__init__(self, "Section %r already exists" % section) 155 class NoOptionError(Error): 159 Error.__init__(self, "No option %r in section: %r" % 165 class InterpolationError(Error): 169 Error.__init__(self, msg [all...] |
| csv.py | 8 from _csv import Error, __version__, writer, reader, register_dialect, \ 21 "Error", "Dialect", "__doc__", "excel", "excel_tab", 55 raise Error(str(e)) 184 raise Error, "Could not determine delimiter"
|
| locale.py | 35 __all__ = ["getlocale", "getdefaultlocale", "getpreferredencoding", "Error", 57 Error = ValueError 88 raise Error, '_locale emulation only supports "C" locale' 583 except Error: [all...] |
| shutil.py | 26 "copytree", "move", "rmtree", "Error", "SpecialFileError", 31 class Error(EnvironmentError): 69 raise Error("`%s` and `%s` are the same file" % (src, dst)) 149 If exception(s) occur, an Error is raised with a list of reasons. 193 # catch the Error from the recursive copytree so that we can 195 except Error, err: 208 raise Error, errors 214 is set, it is called to handle the error with arguments (func, 238 except os.error, err: 244 except os.error [all...] |
| sunau.py | 58 getmark(id) -- raises an error since the mark does not 131 class Error(Exception): 169 raise Error, 'bad magic number' 172 raise Error, 'header size too small' 174 raise Error, 'header size ridiculously large' 180 raise Error, 'encoding not (yet) supported' 194 raise Error, 'unknown encoding' 251 raise Error, 'no marks' 274 raise Error, 'position not in range' 308 raise Error, 'cannot change parameters after starting to write [all...] |
| wave.py | 25 getmark(id) -- raises an error since the mark does not 76 __all__ = ["open", "openfp", "Error"] 78 class Error(Exception): 130 raise Error, 'file does not start with RIFF id' 132 raise Error, 'not a WAVE file' 147 raise Error, 'data chunk before fmt chunk' 154 raise Error, 'fmt chunk and/or data chunk missing' 217 raise Error, 'no marks' 221 raise Error, 'position not in range' 269 raise Error, 'unknown format: %r' % (wFormatTag, [all...] |
| webbrowser.py | 12 __all__ = ["Error", "open", "open_new", "open_new_tab", "get", "register"] 14 class Error(Exception): 52 raise Error("could not locate runnable browser") 270 raise Error("Bad 'new' parameter to open(); " + 422 except socket.error: 545 # [Error 22] No application is associated with the specified 686 except getopt.error, msg:
|
| xdrlib.py | 13 __all__ = ["Error", "Packer", "Unpacker", "ConversionError"] 16 class Error(Exception): 19 except xdrlib.Error, var: 20 # var has the Error instance for the exception 34 class ConversionError(Error): 73 except struct.error, msg: 78 except struct.error, msg: 139 raise Error('unextracted data remains')
|
| /external/chromium_org/chrome/browser/chromeos/policy/ |
| consumer_management_service.cc | 87 virtual void Error() OVERRIDE; 124 void DesktopNotificationDelegate::Error() { 226 LOG(ERROR) << "Unknown enrollment stage: " << stage; 305 const GoogleServiceAuthError& error) { 309 LOG(ERROR) << "Failed to get the access token: " << error.ToString(); 318 if (!dbus_success || reply.error() != 0) { 319 LOG(ERROR) << "Failed to get the owner info from boot lockbox."; 333 if (!dbus_success || reply.error() != 0) { 334 LOG(ERROR) << "Failed to set owner info in boot lockbox." [all...] |
| /external/chromium_org/chrome/browser/local_discovery/ |
| privet_notifications.cc | 378 void PrivetNotificationDelegate::Error() { 379 LOG(ERROR) << "Error displaying privet notification";
|
| /external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-python/oauth2/ |
| __init__.py | 44 class Error(RuntimeError): 47 def __init__(self, message='OAuth error occurred.'): 59 class MissingSignature(Error): 64 """Optional WWW-Authenticate header (401 error)""" 363 raise Error('Parameter not found: %s' % parameter) 434 raise Error('Unable to parse OAuth parameters from ' 618 raise Error('OAuth version %s not supported.' % str(version)) 634 raise Error('Signature method %s not supported try one of the following: %s' % (signature_method, signature_method_names)) 657 raise Error('Invalid signature. Expected signature base ' 668 raise Error('Expired timestamp: given %d and now %s has a [all...] |
| /external/chromium_org/content/browser/devtools/ |
| devtools_protocol.cc | 19 const char kErrorParam[] = "error"; 25 enum Error {
|
| /external/chromium_org/extensions/browser/ |
| extension_function.cc | 47 // It would be nice to DCHECK(error.empty()) but some legacy extension 63 ErrorResponseValue(ExtensionFunction* function, const std::string& error) { 64 // It would be nice to DCHECK(!error.empty()) but too many legacy extension 65 // function implementations don't set error but signal failure. 66 function->SetError(error); 223 void ExtensionFunction::SetError(const std::string& error) { 224 error_ = error; 256 ExtensionFunction::ResponseValue ExtensionFunction::Error( 257 const std::string& error) { 258 return ResponseValue(new ErrorResponseValue(this, error)); [all...] |
| /external/chromium_org/mojo/public/tools/bindings/pylib/mojom/parse/ |
| parser.py | 28 from ..error import Error 37 class ParseError(Error): 41 Error.__init__(self, filename, message, lineno=lineno,
|
| /external/chromium_org/sandbox/linux/bpf_dsl/ |
| bpf_dsl.cc | 280 ResultExpr Error(int err) { 367 return Error(ENOSYS);
|
| /external/chromium_org/third_party/libjingle/source/talk/xmpp/ |
| xmppengine.h | 43 //! XMPP stanza error codes. 138 //! The response may be either a result or an error, and will have 158 //! Error codes. See GetError(). 159 enum Error { 160 ERROR_NONE = 0, //!< No error 161 ERROR_XML, //!< Malformed XML or encoding error 162 ERROR_STREAM, //!< XMPP stream error - see GetStreamError() 163 ERROR_VERSION, //!< XMPP version error 170 ERROR_SOCKET, //!< Socket error 181 STATE_CLOSED, //!< Session closed, possibly due to error [all...] |
| /external/chromium_org/third_party/protobuf/python/ |
| mox.py | 69 class Error(AssertionError): 75 class ExpectedMethodCallsError(Error): 93 Error.__init__(self) 102 class UnexpectedMethodCallError(Error): 121 Error.__init__(self) 130 class UnknownMethodCallError(Error): 142 Error.__init__(self) 821 # Check raw types if there was a type error. This is helpful for [all...] |
| /external/chromium_org/third_party/webrtc/base/ |
| openssladapter.cc | 57 #error You must define mutex operations appropriate for your platform! 219 // Loading the error strings crashes mac_asan. Omit this debugging aid there. 290 Error("BeginSSL", err, false); 383 LOG(LS_WARNING) << "ContinueSSL -- error " << code; 391 OpenSSLAdapter::Error(const char* context, int err, bool signal) { 392 LOG(LS_WARNING) << "OpenSSLAdapter::Error(" 445 // OpenSSL will return an error if we try to write zero bytes 457 //LOG(LS_INFO) << " -- error want read"; 462 //LOG(LS_INFO) << " -- error want write"; 471 //LOG(LS_INFO) << " -- error " << code 864 unsigned long error = ERR_get_error(); \/\/ NOLINT: type used by OpenSSL. local [all...] |
| opensslstreamadapter.cc | 114 int error; local 115 StreamResult result = stream->Read(out, outl, &read, &error); 132 int error; local 133 StreamResult result = stream->Write(in, inl, &written, &error); 335 size_t* written, int* error) { 341 return StreamAdapterInterface::Write(data, data_len, written, error); 353 if (error) 354 *error = ssl_error_code_; 358 // OpenSSL will return an error if we try to write zero bytes 377 LOG(LS_VERBOSE) << " -- error want read" [all...] |
| schanneladapter.cc | 116 Error("BeginSSL", err, false); 139 LOG(LS_ERROR) << "AcquireCredentialsHandle error: " 220 << "InitializeSecurityContext error: " 284 LOG(LS_ERROR) << "QueryContextAttributes error: " 401 SChannelAdapter::Error(const char* context, int err, bool signal) { 402 LOG(LS_WARNING) << "SChannelAdapter::Error(" 508 Error("EncryptMessage", res, false); 578 // Note: this isn't strictly an error, but we're using it temporarily to 623 Error("BeginSSL", err); 635 Error("Read", err) [all...] |
| /external/clang/lib/ASTMatchers/Dynamic/ |
| Parser.cpp | 59 explicit CodeTokenizer(StringRef MatcherCode, Diagnostics *Error) 60 : Code(MatcherCode), StartOfLine(MatcherCode), Line(1), Error(Error), 65 CodeTokenizer(StringRef MatcherCode, Diagnostics *Error, 67 : Code(MatcherCode), StartOfLine(MatcherCode), Line(1), Error(Error), 194 Error->addError(Range, Error->ET_ParserUnsignedError) << Result->Text; 229 Error->addError(Range, Error->ET_ParserStringError) << ErrorText [all...] |
| /external/clang/tools/libclang/ |
| CXType.cpp | 740 // [gcc extension] lib/AST/ExprConstant.cpp:1372 HandleSizeof : vla == error 795 long long Error = visitRecordForValidation(RD); 796 if (Error < 0) 797 return Error;
|
| /external/deqp/execserver/ |
| xsWin32TestProcess.cpp | 49 // Error 51 static std::string formatErrMsg (DWORD error, const char* msg) 57 # error Unicode not supported. 61 NULL, error, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), (LPSTR)&msgBuf, 0, DE_NULL) > 0) 62 str << msg << ", error " << error << ": " << msgBuf; 64 str << msg << ", error " << error; local 69 Error::Error (DWORD error, const char* msg [all...] |
| /external/doclava/src/com/google/doclava/ |
| Errors.java | 28 Error error; field in class:Errors.ErrorMessage 32 ErrorMessage(Error e, SourcePositionInfo p, String m) { 33 error = e; 51 public Error error() { method in class:Errors.ErrorMessage 52 return error; 56 public static void error(Error error, SourcePositionInfo where, String text) method in class:Errors [all...] |
| /external/llvm/bindings/ocaml/target/ |
| target_ocaml.c | 29 CAMLprim value llvm_register_target_exns(value Error) { 30 llvm_target_error_exn = Field(Error, 0); 219 char *Error; 221 if(LLVMGetTargetFromTriple(String_val(Triple), &T, &Error)) 222 llvm_raise(llvm_target_error_exn, Error);
|