Home
last modified time | relevance | path

Searched refs:ErrorType (Results 1 - 25 of 31) sorted by relevance

12

/third_party/skia/third_party/externals/dawn/src/dawn_native/
H A DErrorInjector.h23 template <typename ErrorType>
25 ErrorType error;
33 template <typename ErrorType>
34 InjectedErrorResult<ErrorType> MaybeInjectError(ErrorType errorType) { in MaybeInjectError()
35 return InjectedErrorResult<ErrorType>{errorType, ShouldInjectError()}; in MaybeInjectError()
38 template <typename ErrorType, typename... ErrorTypes>
39 InjectedErrorResult<ErrorType> MaybeInjectError(ErrorType errorType, ErrorTypes... errorTypes) { in MaybeInjectError()
41 return InjectedErrorResult<ErrorType>{errorTyp in MaybeInjectError()
[all...]
H A DError.cpp33 wgpu::ErrorType ToWGPUErrorType(InternalErrorType type) { in ToWGPUErrorType()
36 return wgpu::ErrorType::Validation; in ToWGPUErrorType()
38 return wgpu::ErrorType::OutOfMemory; in ToWGPUErrorType()
44 return wgpu::ErrorType::DeviceLost; in ToWGPUErrorType()
47 return wgpu::ErrorType::Unknown; in ToWGPUErrorType()
51 InternalErrorType FromWGPUErrorType(wgpu::ErrorType type) { in FromWGPUErrorType()
53 case wgpu::ErrorType::Validation: in FromWGPUErrorType()
55 case wgpu::ErrorType::OutOfMemory: in FromWGPUErrorType()
57 case wgpu::ErrorType::DeviceLost: in FromWGPUErrorType()
H A DErrorScope.cpp23 wgpu::ErrorType ErrorFilterToErrorType(wgpu::ErrorFilter filter) { in ErrorFilterToErrorType()
26 return wgpu::ErrorType::Validation; in ErrorFilterToErrorType()
28 return wgpu::ErrorType::OutOfMemory; in ErrorFilterToErrorType()
39 wgpu::ErrorType ErrorScope::GetErrorType() const { in GetErrorType()
62 bool ErrorScopeStack::HandleError(wgpu::ErrorType type, const char* message) { in HandleError()
71 if (it->mCapturedError == wgpu::ErrorType::NoError) { in HandleError()
76 if (type == wgpu::ErrorType::DeviceLost) { in HandleError()
77 if (it->mCapturedError != wgpu::ErrorType::DeviceLost) { in HandleError()
H A DErrorScope.h27 wgpu::ErrorType GetErrorType() const;
34 wgpu::ErrorType mMatchedErrorType;
35 wgpu::ErrorType mCapturedError = wgpu::ErrorType::NoError;
49 bool HandleError(wgpu::ErrorType type, const char* message);
H A DErrorData.h26 enum class ErrorType : uint32_t; class
30 using ErrorType = wgpu::ErrorType;
H A DError.h192 wgpu::ErrorType ToWGPUErrorType(InternalErrorType type);
193 InternalErrorType FromWGPUErrorType(wgpu::ErrorType type);
H A DDevice.h261 void APIInjectError(wgpu::ErrorType type, const char* message);
H A DDevice.cpp1209 void DeviceBase::APIInjectError(wgpu::ErrorType type, const char* message) {
1216 if (type != wgpu::ErrorType::Validation && type != wgpu::ErrorType::OutOfMemory) {
/third_party/nghttp2/src/
H A Dquic.cc40 return {ErrorType::TransportVersionNegotiation, 0}; in err_transport()
42 return {ErrorType::Transport, in err_transport()
47 return {ErrorType::TransportIdleTimeout, 0}; in err_transport_idle_timeout()
51 return {ErrorType::Transport, ngtcp2_err_infer_quic_transport_error_code( in err_transport_tls()
56 return {ErrorType::Application, in err_application()
H A Dquic.h34 enum class ErrorType { class
42 Error(ErrorType type, uint64_t code) : type(type), code(code) {} in Error()
43 Error() : type(ErrorType::Transport), code(0) {} in Error()
45 ErrorType type;
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/
H A DNumberParseException.java28 public enum ErrorType { enum in NumberParseException
57 private ErrorType errorType;
60 public NumberParseException(ErrorType errorType, String message) { in NumberParseException()
69 public ErrorType getErrorType() { in getErrorType()
H A DPhoneNumberUtil.java2886 throw new NumberParseException(NumberParseException.ErrorType.TOO_SHORT_AFTER_IDD, in maybeExtractCountryCode()
2898 throw new NumberParseException(NumberParseException.ErrorType.INVALID_COUNTRY_CODE, in maybeExtractCountryCode()
3249 throw new NumberParseException(NumberParseException.ErrorType.NOT_A_NUMBER, in parseHelper()
3252 throw new NumberParseException(NumberParseException.ErrorType.TOO_LONG, in parseHelper()
3261 throw new NumberParseException(NumberParseException.ErrorType.NOT_A_NUMBER, in parseHelper()
3268 throw new NumberParseException(NumberParseException.ErrorType.INVALID_COUNTRY_CODE, in parseHelper()
3295 if (e.getErrorType() == NumberParseException.ErrorType.INVALID_COUNTRY_CODE in parseHelper()
3302 throw new NumberParseException(NumberParseException.ErrorType.INVALID_COUNTRY_CODE, in parseHelper()
3327 throw new NumberParseException(NumberParseException.ErrorType.TOO_SHORT_NSN, in parseHelper()
3349 throw new NumberParseException(NumberParseException.ErrorType in parseHelper()
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DRefCountObject.h32 using ErrorType = ErrorT;
63 using ErrorType = ErrorT;
92 reinterpret_cast<RefCountObject<ContextType, ErrorType> *>(mObject)->release(mContext); in ~RefCountObjectReleaser()
107 using ErrorType = ErrorT;
146 reinterpret_cast<RefCountObject<ContextType, ErrorType> *>(newObject)->addRef(); in set()
205 using ErrorType = typename angle::BindingPointer<ObjectType, Context>::ErrorType;
225 using ErrorType = typename BindingPointer<ObjectType>::ErrorType;
/third_party/libphonenumber/cpp/src/phonenumbers/geocoding/
H A Dgeocoding_warpper.cc30 PhoneNumberUtil::ErrorType type = util->Parse(number, uLocale.getCountry(), &phoneNumber); in exposeLocationName()
31 if (type != PhoneNumberUtil::ErrorType::NO_PARSING_ERROR) { in exposeLocationName()
/third_party/node/deps/v8/src/wasm/
H A Dwasm-result.h150 enum ErrorType { enum in v8::internal::wasm::ErrorThrower
164 void Format(ErrorType error_type_, const char* fmt, va_list);
168 ErrorType error_type_ = kNone;
H A Dwasm-result.cc60 void ErrorThrower::Format(ErrorType type, const char* format, va_list args) { in Format()
/third_party/libphonenumber/cpp/src/phonenumbers/
H A Dphonenumberutil.h140 enum ErrorType { enum in i18n::phonenumbers::PhoneNumberUtil
149 static const ErrorType kMaxErrorType = TOO_LONG_NSN;
697 ErrorType Parse(const string& number_to_parse,
704 ErrorType ParseAndKeepRawInput(const string& number_to_parse,
946 ErrorType MaybeExtractCountryCode(
956 ErrorType ParseHelper(const string& number_to_parse,
H A Dphonenumberutil.cc2042 ErrorType success = Parse(desc->example_number(), region_code, number); in GetExampleNumberForType()
2075 ErrorType success = Parse(StrCat(kPlusSign, in GetExampleNumberForType()
2109 ErrorType success = Parse(StrCat(kPlusSign, in GetExampleNumberForNonGeoEntity()
2128 PhoneNumberUtil::ErrorType PhoneNumberUtil::Parse(const string& number_to_parse, in Parse()
2135 PhoneNumberUtil::ErrorType PhoneNumberUtil::ParseAndKeepRawInput( in ParseAndKeepRawInput()
2222 PhoneNumberUtil::ErrorType PhoneNumberUtil::ParseHelper( in ParseHelper()
2258 ErrorType country_code_error = in ParseHelper()
3014 PhoneNumberUtil::ErrorType PhoneNumberUtil::MaybeExtractCountryCode( in MaybeExtractCountryCode()
3135 ErrorType error_type = in IsNumberMatchWithTwoStrings()
3142 ErrorType error_typ in IsNumberMatchWithTwoStrings()
[all...]
/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/
H A DPhoneNumberUtilTest.java2024 NumberParseException.ErrorType.INVALID_COUNTRY_CODE, in testMaybeExtractCountryCode()
2185 NumberParseException.ErrorType.TOO_LONG, in testParseMaliciousInput()
2199 NumberParseException.ErrorType.TOO_LONG, in testParseMaliciousInput()
2315 NumberParseException.ErrorType.NOT_A_NUMBER, in testFailedParseOnInvalidNumbers()
2325 NumberParseException.ErrorType.NOT_A_NUMBER, in testFailedParseOnInvalidNumbers()
2335 NumberParseException.ErrorType.NOT_A_NUMBER, in testFailedParseOnInvalidNumbers()
2345 NumberParseException.ErrorType.NOT_A_NUMBER, in testFailedParseOnInvalidNumbers()
2355 NumberParseException.ErrorType.TOO_LONG, in testFailedParseOnInvalidNumbers()
2365 NumberParseException.ErrorType.NOT_A_NUMBER, in testFailedParseOnInvalidNumbers()
2375 NumberParseException.ErrorType in testFailedParseOnInvalidNumbers()
[all...]
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/
H A DGPUBuffer.cpp58 device_.InjectError(wgpu::ErrorType::Validation, in mapAsync()
143 device_.InjectError(wgpu::ErrorType::Validation, in unmap()
/third_party/libphonenumber/cpp/test/phonenumbers/geocoding/
H A Dgeocoding_test_program.cc33 const PhoneNumberUtil::ErrorType status = phone_util.Parse( in main()
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fLayoutBindingTests.cpp684 enum ErrorType enum in deqp::gles31::Functional::__anon30834::LayoutBindingNegativeCase
698 ErrorType errorType,
718 const ErrorType m_errorType;
742 ErrorType errorType, in LayoutBindingNegativeCase()
1227 ErrorType errorType,
1243 ErrorType errorType, in SamplerBindingNegativeCase()
1551 ErrorType errorType,
1567 ErrorType errorType, in ImageBindingNegativeCase()
1825 ErrorType errorType);
1837 ErrorType errorTyp in UBOBindingNegativeCase()
[all...]
/third_party/node/deps/v8/src/inspector/
H A Dvalue-mirror.cc249 enum class ErrorType { kNative, kClient }; class
259 v8::Local<v8::Object> object, ErrorType type) { in descriptionForError()
274 if (type == ErrorType::kNative && stack) return *stack; in descriptionForError()
1644 ErrorType::kClient)); in clientMirror()
1728 ErrorType::kNative)); in create()
/third_party/skia/third_party/externals/angle2/src/tests/test_expectations/
H A DGPUTestExpectationsParser.cpp111 enum ErrorType enum
/third_party/mesa3d/src/glx/
H A Ddri_common.c453 ErrorType old = XESetError(priv->dpy, priv->codes.extension, in checkServerGLXDrawableAlive()

Completed in 34 milliseconds

12