Home
last modified time | relevance | path

Searched refs:ErrorType (Results 1 – 25 of 33) sorted by relevance

12

/third_party/skia/third_party/externals/dawn/src/dawn_native/
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>{errorType, true}; in MaybeInjectError()
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()
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()
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);
DErrorData.h26 enum class ErrorType : uint32_t;
30 using ErrorType = wgpu::ErrorType; variable
DError.h192 wgpu::ErrorType ToWGPUErrorType(InternalErrorType type);
193 InternalErrorType FromWGPUErrorType(wgpu::ErrorType type);
/third_party/nghttp2/src/
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()
Dquic.h34 enum class ErrorType { enum
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/flutter/skia/third_party/externals/dawn/src/dawn_native/
DError.h28 enum class ErrorType : uint32_t { Validation, ContextLost, Unimplemented }; enum
48 #define DAWN_VALIDATION_ERROR(MESSAGE) DAWN_MAKE_ERROR(ErrorType::Validation, MESSAGE)
49 #define DAWN_CONTEXT_LOST_ERROR(MESSAGE) DAWN_MAKE_ERROR(ErrorType::ContextLost, MESSAGE)
50 #define DAWN_UNIMPLEMENTED_ERROR(MESSAGE) DAWN_MAKE_ERROR(ErrorType::Unimplemented, MESSAGE)
90 ErrorData* MakeError(ErrorType type,
DErrorData.h24 enum class ErrorType : uint32_t;
29 ErrorData(ErrorType type, std::string message);
38 ErrorType GetType() const;
43 ErrorType mType;
DErrorData.cpp21 ErrorData::ErrorData(ErrorType type, std::string message) in ErrorData()
34 ErrorType ErrorData::GetType() const { in GetType()
DError.cpp21 ErrorData* MakeError(ErrorType type, in MakeError()
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/
DNumberParseException.java28 public enum ErrorType { enum in NumberParseException
56 private ErrorType errorType;
59 public NumberParseException(ErrorType errorType, String message) { in NumberParseException()
68 public ErrorType getErrorType() { in getErrorType()
DPhoneNumberUtil.java2872 throw new NumberParseException(NumberParseException.ErrorType.TOO_SHORT_AFTER_IDD,
2884 throw new NumberParseException(NumberParseException.ErrorType.INVALID_COUNTRY_CODE,
3235 throw new NumberParseException(NumberParseException.ErrorType.NOT_A_NUMBER,
3238 throw new NumberParseException(NumberParseException.ErrorType.TOO_LONG,
3247 throw new NumberParseException(NumberParseException.ErrorType.NOT_A_NUMBER,
3254 throw new NumberParseException(NumberParseException.ErrorType.INVALID_COUNTRY_CODE,
3281 if (e.getErrorType() == NumberParseException.ErrorType.INVALID_COUNTRY_CODE
3288 throw new NumberParseException(NumberParseException.ErrorType.INVALID_COUNTRY_CODE,
3313 throw new NumberParseException(NumberParseException.ErrorType.TOO_SHORT_NSN,
3335 throw new NumberParseException(NumberParseException.ErrorType.TOO_SHORT_NSN,
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DRefCountObject.h30 using ErrorType = ErrorT; variable
61 using ErrorType = ErrorT; variable
99 reinterpret_cast<RefCountObject<ContextType, ErrorType> *>(newObject)->addRef(); in set()
108 reinterpret_cast<RefCountObject<ContextType, ErrorType> *>(oldObject)->release(context); in set()
157 using ErrorType = typename angle::BindingPointer<ObjectType, Context>::ErrorType; variable
175 using ErrorType = typename BindingPointer<ObjectType>::ErrorType; variable
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DRefCountObject.h32 using ErrorType = ErrorT; variable
63 using ErrorType = ErrorT; variable
92 reinterpret_cast<RefCountObject<ContextType, ErrorType> *>(mObject)->release(mContext); in ~RefCountObjectReleaser()
107 using ErrorType = ErrorT; variable
146 reinterpret_cast<RefCountObject<ContextType, ErrorType> *>(newObject)->addRef(); in set()
205 using ErrorType = typename angle::BindingPointer<ObjectType, Context>::ErrorType; variable
225 using ErrorType = typename BindingPointer<ObjectType>::ErrorType; variable
/third_party/node/deps/npm/node_modules/errno/
Dtest.js36 function lastFunction (ErrorType, cb) { argument
37 process.nextTick(cb, new ErrorType('oh noes!'))
40 function secondLastFunction (ErrorType, cb) { argument
41 lastFunction(ErrorType, cb)
/third_party/libphonenumber/cpp/src/phonenumbers/
Dphonenumberutil.h136 enum ErrorType { enum
145 static const ErrorType kMaxErrorType = TOO_LONG_NSN;
693 ErrorType Parse(const string& number_to_parse,
700 ErrorType ParseAndKeepRawInput(const string& number_to_parse,
942 ErrorType MaybeExtractCountryCode(
952 ErrorType ParseHelper(const string& number_to_parse,
Dphonenumberutil.cc2011 ErrorType success = Parse(desc->example_number(), region_code, number); in GetExampleNumberForType()
2044 ErrorType success = Parse(StrCat(kPlusSign, in GetExampleNumberForType()
2078 ErrorType success = Parse(StrCat(kPlusSign, in GetExampleNumberForNonGeoEntity()
2097 PhoneNumberUtil::ErrorType PhoneNumberUtil::Parse(const string& number_to_parse, in Parse()
2104 PhoneNumberUtil::ErrorType PhoneNumberUtil::ParseAndKeepRawInput( in ParseAndKeepRawInput()
2191 PhoneNumberUtil::ErrorType PhoneNumberUtil::ParseHelper( in ParseHelper()
2227 ErrorType country_code_error = in ParseHelper()
2983 PhoneNumberUtil::ErrorType PhoneNumberUtil::MaybeExtractCountryCode( in MaybeExtractCountryCode()
3104 ErrorType error_type = in IsNumberMatchWithTwoStrings()
3111 ErrorType error_type = Parse(second_number, RegionCode::GetUnknown(), in IsNumberMatchWithTwoStrings()
[all …]
/third_party/libphonenumber/cpp/src/phonenumbers/geocoding/
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/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/
DPhoneNumberUtilTest.java2019 NumberParseException.ErrorType.INVALID_COUNTRY_CODE, in testMaybeExtractCountryCode()
2184 NumberParseException.ErrorType.TOO_LONG, in testParseMaliciousInput()
2198 NumberParseException.ErrorType.TOO_LONG, in testParseMaliciousInput()
2314 NumberParseException.ErrorType.NOT_A_NUMBER, in testFailedParseOnInvalidNumbers()
2324 NumberParseException.ErrorType.NOT_A_NUMBER, in testFailedParseOnInvalidNumbers()
2334 NumberParseException.ErrorType.NOT_A_NUMBER, in testFailedParseOnInvalidNumbers()
2344 NumberParseException.ErrorType.NOT_A_NUMBER, in testFailedParseOnInvalidNumbers()
2354 NumberParseException.ErrorType.TOO_LONG, in testFailedParseOnInvalidNumbers()
2364 NumberParseException.ErrorType.NOT_A_NUMBER, in testFailedParseOnInvalidNumbers()
2374 NumberParseException.ErrorType.NOT_A_NUMBER, in testFailedParseOnInvalidNumbers()
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/
DGPUBuffer.cpp58 device_.InjectError(wgpu::ErrorType::Validation, in mapAsync()
143 device_.InjectError(wgpu::ErrorType::Validation, in unmap()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fLayoutBindingTests.cpp684 enum ErrorType enum in deqp::gles31::Functional::__anon1868b46f0111::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 errorType) in UBOBindingNegativeCase()
[all …]
/third_party/libphonenumber/cpp/test/phonenumbers/geocoding/
Dgeocoding_test_program.cc33 const PhoneNumberUtil::ErrorType status = phone_util.Parse( in main()
/third_party/rust/crates/bindgen/book/src/
Dmust-use-types.md21 struct ErrorType {

12