/third_party/zlib/contrib/dotzlib/DotZLib/ |
H A D | CircularBuffer.cs | 77 int result = (int)_buffer[_head++ % _capacity];
in Get() 79 return result;
in Get()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/egl/ |
H A D | WindowSurfaceEGL.cpp | 48 EGLBoolean result = mEGL->querySurface(mSurface, EGL_BUFFER_AGE_EXT, age); in getBufferAge() local 49 if (result == EGL_FALSE) in getBufferAge()
|
/foundation/ability/ability_runtime/services/appmgr/src/ |
H A D | app_mgr_service_inner.cpp | 536 TAG_LOGE(AAFwkTag::APPMGR, "setting watermark fails with result code:%{public}d", resultCode); in ProcessKia() 543 TAG_LOGE(AAFwkTag::APPMGR, "setting snapshot skip fails with result code:%{public}d", resultCode); in ProcessKia() 1316 auto result = HiSysEventWrite(OHOS::HiviewDFX::HiSysEvent::Domain::FRAMEWORK, "PROCESS_KILL", in ApplicationTerminated() local 1321 TAG_LOGW(AAFwkTag::APPMGR, "hisysevent write result=%{public}d, send [FRAMEWORK,PROCESS_KILL], pid=%{public}d," in ApplicationTerminated() 1322 " processName=%{public}s, msg=Kill Reason:app exit", result, eventInfo.pid, eventInfo.processName.c_str()); in ApplicationTerminated() 1333 int32_t result = VerifyRequestPermission(); in UpdateApplicationInfoInstalled() local 1334 if (result != ERR_OK) { in UpdateApplicationInfoInstalled() 1336 return result; in UpdateApplicationInfoInstalled() 1360 result = appRunningManager_->ProcessUpdateApplicationInfoInstalled(appInfo); in UpdateApplicationInfoInstalled() 1361 if (result ! in UpdateApplicationInfoInstalled() 1380 auto result = VerifyKillProcessPermission(bundleName); KillApplication() local 1415 int32_t result = ERR_OK; ForceKillApplicationInner() local 1455 int32_t result = ERR_OK; KillProcessesByAccessTokenId() local 1476 int32_t result = ERR_OK; KillApplicationByUid() local 1588 auto result = KillProcessByPid(*iter, reason); KillApplicationSelf() local 1601 int result = ERR_OK; KillApplicationByBundleName() local 1651 int result = ERR_OK; KillApplicationByUserIdLocked() local 1741 int32_t result = AccessToken::AccessTokenKit::ClearUserGrantedPermissionState(tokenId); ClearUpApplicationDataByUserId() local 2361 int result = HiSysEventWrite(OHOS::HiviewDFX::HiSysEvent::Domain::FRAMEWORK, "PROCESS_KILL", KillProcessByPidInner() local 2715 int32_t result = KillProcessByPid(pid, "KillProcessByAbilityToken"); KillProcessByAbilityToken() local 2742 auto result = KillProcessByPid(*iter, "KillProcessesByUserId"); KillProcessesByUserId() local 2758 auto result = KillProcessByPid(pid, "KillProcessesByPids"); KillProcessesByPids() local 2781 auto result = KillProcessByPid(pid, "AttachPidToParent"); AttachPidToParent() local 3154 int result = Security::AccessToken::AccessTokenKit::VerifyAccessToken(token, PERMISSION_INTERNET, false); StartProcessVerifyPermission() local 3174 int result = Security::AccessToken::AccessTokenKit::VerifyAccessToken(token, StartProcessVerifyPermission() local 3305 bool result = bundleMgrHelper->QueryDataGroupInfos(bundleInfo.name, userId, dataGroupInfoList); CreateStartMsg() local 4619 int32_t result = appRunningManager_->UpdateConfiguration(config, userId); UpdateConfiguration() local 4647 int32_t result = appRunningManager_->UpdateConfigurationByBundleName(config, name); UpdateConfigurationByBundleName() local 5681 auto result = IN_PROCESS_CALL(appMgrServiceInner->UpdateConfiguration(changeConfig)); PointerDeviceEventCallback() local 7193 int32_t result = KillProcessByPid(pid, "ExitChildProcessSafelyByChildPid"); NotifyAppFaultBySA() local 7234 DumpIpcAllStart(std::string& result) NotifyAppFaultBySA() argument 7247 DumpIpcAllStop(std::string& result) NotifyAppFaultBySA() argument 7260 DumpIpcAllStat(std::string& result) NotifyAppFaultBySA() argument 7273 DumpIpcStart(const int32_t pid, std::string& result) NotifyAppFaultBySA() argument 7286 DumpIpcStop(const int32_t pid, std::string& result) NotifyAppFaultBySA() argument 7299 DumpIpcStat(const int32_t pid, std::string& result) NotifyAppFaultBySA() argument 7312 DumpFfrt(const std::vector<int32_t>& pids, std::string& result) NotifyAppFaultBySA() argument 7559 int32_t result = ERR_OK; NotifyAppFaultBySA() local 8059 int32_t result = ERR_OK; NotifyAppFaultBySA() local [all...] |
/kernel/linux/linux-5.10/drivers/scsi/lpfc/ |
H A D | lpfc_bsg.c | 376 bsg_reply->result = rc; in lpfc_bsg_send_mgmt_cmd_cmp() 377 bsg_job_done(job, bsg_reply->result, in lpfc_bsg_send_mgmt_cmd_cmp() 553 bsg_reply->result = rc; in lpfc_bsg_send_mgmt_cmd() 650 bsg_reply->result = rc; in lpfc_bsg_rport_els_cmp() 651 bsg_job_done(job, bsg_reply->result, in lpfc_bsg_rport_els_cmp() 787 bsg_reply->result = rc; in lpfc_bsg_rport_els() 1140 bsg_reply->result = 0; in lpfc_bsg_ct_unsol_event() 1144 bsg_job_done(job, bsg_reply->result, in lpfc_bsg_ct_unsol_event() 1367 bsg_reply->result = 0; in lpfc_bsg_hba_get_event() 1368 bsg_job_done(job, bsg_reply->result, in lpfc_bsg_hba_get_event() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/ |
H A D | vktRayTracingBuiltinTests.cpp | 405 " imageStore(result, p, c);\n"; in initPrograms() 416 "layout(set = 0, binding = 0, r32i) uniform iimage3D result;\n" in initPrograms() 440 "layout(set = 0, binding = 0, r32i) uniform iimage3D result;\n" in initPrograms() 468 "layout(set = 0, binding = 0, r32i) uniform iimage3D result;\n" in initPrograms() 495 "layout(set = 0, binding = 0, r32i) uniform iimage3D result;\n" in initPrograms() 525 "layout(set = 0, binding = 0, r32i) uniform iimage3D result;\n" in initPrograms() 566 "layout(set = 0, binding = 0, r32i) uniform iimage3D result;\n" in initPrograms() 606 + condition + " imageStore(result, p, c);\n"; in initPrograms() 621 "layout(set = 0, binding = 0, r32i) uniform iimage3D result;\n" in initPrograms() 651 "layout(set = 0, binding = 0, r32i) uniform iimage3D result;\ in initPrograms() 1239 de::MovePtr<TopLevelAccelerationStructure> result = makeTopLevelAccelerationStructure(); initTopAccelerationStructure() local 1278 de::MovePtr<BottomLevelAccelerationStructure> result = makeBottomLevelAccelerationStructure(); initBottomAccelerationStructure() local 1558 vector<de::SharedPtr<BottomLevelAccelerationStructure> > result; initBottomAccelerationStructures() local 1781 VkResult result; checkFormatSupported() local 1830 std::vector<deInt32> result; expectedIntValuesBuffer() local 1999 std::vector<float> result; expectedFloatValuesBuffer() local [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
H A D | ULocaleTest.java | 787 String result = ldn.localeDisplayName(badLocaleID); in TestUldnWithGarbage() 788 if (result.compareTo(expectedResult) != 0) { in TestUldnWithGarbage() 789 errln("FAIL: LocaleDisplayNames.localeDisplayName(String) for bad locale ID \"" + badLocaleID + "\", expected \"" + expectedResult + "\", got \"" + result + "\""); in TestUldnWithGarbage() 792 result = ldn.localeDisplayName(badLocale); in TestUldnWithGarbage() 793 if (result.compareTo(expectedResult) != 0) { in TestUldnWithGarbage() 794 errln("FAIL: LocaleDisplayNames.localeDisplayName(ULocale) for bad locale ID \"" + badLocaleID + "\", expected \"" + expectedResult + "\", got \"" + result + "\""); in TestUldnWithGarbage() 1174 public String result; in TestDisplayNames() 1182 result = res; in TestDisplayNames() 1271 String result = ldn.localeDisplayName(item.localeToBeNamed); in TestDisplayNames() 1272 if (!(item.result in TestDisplayNames() [all...] |
/third_party/node/deps/v8/src/codegen/ |
H A D | code-stub-assembler.cc | 396 // Round negated {x} towards Infinity and return the result negated. in Float64Ceil() 448 // Round negated {x} towards -Infinity and return the result negated. in Float64Floor() 539 // Round negated {x} towards -Infinity and return result negated. in Float64Trunc() 590 // result, so there's no need to mask value anymore, since there's no in PopulationCountFallback() 809 TNode<IntPtrT> result = SmiUntag(value); in SmiToInt32() local 810 return TruncateIntPtrToInt32(result); in SmiToInt32() 864 TNode<Int32T> result = Projection<0>(pair); in TrySmiAdd() local 865 return BitcastWordToTaggedSigned(ChangeInt32ToIntPtr(result)); in TrySmiAdd() 877 TNode<IntPtrT> result = Projection<0>(pair); in TrySmiSub() local 878 return BitcastWordToTaggedSigned(result); in TrySmiSub() 886 TNode<Int32T> result = Projection<0>(pair); TrySmiSub() local 897 TNode<IntPtrT> result = Projection<0>(pair); TrySmiAbs() local 906 TNode<Int32T> result = Projection<0>(pair); TrySmiAbs() local [all...] |
/foundation/arkui/ace_engine/adapter/ohos/osal/ |
H A D | stylus_detector_mgr.cpp | 300 auto result = textInputClient->InsertOrDeleteSpace(start); in InsertSpace() 301 if (result) { in InsertSpace() 464 bool result = false; in OnDetectorSync() local 466 CHECK_EQUAL_RETURN(nodeId, 0, result); in OnDetectorSync() 468 CHECK_NULL_RETURN(container, result); in OnDetectorSync() 470 CHECK_NULL_RETURN(pipelineContext, result); in OnDetectorSync() 472 CHECK_NULL_RETURN(taskScheduler, result); in OnDetectorSync() 476 [nodeId, command, &result]() { in OnDetectorSync() 486 result = pattern->CanUndo(); in OnDetectorSync() 489 result in OnDetectorSync() [all...] |
/foundation/arkui/ace_engine/test/unittest/core/pattern/swiper/ |
H A D | swiper_overlength_indicator_modifier_test_ng.cpp | 355 * @tc.expected: Verify the result and result should be as expected
in HWTEST_F() 360 auto result = indicatorModifier->GetTouchBottomCenterX(contentProperty);
in HWTEST_F() local 361 EXPECT_NEAR(result.first, contentProperty.vectorBlackPointCenterX[0] - radius, 0.001f);
in HWTEST_F() 362 EXPECT_NEAR(result.second, contentProperty.vectorBlackPointCenterX[0] + radius, 0.001f);
in HWTEST_F() 366 * @tc.expected: Verify the result
in HWTEST_F() 371 result = indicatorModifier->GetTouchBottomCenterX(contentProperty);
in HWTEST_F() 372 EXPECT_NEAR(result.first, contentProperty.longPointLeftCenterX, 0.001f);
in HWTEST_F() 373 EXPECT_NEAR(result.second, contentProperty.longPointRightCenterX, 0.001f);
in HWTEST_F() 377 * @tc.expected: Verify the result an in HWTEST_F() 727 auto result = paintMethod->CalculatePointCenterX( HWTEST_F() local [all...] |
/foundation/arkui/ace_engine/interfaces/native/node/ |
H A D | node_model.cpp | 36 HMODULE result = nullptr; in FindModule() local 38 GetModuleHandleEx(GET_MODULE_HANDLE_EX_FLAG_PIN, libname, &result); in FindModule() 39 if (result) { in FindModule() 40 return result; in FindModule() 54 void* result = dlopen(libname, RTLD_LAZY | RTLD_LOCAL); 55 if (result) { 56 return result; 336 auto result = extraData->eventMap.try_emplace(eventType, extraParam); in RegisterNodeEvent() local 337 if (!result.second) { in RegisterNodeEvent() 338 result in RegisterNodeEvent() [all...] |
/foundation/barrierfree/accessibility/interfaces/kits/napi/accessibility_extension_module_loader/src/ |
H A D | napi_accessibility_extension.cpp | 546 // Unwrap result in OnKeyPressEventExec() 547 bool result = false; in OnKeyPressEventExec() 548 if (!ConvertFromJsValue(data->env_, nativeResult, result)) { in OnKeyPressEventExec() 557 HILOG_INFO("OnKeyPressEvent result = %{public}d", result); in OnKeyPressEventExec() 558 data->syncPromise_.set_value(result); in OnKeyPressEventExec() 626 // Unwrap result in OnKeyPressEventCompleteCallback() 627 bool result = false; in OnKeyPressEventCompleteCallback() local 628 if (!ConvertFromJsValue(data->env_, napiResult, result)) { in OnKeyPressEventCompleteCallback() 637 HILOG_INFO("OnKeyPressEvent result in OnKeyPressEventCompleteCallback() 665 napi_value result = nullptr; CallObjectMethod() local [all...] |
/foundation/barrierfree/accessibility/frameworks/aafwk/test/unittest/ |
H A D | accessible_ability_client_impl_test.cpp | 1006 std::vector<AccessibilityElementInfo> result; in HWTEST_F() local 1007 EXPECT_EQ(instance_->GetElementInfoFromCache(WINDOW_ID, ELEMENT_ID, result), RET_OK); in HWTEST_F() 1008 EXPECT_EQ(result.size(), 1); in HWTEST_F() 1025 std::vector<AccessibilityElementInfo> result; in HWTEST_F() local 1026 EXPECT_EQ(instance_->GetElementInfoFromCache(WINDOW_ID, ELEMENT_ID, result), RET_OK); in HWTEST_F() 1027 EXPECT_EQ(result.size(), 1); in HWTEST_F() 1033 EXPECT_EQ(instance_->GetElementInfoFromCache(WINDOW_ID, ELEMENT_ID, result), RET_ERR_FAILED); in HWTEST_F() 1034 EXPECT_EQ(result.size(), 0); in HWTEST_F() 1051 std::vector<AccessibilityElementInfo> result; in HWTEST_F() local 1052 EXPECT_EQ(instance_->GetElementInfoFromCache(WINDOW_ID, ELEMENT_ID, result), RET_O in HWTEST_F() [all...] |
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/matrix_napi/ |
H A D | js_matrix.cpp | 109 napi_value result = nullptr;
in CreateJsMatrix() local 113 napi_create_object(env, &result);
in CreateJsMatrix() 114 if (result == nullptr) {
in CreateJsMatrix() 119 status = napi_wrap(env, result, jsMatrix, JsMatrix::Destructor, nullptr, nullptr);
in CreateJsMatrix() 125 napi_define_properties(env, result, sizeof(g_properties) / sizeof(g_properties[0]), g_properties);
in CreateJsMatrix() 126 return result;
in CreateJsMatrix() 128 return result;
in CreateJsMatrix() 676 bool result = m_matrix->SetPolyToPoly(srcPoints, dstPoints, count);
in OnSetPolyToPoly() local 677 return CreateJsValue(env, result);
in OnSetPolyToPoly() 711 bool result in OnSetRectToRect() local [all...] |
/foundation/multimedia/image_effect/frameworks/native/utils/common/ |
H A D | common_utils.cpp | 71 auto result = Plugin::AnyCast<ValueType>(&any); in ParseJson() local 72 if (result == nullptr) { in ParseJson() 76 json->Put(key, *result); in ParseJson() 323 ErrorCode CommonUtils::ParseAnyAndAddToJson(const std::string &key, Plugin::Any &any, EffectJsonPtr &result) in ParseAnyAndAddToJson() argument 325 CHECK_AND_RETURN_RET(ParseJson<float>(key, any, result) != ErrorCode::SUCCESS, ErrorCode::SUCCESS); in ParseAnyAndAddToJson() 326 CHECK_AND_RETURN_RET(ParseJson<int32_t>(key, any, result) != ErrorCode::SUCCESS, ErrorCode::SUCCESS); in ParseAnyAndAddToJson() 327 CHECK_AND_RETURN_RET(ParseJson<uint32_t>(key, any, result) != ErrorCode::SUCCESS, ErrorCode::SUCCESS); in ParseAnyAndAddToJson() 559 uint32_t result = pixelMap->SetImageInfo(imageInfo, true); in ModifyPixelMapPropertyInner() local 560 EFFECT_LOGI("ModifyPixelMapPropertyInner: SetImageInfo width=%{public}d, height=%{public}d, result: %{public}d", in ModifyPixelMapPropertyInner() 561 imageInfo.size.width, imageInfo.size.height, result); in ModifyPixelMapPropertyInner() [all...] |
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/accessor/src/ |
H A D | exif_metadata.cpp | 144 ImageMetadata::PropertyMapPtr result = std::make_shared<ImageMetadata::PropertyMap>(); in GetAllProperties() local 149 result->insert(std::make_pair(key, value)); in GetAllProperties() 155 result->insert(std::make_pair(key, value)); in GetAllProperties() 159 return result; in GetAllProperties() 543 std::string result = std::accumulate(value.begin(), value.end(), std::string(), [](std::string res, char a) { in SetByte() local 549 const char *p = result.c_str(); in SetByte() 550 int valueLen = static_cast<int>(result.length()); in SetByte() 579 auto result = ExifMetadatFormatter::Format(key, value); in SetValue() local 580 if (result.first) { in SetValue() 588 return SetHwMoteValue(key, result in SetValue() [all...] |
/foundation/multimedia/media_library/frameworks/services/media_backup_extension/src/ |
H A D | backup_file_utils.cpp | 130 string result = filePath; in ConvertLowQualityPath() local 131 size_t displayNameIndex = result.rfind("/"); in ConvertLowQualityPath() 133 return result; in ConvertLowQualityPath() 135 std::string displayName = result.substr(displayNameIndex + 1); in ConvertLowQualityPath() 140 size_t pos = result.find(relativePath); in ConvertLowQualityPath() 142 return result; in ConvertLowQualityPath() 144 string publicPath = result.substr(0, pos + 1); in ConvertLowQualityPath() 145 result = publicPath + LOW_QUALITY_PATH + displayName; in ConvertLowQualityPath() 146 return result; in ConvertLowQualityPath() 500 int result in GenerateThumbnailsAfterRestore() local [all...] |
/foundation/resourceschedule/work_scheduler/interfaces/kits/js/napi/src/ |
H A D | common.cpp | 55 napi_value result = nullptr; in NapiGetNull() local 56 napi_get_null(env, &result); in NapiGetNull() 57 return result; in NapiGetNull() 535 const napi_env &env, const napi_ref &callbackIn, int32_t errCode, const napi_value &result) in SetCallback() 551 results[1] = result; in SetCallback() 557 const napi_env &env, const AsyncWorkData &info, const napi_value &result) in SetPromise() 560 napi_resolve_deferred(env, info.deferred, result); in SetPromise() 576 return result; in SetPromise() 579 void Common::ReturnCallbackPromise(const napi_env &env, const AsyncWorkData &info, const napi_value &result) in ReturnCallbackPromise() argument 582 SetCallback(env, info.callback, info.errorCode, result); in ReturnCallbackPromise() 534 SetCallback( const napi_env &env, const napi_ref &callbackIn, int32_t errCode, const napi_value &result) SetCallback() argument 556 SetPromise( const napi_env &env, const AsyncWorkData &info, const napi_value &result) SetPromise() argument [all...] |
/foundation/communication/wifi/wifi/frameworks/native/src/ |
H A D | wifi_hotspot_proxy.cpp | 176 ErrCode WifiHotspotProxy::GetHotspotConfig(HotspotConfig &result) in GetHotspotConfig() argument 209 result.SetSsid((readStr != nullptr) ? readStr : ""); in GetHotspotConfig() 210 result.SetSecurityType(static_cast<KeyMgmt>(reply.ReadInt32())); in GetHotspotConfig() 211 result.SetBand(static_cast<BandType>(reply.ReadInt32())); in GetHotspotConfig() 212 result.SetChannel(reply.ReadInt32()); in GetHotspotConfig() 214 result.SetPreSharedKey((readStr != nullptr) ? readStr : ""); in GetHotspotConfig() 215 result.SetMaxConn(reply.ReadInt32()); in GetHotspotConfig() 216 result.SetIpAddress(reply.ReadString()); in GetHotspotConfig() 217 result.SetLeaseTime(reply.ReadInt32()); in GetHotspotConfig() 293 ErrCode WifiHotspotProxy::GetStationList(std::vector<StationInfo> &result) in GetStationList() argument [all...] |
/foundation/distributeddatamgr/data_share/frameworks/native/proxy/src/ |
H A D | data_share_service_proxy.cpp | 84 int32_t result = -1; in InsertEx() local 95 if (!ITypesUtil::Unmarshal(reply, errCode, result)) { in InsertEx() 99 return std::make_pair(errCode, result); in InsertEx() 116 int32_t result = -1; in UpdateEx() local 127 if (!ITypesUtil::Unmarshal(reply, errCode, result)) { in UpdateEx() 131 return std::make_pair(errCode, result); in UpdateEx() 148 int32_t result = -1; in DeleteEx() local 159 if (!ITypesUtil::Unmarshal(reply, errCode, result)) { in DeleteEx() 163 return std::make_pair(errCode, result); in DeleteEx() 186 auto result in Query() local [all...] |
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/cloud_data/src/ |
H A D | js_config.cpp | 334 std::map<std::string, StatisticInfos> result; in QueryStatistics() member 370 auto [status, result] = proxy->QueryStatistics(ctxt->accountId, ctxt->bundleName, ctxt->storeId); in QueryStatistics() 373 ctxt->result = std::move(result); in QueryStatistics() 375 auto output = [env, ctxt](napi_value& result) { in QueryStatistics() 376 result = JSUtils::Convert2JSValue(env, ctxt->result); in QueryStatistics() 377 ASSERT_VALUE(ctxt, result != nullptr, napi_generic_failure, "output failed"); in QueryStatistics() 506 auto output = [env, ctxt](napi_value &result) { in QueryLastSyncInfo() 507 result in QueryLastSyncInfo() [all...] |
/foundation/distributedhardware/device_manager/services/implementation/src/dependency/softbus/ |
H A D | softbus_connector.cpp | 412 void SoftbusConnector::OnSoftbusPublishResult(int32_t publishId, PublishResult result) in OnSoftbusPublishResult() argument 414 LOGI("Callback In, publishId: %{public}d, result: %{public}d.", publishId, result); in OnSoftbusPublishResult() 418 iter.second->OnPublishResult(iter.first, publishId, result); in OnSoftbusPublishResult() 422 void SoftbusConnector::OnSoftbusJoinLNNResult(ConnectionAddr *addr, const char *networkId, int32_t result) in OnSoftbusJoinLNNResult() argument 426 LOGD("[SOFTBUS]OnSoftbusJoinLNNResult, result: %{public}d.", result); in OnSoftbusJoinLNNResult() 528 void SoftbusConnector::OnSoftbusDiscoveryResult(int subscribeId, RefreshResult result) in OnSoftbusDiscoveryResult() argument 532 if (result == REFRESH_LNN_SUCCESS) { in OnSoftbusDiscoveryResult() 533 LOGI("[SOFTBUS]start to discovery device successfully with subscribeId: %{public}d, result in OnSoftbusDiscoveryResult() [all...] |
/foundation/distributeddatamgr/udmf/framework/ndkimpl/data/ |
H A D | udmf.cpp | 115 OH_UdmfRecord** result = new (std::nothrow) OH_UdmfRecord* [size] { nullptr };
in CreateUnifiedDataRecordsArray() local 116 if (result == nullptr) {
in CreateUnifiedDataRecordsArray() 120 result[i] = new (std::nothrow) OH_UdmfRecord;
in CreateUnifiedDataRecordsArray() 121 if (result[i] == nullptr) {
in CreateUnifiedDataRecordsArray() 122 DestroyUnifiedRecordArray(result, size);
in CreateUnifiedDataRecordsArray() 125 result[i]->record_ = records[i];
in CreateUnifiedDataRecordsArray() 127 unifiedData->records = result;
in CreateUnifiedDataRecordsArray() 506 auto result = GetValueFromUint8Array(record, typeId, value);
in OH_UdmfRecord_GetGeneralEntry() local 507 if (result != UDMF_E_OK) {
in OH_UdmfRecord_GetGeneralEntry() 508 LOG_ERROR(UDMF_CAPI, "Get value from valueType failed. typeId: %{public}s, result in OH_UdmfRecord_GetGeneralEntry() [all...] |
/foundation/distributeddatamgr/pasteboard/interfaces/cj/src/ |
H A D | pasteboard_ffi.cpp | 389 char **result = new char *[vec.size()]; in VectorToCArrString() local 390 if (result == nullptr) { in VectorToCArrString() 395 result[i] = new char[vec[i].length() + 1]; in VectorToCArrString() 396 if (result[i] == nullptr) { in VectorToCArrString() 399 if (strcpy_s(result[i], vec[i].length() + 1, vec[i].c_str()) != 0) { in VectorToCArrString() 400 delete[] result[i]; in VectorToCArrString() 401 result[i] = nullptr; in VectorToCArrString() 408 delete[] result[j - 1]; in VectorToCArrString() 409 result[j - 1] = nullptr; in VectorToCArrString() 411 delete[] result; in VectorToCArrString() [all...] |
/foundation/distributeddatamgr/pasteboard/interfaces/kits/napi/src/ |
H A D | napi_pastedata_record.cpp | 319 auto output = [exeContext](napi_env env, napi_value *result) -> napi_status { in ConvertToText() 321 napi_create_string_utf8(env, (exeContext->text).c_str(), (exeContext->text).length(), result); in ConvertToText() 355 napi_value result = nullptr; in ToPlainText() local 356 napi_create_string_utf8(env, str.c_str(), NAPI_AUTO_LENGTH, &result); in ToPlainText() 357 return result; in ToPlainText() 413 napi_value result = nullptr; in GetValidTypes() local 414 NAPI_CALL(env, napi_create_array(env, &result)); in GetValidTypes() 418 NAPI_CALL(env, napi_set_element(env, result, i, element)); in GetValidTypes() 420 return result; in GetValidTypes() 456 auto output = [exeContext](napi_env env, napi_value *result) in GetRecordData() [all...] |
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/common/src/ |
H A D | softbus_channel_adapter.cpp | 106 static void onDevTimeSyncResult(const TimeSyncResultInfo *info, int32_t result)
in onDevTimeSyncResult() argument 108 SoftbusChannelAdapter::GetInstance().OnSoftbusTimeSyncResult(info, result);
in onDevTimeSyncResult() 471 std::string peerDevId, int32_t result)
in OnSoftbusChannelOpened() 473 AVTRANS_LOGI("On softbus channel opened, sessionId: %{public}" PRId32", result: %{public}" PRId32
in OnSoftbusChannelOpened() 474 " peerSessionName: %{public}s", sessionId, result, peerSessionName.c_str());
in OnSoftbusChannelOpened() 481 EventType type = (result == 0) ? EventType::EVENT_CHANNEL_OPENED : EventType::EVENT_CHANNEL_OPEN_FAIL;
in OnSoftbusChannelOpened() 561 void SoftbusChannelAdapter::OnSoftbusTimeSyncResult(const TimeSyncResultInfo *info, int32_t result)
in OnSoftbusTimeSyncResult() argument 563 AVTRANS_LOGI("On softbus channel time sync result:%{public}" PRId32, result);
in OnSoftbusTimeSyncResult() 564 TRUE_RETURN(result in OnSoftbusTimeSyncResult() 470 OnSoftbusChannelOpened(std::string peerSessionName, int32_t sessionId, std::string peerDevId, int32_t result) OnSoftbusChannelOpened() argument [all...] |