/base/theme/wallpaper_mgr/utils/dfx/hisysevent_adapter/ |
H A D | fault_reporter.cpp | 29 int nRet = HiSysEventWrite(HiSysEvent::Domain::THEME, SERVICE_FAULT, HiSysEvent::EventType::FAULT, FAULT_TYPE, in ReportServiceFault() local 31 return nRet == 0 ? ReportStatus::SUCCESS : ReportStatus::ERROR; in ReportServiceFault() 36 int nRet = HiSysEventWrite(HiSysEvent::Domain::THEME, RUNTIME_FAULT, HiSysEvent::EventType::FAULT, FAULT_TYPE, in ReportRuntimeFault() local 38 return nRet == 0 ? ReportStatus::SUCCESS : ReportStatus::ERROR; in ReportRuntimeFault()
|
/base/tee/tee_client/interfaces/kits/c/src/ |
H A D | tee_client.cpp | 738 TEEC_Result nRet = GetOptMemSize(operation, &optMemSize); in OpenSessionSendCmd() local 739 CHECK_ERR_RETURN(nRet, TEEC_SUCCESS, TEEC_ERROR_BAD_PARAMETERS); in OpenSessionSendCmd() 741 nRet = CopyTeecOptMem(operation, optMemSize, optMem); in OpenSessionSendCmd() 742 if (nRet != TEEC_SUCCESS) { in OpenSessionSendCmd() 744 return nRet; in OpenSessionSendCmd() 775 nRet = GetTeecOptMem(operation, optMemSize, optMem, reply); in OpenSessionSendCmd() 776 if (nRet != TEEC_SUCCESS && ret == (int32_t)TEEC_SUCCESS) { in OpenSessionSendCmd() 777 ret = (int32_t)nRet; in OpenSessionSendCmd() 802 bool nRet = optMem->WriteToAshmem(p, (int32_t)(param->tmpref.size), in TeecOptEncodeTempMem() local 804 if (!nRet) { in TeecOptEncodeTempMem() 816 bool nRet = optMem->WriteToAshmem(&(shm->is_allocated), (int32_t)(sizeof(bool)), CovertEncodePtr() local 868 bool nRet = CovertEncodePtr(optMem, &sizeLeft, shm); TeecOptEncodePartialMem() local 1106 TEEC_Result nRet = GetOptMemSize(operation, &optMemSize); InvokeCommandSendCmd() local [all...] |
/base/time/time_service/services/time/src/ |
H A D | ntp_update_time.cpp | 113 int nRet = NetConnClient::GetInstance().RegisterNetConnCallback(specifier, observer, 0); in MonitorNetwork() local 114 TIME_HILOGI(TIME_MODULE_SERVICE, "RegisterNetConnCallback retcode= %{public}d", nRet); in MonitorNetwork() 116 if (nRet == E_TIME_OK) { in MonitorNetwork() 117 return nRet; in MonitorNetwork() 122 int nRet = NetConnClient::GetInstance().RegisterNetConnCallback(specifier, observer, 0); in MonitorNetwork() 123 TIME_HILOGI(TIME_MODULE_SERVICE, "RegisterNetConnCallback retcode= %{public}d", nRet); in MonitorNetwork() 124 if (nRet == E_TIME_OK) { in MonitorNetwork() 131 return nRet; in MonitorNetwork()
|
/base/request/request/frameworks/js/napi/src/legacy/ |
H A D | download_task.cpp | 63 int nRet = fseek(filp_, 0, SEEK_END);
in GetLocalFileSize() local 64 if (nRet != 0) {
in GetLocalFileSize()
|
/base/tee/tee_client/frameworks/libteec_vendor/ |
H A D | tee_client_api.c | 453 errno_t nRet; in MallocShrMemInner() local 460 nRet = memset_s(shmInner, sizeof(*shmInner), 0x00, sizeof(*shmInner)); in MallocShrMemInner() 461 if (nRet != EOK) { in MallocShrMemInner() 462 tloge("malloc shrmem: shmInner memset failed : %d\n", (int)nRet); in MallocShrMemInner() 754 errno_t nRet = memset_s(context->shm_bitmap, sizeof(context->shm_bitmap), 0x00, sizeof(context->shm_bitmap)); in TEEC_InitializeContextInner() local 755 if (nRet != EOK) { in TEEC_InitializeContextInner() 756 tloge("Initial context: context->shm_bitmap memset failed : %d\n", (int)nRet); in TEEC_InitializeContextInner() 790 errno_t nRet; in TEEC_InitializeContext() local 817 nRet = memset_s(contextInner, sizeof(*contextInner), 0, sizeof(*contextInner)); in TEEC_InitializeContext() 818 if (nRet ! in TEEC_InitializeContext() [all...] |
/base/security/certificate_framework/test/unittest/v1.0/src/ |
H A D | crypto_x509_crl_test.cpp | 1268 int32_t nRet = HcfX509CrlCreate(&g_crlWithoutExtPemInStream, &x509Crl); in HWTEST_F() local 1269 ASSERT_EQ(nRet, 0); in HWTEST_F() 1329 int32_t nRet = HcfX509CrlCreate(&g_crlWhichEntryWithExtInStream, &x509Crl); in HWTEST_F() local 1330 ASSERT_EQ(nRet, 0); in HWTEST_F() 1405 int32_t nRet = HcfX509CrlCreate(&g_crlWhichEntryWithExtInStream, &x509Crl); in HWTEST_F() local 1406 ASSERT_EQ(nRet, 0); in HWTEST_F() 1448 int32_t nRet = HcfX509CrlCreate(&g_crlWithBignumSerialInStream, &x509Crl); in HWTEST_F() local 1449 ASSERT_EQ(nRet, 0); in HWTEST_F()
|
/base/theme/wallpaper_mgr/services/src/ |
H A D | wallpaper_service.cpp | 1135 ReportStatus nRet; in ReporterFault() local 1138 nRet = FaultReporter::ReportServiceFault(msg); in ReporterFault() 1140 nRet = FaultReporter::ReportRuntimeFault(msg); in ReporterFault() 1143 if (nRet == ReportStatus::SUCCESS) { in ReporterFault()
|