/foundation/multimedia/image_framework/frameworks/kits/js/common/ |
H A D | image_source_napi.cpp | 391 napi_value result[NUM_2] = {0}; in ImageSourceCallbackRoutine() local 395 napi_get_undefined(env, &result[NUM_0]); in ImageSourceCallbackRoutine() 396 napi_get_undefined(env, &result[NUM_1]); in ImageSourceCallbackRoutine() 404 result[NUM_1] = valueParam; in ImageSourceCallbackRoutine() 406 napi_create_string_utf8(env, context->errMsg.c_str(), NAPI_AUTO_LENGTH, &result[NUM_0]); in ImageSourceCallbackRoutine() 409 napi_create_string_utf8(env, "error status, no message", NAPI_AUTO_LENGTH, &result[NUM_0]); in ImageSourceCallbackRoutine() 414 napi_resolve_deferred(env, context->deferred, result[NUM_1]); in ImageSourceCallbackRoutine() 416 napi_reject_deferred(env, context->deferred, result[NUM_0]); in ImageSourceCallbackRoutine() 421 napi_call_function(env, nullptr, callback, NUM_2, result, &retVal); in ImageSourceCallbackRoutine() 434 napi_value result[NUM_ in ImageSourceCallbackWithErrorObj() local 476 napi_value result = nullptr; CreateEnumTypeObject() local 600 napi_value result = nullptr; SetRecordParametersInfo() local 622 napi_value result = nullptr; CreateModifyErrorArray() local 662 napi_value result = nullptr; CreateObtainErrorArray() local 861 napi_value result = nullptr; GetSupportedFormats() local 871 IMG_NAPI_CHECK_RET_D(IMG_IS_OK(status), result, IMAGE_LOGE("fail to napi_get_cb_info")); GetSupportedFormats() local 897 napi_value result = nullptr; STATIC_NAPI_VALUE_FUNC() local 941 napi_value result = nullptr; STATIC_COMPLETE_FUNC() local 1288 napi_value result = nullptr; CreateImageSource() local 1336 napi_value result = nullptr; CreateImageSourceComplete() local 1370 napi_value result = nullptr; CreateIncrementalSource() local 1415 napi_value result = nullptr; GetImageInfo() local 1473 napi_value result = nullptr; GetImageInfoSync() local 1570 napi_value result = nullptr; CreatePixelMapComplete() local 1585 napi_value result = nullptr; CreatePixelMapCompleteSync() local 1598 napi_value result = nullptr; CreatePixelMap() local 1654 napi_value result = nullptr; CreatePixelMapSync() local 1723 napi_value result[NUM_2] = {0}; ModifyImagePropertyComplete() local 1823 napi_value result[NUM_2] = {0}; GetImagePropertyComplete() local 2076 napi_value result = nullptr; ModifyImageProperty() local 2112 napi_value result = nullptr; GetImageProperty() local 2183 napi_value result = nullptr; UpdateDataComplete() local 2202 napi_value result = nullptr; UpdateData() local 2282 napi_value result = nullptr; ReleaseComplete() local 2294 napi_value result = nullptr; Release() local 2305 IMG_NAPI_CHECK_RET_D(IMG_IS_OK(status), result, IMAGE_LOGE("fail to napi_get_cb_info")); Release() local 2310 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, asyncContext->constructor_), result, Release() local 2451 napi_value result = nullptr; STATIC_COMPLETE_FUNC() local 2482 napi_value result = nullptr; CreatePixelMapList() local 2537 napi_value result = nullptr; STATIC_COMPLETE_FUNC() local 2568 napi_value result = nullptr; GetDelayTime() local 2621 napi_value result = nullptr; STATIC_COMPLETE_FUNC() local 2652 napi_value result = nullptr; GetDisposalType() local 2706 napi_value result = nullptr; STATIC_COMPLETE_FUNC() local 2729 napi_value result = nullptr; GetFrameCount() local 2745 CreateImageSourceNapi(napi_env env, napi_value* result) CreateImageSourceNapi() argument 2826 napi_value result = nullptr; CreatePictureComplete() local 2877 napi_value result = nullptr; CreatePicture() local [all...] |
/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/ |
H A D | distributed_sched_call_test.cpp | 151 int32_t result = DistributedSchedService::GetInstance().StartRemoteAbilityByCall(illegalWant,
in HWTEST_F() local 153 EXPECT_EQ(result, INVALID_PARAMETERS_ERR_CODE);
in HWTEST_F() 179 int32_t result = DistributedSchedService::GetInstance().TryStartRemoteAbilityByCall(mockWant,
in HWTEST_F() local 181 EXPECT_EQ(result, INVALID_PARAMETERS_ERR_CODE);
in HWTEST_F() 207 int32_t result = DistributedSchedService::GetInstance().StartAbilityByCallFromRemote(mockWant,
in HWTEST_F() local 209 EXPECT_EQ(result, INVALID_REMOTE_PARAMETERS_ERR_CODE);
in HWTEST_F() 231 int32_t result = DistributedSchedAdapter::GetInstance().StartAbilityByCall(mockWant,
in HWTEST_F() local 233 EXPECT_NE(result, 0);
in HWTEST_F() 251 int32_t result = DistributedSchedService::GetInstance().ReleaseRemoteAbility(callback,
in HWTEST_F() local 253 EXPECT_EQ(result, INVALID_PARAMETERS_ERR_COD in HWTEST_F() 279 int32_t result = DistributedSchedService::GetInstance().ReleaseAbilityFromRemote(callback, HWTEST_F() local 315 int32_t result = DistributedSchedService::GetInstance().ReleaseAbilityFromRemote(callback, HWTEST_F() local 365 int32_t result = DistributedSchedAdapter::GetInstance().ReleaseAbility(callbackWrapper, HWTEST_F() local 406 int32_t result = DistributedSchedService::GetInstance().StartRemoteAbilityByCall(want, HWTEST_F() local 429 int32_t result = DistributedSchedService::GetInstance().StartRemoteAbilityByCall(want, HWTEST_F() local 455 int32_t result = DistributedSchedService::GetInstance().TryStartRemoteAbilityByCall(mockWant, HWTEST_F() local 483 int32_t result = DistributedSchedService::GetInstance().TryStartRemoteAbilityByCall(mockWant, HWTEST_F() local 532 int32_t result = DistributedSchedService::GetInstance().StartAbilityByCallFromRemote(want, HWTEST_F() local 554 int32_t result = DistributedSchedAdapter::GetInstance().StartAbilityByCall(want, HWTEST_F() local 583 int32_t result = DistributedSchedAdapter::GetInstance().StartAbilityByCall(want, HWTEST_F() local 603 int32_t result = DistributedSchedService::GetInstance().ReleaseRemoteAbility(mockCallbackWrapper, HWTEST_F() local 622 int32_t result = DistributedSchedService::GetInstance().ReleaseRemoteAbility(callback, HWTEST_F() local 650 int32_t result = DistributedSchedService::GetInstance().ReleaseAbilityFromRemote(mockCallbackWrapper, HWTEST_F() local [all...] |
/foundation/communication/bluetooth/frameworks/inner/ipc/src/ |
H A D | bluetooth_avrcp_ct_observer_stub.cpp | 150 int result = data.ReadInt32(); in OnPressButtonInner() local 152 stub->OnPressButton(RawAddress(addr), button, result); in OnPressButtonInner() local 161 int result = data.ReadInt32(); in OnReleaseButtonInner() local 163 stub->OnReleaseButton(RawAddress(addr), button, result); in OnReleaseButtonInner() local 182 int result = data.ReadInt32(); in OnSetBrowsedPlayerInner() local 185 stub->OnSetBrowsedPlayer(RawAddress(addr), uidCounter, numberOfItems, folderNames, result, detail); in OnSetBrowsedPlayerInner() local 213 int result = data.ReadInt32(); in OnGetCapabilitiesInner() local 215 stub->OnGetCapabilities(RawAddress(addr), companies, events, result); in OnGetCapabilitiesInner() local 234 int result = data.ReadInt32(); in OnGetPlayerAppSettingAttributesInner() local 236 stub->OnGetPlayerAppSettingAttributes(RawAddress(addr), attributes, result); in OnGetPlayerAppSettingAttributesInner() local 255 int result = data.ReadInt32(); OnGetPlayerAppSettingValuesInner() local 257 stub->OnGetPlayerAppSettingValues(RawAddress(addr), attrbute, values, result); OnGetPlayerAppSettingValuesInner() local 284 int result = data.ReadInt32(); OnGetPlayerAppSettingCurrentValueInner() local 286 stub->OnGetPlayerAppSettingCurrentValue(RawAddress(addr), attrbutes, values, result); OnGetPlayerAppSettingCurrentValueInner() local 294 int result = data.ReadInt32(); OnSetPlayerAppSettingCurrentValueInner() local 296 stub->OnSetPlayerAppSettingCurrentValue(RawAddress(addr), result); OnSetPlayerAppSettingCurrentValueInner() local 324 int result = data.ReadInt32(); OnGetPlayerAppSettingAttributeTextInner() local 326 stub->OnGetPlayerAppSettingAttributeText(RawAddress(addr), attrbutes, attributeNames, result); OnGetPlayerAppSettingAttributeTextInner() local 354 int result = data.ReadInt32(); OnGetPlayerAppSettingValueTextInner() local 356 stub->OnGetPlayerAppSettingValueText(RawAddress(addr), values, valueNames, result); OnGetPlayerAppSettingValueTextInner() local 384 int result = data.ReadInt32(); OnGetElementAttributesInner() local 386 stub->OnGetElementAttributes(RawAddress(addr), attribtues, valueNames, result); OnGetElementAttributesInner() local 398 int result = data.ReadInt32(); OnGetPlayStatusInner() local 400 stub->OnGetPlayStatus(RawAddress(addr), songLength, songPosition, playStatus, result); OnGetPlayStatusInner() local 409 int result = data.ReadInt32(); OnPlayItemInner() local 411 stub->OnPlayItem(RawAddress(addr), status, result); OnPlayItemInner() local 421 int result = data.ReadInt32(); OnGetTotalNumberOfItemsInner() local 424 stub->OnGetTotalNumberOfItems(RawAddress(addr), uidCounter, numOfItems, result, detail); OnGetTotalNumberOfItemsInner() local 452 int result = data.ReadInt32(); OnGetItemAttributesInner() local 455 stub->OnGetItemAttributes(RawAddress(addr), attribtues, valueNames, result, detail); OnGetItemAttributesInner() local 464 int result = data.ReadInt32(); OnSetAbsoluteVolumeInner() local 466 stub->OnSetAbsoluteVolume(RawAddress(addr), volume, result); OnSetAbsoluteVolumeInner() local 475 int result = data.ReadInt32(); OnPlaybackStatusChangedInner() local 477 stub->OnPlaybackStatusChanged(RawAddress(addr), playStatus, result); OnPlaybackStatusChangedInner() local 486 int result = data.ReadInt32(); OnTrackChangedInner() local 488 stub->OnTrackChanged(RawAddress(addr), uid, result); OnTrackChangedInner() local 496 int result = data.ReadInt32(); OnTrackReachedEndInner() local 498 stub->OnTrackReachedEnd(RawAddress(addr), result); OnTrackReachedEndInner() local 506 int result = data.ReadInt32(); OnTrackReachedStartInner() local 508 stub->OnTrackReachedStart(RawAddress(addr), result); OnTrackReachedStartInner() local 517 int result = data.ReadInt32(); OnPlaybackPosChangedInner() local 519 stub->OnPlaybackPosChanged(RawAddress(addr), playbackPos, result); OnPlaybackPosChangedInner() local 547 int result = data.ReadInt32(); OnPlayerAppSettingChangedInner() local 549 stub->OnPlayerAppSettingChanged(RawAddress(addr), attribtues, values, result); OnPlayerAppSettingChangedInner() local 557 int result = data.ReadInt32(); OnNowPlayingContentChangedInner() local 559 stub->OnNowPlayingContentChanged(RawAddress(addr), result); OnNowPlayingContentChangedInner() local 567 int result = data.ReadInt32(); OnAvailablePlayersChangedInner() local 569 stub->OnAvailablePlayersChanged(RawAddress(addr), result); OnAvailablePlayersChangedInner() local 579 int result = data.ReadInt32(); OnAddressedPlayerChangedInner() local 580 stub->OnAddressedPlayerChanged(RawAddress(addr), playerId, uidCounter, result); OnAddressedPlayerChangedInner() local 589 int result = data.ReadInt32(); OnUidChangedInner() local 590 stub->OnUidChanged(RawAddress(addr), uidCounter, result); OnUidChangedInner() local 599 int result = data.ReadInt32(); OnVolumeChangedInner() local 600 stub->OnVolumeChanged(RawAddress(addr), volume, result); OnVolumeChangedInner() local 622 int result = data.ReadInt32(); OnGetMediaPlayersInner() local 624 stub->OnGetMediaPlayers(RawAddress(addr), uidCounter, items, result, detail); OnGetMediaPlayersInner() local 646 int result = data.ReadInt32(); OnGetFolderItemsInner() local 648 stub->OnGetFolderItems(RawAddress(addr), uidCounter, items, result, detail); OnGetFolderItemsInner() local [all...] |
/foundation/systemabilitymgr/samgr/frameworks/native/source/ |
H A D | system_ability_manager_proxy.cpp | 414 int32_t result = 0; in AddOnDemandSystemAbilityInfo() local 415 ret = reply.ReadInt32(result); in AddOnDemandSystemAbilityInfo() 417 HILOGW("AddOnDemandSystemAbilityInfo Read result failed!"); in AddOnDemandSystemAbilityInfo() 420 return result; in AddOnDemandSystemAbilityInfo() 438 int32_t result = 0; in RemoveSystemAbilityWrapper() local 439 bool ret = reply.ReadInt32(result); in RemoveSystemAbilityWrapper() 441 HILOGW("RemoveSystemAbility Read result failed!"); in RemoveSystemAbilityWrapper() 445 return result; in RemoveSystemAbilityWrapper() 466 int32_t result = RemoveSystemAbilityWrapper( in RemoveSystemAbility() local 468 if (result in RemoveSystemAbility() 554 int32_t result = 0; SubscribeSystemAbility() local 604 int32_t result = 0; UnSubscribeSystemAbility() local 677 int32_t result = 0; LoadSystemAbility() local 729 int32_t result = 0; LoadSystemAbility() local 771 int32_t result = 0; UnloadSystemAbility() local 814 int32_t result = 0; CancelUnloadSystemAbility() local 899 int32_t result = AddSystemAbilityWrapper( AddSystemAbility() local 922 int32_t result = 0; AddSystemAbilityWrapper() local 982 int32_t result = 0; GetSystemProcessInfo() local 1039 int32_t result = 0; GetRunningSystemProcess() local 1124 int32_t result = 0; SubscribeSystemProcess() local 1166 int32_t result = 0; UnSubscribeSystemProcess() local 1203 int32_t result = 0; GetOnDemandReasonExtraData() local 1244 int32_t result = 0; GetOnDemandPolicy() local 1284 int32_t result = 0; GetOnDemandSystemAbilityIds() local 1338 int32_t result = 0; UpdateOnDemandPolicy() local 1390 int32_t result = 0; SendStrategy() local 1424 int32_t result; ListExtensionSendReq() local 1554 int32_t result = 0; GetCommonEventExtraDataIdlist() local [all...] |
/foundation/multimedia/image_framework/frameworks/kits/js/common/sendable/ |
H A D | sendable_pixel_map_napi.cpp | 270 napi_value result[NUM_2] = {0}; in CommonCallbackRoutine() local 274 napi_get_undefined(env, &result[NUM_0]); in CommonCallbackRoutine() 275 napi_get_undefined(env, &result[NUM_1]); in CommonCallbackRoutine() 288 result[NUM_1] = valueParam; in CommonCallbackRoutine() 290 napi_get_reference_value(env, asyncContext->error, &result[NUM_0]); in CommonCallbackRoutine() 293 napi_create_uint32(env, asyncContext->status, &result[NUM_0]); in CommonCallbackRoutine() 298 napi_resolve_deferred(env, asyncContext->deferred, result[NUM_1]); in CommonCallbackRoutine() 300 napi_reject_deferred(env, asyncContext->deferred, result[NUM_0]); in CommonCallbackRoutine() 304 napi_call_function(env, nullptr, callback, NUM_2, result, &retVal); in CommonCallbackRoutine() 317 napi_value result in STATIC_COMPLETE_FUNC() local 327 napi_value result = nullptr; STATIC_COMPLETE_FUNC() local 442 auto result = DoInitAfter(env, exports, constructor, Init() local 449 NapiUnwrap(napi_env env, napi_value object, void** result, bool isSendable = true) NapiUnwrap() argument 504 NewPixelNapiInstance(napi_env &env, napi_value &constructor, std::shared_ptr<PixelMap> &pixelMap, napi_value &result) NewPixelNapiInstance() argument 604 napi_value result = nullptr; CreateSendablePixelMapComplete() local 652 napi_value result = nullptr; CreatePremultipliedSendablePixelMap() local 704 napi_value result = nullptr; CreateUnpremultipliedSendablePixelMap() local 762 napi_value result = nullptr; CreateSendablePixelMap() local 814 napi_value result = nullptr; ConvertFromPixelMap() local 851 napi_value result = nullptr; ConvertToPixelMap() local 888 napi_value result = nullptr; CreateSendablePixelMapSync() local 957 napi_value result = nullptr; CreateSendablePixelMapFromSurfaceComplete() local 1011 napi_value result = nullptr; CreateSendablePixelMapFromSurface() local 1055 napi_value result = nullptr; CreateSendablePixelMap() local 1089 napi_value result = nullptr; UnmarshallingComplete() local 1116 napi_value result = nullptr; Unmarshalling() local 1177 napi_value result = nullptr; CreateSendablPixelMapFromParcel() local 1191 IMG_NAPI_CHECK_RET_D(IMG_NOT_NULL(napi_messageSequence_sendable), result, CreateSendablPixelMapFromParcel() local 1221 napi_value result = nullptr; GetIsEditable() local 1231 IMG_NAPI_CHECK_RET_D(IMG_IS_OK(status), result, IMAGE_LOGE("fail to napi_get_cb_info")); GetIsEditable() local 1235 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, pixelMapNapi), result, GetIsEditable() local 1237 IMG_NAPI_CHECK_RET_D(IMG_NOT_NULL(pixelMapNapi), result, GetIsEditable() local 1251 napi_value result = nullptr; GetIsStrideAlignment() local 1261 IMG_NAPI_CHECK_RET_D(IMG_IS_OK(status), result, IMAGE_LOGE("fail to napi_get_cb_info")); GetIsStrideAlignment() local 1266 result, IMAGE_LOGE("GetIsStrideAlignment fail to unwrap context")); GetIsStrideAlignment() local 1267 IMG_NAPI_CHECK_RET_D(IMG_NOT_NULL(pixelMapNapi), result, GetIsStrideAlignment() local 1280 napi_value result = nullptr; ReadPixelsToBuffer() local 1339 napi_value result = nullptr; ReadPixelsToBufferSync() local 1351 IMG_NAPI_CHECK_RET_D(IMG_IS_OK(napiStatus), result, IMAGE_LOGE("fail to napi_get_cb_info")); ReadPixelsToBufferSync() local 1363 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, pixelMapNapi), result, ReadPixelsToBufferSync() local 1385 napi_value result = nullptr; ReadPixels() local 1443 napi_value result = nullptr; ReadPixelsSync() local 1464 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, pixelMapNapi), result, ReadPixelsSync() local 1485 napi_value result = nullptr; WritePixels() local 1541 napi_value result = nullptr; WritePixelsSync() local 1551 IMG_NAPI_CHECK_RET_D(IMG_IS_OK(napiStatus), result, IMAGE_LOGE("fail to arg info")); WritePixelsSync() local 1561 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(napiStatus, pixelMapNapi), result, WritePixelsSync() local 1583 napi_value result = nullptr; WriteBufferToPixels() local 1642 napi_value result = nullptr; WriteBufferToPixelsSync() local 1654 IMG_NAPI_CHECK_RET_D(IMG_IS_OK(napiStatus), result, IMAGE_LOGE("fail to napi_get_cb_info")); WriteBufferToPixelsSync() local 1666 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, pixelMapNapi), result, WriteBufferToPixelsSync() local 1688 napi_value result = nullptr; STATIC_NAPI_VALUE_FUNC() local 1730 napi_value result = GetImageInfoNapiValue(env, &(context->imageInfo), context->rPixelMap.get()); STATIC_COMPLETE_FUNC() local 1745 napi_value result = nullptr; GetImageInfo() local 1789 napi_value result = nullptr; GetImageInfoSync() local 1797 IMG_NAPI_CHECK_RET_D(IMG_IS_OK(napiStatus), result, IMAGE_LOGE("fail to arg info")); GetImageInfoSync() local 1801 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(napiStatus, pixelMapNapi), result, GetImageInfoSync() local 1822 napi_value result = nullptr; GetBytesNumberPerRow() local 1832 IMG_NAPI_CHECK_RET_D(IMG_IS_OK(status), result, IMAGE_LOGE("fail to napi_get_cb_info")); GetBytesNumberPerRow() local 1836 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, pixelMapNapi), result, GetBytesNumberPerRow() local 1859 napi_value result = nullptr; GetPixelBytesNumber() local 1869 IMG_NAPI_CHECK_RET_D(IMG_IS_OK(status), result, IMAGE_LOGE("fail to napi_get_cb_info")); GetPixelBytesNumber() local 1873 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, pixelMapNapi), result, GetPixelBytesNumber() local 1895 napi_value result = nullptr; IsSupportAlpha() local 1905 IMG_NAPI_CHECK_RET_D(IMG_IS_OK(status), result, IMAGE_LOGE("fail to napi_get_cb_info")); IsSupportAlpha() local 1909 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, pixelMapNapi), result, IsSupportAlpha() local 1932 napi_value result = nullptr; SetAlphaAble() local 1944 IMG_NAPI_CHECK_RET_D(IMG_IS_OK(status), result, IMAGE_LOGE("fail to napi_get_cb_info")); SetAlphaAble() local 1951 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, pixelMapNapi), result, SetAlphaAble() local 1972 napi_value result = nullptr; CreateAlphaPixelmapComplete() local 1988 napi_value result = nullptr; CreateAlphaPixelmap() local 2035 napi_value result = nullptr; CreateAlphaPixelmapSync() local 2043 IMG_NAPI_CHECK_RET_D(IMG_IS_OK(napiStatus), result, IMAGE_LOGE("fail to napi_get_cb_info")); CreateAlphaPixelmapSync() local 2051 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(napiStatus, pixelMapNapi), result, CreateAlphaPixelmapSync() local 2072 napi_value result = nullptr; GetDensity() local 2082 IMG_NAPI_CHECK_RET_D(IMG_IS_OK(status), result, IMAGE_LOGE("fail to napi_get_cb_info")); GetDensity() local 2086 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, pixelMapNapi), result, GetDensity() local 2108 napi_value result = nullptr; SetDensity() local 2119 IMG_NAPI_CHECK_RET_D(IMG_IS_OK(status), result, IMAGE_LOGE("fail to napi_get_cb_info")); SetDensity() local 2128 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, pixelMapNapi), result, SetDensity() local 2148 napi_value result = nullptr; Release() local 2199 napi_value result = nullptr; global() member 2299 napi_value result = nullptr; SetAlphaSync() local 2310 IMG_NAPI_CHECK_RET_D(IMG_IS_OK(napiStatus), result, IMAGE_LOGE("fail to napi_get_cb_info")); SetAlphaSync() local 2321 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, pixelMapNapi), result, SetAlphaSync() local 2417 napi_value result = nullptr; ScaleSync() local 2428 IMG_NAPI_CHECK_RET_D(IMG_IS_OK(napiStatus), result, IMAGE_LOGE("fail to arg info")); ScaleSync() local 2440 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(napiStatus, pixelMapNapi), result, ScaleSync() local 2532 napi_value result = nullptr; TranslateSync() local 2543 IMG_NAPI_CHECK_RET_D(IMG_IS_OK(napiStatus), result, IMAGE_LOGE("fail to napi_get_cb_info")); TranslateSync() local 2557 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(napiStatus, pixelMapNapi), result, TranslateSync() local 2645 napi_value result = nullptr; RotateSync() local 2655 IMG_NAPI_CHECK_RET_D(IMG_IS_OK(napiStatus), result, IMAGE_LOGE("fail to napi_get_cb_info")); RotateSync() local 2665 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(napiStatus, pixelMapNapi), result, RotateSync() local 2756 napi_value result = nullptr; FlipSync() local 2768 IMG_NAPI_CHECK_RET_D(IMG_IS_OK(napiStatus), result, IMAGE_LOGE("fail to napi_get_cb_info")); FlipSync() local 2787 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, pixelMapNapi), result, FlipSync() local 2874 napi_value result = nullptr; CropSync() local 2885 IMG_NAPI_CHECK_RET_D(IMG_IS_OK(napiStatus), result, IMAGE_LOGE("fail to napi_get_cb_info")); CropSync() local 2897 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, pixelMapNapi), result, CropSync() local [all...] |
/third_party/python/Objects/ |
H A D | abstract.c | 93 PyObject *hint, *result; in PyObject_LengthHint() local 116 result = _PyObject_CallNoArgs(hint); in PyObject_LengthHint() 118 if (result == NULL) { in PyObject_LengthHint() 126 else if (result == Py_NotImplemented) { in PyObject_LengthHint() 127 Py_DECREF(result); in PyObject_LengthHint() 130 if (!PyLong_Check(result)) { in PyObject_LengthHint() 132 Py_TYPE(result)->tp_name); in PyObject_LengthHint() 133 Py_DECREF(result); in PyObject_LengthHint() 136 res = PyLong_AsSsize_t(result); in PyObject_LengthHint() 137 Py_DECREF(result); in PyObject_LengthHint() 178 PyObject *meth, *result; PyObject_GetItem() local 774 PyObject *result = NULL; PyObject_Format() local 932 PyObject *result = BINARY_OP1(v, w, op_slot, op_name); binary_op() local 1073 PyObject *result = BINARY_OP1(v, w, NB_SLOT(nb_add), "+"); PyNumber_Add() local 1111 PyObject *result = BINARY_OP1(v, w, NB_SLOT(nb_multiply), "*"); PyNumber_Multiply() local 1215 PyObject *result = BINARY_IOP1(v, w, iop_slot, op_slot, op_name); binary_iop() local 1261 PyObject *result = BINARY_IOP1(v, w, NB_SLOT(nb_inplace_add), PyNumber_InPlaceAdd() local 1284 PyObject *result = BINARY_IOP1(v, w, NB_SLOT(nb_inplace_multiply), PyNumber_InPlaceMultiply() local 1425 PyObject *result = Py_TYPE(item)->tp_as_number->nb_index(item); _PyNumber_Index() local 1457 PyObject *result = _PyNumber_Index(item); PyNumber_Index() local 1469 Py_ssize_t result; PyNumber_AsSsize_t() local 1520 PyObject *result; PyNumber_Long() local 1771 PyObject *result = BINARY_OP1(s, o, NB_SLOT(nb_add), "+"); PySequence_Concat() local 1797 PyObject *n, *result; PySequence_Repeat() local 1830 PyObject *result = BINARY_IOP1(s, o, NB_SLOT(nb_inplace_add), PySequence_InPlaceConcat() local 1859 PyObject *n, *result; PySequence_InPlaceRepeat() local 2042 PyObject *result = NULL; PySequence_Tuple() local 2124 PyObject *result; /* result list */ PySequence_List() local 2282 Py_ssize_t result = _PySequence_IterSearch(seq, ob, PY_ITERSEARCH_CONTAINS); PySequence_Contains() local 2411 PyObject *it, *result, *meth_output; method_output_as_list() local 2863 PyObject *result; PyIter_Next() local 2877 PyIter_Send(PyObject *iter, PyObject *arg, PyObject **result) PyIter_Send() argument [all...] |
/foundation/communication/netmanager_base/services/netstatsmanager/src/stub/ |
H A D | net_stats_service_stub.cpp | 106 int32_t result = NETMANAGER_ERR_LOCAL_PTR_NULL; in OnRegisterNetStatsCallback() local 110 reply.WriteInt32(result); in OnRegisterNetStatsCallback() 111 return result; in OnRegisterNetStatsCallback() 115 result = RegisterNetStatsCallback(callback); in OnRegisterNetStatsCallback() 116 NETMGR_LOG_D("OnRegisterNetStatsCallback result = [%{public}d]", result); in OnRegisterNetStatsCallback() 117 if (!reply.WriteInt32(result)) { in OnRegisterNetStatsCallback() 129 int32_t result = NETMANAGER_ERR_LOCAL_PTR_NULL; in OnUnregisterNetStatsCallback() local 133 reply.WriteInt32(result); in OnUnregisterNetStatsCallback() 134 return result; in OnUnregisterNetStatsCallback() 152 int32_t result = GetIfaceRxBytes(stats, iface); OnGetIfaceRxBytes() local 175 int32_t result = GetIfaceTxBytes(stats, iface); OnGetIfaceTxBytes() local 268 int32_t result = GetUidRxBytes(stats, uid); OnGetUidRxBytes() local 291 int32_t result = GetUidTxBytes(stats, uid); OnGetUidTxBytes() local 427 int32_t result = GetAllStatsInfo(infos); OnGetAllStatsInfo() local 446 int32_t result = GetAllSimStatsInfo(infos); OnGetAllSimStatsInfo() local 478 int32_t result = GetTrafficStatsByNetwork(infos, network); OnGetTrafficStatsByNetwork() local 514 int32_t result = GetTrafficStatsByUidNetwork(infos, uid, network); OnGetTrafficStatsByUidNetwork() local 536 int32_t result = SetAppStats(info); OnSetAppStats() local 571 int32_t result = GetCookieRxBytes(stats, cookie); OnGetCookieRxBytes() local 594 int32_t result = GetCookieTxBytes(stats, cookie); OnGetCookieTxBytes() local [all...] |
/third_party/curl/lib/ |
H A D | formdata.c | 698 CURLFORMcode result; in curl_formadd() local 700 result = FormAdd(httppost, last_post, arg); in curl_formadd() 702 return result; in curl_formadd() 715 CURLcode result; in curl_formget() local 719 result = Curl_getformdata(NULL, &toppart, form, NULL); in curl_formget() 720 if(!result) in curl_formget() 721 result = Curl_mime_prepare_headers(NULL, &toppart, "multipart/form-data", in curl_formget() 724 while(!result) { in curl_formget() 732 result = CURLE_READ_ERROR; in curl_formget() 734 result in curl_formget() 819 CURLcode result = CURLE_OK; Curl_getformdata() local [all...] |
/third_party/node/test/fixtures/wpt/resources/ |
H A D | channel.sub.js | 406 let result = {}; 407 let resp = {id, result}; 413 result.result = serialize(resultValue); 420 result.exceptionDetails = { 485 let {id, result} = msg; 489 handler(result); 574 * ``args``, and return the result after awaiting any returned 583 let result = await this.sendMessage("call", {fn: serialize(fn), args: args.map(x => serialize(x))}, true); 584 if (result [all...] |
/third_party/node/deps/openssl/openssl/crypto/dso/ |
H A D | dso_win32.c | 206 struct file_st *result = NULL; in win32_splitter() local 216 result = OPENSSL_zalloc(sizeof(*result)); in win32_splitter() 217 if (result == NULL) { in win32_splitter() 229 result->node = start; in win32_splitter() 238 OPENSSL_free(result); in win32_splitter() 241 result->device = start; in win32_splitter() 242 result->devicelen = (int)(filename - start); in win32_splitter() 245 result->dir = start; in win32_splitter() 250 result in win32_splitter() 306 char *result = NULL; win32_joiner() local [all...] |
/third_party/openssl/crypto/dso/ |
H A D | dso_win32.c | 206 struct file_st *result = NULL; in win32_splitter() local 216 result = OPENSSL_zalloc(sizeof(*result)); in win32_splitter() 217 if (result == NULL) { in win32_splitter() 229 result->node = start; in win32_splitter() 238 OPENSSL_free(result); in win32_splitter() 241 result->device = start; in win32_splitter() 242 result->devicelen = (int)(filename - start); in win32_splitter() 245 result->dir = start; in win32_splitter() 250 result in win32_splitter() 306 char *result = NULL; win32_joiner() local [all...] |
/foundation/multimedia/media_library/frameworks/js/src/ |
H A D | cloud_enhancement_task_state_napi.cpp | 167 napi_value result = nullptr;
in JSGetTaskStage() local 170 napi_get_undefined(env, &result);
in JSGetTaskStage() 174 return result;
in JSGetTaskStage() 180 napi_create_int32(env, static_cast<int32_t>(cloudEnhancementTaskStage), &result);
in JSGetTaskStage() 184 return result;
in JSGetTaskStage() 191 napi_value result = nullptr;
in JSGetTransferredFileSize() local 194 napi_get_undefined(env, &result);
in JSGetTransferredFileSize() 198 return result;
in JSGetTransferredFileSize() 205 napi_create_int32(env, transferredFileSize, &result);
in JSGetTransferredFileSize() 210 return result;
in JSGetTransferredFileSize() 217 napi_value result = nullptr; JSGetTotalFileSize() local 243 napi_value result = nullptr; JSGetExpectedDuration() local 269 napi_value result = nullptr; JSGetStatusCode() local [all...] |
/foundation/communication/nfc/interfaces/inner_api/common/ |
H A D | nfc_sdk_common.cpp | 46 std::string result = "";
in BytesVecToHexString() local 48 return result;
in BytesVecToHexString() 52 result.push_back(hexKeys[(src[i] & 0xF0) >> HALF_BYTE_BITS]);
in BytesVecToHexString() 53 result.push_back(hexKeys[src[i] & 0x0F]);
in BytesVecToHexString() 55 return result;
in BytesVecToHexString() 60 std::string result = "";
in UnsignedCharToHexString() local 62 result.push_back(hexKeys[(src & 0xF0) >> HALF_BYTE_BITS]);
in UnsignedCharToHexString() 63 result.push_back(hexKeys[src & 0x0F]);
in UnsignedCharToHexString() 64 return result;
in UnsignedCharToHexString() 136 std::string result in IntToHexString() local 161 std::string result = BytesVecToHexString(&bytes[0], len); StringToHexString() local 171 std::string result = ""; HexStringToAsciiString() local 194 std::string result = ""; HexArrayToStringWithoutChecking() local [all...] |
/third_party/icu/icu4c/source/common/ |
H A D | util.cpp | 36 UnicodeString& ICU_Utility::appendNumber(UnicodeString& result, int32_t n, in appendNumber() argument 40 return result.append((UChar)63/*?*/); in appendNumber() 45 result.append((UChar)45/*-*/); in appendNumber() 57 result.append(DIGITS[0]); in appendNumber() 61 result.append(DIGITS[digit]); in appendNumber() 65 return result; in appendNumber() 90 UBool ICU_Utility::escapeUnprintable(UnicodeString& result, UChar32 c) { in escapeUnprintable() argument 92 escape(result, c); in escapeUnprintable() 98 UnicodeString &ICU_Utility::escape(UnicodeString& result, UChar32 c) { in escape() argument 99 result in escape() 294 int32_t result = 0; parseAsciiInteger() local [all...] |
/third_party/node/deps/icu-small/source/common/ |
H A D | util.cpp | 36 UnicodeString& ICU_Utility::appendNumber(UnicodeString& result, int32_t n, in appendNumber() argument 40 return result.append((char16_t)63/*?*/); in appendNumber() 45 result.append((char16_t)45/*-*/); in appendNumber() 57 result.append(DIGITS[0]); in appendNumber() 61 result.append(DIGITS[digit]); in appendNumber() 65 return result; in appendNumber() 90 UBool ICU_Utility::escapeUnprintable(UnicodeString& result, UChar32 c) { in escapeUnprintable() argument 92 escape(result, c); in escapeUnprintable() 98 UnicodeString &ICU_Utility::escape(UnicodeString& result, UChar32 c) { in escape() argument 99 result in escape() 294 int32_t result = 0; parseAsciiInteger() local [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Reactor/ |
H A D | ExecutableMemory.cpp | 79 int result = posix_memalign(&allocation, alignment, bytes); in allocateRaw() local 80 if(result != 0) in allocateRaw() 82 errno = result; in allocateRaw() 127 int result = 0; in permissionsToMmapProt() local 130 result |= PROT_READ; in permissionsToMmapProt() 134 result |= PROT_WRITE; in permissionsToMmapProt() 138 result |= PROT_EXEC; in permissionsToMmapProt() 140 return result; in permissionsToMmapProt() 192 [[maybe_unused]] int result = ftruncate(anonFd, length); in ensureAnonFileSize() local 193 ASSERT(result in ensureAnonFileSize() 202 zx_vm_option_t result = 0; permissionsToZxVmOptions() local 375 BOOL result = protectMemoryPages() local 385 int result = protectMemoryPages() local 395 BOOL result = deallocateMemoryPages() local [all...] |
/third_party/rust/crates/minimal-lexical/src/ |
H A D | slow.rs | 199 (@mul $result:ident, $power:expr, $value:expr) => { 200 $result.data.mul_small($power).unwrap(); 201 $result.data.add_small($value).unwrap(); 207 ($format:ident, $result:ident, $counter:ident, $value:ident) => { 211 add_temporary!(@mul $result, small_power as Limb, $value); 222 (@end $format:ident, $result:ident, $counter:ident, $value:ident) => { 226 add_temporary!(@mul $result, small_power as Limb, $value); 231 (@max $format:ident, $result:ident, $counter:ident, $value:ident, $max:ident) => { 232 add_temporary!(@mul $result, $max, $value); 240 ($format:ident, $result 281 let mut result = Bigint::new(); parse_mantissa() variables [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/ipc/src/ |
H A D | bluetooth_avrcp_ct_observer_proxy.cpp | 53 void BluetoothAvrcpCtObserverProxy::OnPressButton(const RawAddress &rawAddr, uint8_t button, int result) in OnPressButton() argument 62 HILOGE("[OnPressButton] fail: write result failed"); in OnPressButton() 67 HILOGE("[OnPressButton] fail: write result failed"); in OnPressButton() 71 if (!data.WriteInt32(result)) { in OnPressButton() 72 HILOGE("[OnPressButton] fail: write result failed"); in OnPressButton() 86 void BluetoothAvrcpCtObserverProxy::OnReleaseButton(const RawAddress &rawAddr, uint8_t button, int result) in OnReleaseButton() argument 95 HILOGE("[OnReleaseButton] fail: write result failed"); in OnReleaseButton() 100 HILOGE("[OnReleaseButton] fail: write result failed"); in OnReleaseButton() 104 if (!data.WriteInt32(result)) { in OnReleaseButton() 105 HILOGE("[OnReleaseButton] fail: write result faile in OnReleaseButton() 118 OnSetBrowsedPlayer(const RawAddress &rawAddr, uint16_t uidCounter, uint32_t numberOfItems, const std::vector<std::string> &folderNames, int result, int detail) OnSetBrowsedPlayer() argument 166 OnGetCapabilities(const RawAddress &rawAddr, const std::vector<uint32_t> &companies, const std::vector<uint8_t> &events, int result) OnGetCapabilities() argument 209 OnGetPlayerAppSettingAttributes( const RawAddress &rawAddr, std::vector<uint8_t> attributes, int result) OnGetPlayerAppSettingAttributes() argument 246 OnGetPlayerAppSettingValues(const RawAddress &rawAddr, int attribute, const std::vector<uint8_t> &values, int result) OnGetPlayerAppSettingValues() argument 288 OnGetPlayerAppSettingCurrentValue( const RawAddress &rawAddr, const std::vector<uint8_t> attributes, const std::vector<uint8_t> &values, int result) OnGetPlayerAppSettingCurrentValue() argument 336 OnSetPlayerAppSettingCurrentValue(const RawAddress &rawAddr, int result) OnSetPlayerAppSettingCurrentValue() argument 364 OnGetPlayerAppSettingAttributeText(const RawAddress &rawAddr, const std::vector<uint8_t> attribtues, const std::vector<std::string> &attributeName, int result) OnGetPlayerAppSettingAttributeText() argument 407 OnGetPlayerAppSettingValueText(const RawAddress &rawAddr, const std::vector<uint8_t> &values, const std::vector<std::string> &valueName, int result) OnGetPlayerAppSettingValueText() argument 450 OnGetElementAttributes(const RawAddress &rawAddr, const std::vector<uint32_t> &attribtues, const std::vector<std::string> &valueName, int result) OnGetElementAttributes() argument 489 OnGetPlayStatus(const RawAddress &rawAddr, uint32_t songLength, uint32_t songPosition, uint8_t playStatus, int result) OnGetPlayStatus() argument 534 OnPlayItem(const RawAddress &rawAddr, int status, int result) OnPlayItem() argument 567 OnGetTotalNumberOfItems(const RawAddress &rawAddr, uint16_t uidCounter, uint32_t numOfItems, int result, int detail) OnGetTotalNumberOfItems() argument 611 OnGetItemAttributes(const RawAddress &rawAddr, const std::vector<uint32_t> &attribtues, const std::vector<std::string> &values, int result, int detail) OnGetItemAttributes() argument 655 OnSetAbsoluteVolume(const RawAddress &rawAddr, uint8_t volume, int result) OnSetAbsoluteVolume() argument 688 OnPlaybackStatusChanged(const RawAddress &rawAddr, uint8_t playStatus, int result) OnPlaybackStatusChanged() argument 721 OnTrackChanged(const RawAddress &rawAddr, uint64_t uid, int result) OnTrackChanged() argument 754 OnTrackReachedEnd(const RawAddress &rawAddr, int result) OnTrackReachedEnd() argument 782 OnTrackReachedStart(const RawAddress &rawAddr, int result) OnTrackReachedStart() argument 810 OnPlaybackPosChanged(const RawAddress &rawAddr, uint32_t playbackPos, int result) OnPlaybackPosChanged() argument 843 OnPlayerAppSettingChanged(const RawAddress &rawAddr, const std::vector<uint8_t> &attributes, const std::vector<uint8_t> &values, int result) OnPlayerAppSettingChanged() argument 890 OnNowPlayingContentChanged(const RawAddress &rawAddr, int result) OnNowPlayingContentChanged() argument 918 OnAvailablePlayersChanged(const RawAddress &rawAddr, int result) OnAvailablePlayersChanged() argument 946 OnAddressedPlayerChanged( const RawAddress &rawAddr, uint16_t playerId, uint16_t uidCounter, int result) OnAddressedPlayerChanged() argument 985 OnUidChanged(const RawAddress &rawAddr, uint16_t uidCounter, int result) OnUidChanged() argument 1018 OnVolumeChanged(const RawAddress &rawAddr, uint8_t volume, int result) OnVolumeChanged() argument 1051 OnGetMediaPlayers(const RawAddress &rawAddr, uint16_t uidCounter, std::vector<BluetoothAvrcpMpItem> &items, int result, int detail) OnGetMediaPlayers() argument 1101 OnGetFolderItems(const RawAddress &rawAddr, uint16_t uidCounter, std::vector<BluetoothAvrcpMeItem> &items, int result, int detail) OnGetFolderItems() argument [all...] |
/third_party/gn/src/gn/ |
H A D | filesystem_utils.cc | 122 std::vector<base::FilePath::StringType> result; in GetPathComponents() local 123 path.GetComponents(&result); in GetPathComponents() 125 if (result.empty()) in GetPathComponents() 126 return result; in GetPathComponents() 131 if (result[0] == FILE_PATH_LITERAL("/") || in GetPathComponents() 132 result[0] == FILE_PATH_LITERAL("\\")) in GetPathComponents() 133 result.erase(result.begin()); in GetPathComponents() 140 if (result.size() >= 2 && result[ in GetPathComponents() 178 AppendFixedAbsolutePathSuffix(const BuildSettings* build_settings, const SourceDir& source_dir, OutputFile* result) AppendFixedAbsolutePathSuffix() argument 835 std::string result; ResolveRelative() local 1069 OutputFile result = GetBuildDirAsOutputFile(context, type); GetSubBuildDirAsOutputFile() local [all...] |
/third_party/mesa3d/src/gallium/drivers/crocus/ |
H A D | crocus_query.c | 86 uint64_t result; member 323 q->result = q->map->end != q->map->start; in calculate_result_on_cpu() 328 q->result = intel_device_info_timebase_scale(devinfo, q->map->start); in calculate_result_on_cpu() 329 q->result &= (1ull << TIMESTAMP_BITS) - 1; in calculate_result_on_cpu() 332 q->result = crocus_raw_timestamp_delta(q->map->start, q->map->end); in calculate_result_on_cpu() 333 q->result = intel_device_info_timebase_scale(devinfo, q->result); in calculate_result_on_cpu() 334 q->result &= (1ull << TIMESTAMP_BITS) - 1; in calculate_result_on_cpu() 337 q->result = stream_overflowed((void *) q->map, q->index); in calculate_result_on_cpu() 340 q->result in calculate_result_on_cpu() 392 struct mi_value result = stream_result[0]; calc_overflow_any_stream() local 422 struct mi_value result; calculate_result_on_gpu() local 651 crocus_get_query_result(struct pipe_context *ctx, struct pipe_query *query, bool wait, union pipe_query_result *result) crocus_get_query_result() argument 770 struct mi_value result = calculate_result_on_gpu(devinfo, &b, q); crocus_get_query_result_resource() local 861 struct mi_value result; set_predicate_for_result() local 951 union pipe_query_result result; crocus_resolve_conditional_render() local [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/ |
H A D | object_manager_test.cpp | 106 auto result = syncManager->DeleteNotifier(sequenceId_, userId_); in HWTEST_F() local 107 ASSERT_EQ(result, SequenceSyncManager::ERR_SID_NOT_EXIST); in HWTEST_F() 127 auto result = syncManager->Process(sequenceId_, results, userId_); in HWTEST_F() local 128 ASSERT_EQ(result, SequenceSyncManager::ERR_SID_NOT_EXIST); in HWTEST_F() 130 result = syncManager->Process(sequenceId_, results, userId_); in HWTEST_F() 131 ASSERT_EQ(result, SequenceSyncManager::SUCCESS_USER_HAS_FINISHED); in HWTEST_F() 151 auto result = syncManager->DeleteNotifierNoLock(sequenceId_, userId_); in HWTEST_F() local 152 ASSERT_EQ(result, SequenceSyncManager::SUCCESS_USER_HAS_FINISHED); in HWTEST_F() 154 result = syncManager->DeleteNotifierNoLock(sequenceId_, userId_); in HWTEST_F() 155 ASSERT_EQ(result, SequenceSyncManage in HWTEST_F() 168 auto result = manager->Clear(); HWTEST_F() local 403 auto result = manager->Open(); HWTEST_F() local 427 auto result = manager->OnAssetChanged(tokenId_, appId_, sessionId_, deviceId_, assetValue_); HWTEST_F() local 531 auto result = manager->SyncOnStore(prefix, deviceList, func); HWTEST_F() local 552 auto result = manager->RetrieveFromStore(appId_, sessionId_, results); HWTEST_F() local 600 auto result = manager->SplitEntryKey(key1); HWTEST_F() local 697 auto result = manager->IsAssetComplete(results, assetPrefix); HWTEST_F() local 739 auto result = manager->GetAssetsFromDBRecords(results); HWTEST_F() local 751 std::map<std::string, std::vector<uint8_t>> result; HWTEST_F() local 819 auto result = manager->RegisterAssetsLister(); HWTEST_F() local 843 auto result = manager->PushAssets(appId_, appId_, sessionId_, data, deviceId_); HWTEST_F() local 860 auto result = syncManager->DeleteNotifier(sequenceId_, userId_); HWTEST_F() local 878 auto result = syncManager->DeleteNotifier(sequenceId_, userId_); HWTEST_F() local 892 auto result = manager->BindAsset(tokenId, bundleName, sessionId_, assetValue_, assetBindInfo_); HWTEST_F() local [all...] |
/third_party/libfuse/example/ |
H A D | cxxopts.hpp | 176 std::string result; in toUTF8String() local 177 s.toUTF8String(result); in toUTF8String() 179 return result; in toUTF8String() 570 US result = 0; in integer_parser() local 593 US next = result * base + digit; in integer_parser() 594 if (result > next) in integer_parser() 599 result = next; in integer_parser() 602 detail::check_signed_range<T>(negative, result, text); in integer_parser() 606 value = checked_negate<T>(result, in integer_parser() 612 value = static_cast<T>(result); in integer_parser() 686 std::smatch result; parse_value() local 739 T result; parse_value() local 1131 T result; as() local 1403 String result = " "; format_option() local 1451 String result; format_description() local 1541 std::match_results<const char*> result; operator ()() local 1605 auto& result = m_results[value]; parse_option() local 1670 auto& result = m_results[iter->second]; consume_positional() local 1751 std::match_results<const char*> result; parse() local 1966 String result; help_one_group() local 2025 generate_group_help( String& result, const std::vector<std::string>& print_groups ) const generate_group_help() argument 2065 String result = m_help_string + "\\nUsage:\\n " + help() local [all...] |
/foundation/ability/ability_runtime/tools/aa/src/ |
H A D | test_observer_proxy.cpp | 53 int32_t result = SendTransactCmd( in TestStatus() local 55 if (result != OHOS::NO_ERROR) { in TestStatus() 56 TAG_LOGE(AAFwkTag::AA_TOOL, "SendRequest error: %{public}d", result); in TestStatus() 83 int32_t result = SendTransactCmd( in TestFinished() local 85 if (result != OHOS::NO_ERROR) { in TestFinished() 86 TAG_LOGE(AAFwkTag::AA_TOOL, "SendRequest error: %{public}d", result); in TestFinished() 96 ShellCommandResult result; in ExecuteShellCommand() local 102 return result; in ExecuteShellCommand() 107 return result; in ExecuteShellCommand() 112 return result; in ExecuteShellCommand() [all...] |
/foundation/multimedia/audio_framework/frameworks/js/napi/audiomanager/ |
H A D | napi_audio_interrupt_manager.cpp | 51 napi_value result = nullptr; in Construct() local 52 napi_get_undefined(env, &result); in Construct() 60 CHECK_AND_RETURN_RET_LOG(napiAudioInterruptManager != nullptr, result, "No memory"); in Construct() 71 return result; in Construct() 80 napi_value result = nullptr; in CreateInterruptManagerWrapper() local 88 status = napi_new_instance(env, constructor, PARAM0, nullptr, &result); in CreateInterruptManagerWrapper() 93 return result; in CreateInterruptManagerWrapper() 96 napi_get_undefined(env, &result); in CreateInterruptManagerWrapper() 97 return result; in CreateInterruptManagerWrapper() 105 napi_value result in Init() local [all...] |
/foundation/graphic/graphic_2d/rosen/test/hyper_graphic_manager/native_display_soloist_test/ |
H A D | native_display_soloist_test.cpp | 88 int32_t result = OH_DisplaySoloist_Start(nullptr, callback, nullptr); in HWTEST_F() local 89 EXPECT_EQ(SOLOIST_ERROR, result); in HWTEST_F() 102 int32_t result = OH_DisplaySoloist_Start(nativeDisplaySoloist, callback, nullptr); in HWTEST_F() local 103 EXPECT_EQ(EXEC_SUCCESS, result); in HWTEST_F() 148 int32_t result = OH_DisplaySoloist_SetExpectedFrameRateRange(nativeDisplaySoloist, &validRange); in HWTEST_F() local 149 EXPECT_EQ(EXEC_SUCCESS, result); in HWTEST_F() 161 int32_t result = OH_DisplaySoloist_Stop(nullptr); in HWTEST_F() local 162 EXPECT_EQ(SOLOIST_ERROR, result); in HWTEST_F() 174 int32_t result = OH_DisplaySoloist_Stop(nativeDisplaySoloist); in HWTEST_F() local 175 EXPECT_EQ(EXEC_SUCCESS, result); in HWTEST_F() 187 int32_t result = OH_DisplaySoloist_Destroy(nullptr); HWTEST_F() local 200 int32_t result = OH_DisplaySoloist_Destroy(nativeDisplaySoloist); HWTEST_F() local [all...] |