/third_party/python/Lib/test/ |
H A D | test_venv.py | 86 with captured_stderr() as error: 88 return output.getvalue(), error.getvalue()
|
H A D | test_site.py | 26 import urllib.error namespace 484 except urllib.error.HTTPError as e:
|
H A D | test_argparse.py | 182 def error(self, *args, **kwargs): member in ErrorRaisingArgumentParser 183 error = super(ErrorRaisingArgumentParser, self).error 184 return stderr_to_parser_error(error, *args, **kwargs) 1711 # should provoke no such file error 1713 # should not provoke error because default file is created 1851 Test that add_argument throws an error if FileType class 2193 # No error here 2206 'error: the following arguments are required: {foo,bar}\n$' 2218 r"error [all...] |
/third_party/protobuf/src/google/protobuf/util/internal/ |
H A D | proto_writer.cc | 59 using util::error::INVALID_ARGUMENT; 348 // Calls the registered error listener for any required field(s) not yet in pop() 618 // error location reporting and required field accounting. in RenderPrimitiveField() 621 // ProtoElement for error cases. in RenderPrimitiveField() 710 Status(util::error::INVALID_ARGUMENT, data.ToString().value()); in RenderPrimitiveField()
|
/third_party/rust/crates/nom/src/multi/ |
H A D | mod.rs | 6 use crate::error::ErrorKind; 7 use crate::error::ParseError; 19 /// due to an OOM error. 28 /// This stops on [`Err::Error`] and returns the results that were accumulated. To instead chain an error up, see 35 /// return an error, to prevent going into an infinite loop 38 /// # use nom::{Err, error::ErrorKind, Needed, IResult}; 82 /// This stops on [`Err::Error`] if there is at least one result, and returns the results that were accumulated. To instead chain an error up, 89 /// (like `alpha0` or `digit0`), `many1` will return an error, 93 /// # use nom::{Err, error::{Error, ErrorKind}, Needed, IResult}; 146 /// `f` keeps going so long as `g` produces [`Err::Error`]. To instead chain an error u [all...] |
/third_party/spirv-tools/test/val/ |
H A D | val_modes_test.cpp | 567 const std::string error = std::get<1>(GetParam()); in TEST_P() local 628 EXPECT_THAT(getDiagnosticString(), HasSubstr(error)); in TEST_P()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fFboTestUtil.cpp | 608 const int error = int(deFloatCeil(255.0f * 2.0f / float(srcMaxValue))); in calculateU8ConversionError() local 610 return de::clamp<int>(error, 0, 255); in calculateU8ConversionError()
|
H A D | es31fSynchronizationTests.cpp | 388 bool error = false; 406 error = true; 421 if (!error) 423 return !error; 1406 bool error = false; 1425 error = true; 1440 if (error) 2285 << "Work buffer error, at index " << ndx << " expected value " << (sumValue) << ", got " << result[ndx] << "\n" 2334 << "Intermediate buffer error, at value index " << valueNdx << ", applied operation index " << invalidOperationNdx << ", value was increased by " << errorDelta << ", but expected " << errorExpected << ".\n" 2525 << "Counter buffer error, expecte [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/ |
H A D | vktRenderPassSampleReadTests.cpp | 176 catch (const vk::Error& error) in createImage() 178 if (error.getError() == VK_ERROR_FORMAT_NOT_SUPPORTED) in createImage()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
H A D | ParseContext.h | 56 void error(const TSourceLoc &loc, const char *reason, const char *token); 57 void error(const TSourceLoc &loc, const char *reason, const ImmutableString &token); 123 // Check functions - the ones that return bool return false if an error was generated. 160 // Check if at least one of the specified extensions can be used, and generate error/warning as 414 // Performs an error check for embedded struct declarations. 518 // Returns a clamped index. If it prints out an error message, the token is "[]". 662 // non-empty declaration error check will need to be performed if the empty declaration is 677 bool mChecksPrecisionErrors; // true if an error will be generated when a variable is declared
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
H A D | gl4cShaderAtomicCountersTests.cpp | 3105 long error = NO_ERROR; in Run() local 3113 error = ERROR; in Run() 3122 error = ERROR; in Run() 3135 error = ERROR; in Run() 3144 error = ERROR; in Run() 3153 error = ERROR; in Run() 3155 return error; in Run() 3283 << tcu::TestLog::Message << "Unexpected error during vertex shader compilation." in Run() 3302 << tcu::TestLog::Message << "Expected error during fragment shader compilation or linking." in Run() 3375 << tcu::TestLog::Message << "Unexpected error durin in Run() 4585 long error = NO_ERROR; Run() local [all...] |
/third_party/ntfs-3g/ntfsprogs/ |
H A D | ntfsrecover.c | 1004 * as an error. in firstrecord() 1013 k = 0; /* error returned */ in firstrecord() 1042 /* Not an error : just no space */ in firstrecord() 1067 * Return an error if syncing is requested, otherwise in firstrecord() 1105 BOOL error; in findprevious() local 1108 error = FALSE; in findprevious() 1143 error = TRUE; /* not a real error */ in findprevious() 1156 error = TRUE; in findprevious() 1161 } while (prevmiddle && !error); in findprevious() [all...] |
/third_party/ntfs-3g/src/ |
H A D | ntfs-3g.c | 33 #error "***********************************************************" 34 #error "* *" 35 #error "* Compilation requires at least FUSE version 2.6.0! *" 36 #error "* *" 37 #error "***********************************************************" 128 #error Incompatible options KERNELACLS and KERNELPERMS 147 * and a negative error code if something fails. 289 * This is not an error and the context is filled anyway, 326 * 0 if not allowed or some error occurred (errno tells why) 405 * 0 if not allowed or some error occurre [all...] |
/third_party/node/deps/v8/src/objects/ |
H A D | intl-objects.cc | 6 #error Internationalization is expected to be enabled. 493 // TODO(victorgomes): Temporarily forcing a fatal error here in case of in InnerAddElement() 496 FATAL("Fatal JavaScript invalid size error when adding element"); in InnerAddElement() 702 UErrorCode error = U_ZERO_ERROR; in CanonicalizeLanguageTag() local 707 icu::Locale icu_locale = icu::Locale::forLanguageTag(locale.c_str(), error); in CanonicalizeLanguageTag() 709 if (U_FAILURE(error) || icu_locale.isBogus()) { in CanonicalizeLanguageTag() 719 icu_locale = icu::LocaleBuilder().setLocale(icu_locale).build(error); in CanonicalizeLanguageTag() 720 icu_locale.canonicalize(error); in CanonicalizeLanguageTag() 721 if (U_FAILURE(error) || icu_locale.isBogus()) { in CanonicalizeLanguageTag()
|
/third_party/rust/crates/nix/src/ |
H A D | unistd.rs | 306 /// is no error case that needs to be handled. 315 /// There is always a parent pid to return, so there is no error case that needs 319 Pid(unsafe { libc::getppid() }) // no error handling, according to man page: "These functions are always successful." in getppid() 406 /// No error handling is required as a thread id should always exist for any 671 // and double the buffer size upon every error in getcwd() 678 let error = Errno::last(); in getcwd() 680 if error != Errno::ERANGE { in getcwd() 681 return Err(error); in getcwd() 981 /// On some systems, the host name is limited to as few as 64 bytes. An error 1583 /// # use std::error [all...] |
/third_party/skia/third_party/externals/microhttpd/ |
H A D | configure | 112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 279 $0: error possibly output before this message. Then install 416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 426 $as_echo "$as_me: error: $2" >&2 497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 1537 --disable-messages disable MHD error messages 1884 /* Override any GCC internal prototype to avoid an error. 2374 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | avfilter.c | 89 * @return >= 0 in case of success, a negative AVERROR code on error 1018 goto error; in ff_filter_frame() 1022 goto error; in ff_filter_frame() 1026 goto error; in ff_filter_frame() 1042 error: in ff_filter_frame() 1255 Status (EOF or error code) of the link and timestamp of the status
|
/third_party/curl/lib/vquic/ |
H A D | curl_osslq.c | 141 /* Return error string for last OpenSSL error */ 142 static char *ossl_strerror(unsigned long error, char *buf, size_t size) in ossl_strerror() argument 148 ERR_error_string_n((uint32_t)error, buf, size); in ossl_strerror() 150 ERR_error_string_n(error, buf, size); in ossl_strerror() 154 const char *msg = error ? "Unknown error" : "No error"; in ossl_strerror() 422 error to client */ in cf_osslq_ssl_err() 437 /* detail is already set to the SSL error abov in cf_osslq_ssl_err() [all...] |
/third_party/glslang/glslang/MachineIndependent/ |
H A D | Scan.cpp | 164 // or no #version was found; otherwise, returns false. There is no error case, it always 336 // this is really an error, as this should called only once per process in fillInKeywordMap() 862 parseContext.error(loc, "illegal use of escape character", "\\", ""); in tokenize() 893 parseContext.error(loc, "not supported", "::", ""); in tokenize() 919 parseContext.error(loc, "unexpected token", buf, ""); in tokenize() 1860 // Give an error for use of a reserved symbol. 1866 parseContext.error(loc, "Reserved word.", tokenText, "", ""); in reservedWord()
|
H A D | Constant.cpp | 499 // Note: avoid UBSAN error regarding negating 0x80000000 in fold() 1311 bool error = false; in foldConstructor() local 1315 error = parseConstTree(aggrNode, unionArray, aggrNode->getOp(), aggrNode->getType(), true); in foldConstructor() 1317 error = parseConstTree(aggrNode, unionArray, aggrNode->getOp(), aggrNode->getType()); in foldConstructor() 1319 if (error) in foldConstructor()
|
/third_party/libsnd/src/ |
H A D | wavlike.c | 765 { psf->error = SFE_MALLOC_FAILED ; in wavlike_read_bext_chunk() 766 return psf->error ; in wavlike_read_bext_chunk() 871 { psf->error = SFE_MALLOC_FAILED ; in wavlike_read_cart_chunk() 872 return psf->error ; in wavlike_read_cart_chunk()
|
/third_party/libuv/src/win/ |
H A D | tcp.c | 276 * regardless of state, so we'd get an error even if the port is in use by a 316 * sockets. For now we're silently ignoring the error. */ in uv__tcp_try_bind() 450 /* Make this req pending reporting an error. */ in uv__tcp_queue_accept() 515 /* Make this req pending reporting an error. */ in uv__tcp_queue_read() 636 /* No valid connections found, so we error out. */ in uv__tcp_accept() 933 /* Send failed due to an error, report it later */ in uv__tcp_write() 981 /* An error occurred doing the read. */ in uv__process_tcp_read_req() 1068 /* Ouch! serious error. */ in uv__process_tcp_read_req() 1154 * must have failed. This is a serious error. We stop accepting connections in uv__process_tcp_accept_req() 1155 * and report this error t in uv__process_tcp_accept_req() [all...] |
/third_party/node/src/crypto/ |
H A D | crypto_keys.cc | 441 Local<Value> error; in ExportJWKSecretKey() local 449 &error); in ExportJWKSecretKey() 451 CHECK(!error.IsEmpty()); in ExportJWKSecretKey() 452 env->isolate()->ThrowException(error); in ExportJWKSecretKey() 1041 // ImportJWKSecretKey is responsible for throwing an appropriate error in InitJWK() 1047 // ImportJWKAsymmetricKey is responsible for throwing an appropriate error in InitJWK()
|
/third_party/node/deps/v8/tools/profview/ |
H A D | profview.js | 187 console.error( 188 "File could not be read! Code " + event.target.error.code); 360 console.error("Unknown type: " + type); 653 console.error("Unexpected mode");
|
/third_party/node/tools/gyp/pylib/gyp/ |
H A D | input.py | 583 # Flag to indicate if there was an error in a child process. 584 self.error = False 591 self.error = True 621 if parallel_state.error: 661 if parallel_state.error: 1564 # It's an error for a target to depend on all other targets in 2453 # TODO(mark): Signal an error if default_configurations exists but 2714 Raises an exception on error. 2941 # Use '.' for the current directory '', so that the error messages make
|