Home
last modified time | relevance | path

Searched refs:errCode (Results 1 – 25 of 30) sorted by relevance

12

/third_party/mesa3d/src/egl/main/
Deglcurrent.c98 _eglInternalError(EGLint errCode, const char *msg) in _eglInternalError() argument
102 t->LastError = errCode; in _eglInternalError()
104 if (errCode != EGL_SUCCESS) { in _eglInternalError()
107 switch (errCode) { in _eglInternalError()
150 _eglLog(_EGL_DEBUG, "EGL user error 0x%x (%s) in %s\n", errCode, s, msg); in _eglInternalError()
157 _eglError(EGLint errCode, const char *msg) in _eglError() argument
159 if (errCode != EGL_SUCCESS) { in _eglError()
161 if (errCode == EGL_BAD_ALLOC) in _eglError()
166 _eglDebugReport(errCode, NULL, type, msg); in _eglError()
168 _eglInternalError(errCode, msg); in _eglError()
Deglcurrent.h97 _eglError(EGLint errCode, const char *msg);
/third_party/icu/icu4c/source/common/
Dumutex.h135 inline void umtx_initOnce(UInitOnce &uio, void (U_CALLCONV *fp)(UErrorCode &), UErrorCode &errCode)…
136 if (U_FAILURE(errCode)) {
141 (*fp)(errCode);
142 uio.fErrCode = errCode;
147 errCode = uio.fErrCode;
166 …_initOnce(UInitOnce &uio, void (U_CALLCONV *fp)(T, UErrorCode &), T context, UErrorCode &errCode) {
167 if (U_FAILURE(errCode)) {
172 (*fp)(context, errCode);
173 uio.fErrCode = errCode;
178 errCode = uio.fErrCode;
Ducnv_bld.cpp1103 static void U_CALLCONV initAvailableConvertersList(UErrorCode &errCode) { in initAvailableConvertersList() argument
1108 UEnumeration *allConvEnum = ucnv_openAllNames(&errCode); in initAvailableConvertersList()
1109 int32_t allConverterCount = uenum_count(allConvEnum, &errCode); in initAvailableConvertersList()
1110 if (U_FAILURE(errCode)) { in initAvailableConvertersList()
1117 errCode = U_MEMORY_ALLOCATION_ERROR; in initAvailableConvertersList()
Ducnv_io.cpp232 static void U_CALLCONV initAliasData(UErrorCode &errCode) { in initAliasData() argument
242 data = udata_openChoice(NULL, DATA_TYPE, DATA_NAME, isAcceptable, NULL, &errCode); in initAliasData()
243 if(U_FAILURE(errCode)) { in initAliasData()
252 errCode = U_INVALID_FORMAT_ERROR; in initAliasData()
/third_party/skia/third_party/externals/icu/source/common/
Dumutex.h139 inline void umtx_initOnce(UInitOnce &uio, void (U_CALLCONV *fp)(UErrorCode &), UErrorCode &errCode)…
140 if (U_FAILURE(errCode)) {
145 (*fp)(errCode);
146 uio.fErrCode = errCode;
151 errCode = uio.fErrCode;
170 …_initOnce(UInitOnce &uio, void (U_CALLCONV *fp)(T, UErrorCode &), T context, UErrorCode &errCode) {
171 if (U_FAILURE(errCode)) {
176 (*fp)(context, errCode);
177 uio.fErrCode = errCode;
182 errCode = uio.fErrCode;
Ducnv_bld.cpp1103 static void U_CALLCONV initAvailableConvertersList(UErrorCode &errCode) { in initAvailableConvertersList() argument
1108 UEnumeration *allConvEnum = ucnv_openAllNames(&errCode); in initAvailableConvertersList()
1109 int32_t allConverterCount = uenum_count(allConvEnum, &errCode); in initAvailableConvertersList()
1110 if (U_FAILURE(errCode)) { in initAvailableConvertersList()
1117 errCode = U_MEMORY_ALLOCATION_ERROR; in initAvailableConvertersList()
Ducnv_io.cpp232 static void U_CALLCONV initAliasData(UErrorCode &errCode) { in initAliasData() argument
242 data = udata_openChoice(NULL, DATA_TYPE, DATA_NAME, isAcceptable, NULL, &errCode); in initAliasData()
243 if(U_FAILURE(errCode)) { in initAliasData()
252 errCode = U_INVALID_FORMAT_ERROR; in initAliasData()
/third_party/node/deps/icu-small/source/common/
Dumutex.h135 inline void umtx_initOnce(UInitOnce &uio, void (U_CALLCONV *fp)(UErrorCode &), UErrorCode &errCode)…
136 if (U_FAILURE(errCode)) {
141 (*fp)(errCode);
142 uio.fErrCode = errCode;
147 errCode = uio.fErrCode;
166 …_initOnce(UInitOnce &uio, void (U_CALLCONV *fp)(T, UErrorCode &), T context, UErrorCode &errCode) {
167 if (U_FAILURE(errCode)) {
172 (*fp)(context, errCode);
173 uio.fErrCode = errCode;
178 errCode = uio.fErrCode;
Ducnv_bld.cpp1103 static void U_CALLCONV initAvailableConvertersList(UErrorCode &errCode) { in initAvailableConvertersList() argument
1108 UEnumeration *allConvEnum = ucnv_openAllNames(&errCode); in initAvailableConvertersList()
1109 int32_t allConverterCount = uenum_count(allConvEnum, &errCode); in initAvailableConvertersList()
1110 if (U_FAILURE(errCode)) { in initAvailableConvertersList()
1117 errCode = U_MEMORY_ALLOCATION_ERROR; in initAvailableConvertersList()
Ducnv_io.cpp232 static void U_CALLCONV initAliasData(UErrorCode &errCode) { in initAliasData() argument
242 data = udata_openChoice(nullptr, DATA_TYPE, DATA_NAME, isAcceptable, nullptr, &errCode); in initAliasData()
243 if(U_FAILURE(errCode)) { in initAliasData()
252 errCode = U_INVALID_FORMAT_ERROR; in initAliasData()
/third_party/node/lib/internal/
Djs_stream_socket.js164 finishShutdown(handle, errCode) { argument
170 handle.finishShutdown(req, errCode);
208 let errCode = 0;
210 errCode = uv[`UV_${err.code}`] || uv.UV_EPIPE;
215 self.finishWrite(handle, errCode);
223 finishWrite(handle, errCode) { argument
230 handle.finishWrite(req, errCode);
/third_party/vk-gl-cts/framework/egl/
DegluDefs.cpp55 Error::Error (deUint32 errCode, const char* errStr) in Error() argument
56 …: tcu::TestError ((std::string("EGL returned ") + getErrorName(errCode)).c_str(), errStr ? errStr … in Error()
57 , m_error (errCode) in Error()
61 Error::Error (deUint32 errCode, const char* message, const char* expr, const char* file, int line) in Error() argument
63 , m_error (errCode) in Error()
DegluDefs.hpp42 Error (deUint32 errCode, const char* errStr);
43 Error (deUint32 errCode, const char* message, const char* expr, const char* file, int line);
/third_party/node/lib/internal/test_runner/reporter/
Dtap.js195 let errCode = code;
205 errCode = cause?.code ?? errCode;
219 if (errCode) {
220 result += jsToYaml(indent, 'code', errCode, seen);
/third_party/lz4/lib/
Dlz4file.c54 LZ4F_errorCode_t errCode; member
246 (*lz4fWrite)->errCode = LZ4F_OK_NoError; in LZ4F_writeOpen()
270 lz4fWrite->errCode = ret; in LZ4F_write()
275 lz4fWrite->errCode = -LZ4F_ERROR_GENERIC; in LZ4F_write()
293 if (lz4fWrite->errCode == LZ4F_OK_NoError) { in LZ4F_writeClose()
/third_party/node/deps/npm/lib/commands/
Dfund.js16 const errCode = (msg, code) => Object.assign(new Error(msg), { code })
51 throw errCode(
59 throw errCode(
195 throw errCode(`No valid funding method available for: ${spec}`, 'ENOFUND')
/third_party/node/deps/icu-small/source/i18n/
Dplurrule.cpp800 PluralRules::getRuleFromResource(const Locale& locale, UPluralType type, UErrorCode& errCode) { in getRuleFromResource() argument
803 if (U_FAILURE(errCode)) { in getRuleFromResource()
806 LocalUResourceBundlePointer rb(ures_openDirect(nullptr, "plurals", &errCode)); in getRuleFromResource()
807 if(U_FAILURE(errCode)) { in getRuleFromResource()
820 errCode = U_ILLEGAL_ARGUMENT_ERROR; in getRuleFromResource()
823 LocalUResourceBundlePointer locRes(ures_getByKey(rb.getAlias(), typeKey, nullptr, &errCode)); in getRuleFromResource()
824 if(U_FAILURE(errCode)) { in getRuleFromResource()
829 const char16_t* s = ures_getStringByKey(locRes.getAlias(), curLocaleName, &resLen, &errCode); in getRuleFromResource()
848 errCode = U_ZERO_ERROR; in getRuleFromResource()
862 LocalUResourceBundlePointer ruleRes(ures_getByKey(rb.getAlias(), "rules", nullptr, &errCode)); in getRuleFromResource()
[all …]
/third_party/icu/icu4c/source/i18n/
Dplurrule.cpp796 PluralRules::getRuleFromResource(const Locale& locale, UPluralType type, UErrorCode& errCode) { in getRuleFromResource() argument
799 if (U_FAILURE(errCode)) { in getRuleFromResource()
802 LocalUResourceBundlePointer rb(ures_openDirect(nullptr, "plurals", &errCode)); in getRuleFromResource()
803 if(U_FAILURE(errCode)) { in getRuleFromResource()
816 errCode = U_ILLEGAL_ARGUMENT_ERROR; in getRuleFromResource()
819 LocalUResourceBundlePointer locRes(ures_getByKey(rb.getAlias(), typeKey, nullptr, &errCode)); in getRuleFromResource()
820 if(U_FAILURE(errCode)) { in getRuleFromResource()
825 const UChar* s = ures_getStringByKey(locRes.getAlias(), curLocaleName, &resLen, &errCode); in getRuleFromResource()
844 errCode = U_ZERO_ERROR; in getRuleFromResource()
858 LocalUResourceBundlePointer ruleRes(ures_getByKey(rb.getAlias(), "rules", nullptr, &errCode)); in getRuleFromResource()
[all …]
/third_party/skia/third_party/externals/icu/source/i18n/
Dplurrule.cpp786 PluralRules::getRuleFromResource(const Locale& locale, UPluralType type, UErrorCode& errCode) { in getRuleFromResource() argument
789 if (U_FAILURE(errCode)) { in getRuleFromResource()
792 LocalUResourceBundlePointer rb(ures_openDirect(nullptr, "plurals", &errCode)); in getRuleFromResource()
793 if(U_FAILURE(errCode)) { in getRuleFromResource()
806 errCode = U_ILLEGAL_ARGUMENT_ERROR; in getRuleFromResource()
809 LocalUResourceBundlePointer locRes(ures_getByKey(rb.getAlias(), typeKey, nullptr, &errCode)); in getRuleFromResource()
810 if(U_FAILURE(errCode)) { in getRuleFromResource()
815 const UChar* s = ures_getStringByKey(locRes.getAlias(), curLocaleName, &resLen, &errCode); in getRuleFromResource()
829 errCode = U_ZERO_ERROR; in getRuleFromResource()
843 LocalUResourceBundlePointer ruleRes(ures_getByKey(rb.getAlias(), "rules", nullptr, &errCode)); in getRuleFromResource()
[all …]
/third_party/typescript/scripts/
DerrorCheck.mjs29 const errCode = +g[1];
30 const msg = keys.filter(k => messages[k].code === errCode)[0];
/third_party/node/deps/npm/node_modules/err-code/
Dindex.umd.js1 …fined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.errCode = f()}})(function…
/third_party/sqlite/src/
Dshell.c12826 int errCode; /* For sqlite3_recover_errcode() */ member
12944 if( p->errCode==SQLITE_OK ){ in recoverMalloc()
12949 p->errCode = SQLITE_NOMEM; in recoverMalloc()
12970 int errCode, in recoverError() argument
12982 p->errCode = errCode; in recoverError()
12983 return errCode; in recoverError()
13062 if( p->errCode==SQLITE_OK ){ in recoverPrepare()
13087 if( p->errCode==SQLITE_OK ){ in recoverPreparePrintf()
13094 p->errCode = SQLITE_NOMEM; in recoverPreparePrintf()
13114 if( rc!=SQLITE_OK && rc!=SQLITE_CONSTRAINT && p->errCode==SQLITE_OK ){ in recoverReset()
[all …]
/third_party/nghttp2/integration-tests/
Dnghttpx_http2_test.go632 if res.errCode != want {
633 t.Errorf("res.errCode = %v; want %v", res.errCode, want)
661 if res.errCode != want {
662 t.Errorf("res.errCode = %v; want %v", res.errCode, want)
748 if got, want := res.errCode, http2.ErrCodeProtocol; got != want {
773 if got, want := res.errCode, http2.ErrCodeProtocol; got != want {
840 if got, want := res.errCode, http2.ErrCodeProtocol; got != want {
863 if got, want := res.errCode, http2.ErrCodeProtocol; got != want {
937 if got, want := res.errCode, http2.ErrCodeProtocol; got != want {
938 t.Errorf("res.errCode = %v; want %v", res.errCode, want)
[all …]
Dserver_tester.go615 sr.errCode = f.ErrCode
623 res.errCode = f.ErrCode
652 errCode http2.ErrCode // error code received in HTTP/2 RST_STREAM or GOAWAY member

12