Home
last modified time | relevance | path

Searched refs:errCode (Results 1 – 25 of 34) 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/node/deps/icu-small/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/icu/icu4c/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/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/flutter/skia/third_party/externals/icu/source/common/
Dumutex.h272 inline void umtx_initOnce(UInitOnce &uio, void (U_CALLCONV *fp)(UErrorCode &), UErrorCode &errCode)… in umtx_initOnce() argument
273 if (U_FAILURE(errCode)) { in umtx_initOnce()
278 (*fp)(errCode); in umtx_initOnce()
279 uio.fErrCode = errCode; in umtx_initOnce()
284 errCode = uio.fErrCode; in umtx_initOnce()
303 …_initOnce(UInitOnce &uio, void (U_CALLCONV *fp)(T, UErrorCode &), T context, UErrorCode &errCode) { in umtx_initOnce() argument
304 if (U_FAILURE(errCode)) { in umtx_initOnce()
309 (*fp)(context, errCode); in umtx_initOnce()
310 uio.fErrCode = errCode; in umtx_initOnce()
315 errCode = uio.fErrCode; in umtx_initOnce()
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()
/third_party/node/lib/internal/
Djs_stream_socket.js154 finishShutdown(handle, errCode) { argument
160 handle.finishShutdown(req, errCode);
188 let errCode = 0;
190 errCode = uv[`UV_${err.code}`] || uv.UV_EPIPE;
195 self.finishWrite(handle, errCode);
203 finishWrite(handle, errCode) { argument
210 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/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/test/tap/
Dfund.js313 const [ errCode, errCmd ] = stderr.split('\n')
314 t.matchSnapshot(`${errCode}\n${errCmd}`, 'should write error msgs to stderr')
324 const [ errCode, errCmd ] = stderr.split('\n')
325 t.matchSnapshot(`${errCode}\n${errCmd}`, 'should write error msgs to stderr')
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dplurrule.cpp667 PluralRules::getRuleFromResource(const Locale& locale, UPluralType type, UErrorCode& errCode) { in getRuleFromResource() argument
670 if (U_FAILURE(errCode)) { in getRuleFromResource()
673 LocalUResourceBundlePointer rb(ures_openDirect(nullptr, "plurals", &errCode)); in getRuleFromResource()
674 if(U_FAILURE(errCode)) { in getRuleFromResource()
687 errCode = U_ILLEGAL_ARGUMENT_ERROR; in getRuleFromResource()
690 LocalUResourceBundlePointer locRes(ures_getByKey(rb.getAlias(), typeKey, nullptr, &errCode)); in getRuleFromResource()
691 if(U_FAILURE(errCode)) { in getRuleFromResource()
696 const UChar* s = ures_getStringByKey(locRes.getAlias(), curLocaleName, &resLen, &errCode); in getRuleFromResource()
710 errCode = U_ZERO_ERROR; in getRuleFromResource()
724 LocalUResourceBundlePointer ruleRes(ures_getByKey(rb.getAlias(), "rules", nullptr, &errCode)); in getRuleFromResource()
[all …]
/third_party/typescript/scripts/
DerrorCheck.ts30 const errCode = +g[1]; constant
31 const msg = keys.filter(k => messages[k].code === errCode)[0];
/third_party/node/deps/icu-small/source/i18n/
Dplurrule.cpp794 PluralRules::getRuleFromResource(const Locale& locale, UPluralType type, UErrorCode& errCode) { in getRuleFromResource() argument
797 if (U_FAILURE(errCode)) { in getRuleFromResource()
800 LocalUResourceBundlePointer rb(ures_openDirect(nullptr, "plurals", &errCode)); in getRuleFromResource()
801 if(U_FAILURE(errCode)) { in getRuleFromResource()
814 errCode = U_ILLEGAL_ARGUMENT_ERROR; in getRuleFromResource()
817 LocalUResourceBundlePointer locRes(ures_getByKey(rb.getAlias(), typeKey, nullptr, &errCode)); in getRuleFromResource()
818 if(U_FAILURE(errCode)) { in getRuleFromResource()
823 const UChar* s = ures_getStringByKey(locRes.getAlias(), curLocaleName, &resLen, &errCode); in getRuleFromResource()
837 errCode = U_ZERO_ERROR; in getRuleFromResource()
851 LocalUResourceBundlePointer ruleRes(ures_getByKey(rb.getAlias(), "rules", nullptr, &errCode)); in getRuleFromResource()
[all …]
/third_party/icu/icu4c/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/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/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 …]

12