Home
last modified time | relevance | path

Searched refs:result (Results 8751 - 8775 of 20245) sorted by relevance

1...<<351352353354355356357358359360>>...810

/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/bridge/webcore/
H A Dark_web_handler_wrapper.h268 * @param result std::shared_ptr<NWebJSDialogResult>: A NWebJSDialogResult to
274 std::shared_ptr<OHOS::NWeb::NWebJSDialogResult> result) override;
282 * @param result std::shared_ptr<NWebJSDialogResult>: A NWebJSDialogResult to
288 std::shared_ptr<OHOS::NWeb::NWebJSDialogResult> result) override;
297 * @param result std::shared_ptr<NWebJSDialogResult>: A NWebJSDialogResult to
303 std::shared_ptr<OHOS::NWeb::NWebJSDialogResult> result) override;
311 * @param result std::shared_ptr<NWebJSDialogResult>: A NWebJSDialogResult to
317 std::shared_ptr<OHOS::NWeb::NWebJSDialogResult> result) override;
319 bool OnHttpAuthRequestByJS(std::shared_ptr<OHOS::NWeb::NWebJSHttpAuthResult> result, const std::string& host,
322 bool OnSslErrorRequestByJS(std::shared_ptr<OHOS::NWeb::NWebJSSslErrorResult> result, ArkWebSslErro
[all...]
/foundation/ability/ability_runtime/frameworks/js/napi/ability_auto_startup_manager/
H A Djs_ability_auto_startup_manager.cpp219 napi_value result = nullptr; in OnSetApplicationAutoStartup() local
221 CreateAsyncTaskWithLastParam(env, lastParam, std::move(execute), std::move(complete), &result)); in OnSetApplicationAutoStartup()
222 return result; in OnSetApplicationAutoStartup()
270 napi_value result = nullptr; in OnCancelApplicationAutoStartup() local
272 CreateAsyncTaskWithLastParam(env, lastParam, std::move(execute), std::move(complete), &result)); in OnCancelApplicationAutoStartup()
273 return result; in OnCancelApplicationAutoStartup()
310 napi_value result = nullptr; in OnQueryAllAutoStartupApplications() local
312 CreateAsyncTaskWithLastParam(env, lastParam, std::move(execute), std::move(complete), &result)); in OnQueryAllAutoStartupApplications()
313 return result; in OnQueryAllAutoStartupApplications()
/foundation/arkui/ace_engine/frameworks/core/components/web/resource/
H A Dweb_client_impl.h148 std::shared_ptr<NWeb::NWebJSDialogResult> result) override;
151 std::shared_ptr<NWeb::NWebJSDialogResult> result) override;
154 std::shared_ptr<NWeb::NWebJSDialogResult> result) override;
158 std::shared_ptr<NWeb::NWebJSDialogResult> result) override;
177 bool OnHttpAuthRequestByJS(std::shared_ptr<NWeb::NWebJSHttpAuthResult> result, const std::string &host,
179 bool OnSslErrorRequestByJS(std::shared_ptr<NWeb::NWebJSSslErrorResult> result,
181 bool OnAllSslErrorRequestByJS(std::shared_ptr<NWeb::NWebJSAllSslErrorResult> result,
189 std::shared_ptr<NWeb::NWebJSSslSelectCertResult> result,
305 bool OnSslErrorRequestByJSV2(std::shared_ptr<NWeb::NWebJSSslErrorResult> result,
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/dialog/
H A Djs_custom_dialog_controller.cpp336 const JsiExecutionContext& execContext, const JsiRef<JsiValue>& animationValue, AnimationOption& result) in ParseAnimation()
370 result.SetDuration(duration); in ParseAnimation()
371 result.SetDelay(delay); in ParseAnimation()
372 result.SetIteration(iterations); in ParseAnimation()
373 result.SetTempo(tempo); in ParseAnimation()
374 result.SetAnimationDirection(direction); in ParseAnimation()
375 result.SetCurve(curve); in ParseAnimation()
376 result.SetFinishCallbackType(finishCallbackType); in ParseAnimation()
391 result.SetOnFinishEvent(onFinishEvent); in ParseAnimation()
335 ParseAnimation( const JsiExecutionContext& execContext, const JsiRef<JsiValue>& animationValue, AnimationOption& result) ParseAnimation() argument
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Dpixelmap_image.cpp73 bool ConvertSlice(const ImagePaintConfig& config, RectF& result, float rawImageWidth, float rawImageHeight) in ConvertSlice() argument
78 result.SetLeft(ConvertToPx(slice.left, ScaleProperty::CreateScaleProperty(), rawImageWidth).value_or(0.0f)); in ConvertSlice()
79 result.SetTop(ConvertToPx(slice.top, ScaleProperty::CreateScaleProperty(), rawImageHeight).value_or(0.0f)); in ConvertSlice()
84 if (GreatNotEqual(rawImageWidth - rightSliceValue - result.GetX(), 0.0f)) { in ConvertSlice()
85 result.SetWidth(rawImageWidth - rightSliceValue - result.GetX()); in ConvertSlice()
90 if (GreatNotEqual(rawImageHeight - bottomSliceValue - result.GetY(), 0.0f)) { in ConvertSlice()
91 result.SetHeight(rawImageHeight - bottomSliceValue - result.GetY()); in ConvertSlice()
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/rosen/
H A Ddrawing_image.cpp62 bool ConvertSlice(const ImagePaintConfig& config, RectF& result, float rawImageWidth, float rawImageHeight) in ConvertSlice() argument
67 result.SetLeft(ConvertToPx(slice.left, ScaleProperty::CreateScaleProperty(), rawImageWidth).value_or(0.0f)); in ConvertSlice()
68 result.SetTop(ConvertToPx(slice.top, ScaleProperty::CreateScaleProperty(), rawImageHeight).value_or(0.0f)); in ConvertSlice()
73 if (GreatNotEqual(rawImageWidth - rightSliceValue - result.GetX(), 0.0f)) { in ConvertSlice()
74 result.SetWidth(rawImageWidth - rightSliceValue - result.GetX()); in ConvertSlice()
79 if (GreatNotEqual(rawImageHeight - bottomSliceValue - result.GetY(), 0.0f)) { in ConvertSlice()
80 result.SetHeight(rawImageHeight - bottomSliceValue - result.GetY()); in ConvertSlice()
/foundation/communication/bluetooth_service/services/bluetooth/server/src/
H A Dbluetooth_avrcp_tg_server.cpp215 int32_t result = 0; in Connect() local
218 result = pimpl->service_->Connect(addr); in Connect()
224 return result; in Connect()
231 int32_t result = 0; in Disconnect() local
234 result = pimpl->service_->Disconnect(addr); in Disconnect()
240 return result; in Disconnect()
301 int32_t result = 0; in GetDeviceState() local
304 result = pimpl->service_->GetDeviceState(addr); in GetDeviceState()
310 return result; in GetDeviceState()
/foundation/graphic/graphic_3d/lume/metaobject/src/serialization/
H A Dimporter.cpp108 IObject::Ptr result; in ImportObject() local
120 result = object; in ImportObject()
125 result = object; in ImportObject()
128 if (auto fin = interface_pointer_cast<IImportFinalize>(result)) { in ImportObject()
131 return result; in ImportObject()
136 IObject::Ptr result; in ImportObject() local
138 result = ImportRef(node->GetValue()); in ImportObject()
156 result = ImportObject(node, object); in ImportObject()
161 return result; in ImportObject()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/common/
H A Drs_vector4_test.cpp482 Vector4 result(2.f, 1.f, 2.f, 1.f); // for test in HWTEST_F()
483 Vector4<float>::Min(a, b, result); in HWTEST_F()
484 EXPECT_TRUE(result.data_[1] == 1.f); in HWTEST_F()
497 Vector4 result(2.f, 1.f, 2.f, 1.f); // for test in HWTEST_F()
498 Vector4<float>::Max(a, b, result); in HWTEST_F()
499 EXPECT_TRUE(result.data_[1] == 2.f); in HWTEST_F()
512 Vector4 result(2.f, 1.f, 2.f, 1.f); // for test in HWTEST_F()
513 Vector4<float>::Mix(min, max, 2.f, result); in HWTEST_F()
514 EXPECT_TRUE(result.data_[1] == 3.f); in HWTEST_F()
/foundation/multimedia/av_codec/test/unittest/dash_test/
H A Ddash_media_downloader_unit_test.cpp151 bool result = false; in HWTEST_F() local
153 result = g_mediaDownloader->SelectBitRate(switchingBitrate); in HWTEST_F()
156 EXPECT_TRUE(result); in HWTEST_F()
310 bool result = mediaDownloader->SelectBitRate(switchingBitrate); in HWTEST_F() local
316 EXPECT_TRUE(result); in HWTEST_F()
366 bool result = mediaDownloader->SelectBitRate(switchingBitrate); in HWTEST_F() local
373 EXPECT_TRUE(result); in HWTEST_F()
389 bool result = mediaDownloader->SeekToTime(1, SeekMode::SEEK_NEXT_SYNC); in HWTEST_F() local
392 EXPECT_TRUE(result); in HWTEST_F()
/foundation/multimedia/media_library/frameworks/js/src/
H A Dhighlight_album_napi.cpp376 napi_value result = nullptr; in JSGetHighlightAlbumInfo() local
377 NAPI_CALL(env, napi_get_undefined(env, &result)); in JSGetHighlightAlbumInfo()
379 CHECK_NULL_PTR_RETURN_UNDEFINED(env, asyncContext, result, "asyncContext context is null"); in JSGetHighlightAlbumInfo()
399 napi_value result = nullptr; in JSSetHighlightUserActionData() local
400 NAPI_CALL(env, napi_get_undefined(env, &result)); in JSSetHighlightUserActionData()
402 CHECK_NULL_PTR_RETURN_UNDEFINED(env, asyncContext, result, "asyncContext context is null"); in JSSetHighlightUserActionData()
424 napi_value result = nullptr; in JSGetHighlightResource() local
425 NAPI_CALL(env, napi_get_undefined(env, &result)); in JSGetHighlightResource()
427 CHECK_NULL_PTR_RETURN_UNDEFINED(env, asyncContext, result, "asyncContext context is null"); in JSGetHighlightResource()
/foundation/window/window_manager/utils/test/unittest/
H A Dwm_occlusion_region_test.cpp60 bool result = true; in HWTEST_F() local
66 result = EventSortByY(event1, event2); in HWTEST_F()
67 ASSERT_EQ(true, result); in HWTEST_F()
73 result = EventSortByY(event1, event2); in HWTEST_F()
74 ASSERT_EQ(false, result); in HWTEST_F()
78 result = EventSortByY(event1, event2); in HWTEST_F()
79 ASSERT_EQ(true, result); in HWTEST_F()
83 result = EventSortByY(event1, event2); in HWTEST_F()
84 ASSERT_EQ(false, result); in HWTEST_F()
/foundation/window/window_manager/interfaces/kits/napi/picture_in_picture_napi/inner/
H A Djs_pip_manager.cpp39 napi_value result = nullptr; in NapiGetUndefined() local
40 napi_get_undefined(env, &result); in NapiGetUndefined()
41 return result; in NapiGetUndefined()
228 bool result = false; in NapiIsCallable() local
229 napi_is_callable(env, value, &result); in NapiIsCallable()
230 return result; in NapiIsCallable()
254 napi_ref result = nullptr; in OnRegisterCallback() local
255 napi_create_reference(env, value, 1, &result); in OnRegisterCallback()
256 callbackRef.reset(reinterpret_cast<NativeReference*>(result)); in OnRegisterCallback()
/foundation/communication/nfc/services/src/card_emulation/
H A Dhost_card_emulation_manager.cpp304 int result = Security::AccessToken::AccessTokenKit::GetHapTokenInfo(callerToken, hapTokenInfo); in RegHceCmdCallback() local
306 InfoLog("get hap token info, result = %{public}d", result); in RegHceCmdCallback()
307 if (result) { in RegHceCmdCallback()
349 int result = Security::AccessToken::AccessTokenKit::GetHapTokenInfo(callerToken, hapTokenInfo); in IsCorrespondentService() local
351 InfoLog("get hap token info, result = %{public}d", result); in IsCorrespondentService()
353 if (result) { in IsCorrespondentService()
462 int result = Security::AccessToken::AccessTokenKit::GetHapTokenInfo(callerToken, hapTokenInfo); in EraseHceCmdCallback() local
464 InfoLog("get hap token info, result in EraseHceCmdCallback()
[all...]
/foundation/communication/nfc/interfaces/inner_api/tags/
H A Dtag_session_proxy.cpp200 std::vector<int32_t> result {}; in GetTechList()
201 reply.ReadInt32Vector(&result); in GetTechList()
202 return result; in GetTechList()
207 bool result = false; in IsTagFieldOn() local
215 data, option, result); in IsTagFieldOn() local
216 return result; in IsTagFieldOn()
221 bool result = false; in IsNdef() local
229 data, option, result); in IsNdef() local
230 return result; in IsNdef()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/
H A Dsync_operation.cpp383 const auto &result = std::find_if(std::begin(syncTypeNodes), std::end(syncTypeNodes), [mode](const auto &node) { in GetSyncType() local
386 return result == std::end(syncTypeNodes) ? SyncType::INVALID_SYNC_TYPE : result->type; in GetSyncType()
431 const auto &result = std::find_if(std::begin(syncOperationStatusNodes), std::end(syncOperationStatusNodes), in DBStatusTrans() local
435 return result == std::end(syncOperationStatusNodes) ? DB_ERROR : result->status; in DBStatusTrans()
448 const auto &result = std::find_if(std::begin(syncOperationProcessStatus), std::end(syncOperationProcessStatus), in DBStatusTransProcess() local
452 return result == std::end(syncOperationProcessStatus) ? FINISHED : result->proStatus; in DBStatusTransProcess()
/foundation/distributeddatamgr/data_share/frameworks/native/common/src/
H A Dshared_block.cpp101 int result = CreateSharedBlock(name, size, ashmem, outSharedBlock); in Create() local
102 if (result == SHARED_BLOCK_OK) { in Create()
108 return result; in Create()
219 int result = memset_s(fieldDir, fieldDirSize, 0, fieldDirSize); in AllocRow() local
220 if (result != 0) { in AllocRow()
378 errno_t result = memcpy_s(ptr, size, value, size); in PutBlobOrString() local
379 if (result != EOK) { in PutBlobOrString()
450 int result = memcpy_s(mHeader, mSize, rawData, size); in SetRawData() local
451 if (result != 0) { in SetRawData()
/foundation/distributeddatamgr/preferences/frameworks/js/napi/common/src/
H A Djs_common_utils.cpp101 napi_status result = napi_is_typedarray(env, jsValue, &isTypedarray); in Convert2NativeValue() local
102 if (result != napi_ok || !isTypedarray) { in Convert2NativeValue()
103 LOG_DEBUG("napi_is_typedarray fail. result %{public}d isTypedarray %{public}d", result, isTypedarray); in Convert2NativeValue()
109 result = napi_get_typedarray_info(env, jsValue, &type, &length, &data, nullptr, nullptr); in Convert2NativeValue()
110 if (result != napi_ok) { in Convert2NativeValue()
112 return result; in Convert2NativeValue()
298 napi_value result = nullptr; in Convert2JSValue() local
299 napi_get_null(env, &result); in Convert2JSValue()
300 return result; in Convert2JSValue()
[all...]
/foundation/filemanagement/app_file_service/frameworks/native/backup_kit_inner/src/
H A Dservice_reverse_stub.cpp130 std::string result = data.ReadString(); in CmdBackupOnResultReport() local
132 BackupOnResultReport(result, bundleName); in CmdBackupOnResultReport()
206 std::string result; in CmdRestoreOnResultReport() local
207 if (!data.ReadString(result)) { in CmdRestoreOnResultReport()
208 return BError(BError::Codes::EXT_INVAL_ARG, "Failed to read result").GetCode(); in CmdRestoreOnResultReport()
218 RestoreOnResultReport(result, bundleName, errCode); in CmdRestoreOnResultReport()
256 std::string result = data.ReadString(); in CmdIncrementalBackupOnResultReport() local
258 IncrementalBackupOnResultReport(result, bundleName); in CmdIncrementalBackupOnResultReport()
326 auto result = data.ReadString(); in CmdIncrementalRestoreOnResultReport() local
329 IncrementalRestoreOnResultReport(result, bundleNam in CmdIncrementalRestoreOnResultReport()
[all...]
/foundation/communication/dsoftbus/adapter/common/mbedtls/
H A Dsoftbus_adapter_crypto.c281 int32_t result = MbedAesGcmEncrypt(cipherKey, input, inLen, encryptData, outLen); in SoftBusEncryptData() local
282 if (result <= 0) { in SoftBusEncryptData()
285 *encryptLen = result; in SoftBusEncryptData()
303 int32_t result = MbedAesGcmEncrypt(cipherKey, input, inLen, encryptData, outLen); in SoftBusEncryptDataWithSeq() local
304 if (result <= 0) { in SoftBusEncryptDataWithSeq()
307 *encryptLen = result; in SoftBusEncryptDataWithSeq()
323 int32_t result = MbedAesGcmDecrypt(cipherKey, input, inLen, decryptData, outLen); in SoftBusDecryptData() local
324 if (result <= 0) { in SoftBusDecryptData()
327 *decryptLen = (uint32_t)result; in SoftBusDecryptData()
/third_party/elfutils/src/
H A Dsize.c156 int result = 0; in main() local
181 result = process_file ("a.out"); in main()
185 result |= process_file (argv[remaining]); in main()
194 return result; in main()
293 int result = handle_ar (fd, elf, NULL, fname); in process_file() local
298 return result; in process_file()
356 int result = 0; in handle_ar() local
367 result |= handle_ar (fd, subelf, new_prefix, arhdr->ar_name); in handle_ar()
381 return result; in handle_ar()
/third_party/ffmpeg/libavformat/
H A Drpl.c73 unsigned long result = 0; in read_int() local
75 if (result > (0x7FFFFFFF - 9) / 10) in read_int()
77 result = 10 * result + *line - '0'; in read_int()
80 return result; in read_int()
98 AVRational result; in read_fps() local
111 av_reduce(&result.num, &result.den, num, den, 0x7FFFFFFF); in read_fps()
112 return result; in read_fps()
/third_party/curl/lib/
H A Dsocks_sspi.c74 int result; in Curl_SOCKS5_gssapi_negotiate() local
265 result = Curl_blockread_all(cf, data, (char *)socksreq, 4, &actualread); in Curl_SOCKS5_gssapi_negotiate()
266 if(result || (actualread != 4)) { in Curl_SOCKS5_gssapi_negotiate()
305 result = Curl_blockread_all(cf, data, (char *)sspi_recv_token.pvBuffer, in Curl_SOCKS5_gssapi_negotiate()
308 if(result || (actualread != us_length)) { in Curl_SOCKS5_gssapi_negotiate()
512 result = Curl_blockread_all(cf, data, (char *)socksreq, 4, &actualread); in Curl_SOCKS5_gssapi_negotiate()
513 if(result || (actualread != 4)) { in Curl_SOCKS5_gssapi_negotiate()
544 result = Curl_blockread_all(cf, data, (char *)sspi_w_token[0].pvBuffer, in Curl_SOCKS5_gssapi_negotiate()
547 if(result || (actualread != us_length)) { in Curl_SOCKS5_gssapi_negotiate()
H A Dsocks_gssapi.c114 int result; in Curl_SOCKS5_gssapi_negotiate() local
246 result = Curl_blockread_all(cf, data, (char *)socksreq, 4, &actualread); in Curl_SOCKS5_gssapi_negotiate()
247 if(result || (actualread != 4)) { in Curl_SOCKS5_gssapi_negotiate()
285 result = Curl_blockread_all(cf, data, (char *)gss_recv_token.value, in Curl_SOCKS5_gssapi_negotiate()
288 if(result || (actualread != us_length)) { in Curl_SOCKS5_gssapi_negotiate()
443 result = Curl_blockread_all(cf, data, (char *)socksreq, 4, &actualread); in Curl_SOCKS5_gssapi_negotiate()
444 if(result || (actualread != 4)) { in Curl_SOCKS5_gssapi_negotiate()
474 result = Curl_blockread_all(cf, data, (char *)gss_recv_token.value, in Curl_SOCKS5_gssapi_negotiate()
477 if(result || (actualread != us_length)) { in Curl_SOCKS5_gssapi_negotiate()
/third_party/elfutils/libasm/
H A Dasm_end.c79 int result = 0; in binary_end() local
463 result = -1; in binary_end()
470 result = -1; in binary_end()
492 result = -1; in binary_end()
498 return result; in binary_end()
505 int result; in asm_end() local
511 result = unlikely (ctx->textp) ? text_end (ctx) : binary_end (ctx); in asm_end()
512 if (result != 0) in asm_end()
513 return result; in asm_end()

Completed in 26 milliseconds

1...<<351352353354355356357358359360>>...810