/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/shape/ |
H A D | shape_paint_property.cpp | 20 void ShapePaintProperty::UpdateShapeProperty(const RefPtr<ShapePaintProperty>& target) in UpdateShapeProperty() argument 22 CHECK_NULL_VOID(target); in UpdateShapeProperty() 23 if (!HasAntiAlias() && target->HasAntiAlias()) { in UpdateShapeProperty() 24 UpdateAntiAlias(target->GetAntiAliasValue()); in UpdateShapeProperty() 26 if (!HasFill() && target->HasFill()) { in UpdateShapeProperty() 27 UpdateFill(target->GetFillValue()); in UpdateShapeProperty() 29 if (!HasFillOpacity() && target->HasFillOpacity()) { in UpdateShapeProperty() 30 UpdateFillOpacity(target->GetFillOpacityValue()); in UpdateShapeProperty() 32 if (!HasStroke() && target->HasStroke()) { in UpdateShapeProperty() 33 UpdateStroke(target in UpdateShapeProperty() [all...] |
/foundation/arkui/ace_engine_lite/frameworks/src/core/wrapper/ |
H A D | js.cpp | 33 bool JSString::Is(JSValue target) in Is() argument 35 return jerry_value_is_string(target); in Is() 44 jerry_value_t target; in Value() local 46 target = jerry_get_symbol_descriptive_string(value); in Value() 48 target = jerry_value_to_string(value); in Value() 51 if (jerry_value_is_error(target)) { in Value() 52 jerry_release_value(target); in Value() 56 jerry_size_t size = jerry_get_string_size(target); in Value() 58 jerry_release_value(target); in Value() 68 jerry_release_value(target); in Value() 99 Is(JSValue target) Is() argument 109 Keys(JSValue target) Keys() argument 114 Get(JSValue target, JSValue key) Get() argument 119 Get(JSValue target, const char * const prop) Get() argument 127 GetString(JSValue target, const char * const prop) GetString() argument 134 GetNumber(JSValue target, const char * const prop) GetNumber() argument 141 GetBoolean(JSValue target, const char * const prop) GetBoolean() argument 148 Set(JSValue target, const char * const prop, JSValue value) Set() argument 155 SetString(JSValue target, const char * const prop, const char * const value) SetString() argument 162 SetNumber(JSValue target, const char * const prop, const double value) SetNumber() argument 169 SetBoolean(JSValue target, const char * const prop, const bool value) SetBoolean() argument 176 Set(JSValue target, const char * const prop, JSHandler handler) Set() argument 183 Del(JSValue target, const char * const prop) Del() argument 191 GetNativePointer(JSValue target, void **nativePointer) GetNativePointer() argument 196 SetNativePointer(JSValue target, void *nativePointer) SetNativePointer() argument 201 DelNativePointer(JSValue target) DelNativePointer() argument 206 Call(JSValue target, const char * const prop, JSValue args[], JSSize size) Call() argument 214 Call(JSValue target, const char * const prop) Call() argument 219 Is(JSValue target) Is() argument 224 Has(JSValue target, const char *name) Has() argument 282 Is(JSValue target) Is() argument 297 Is(JSValue target) Is() argument 340 Is(JSValue target) Is() argument 344 Is(JSValue target) Is() argument [all...] |
H A D | js.h | 34 static bool Is(JSValue target); 42 static bool Is(JSValue target); 48 static JSValue Keys(JSValue target); 49 static JSValue Get(JSValue target, JSValue key); 50 static JSValue Get(JSValue target, const char * const prop); 51 static char *GetString(JSValue target, const char * const prop); 52 static double GetNumber(JSValue target, const char * const prop); 53 static bool GetBoolean(JSValue target, const char * const prop); 54 static void Set(JSValue target, const char * const prop, JSValue value); 55 static void SetString(JSValue target, cons [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/animation/ |
H A D | rs_animation.cpp | 67 auto target = target_.lock(); in SetFinishCallback() local 68 if (target != nullptr) { in SetFinishCallback() 70 "Animation Set FinishCallback", target->GetId(), id_, true); in SetFinishCallback() 91 auto target = target_.lock(); in CallFinishCallback() local 92 if (target != nullptr) { in CallFinishCallback() 94 "Animation Call FinishCallback", target->GetId(), id_, true); in CallFinishCallback() 136 void RSAnimation::Start(const std::shared_ptr<RSNode>& target) in Start() argument 143 if (target == nullptr) { in Start() 144 ROSEN_LOGE("Failed to start animation, target is null!"); in Start() 148 target in Start() 151 StartInner(const std::shared_ptr<RSNode>& target) StartInner() argument 181 auto target = target_.lock(); Pause() local 198 auto target = target_.lock(); OnPause() local 228 auto target = target_.lock(); InteractivePause() local 248 auto target = target_.lock(); InteractiveContinue() local 267 auto target = target_.lock(); InteractiveFinish() local 287 auto target = target_.lock(); InteractiveReverse() local 310 auto target = target_.lock(); InteractiveSetFraction() local 328 auto target = target_.lock(); Resume() local 345 auto target = target_.lock(); OnResume() local 370 auto target = target_.lock(); Finish() local 387 auto target = target_.lock(); OnFinish() local 412 auto target = target_.lock(); Reverse() local 430 auto target = target_.lock(); OnReverse() local 460 auto target = target_.lock(); SetFraction() local 476 auto target = target_.lock(); OnSetFraction() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/base/ |
H A D | view_stack_processor.h | 35 #define ACE_UPDATE_LAYOUT_PROPERTY(target, name, value) \ 38 ACE_UPDATE_NODE_LAYOUT_PROPERTY(target, name, value, frameNode); \ 40 #define ACE_UPDATE_NODE_LAYOUT_PROPERTY(target, name, value, frameNode) \ 43 auto cast##target = (frameNode)->GetLayoutPropertyPtr<target>(); \ 44 if (cast##target) { \ 45 cast##target->Update##name(value); \ 49 #define ACE_GET_NODE_LAYOUT_PROPERTY(target, name, value, frameNode) \ 51 auto cast##target = frameNode->GetLayoutPropertyPtr<target>(); \ [all...] |
/foundation/arkui/ace_engine_lite/frameworks/packages/runtime-core/src/observer/ |
H A D | subject.js | 25 * @param {any} target the target object to be observed 27 export function Subject(target) { 30 defineProp(target, SYMBOL_OBSERVABLE, subject); 32 if (Array.isArray(target)) { 33 hijackArray(target); 36 Object.keys(target).forEach(key => hijack(target, key, target[key])); 39 Subject.of = function(target) { [all...] |
H A D | utils.js | 30 export const canObserve = target => typeof target === 'object' && target !== null; 32 export const defineProp = (target, key, value) => { 33 Object.defineProperty(target, key, { enumerable: false, value });
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/unittest/animation/ |
H A D | rs_animation_test.cpp | 62 auto target = std::shared_ptr<RSNode>(); in HWTEST_F() local 63 rsAnimation.Start(target); in HWTEST_F() 64 ASSERT_EQ(target, nullptr); in HWTEST_F() 89 auto target = std::shared_ptr<RSNode>(); in HWTEST_F() local 90 rsAnimation.StartInner(target); in HWTEST_F() 91 ASSERT_EQ(target, nullptr); in HWTEST_F() 102 auto target = std::shared_ptr<RSNode>(); in HWTEST_F() local 104 ASSERT_EQ(target, nullptr); in HWTEST_F() 115 auto target = std::shared_ptr<RSNode>(); in HWTEST_F() local 117 ASSERT_EQ(target, nullpt in HWTEST_F() 142 auto target = std::shared_ptr<RSNode>(); HWTEST_F() local 155 auto target = std::shared_ptr<RSNode>(); HWTEST_F() local 182 auto target = std::shared_ptr<RSNode>(); HWTEST_F() local 195 auto target = std::shared_ptr<RSNode>(); HWTEST_F() local 222 auto target = std::shared_ptr<RSNode>(); HWTEST_F() local 235 auto target = std::shared_ptr<RSNode>(); HWTEST_F() local 290 auto target = std::shared_ptr<RSNode>(); HWTEST_F() local [all...] |
/foundation/ability/ability_runtime/interfaces/inner_api/wantagent/src/ |
H A D | pending_want.cpp | 32 PendingWant::PendingWant(const sptr<AAFwk::IWantSender> &target) in PendingWant() argument 33 : target_(target), cancelReceiver_(nullptr), whitelistToken_(nullptr) in PendingWant() 36 PendingWant::PendingWant(const sptr<AAFwk::IWantSender> &target, const sptr<IRemoteObject> whitelistToken) in PendingWant() argument 37 : target_(target), cancelReceiver_(nullptr), whitelistToken_(whitelistToken) in PendingWant() 40 WantAgentConstant::OperationType PendingWant::GetType(sptr<AAFwk::IWantSender> target) in GetType() argument 43 WantAgentClient::GetInstance().GetPendingWantType(target, operationType); in GetType() 81 sptr<IWantSender> target = nullptr; in GetAbility() local 82 ErrCode result = WantAgentClient::GetInstance().GetWantSender(wantSenderInfo, nullptr, target); in GetAbility() 86 pendingWant = std::make_shared<PendingWant>(target); in GetAbility() 126 sptr<IWantSender> target in GetAbilities() local 166 sptr<IWantSender> target = nullptr; GetCommonEventAsUser() local 227 sptr<IWantSender> target = nullptr; BuildServicePendingWant() local 236 Cancel(const sptr<AAFwk::IWantSender> &target) Cancel() argument 241 Send(const sptr<AAFwk::IWantSender> &target) Send() argument 246 Send(int resultCode, const sptr<AAFwk::IWantSender> &target) Send() argument 251 Send(int resultCode, const std::shared_ptr<Want> &want, const sptr<AAFwk::IWantSender> &target) Send() argument 257 Send( int resultCode, const sptr<CompletedDispatcher> &onCompleted, const sptr<AAFwk::IWantSender> &target) Send() argument 263 Send(int resultCode, const std::shared_ptr<Want> &want, const sptr<CompletedDispatcher> &onCompleted, const sptr<AAFwk::IWantSender> &target) Send() argument 269 Send(int resultCode, const std::shared_ptr<Want> &want, const sptr<CompletedDispatcher> &onCompleted, const std::string &requiredPermission, const sptr<AAFwk::IWantSender> &target) Send() argument 276 Send(int resultCode, const std::shared_ptr<Want> &want, const sptr<CompletedDispatcher> &onCompleted, const std::string &requiredPermission, const std::shared_ptr<WantParams> &options, const std::shared_ptr<StartOptions> &startOptions, const sptr<AAFwk::IWantSender> &target) Send() argument 289 SendAndReturnResult(int resultCode, const std::shared_ptr<Want> &want, const sptr<CompletedDispatcher> &onCompleted, const std::string &requiredPermission, const std::shared_ptr<WantParams> &options, const std::shared_ptr<StartOptions> &startOptions, const sptr<AAFwk::IWantSender> &target) SendAndReturnResult() argument 339 SetTarget(const sptr<AAFwk::IWantSender> &target) SetTarget() argument 359 RegisterCancelListener( const std::shared_ptr<CancelListener> &cancelListener, const sptr<AAFwk::IWantSender> &target) RegisterCancelListener() argument 391 UnregisterCancelListener( const std::shared_ptr<CancelListener> &cancelListener, const sptr<AAFwk::IWantSender> &target) UnregisterCancelListener() argument 410 GetHashCode(const sptr<AAFwk::IWantSender> &target, int &code) GetHashCode() argument 415 GetUid(const sptr<AAFwk::IWantSender> &target, int32_t &uid) GetUid() argument 420 GetBundleName(const sptr<AAFwk::IWantSender> &target, std::string &bundleName) GetBundleName() argument 425 GetWant(const sptr<AAFwk::IWantSender> &target) GetWant() argument 450 sptr<AAFwk::IWantSender> target = Unmarshalling() local 461 GetWantSenderInfo(const sptr<AAFwk::IWantSender> &target) GetWantSenderInfo() argument 468 GetType(const sptr<AAFwk::IWantSender> &target, int32_t &operType) GetType() argument 474 GetWant(const sptr<AAFwk::IWantSender> &target, std::shared_ptr<AAFwk::Want> &want) GetWant() argument [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/ |
H A D | rs_render_transition.cpp | 95 auto target = GetTarget(); in OnAttach() local 96 if (target == nullptr) { in OnAttach() 97 ROSEN_LOGE("RSRenderTransition::OnAttach, target is nullptr"); in OnAttach() 100 // create "transition" modifier and add it to target in OnAttach() 107 target->AddModifier(modifier); in OnAttach() 111 target->disappearingTransitionCount_++; in OnAttach() 112 ROSEN_LOGD("RSRenderTransition::OnAttach, target have %{public}u disappearing Transitions", in OnAttach() 113 target->disappearingTransitionCount_); in OnAttach() 119 auto target = GetTarget(); in OnDetach() local 120 if (target in OnDetach() [all...] |
H A D | rs_render_particle_animation.cpp | 44 auto target = GetTarget(); in Animate() local 45 if (!target) { in Animate() 47 } else if (!target->GetRenderProperties().GetVisible()) { in Animate() 48 target->RemoveModifier(property_->GetId()); in Animate() 65 if (target) { in Animate() 66 target->RemoveModifier(property_->GetId()); in Animate() 123 auto target = GetTarget(); in OnAttach() local 124 if (target == nullptr) { in OnAttach() 125 ROSEN_LOGE("RSRenderParticleAnimation::OnAttach, target is nullptr"); in OnAttach() 128 auto particleAnimations = target in OnAttach() 141 auto target = GetTarget(); OnDetach() local [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/ |
H A D | rs_proxy_render_node.cpp | 26 NodeId id, std::weak_ptr<RSSurfaceRenderNode> target, NodeId targetId, const std::weak_ptr<RSContext>& context) in RSProxyRenderNode() 27 : RSRenderNode(id, context), target_(target), targetId_(targetId) in RSProxyRenderNode() 38 ROSEN_LOGD("RSProxyRenderNode::~RSProxyRenderNode, proxy id:%{public}" PRIu64 " target:%{public}" PRIu64, in ~RSProxyRenderNode() 71 if (auto target = target_.lock()) { in SetContextMatrix() 72 target->SetContextMatrix(matrix, false); in SetContextMatrix() 86 if (auto target = target_.lock()) { in SetContextAlpha() 87 target->SetContextAlpha(alpha, false); in SetContextAlpha() 101 if (auto target = target_.lock()) { in SetContextClipRegion() 102 target->SetContextClipRegion(clipRegion, false); in SetContextClipRegion() 130 // if target d in CleanUp() 25 RSProxyRenderNode( NodeId id, std::weak_ptr<RSSurfaceRenderNode> target, NodeId targetId, const std::weak_ptr<RSContext>& context) RSProxyRenderNode() argument 131 auto target = target_.lock(); CleanUp() local [all...] |
/foundation/systemabilitymgr/samgr_lite/samgr_endpoint/source/ |
H A D | default_client_mini_adapter.c | 51 SvcIdentity target = {INVALID_INDEX, INVALID_INDEX, INVALID_INDEX};
in QueryRemoteIdentityInner() local 54 return target;
in QueryRemoteIdentityInner() 59 return target;
in QueryRemoteIdentityInner() 62 &target);
in QueryRemoteIdentityInner() 65 return target;
in QueryRemoteIdentityInner() 67 target.handle = GetNextHandle();
in QueryRemoteIdentityInner() 68 WaitForProxyInit(&target);
in QueryRemoteIdentityInner() 69 HILOG_ERROR(HILOG_MODULE_SAMGR, "MakeRemoteBinder sid handle=%d", target.handle);
in QueryRemoteIdentityInner() 70 return target;
in QueryRemoteIdentityInner()
|
H A D | default_client.c | 35 SvcIdentity target;
member 76 header->target = identity;
in SAMGR_CreateIProxy() 101 identity = client->header.target;
in SAMGR_GetRemoteIdentity() 173 if (header->target.handle == INVALID_INDEX) {
in ProxyInvoke() 174 header->target = QueryIdentity(header->context, header->key.service, header->key.feature);
in ProxyInvoke() 175 if (header->target.handle == INVALID_INDEX) {
in ProxyInvoke() 178 (void)RegisterDeathCallback(header->context, header->target, OnServiceExit, header, &header->deadId);
in ProxyInvoke() 184 int ret = Transact(header->context, header->target, funcId, request, &reply, flag, (uintptr_t *)&replyBuf);
in ProxyInvoke() 186 (void)UnregisterDeathCallback(header->target, header->deadId);
in ProxyInvoke() 188 header->target in ProxyInvoke() 240 SvcIdentity target = {INVALID_INDEX, INVALID_INDEX, INVALID_INDEX}; QueryIdentity() local [all...] |
/foundation/communication/ipc/ipc/native/c/manager/src/ |
H A D | ipc_skeleton.c | 71 int32_t SetContextObject(SvcIdentity target) in SetContextObject() argument 77 if (target.cookie == COOKIE_NULL) { in SetContextObject() 81 return SetRegistryObject(target); in SetContextObject() 84 int32_t SendRequest(SvcIdentity target, uint32_t code, IpcIo *data, IpcIo *reply, in SendRequest() argument 91 return ProcessSendRequest(target, code, data, reply, option, buffer); in SendRequest() 94 int32_t AddDeathRecipient(SvcIdentity target, OnRemoteDead deathFunc, void *args, uint32_t *cbId) in AddDeathRecipient() argument 100 if (target.handle < INVALID_HANDLE) { in AddDeathRecipient() 104 return ProcessAddDeathRecipient(target.handle, deathFunc, args, cbId); in AddDeathRecipient() 107 int32_t RemoveDeathRecipient(SvcIdentity target, uint32_t cbId) in RemoveDeathRecipient() argument 113 if (target in RemoveDeathRecipient() 145 ReleaseSvc(SvcIdentity target) ReleaseSvc() argument [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/params/ |
H A D | rs_render_params.cpp | 407 void RSRenderParams::OnCanvasDrawingSurfaceChange(const std::unique_ptr<RSRenderParams>& target) in OnCanvasDrawingSurfaceChange() argument 412 target->canvasDrawingNodeSurfaceChanged_ = true; in OnCanvasDrawingSurfaceChange() 413 target->surfaceParams_.width = surfaceParams_.width; in OnCanvasDrawingSurfaceChange() 414 target->surfaceParams_.height = surfaceParams_.height; in OnCanvasDrawingSurfaceChange() 456 void RSRenderParams::OnSync(const std::unique_ptr<RSRenderParams>& target) in OnSync() argument 459 target->matrix_.Swap(matrix_); in OnSync() 463 target->drawingCacheType_ = drawingCacheType_; in OnSync() 466 target->alpha_ = alpha_; in OnSync() 467 target->boundsRect_ = boundsRect_; in OnSync() 468 target in OnSync() [all...] |
/foundation/communication/dsoftbus/core/common/include/ |
H A D | softbus_json_utils.h | 30 int32_t GetStringItemByJsonObject(const cJSON *json, const char * const string, char *target, uint32_t targetLen); 32 bool GetJsonObjectStringItem(const cJSON *json, const char * const string, char *target, uint32_t targetLen); 34 bool GetJsonObjectNumber16Item(const cJSON *json, const char * const string, uint16_t *target); 36 bool GetJsonObjectNumberItem(const cJSON *json, const char * const string, int32_t *target); 38 bool GetJsonObjectSignedNumberItem(const cJSON *json, const char * const string, int32_t *target); 40 bool GetJsonObjectNumber64Item(const cJSON *json, const char * const string, int64_t *target); 42 bool GetJsonObjectSignedNumber64Item(const cJSON *json, const char * const string, int64_t *target); 44 bool GetJsonObjectDoubleItem(const cJSON *json, const char * const string, double *target); 46 bool GetJsonObjectBoolItem(const cJSON *json, const char * const string, bool *target); 60 bool GetJsonObjectInt32Item(const cJSON *json, const char * const string, int32_t *target); [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/frontend/ |
H A D | cj_page_router_abstract.cpp | 45 void CJPageRouterAbstract::Push(const RouterPageInfo& target, const std::string& params, RouterMode mode) in Push() argument 54 [weak = WeakClaim(this), target, params, mode]() { in Push() 57 router->Push(target, params, mode); in Push() 62 StartPush(target, params, mode); in Push() 75 void CJPageRouterAbstract::Replace(const RouterPageInfo& target, const std::string& params, RouterMode mode) in Replace() argument 84 [weak = WeakClaim(this), target, params, mode]() { in Replace() 87 router->Replace(target, params, mode); in Replace() 92 StartReplace(target, params, mode); in Replace() 95 void CJPageRouterAbstract::BackWithTarget(const RouterPageInfo& target, const std::string& params) in BackWithTarget() argument 97 LOGD("router.Back path = %{private}s", target in BackWithTarget() [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/ |
H A D | distributeddb_data_transformer_test.cpp | 87 bool Equal(const LogInfo &origin, const LogInfo &target) in Equal() argument 89 if (origin.dataKey != target.dataKey) { in Equal() 92 if (origin.device != target.device) { in Equal() 95 if (origin.flag != target.flag) { in Equal() 98 if (origin.hashKey != target.hashKey) { in Equal() 101 if (origin.originDev != target.originDev) { in Equal() 104 if (origin.timestamp != target.timestamp) { in Equal() 107 if (origin.wTimestamp != target.wTimestamp) { in Equal() 113 bool Equal(const RowDataWithLog &origin, const OptRowDataWithLog &target) in Equal() argument 115 if (!Equal(origin.logInfo, target in Equal() 132 Equal(TableDataWithLog origin, OptTableDataWithLog target) Equal() argument [all...] |
/foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/src/ |
H A D | softbus_proxychannel_pipeline.c | 84 struct PipelineChannelItem *target = NULL; in SearchChannelItemUnsafe() local 88 target = it; in SearchChannelItemUnsafe() 91 return target; in SearchChannelItemUnsafe() 124 struct PipelineChannelItem *target = SearchChannelItemUnsafe(&channelId, CompareByChannelId); in TransProxyReuseByChannelId() local 125 if (target == NULL) { in TransProxyReuseByChannelId() 130 target->ref++; in TransProxyReuseByChannelId() 271 struct PipelineChannelItem *target = SearchChannelItemUnsafe(uuid, CompareByUuid); in TransProxyPipelineGetChannelIdByNetworkId() local 272 if (target == NULL) { in TransProxyPipelineGetChannelIdByNetworkId() 277 int32_t channelId = target->channelId; in TransProxyPipelineGetChannelIdByNetworkId() 287 struct PipelineChannelItem *target in TransProxyPipelineGetUuidByChannelId() local 307 struct PipelineChannelItem *target = SearchChannelItemUnsafe(&channelId, CompareByChannelId); TransProxyPipelineCloseChannel() local 418 struct PipelineChannelItem *target = SearchChannelItemUnsafe(&channelId, CompareByChannelId); InnerOnChannelOpened() local 473 struct PipelineChannelItem *target = SearchChannelItemUnsafe(&channelId, CompareByChannelId); InnerOnChannelOpenFailed() local 495 struct PipelineChannelItem *target = NULL; TransProxyPipelineOnChannelClosed() local 524 struct ListenerItem *target = NULL; TransProxyPipelineOnMessageReceived() local 539 OpenNetWorkingChannel(int32_t requestId, ITransProxyPipelineCallback *callback, LanePreferredLinkList *preferred, char *networkId, struct PipelineChannelItem *target) OpenNetWorkingChannel() argument 579 struct PipelineChannelItem *target = SearchChannelItemUnsafe(&requestId, CompareByRequestId); InnerOpenProxyChannel() local [all...] |
/foundation/communication/dsoftbus/tests/core/common/json_utils/uttest/ |
H A D | softbus_json_utils_test.cpp | 60 char target[ARRAY_LEN];
in HWTEST_F() local 61 int32_t ret = GetStringItemByJsonObject(nullptr, "string", target, ARRAY_LEN);
in HWTEST_F() 74 char target[ARRAY_LEN];
in HWTEST_F() local 75 int32_t ret = GetStringItemByJsonObject(json, nullptr, target, ARRAY_LEN);
in HWTEST_F() 82 * @tc.desc: When the target parameter is nullptr, the return value is SOFTBUS_INVALID_PARAM
103 char target[ARRAY_LEN];
in HWTEST_F() local 104 int32_t ret = GetStringItemByJsonObject(json, "string", target, ARRAY_LEN);
in HWTEST_F() 119 "This is a very long string that is definitely too long to fit in the target buffer.");
in HWTEST_F() 120 char target[ARRAY_LEN];
in HWTEST_F() local 121 int32_t ret = GetStringItemByJsonObject(json, "string", target, ARRAY_LE in HWTEST_F() 136 char target[ARRAY_LEN]; HWTEST_F() local 197 int32_t target; HWTEST_F() local 211 int32_t target; HWTEST_F() local 240 int32_t target; HWTEST_F() local 256 int32_t target; HWTEST_F() local 271 double target; HWTEST_F() local 285 double target; HWTEST_F() local 314 double target; HWTEST_F() local 330 double target; HWTEST_F() local 346 uint16_t target; HWTEST_F() local 369 int64_t target; HWTEST_F() local 383 int64_t target; HWTEST_F() local 412 int64_t target; HWTEST_F() local 426 int64_t target; HWTEST_F() local 442 int64_t target; HWTEST_F() local 459 int64_t target; HWTEST_F() local 472 int64_t target; HWTEST_F() local 501 int64_t target; HWTEST_F() local 516 int64_t target; HWTEST_F() local 533 int32_t target; HWTEST_F() local [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/ |
H A D | communicator_proxy.cpp | 111 uint32_t CommunicatorProxy::GetCommunicatorMtuSize(const std::string &target) const in GetCommunicatorMtuSize() 116 if (devCommMap_.count(target) != 0) { in GetCommunicatorMtuSize() 117 targetCommunicator = devCommMap_.at(target).second; in GetCommunicatorMtuSize() 122 uint32_t mtuSize = targetCommunicator->GetCommunicatorMtuSize(target); in GetCommunicatorMtuSize() 128 return mainComm_->GetCommunicatorMtuSize(target); in GetCommunicatorMtuSize() 142 uint32_t CommunicatorProxy::GetTimeout(const std::string &target) const in GetTimeout() 147 if (devCommMap_.count(target) != 0) { in GetTimeout() 148 targetCommunicator = devCommMap_.at(target).second; in GetTimeout() 153 uint32_t timeout = targetCommunicator->GetTimeout(target); in GetTimeout() 159 return mainComm_->GetTimeout(target); in GetTimeout() 175 GetRemoteCommunicatorVersion(const std::string &target, uint16_t &outVersion) const GetRemoteCommunicatorVersion() argument [all...] |
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/ |
H A D | PropertyHandlerArrayHolder.h | 29 META_NS::IProperty::WeakPtr target; member 40 void EraseHandler(META_NS::IProperty::Ptr target, META_NS::IProperty::Ptr source) in EraseHandler() 43 [&target, &source](const Handler& h) { return h.target.lock() == target && h.source.lock() == source; })); in EraseHandler() 46 META_NS::PropertyChangedEventHandler& NewHandler(META_NS::IProperty::Ptr target, META_NS::IProperty::Ptr source) in NewHandler() 48 handlers.push_back({ META_NS::PropertyChangedEventHandler(), target, source }); in NewHandler() 91 if (auto target = handler.target.lock()) { in GetBoundProperties() 93 ret.push_back({ source, target }); in GetBoundProperties() [all...] |
/foundation/ability/ability_runtime/interfaces/inner_api/wantagent/include/ |
H A D | pending_want.h | 37 explicit PendingWant(const sptr<AAFwk::IWantSender> &target); 38 PendingWant(const sptr<AAFwk::IWantSender> &target, const sptr<IRemoteObject> whitelistToken); 41 WantAgentConstant::OperationType GetType(sptr<AAFwk::IWantSender> target); 208 ErrCode Cancel(const sptr<AAFwk::IWantSender> &target); 210 void Send(const sptr<AAFwk::IWantSender> &target); 212 void Send(int resultCode, const sptr<AAFwk::IWantSender> &target); 215 const std::shared_ptr<AAFwk::Want> &want, const sptr<AAFwk::IWantSender> &target); 217 void Send(int resultCode, const sptr<CompletedDispatcher> &onCompleted, const sptr<AAFwk::IWantSender> &target); 221 const sptr<AAFwk::IWantSender> &target); 225 const std::string &requiredPermission, const sptr<AAFwk::IWantSender> &target); [all...] |
/foundation/communication/dsoftbus/tests/core/connection/ble/mock/ |
H A D | connection_ble_manager_mock.cpp | 39 const cJSON *json, const char * const str, int32_t *target) in ActionOfGetdelta() 43 if (target != NULL) { in ActionOfGetdelta() 44 *target = -1; in ActionOfGetdelta() 50 const cJSON *json, const char * const str, int32_t *target) in ActionOfGetPeerRc1() 54 if (target != NULL) { in ActionOfGetPeerRc1() 55 *target = 1; in ActionOfGetPeerRc1() 61 const cJSON *json, const char * const str, int32_t *target) in ActionOfGetPeerRc0() 65 if (target != NULL) { in ActionOfGetPeerRc0() 66 *target = 0; in ActionOfGetPeerRc0() 200 bool GetJsonObjectSignedNumberItem(const cJSON *json, const char * const str, int32_t *target) in GetJsonObjectSignedNumberItem() argument 38 ActionOfGetdelta( const cJSON *json, const char * const str, int32_t *target) ActionOfGetdelta() argument 49 ActionOfGetPeerRc1( const cJSON *json, const char * const str, int32_t *target) ActionOfGetPeerRc1() argument 60 ActionOfGetPeerRc0( const cJSON *json, const char * const str, int32_t *target) ActionOfGetPeerRc0() argument 205 GetJsonObjectNumber16Item(const cJSON *json, const char * const str, uint16_t *target) GetJsonObjectNumber16Item() argument [all...] |