/ohos5.0/foundation/communication/netstack/frameworks/js/napi/tls/src/ |
H A D | tlssocket_exec.cpp | 47 context->SetError(errorCode, MakeErrorMessage(errorCode)); in TLSSocketThrowException() 126 context->SetError(errorNumber, MakeErrorMessage(errorNumber)); in ExecGetCertificate() 152 context->SetError(errorNumber, MakeErrorMessage(errorNumber)); in ExecConnect() 175 context->SetError(errorNumber, MakeErrorMessage(errorNumber)); in ExecGetCipherSuites() 198 context->SetError(errorNumber, MakeErrorMessage(errorNumber)); in ExecGetRemoteCertificate() 221 context->SetError(errorNumber, MakeErrorMessage(errorNumber)); in ExecGetProtocol() 244 context->SetError(errorNumber, MakeErrorMessage(errorNumber)); in ExecGetSignatureAlgorithms() 268 context->SetError(errorNumber, MakeErrorMessage(errorNumber)); in ExecSend() 330 context->SetError(errorNumber, errorString); in ExecBind() 370 context->SetError(TlsSocket::TlsSocketError::TLS_ERR_NO_BIND, in ExecGetLocalAddress() [all …]
|
H A D | tlssocketserver_exec.cpp | 50 context->SetError(TlsSocket::TlsSocketError::TLS_ERR_NO_BIND, in ExecGetCertificate() 97 context->SetError(TlsSocket::TlsSocketError::TLS_ERR_NO_BIND, in ExecGetCipherSuites() 122 context->SetError(TlsSocket::TlsSocketError::TLS_ERR_NO_BIND, in ExecGetRemoteCertificate() 147 context->SetError(TlsSocket::TlsSocketError::TLS_ERR_NO_BIND, in ExecGetProtocol() 171 context->SetError(TlsSocket::TlsSocketError::TLS_ERR_NO_BIND, in ExecGetSignatureAlgorithms() 196 context->SetError(TlsSocket::TlsSocketError::TLS_ERR_NO_BIND, in ExecSend() 223 context->SetError(TlsSocket::TlsSocketError::TLS_ERR_NO_BIND, in ExecClose() 246 context->SetError(TlsSocket::TlsSocketError::TLS_ERR_NO_BIND, in ExecStop() 271 context->SetError(TlsSocket::TlsSocketError::TLS_ERR_NO_BIND, in ExecGetRemoteAddress() 302 context->SetError(TlsSocket::TlsSocketError::TLS_ERR_NO_BIND, in ExecGetLocalAddress() [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/src/EGL/ |
H A D | egl_wrapper_display.cpp | 242 ThreadPrivateDataCtl::SetError(EGL_BAD_MATCH); in MakeCurrent() 464 ThreadPrivateDataCtl::SetError(EGL_BAD_CONTEXT); in DestroyEglContext() 519 ThreadPrivateDataCtl::SetError(EGL_BAD_SURFACE); in DestroyEglSurface() 580 ThreadPrivateDataCtl::SetError(EGL_BAD_SURFACE); in CopyBuffers() 644 ThreadPrivateDataCtl::SetError(EGL_BAD_CONTEXT); in QueryContext() 668 ThreadPrivateDataCtl::SetError(EGL_BAD_SURFACE); in QuerySurface() 696 ThreadPrivateDataCtl::SetError(EGL_BAD_SURFACE); in SwapBuffers() 719 ThreadPrivateDataCtl::SetError(EGL_BAD_SURFACE); in BindTexImage() 742 ThreadPrivateDataCtl::SetError(EGL_BAD_SURFACE); in ReleaseTexImage() 765 ThreadPrivateDataCtl::SetError(EGL_BAD_SURFACE); in SurfaceAttrib() [all …]
|
H A D | egl_wrapper_entry.cpp | 49 ThreadPrivateDataCtl::SetError(EGL_BAD_DISPLAY); in ValidateDisplay() 55 ThreadPrivateDataCtl::SetError(EGL_NOT_INITIALIZED); in ValidateDisplay() 73 ThreadPrivateDataCtl::SetError(EGL_BAD_PARAMETER); in EglChooseConfigImpl() 211 ThreadPrivateDataCtl::SetError(EGL_BAD_PARAMETER); in EglGetConfigsImpl() 233 ThreadPrivateDataCtl::SetError(EGL_BAD_CONTEXT); in EglGetCurrentDisplayImpl() 263 ThreadPrivateDataCtl::SetError(EGL_BAD_PARAMETER); in EglGetPlatformDisplayInternal() 269 ThreadPrivateDataCtl::SetError(EGL_BAD_PARAMETER); in EglGetPlatformDisplayInternal() 355 ThreadPrivateDataCtl::SetError(EGL_BAD_DISPLAY); in EglInitializeImpl() 387 ThreadPrivateDataCtl::SetError(EGL_BAD_PARAMETER); in EglQueryContextImpl() 446 ThreadPrivateDataCtl::SetError(EGL_BAD_PARAMETER); in EglQuerySurfaceImpl() [all …]
|
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/js/napi/rdb/src/ |
H A D | napi_rdb_store_helper.cpp | 281 RDB_CHECK_RETURN_CALL_RESULT(value != nullptr, context->SetError(paramError)); in ParseDatabaseName() 284 RDB_CHECK_RETURN_CALL_RESULT(!name.empty(), context->SetError(paramError)); in ParseDatabaseName() 287 RDB_CHECK_RETURN_CALL_RESULT(false, context->SetError(paramError)); in ParseDatabaseName() 311 RDB_CHECK_RETURN_CALL_RESULT(status == OK, context->SetError(paramError)); in ParseContextProperty() 328 RDB_CHECK_RETURN_CALL_RESULT(errorCode == E_OK, context->SetError(paramError)); in ParseDatabaseDir() 341 RDB_CHECK_RETURN_CALL_RESULT(false, context->SetError(paramError)); in ParseSecurityLevel() 346 RDB_CHECK_RETURN_CALL_RESULT(false, context->SetError(paramError)); in ParseSecurityLevel() 357 RDB_CHECK_RETURN_CALL_RESULT(false, context->SetError(paramError)); in ParseSecurityLevel() 388 RDB_CHECK_RETURN_CALL_RESULT(!path.empty(), context->SetError(paramError)); in ParsePath() 400 RDB_CHECK_RETURN_CALL_RESULT(errorCode == E_OK, context->SetError(paramError)); in ParsePath() [all …]
|
H A D | napi_rdb_store.cpp | 234 RDB_CHECK_RETURN_CALL_RESULT(obj, context->SetError(paramError)); in ParserThis() 266 RDB_CHECK_RETURN_CALL_RESULT(arrLen >= 0, context->SetError(paramError)); in ParseTablesName() 332 RDB_CHECK_RETURN_CALL_RESULT(proxy != nullptr, context->SetError(paramError)); in ParsePredicates() 365 RDB_CHECK_RETURN_CALL_RESULT(ret == napi_ok, context->SetError(paramError)); in ParseColumns() 408 RDB_CHECK_RETURN_CALL_RESULT(ret == napi_ok, context->SetError(paramError)); in ParseWhereArgs() 421 RDB_CHECK_RETURN_CALL_RESULT(ret == napi_ok, context->SetError(paramError)); in ParseSelectionArgs() 429 RDB_CHECK_RETURN_CALL_RESULT(!context->sql.empty(), context->SetError(paramError)); in ParseSql() 444 RDB_CHECK_RETURN_CALL_RESULT(status == napi_ok, context->SetError(paramError)); in ParseValuesBucket() 472 RDB_CHECK_RETURN_CALL_RESULT(false, context->SetError(paramError)); in ParseValuesBucket() 486 RDB_CHECK_RETURN_CALL_RESULT(isArray, context->SetError(paramError)); in ParseValuesBuckets() [all …]
|
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/heif_impl/heif_parser/ |
H A D | heif_stream.cpp | 98 SetError(true); in Read8() 113 SetError(true); in Read16() 128 SetError(true); in Read32() 146 SetError(true); in Read64() 166 SetError(true); in ReadData() 185 SetError(true); in ReadString() 199 SetError(true); in CheckSize()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/ |
H A D | gltf2_loader.cpp | 52 SetError((loadResult), (message)); \ 516 SetError(loadResult, "Accessor.count is invalid"); in AccessorCount() 526 SetError(loadResult, "Failed to read accessor.type"); in AccessorType() 842 SetError(loadResult, "Invalid sampler index"); in TextureSampler() 861 SetError(loadResult, "Invalid image index"); in TextureSource() 1377 SetError(loadResult, "Invalid alpha mode."); in ParseMaterial() 1619 SetError(loadResult, in PrimitiveAttributes() 1700 SetError(loadResult, "Invalid camera type"); in PrimitiveAttributes() 1729 SetError(loadResult, "Invalid camera type"); in PrimitiveAttributes() 1793 SetError(loadResult, "Invalid light type."); in PrimitiveAttributes() [all …]
|
/ohos5.0/base/update/updater/services/script/script_interpreter/ |
H A D | script_statement.cpp | 29 SetError(USCRIPT_INVALID_PARAM); in UpdateStatementResult() 43 SetError(USCRIPT_ERROR_INTERPRET); in UpdateStatementResult() 45 SetError(((ErrorValue*)value.get())->GetValue()); in UpdateStatementResult() 58 SetError(USCRIPT_INVALID_SCRIPT); in UpdateStatementResult() 163 result.SetError(USCRIPT_INVALID_STATEMENT); in Execute() 199 result.SetError(USCRIPT_INVALID_PARAM); in Execute() 236 result.SetError(USCRIPT_INVALID_PARAM); in Execute() 268 result.SetError(USCRIPT_INVALID_PARAM); in Execute()
|
/ohos5.0/foundation/distributeddatamgr/data_share/frameworks/native/consumer/src/ |
H A D | datashare_helper_impl.cpp | 248 report.SetError(RadarReporter::EMPTY_OBSERVER_ERROR); in RegisterObserver() 254 report.SetError(RadarReporter::DATA_SHARE_DIED_ERROR); in RegisterObserver() 266 report.SetError(RadarReporter::EMPTY_OBSERVER_ERROR); in UnregisterObserver() 272 report.SetError(RadarReporter::DATA_SHARE_DIED_ERROR); in UnregisterObserver() 318 report.SetError(RadarReporter::DATA_SHARE_DIED_ERROR); in AddQueryTemplate() 331 report.SetError(RadarReporter::DATA_SHARE_DIED_ERROR); in DelQueryTemplate() 368 report.SetError(RadarReporter::DATA_SHARE_DIED_ERROR); in SubscribeRdbData() 383 report.SetError(RadarReporter::DATA_SHARE_DIED_ERROR); in UnsubscribeRdbData() 422 report.SetError(RadarReporter::DATA_SHARE_DIED_ERROR); in SubscribePublishedData() 437 report.SetError(RadarReporter::DATA_SHARE_DIED_ERROR); in UnsubscribePublishedData()
|
/ohos5.0/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/test/unittest/ |
H A D | thread_private_data_ctl_test.cpp | 55 threadPrivateDataCtl.SetError(0); in HWTEST_F() 84 threadPrivateDataCtl.SetError(0); in HWTEST_F() 111 threadPrivateDataCtl.SetError(0); in HWTEST_F()
|
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/tls/src/context/ |
H A D | tls_init_context.cpp | 53 SetError(PARSE_ERROR_CODE, PARSE_ERROR.data()); in CheckParamsType() 61 SetError(PARSE_ERROR_CODE, PARSE_ERROR.data()); in CheckParamsType()
|
H A D | tls_server_napi_context.cpp | 60 SetError(PARSE_ERROR_CODE, PARSE_ERROR.data()); in CheckParamsType() 70 SetError(PARSE_ERROR_CODE, PARSE_ERROR.data()); in CheckParamsType()
|
H A D | tls_bind_context.cpp | 77 SetError(PARSE_ERROR_CODE, PARSE_ERROR.data()); in CheckParamsType() 87 SetError(PARSE_ERROR_CODE, PARSE_ERROR.data()); in CheckParamsType()
|
H A D | tls_send_context.cpp | 75 SetError(PARSE_ERROR_CODE, PARSE_ERROR.data()); in CheckParamsType() 86 SetError(PARSE_ERROR_CODE, PARSE_ERROR.data()); in CheckParamsType()
|
H A D | tls_server_send_context.cpp | 79 SetError(PARSE_ERROR_CODE, PARSE_ERROR.data()); in CheckParamsType() 90 SetError(PARSE_ERROR_CODE, PARSE_ERROR.data()); in CheckParamsType()
|
H A D | tls_extra_context.cpp | 97 SetError(PARSE_ERROR_CODE, PARSE_ERROR.data()); in CheckParamsType() 107 SetError(PARSE_ERROR_CODE, PARSE_ERROR.data()); in CheckParamsType()
|
/ohos5.0/foundation/distributeddatamgr/data_object/frameworks/jskitsimpl/include/adaptor/ |
H A D | js_common.h | 56 … ctxt->SetError(apiError); \ 66 ctxt->SetError(innerError); \
|
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/socket/async_context/src/ |
H A D | local_socket_context.cpp | 87 SetError(PARSE_ERROR_CODE, PARSE_ERROR_MSG); in CheckParamsWithOptions() 94 SetError(PARSE_ERROR_CODE, PARSE_ERROR_MSG); in CheckParamsWithOptions() 119 SetError(PARSE_ERROR_CODE, PARSE_ERROR_MSG); in CheckParamsWithoutOptions() 329 SetError(PARSE_ERROR_CODE, PARSE_ERROR_MSG); in ParseParams()
|
H A D | multicast_set_loopback_context.cpp | 51 SetError(PARSE_ERROR_CODE, PARSE_ERROR_MSG); in CheckParamsType() 58 SetError(PARSE_ERROR_CODE, PARSE_ERROR_MSG); in CheckParamsType()
|
H A D | multicast_set_ttl_context.cpp | 48 SetError(PARSE_ERROR_CODE, PARSE_ERROR_MSG); in CheckParamsType() 55 SetError(PARSE_ERROR_CODE, PARSE_ERROR_MSG); in CheckParamsType()
|
H A D | multicast_membership_context.cpp | 66 SetError(PARSE_ERROR_CODE, PARSE_ERROR_MSG); in CheckParamsType() 73 SetError(PARSE_ERROR_CODE, PARSE_ERROR_MSG); in CheckParamsType()
|
H A D | tcp_server_listen_context.cpp | 86 SetError(PARSE_ERROR_CODE, PARSE_ERROR_MSG); in CheckParamsType() 97 SetError(PARSE_ERROR_CODE, PARSE_ERROR_MSG); in CheckParamsType()
|
H A D | tcp_server_send_context.cpp | 75 SetError(PARSE_ERROR_CODE, PARSE_ERROR_MSG); in CheckParamsType() 86 SetError(PARSE_ERROR_CODE, PARSE_ERROR_MSG); in CheckParamsType()
|
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/ |
H A D | webgl_rendering_context_base.cpp | 200 context->GetWebGLRenderingContextImpl().SetError(WebGLRenderingContextBase::INVALID_VALUE); in BindAttribLocation() 207 context->GetWebGLRenderingContextImpl().SetError(WebGLRenderingContextBase::INVALID_VALUE); in BindAttribLocation() 336 context->GetWebGLRenderingContextImpl().SetError(WebGLRenderingContextBase::INVALID_ENUM); in BlendEquation() 350 context->GetWebGLRenderingContextImpl().SetError(WebGLRenderingContextBase::INVALID_ENUM); in BlendEquation() 371 context->GetWebGLRenderingContextImpl().SetError(WebGLRenderingContextBase::INVALID_ENUM); in BlendEquationSeparate() 377 context->GetWebGLRenderingContextImpl().SetError(WebGLRenderingContextBase::INVALID_ENUM); in BlendEquationSeparate() 389 context->GetWebGLRenderingContextImpl().SetError(WebGLRenderingContextBase::INVALID_ENUM); in BlendEquationSeparate() 405 context->GetWebGLRenderingContextImpl().SetError(WebGLRenderingContextBase::INVALID_ENUM); in BlendEquationSeparate() 803 context->GetWebGLRenderingContextImpl().SetError(WebGLRenderingContextBase::INVALID_ENUM); in CreateShader() 2085 context->GetWebGLRenderingContextImpl().SetError(result); in VertexAttribPointer() [all …]
|