/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/animation/ |
H A D | rs_animation.cpp | 68 if (target != nullptr) { in SetFinishCallback() 92 if (target != nullptr) { in CallFinishCallback() 143 if (target == nullptr) { in Start() 153 if (target == nullptr) { in StartInner() 158 target_ = target; in StartInner() 182 if (target == nullptr) { in Pause() 207 …transactionProxy->AddCommand(command, target->IsRenderServiceNode(), target->GetFollowType(), targ… in OnPause() 354 …transactionProxy->AddCommand(command, target->IsRenderServiceNode(), target->GetFollowType(), targ… in OnResume() 396 …transactionProxy->AddCommand(command, target->IsRenderServiceNode(), target->GetFollowType(), targ… in OnFinish() 439 …transactionProxy->AddCommand(command, target->IsRenderServiceNode(), target->GetFollowType(), targ… in OnReverse() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/state_mgmt/src/lib/v2/ |
H A D | v2_observed_proxy.ts | 51 return target; 56 return target[key]; 63 let ret = this.isMakeObserved_ ? target[key] : ObserveV2.autoProxyObject(target, key); 79 }.bind(target); 101 target[key] = value; 140 return target; 145 return target[key]; 153 return target[key]; 211 target[key] = value; 249 return target; [all …]
|
H A D | v2_json_coder.ts | 78 const tar = typeof target === 'function' ? target.prototype : target; 194 return target; 243 return target; 264 target[targetKey].splice(0, target[targetKey].length); 281 if (target[targetKey] === null || target[targetKey] === undefined) { 326 target.clear(); 335 return target; 339 target.clear(); 344 return target; 351 target[i] = item; [all …]
|
H A D | v2_make_observed.ts | 22 static get(target: Object): any { 23 if (!target || typeof target !== 'object') { 25 return { proxy: target }; 28 …f (ObservedObject.IsObservedObject(target) || ObserveV2.IsObservedObjectV2(target) || ObserveV2.Is… 29 …target.constructor.name} is Observed ${ObservedObject.IsObservedObject(target)}, IsObservedV2 ${Ob… 30 return { proxy: target }; 32 let ret = RefInfo.obj2ref.get(target); 34 if (Array.isArray(target) || SendableType.isArray(target)) { 36 } else if (target instanceof Set || SendableType.isSet(target) || 37 target instanceof Map || SendableType.isMap(target)) { [all …]
|
H A D | v2_decorators.ts | 53 const Trace = (target: Object, propertyKey: string): void => { 55 return trackInternal(target, propertyKey); 71 const Local = (target: Object, propertyKey: string): void => { 72 ObserveV2.addVariableDecoMeta(target, propertyKey, '@state'); 73 return trackInternal(target, propertyKey); 152 const Event = (target, propertyKey): void => { 154 target[propertyKey] ??= (): void => { }; 250 return function (target, _, descriptor): void { 254 …target[watchProp] ? target[watchProp][pathsUniqueString] = monitorFunc : target[watchProp] = { [pa… 298 target[watchProp] ? target[watchProp][propertyKey] = computeFunction [all …]
|
/ohos5.0/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) \ argument 43 auto cast##target = (frameNode)->GetLayoutPropertyPtr<target>(); \ 51 auto cast##target = frameNode->GetLayoutPropertyPtr<target>(); \ 59 … auto cast##target = frameNode->GetLayoutPropertyPtr<target>(); \ 73 auto cast##target = (frameNode)->GetPaintPropertyPtr<target>(); \ 81 auto cast##target = frameNode->GetPaintPropertyPtr<target>(); \ 89 … auto cast##target = frameNode->GetPaintPropertyPtr<target>(); \ 117 auto cast##target = frameNode->GetLayoutPropertyPtr<target>(); \ 130 auto cast##target = frameNode->GetLayoutPropertyPtr<target>(); \ 146 auto cast##target = frameNode->GetPaintPropertyPtr<target>(); \ [all …]
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/wrapper/ |
H A D | js.cpp | 33 bool JSString::Is(JSValue target) in Is() argument 44 jerry_value_t target; in Value() local 52 jerry_release_value(target); in Value() 58 jerry_release_value(target); in Value() 68 jerry_release_value(target); in Value() 85 jerry_release_value(target); in Value() 99 bool JSFunction::Is(JSValue target) in Is() argument 219 bool JSObject::Is(JSValue target) in Is() argument 282 bool JSNumber::Is(JSValue target) in Is() argument 340 bool JSArray::Is(JSValue target) in 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); 64 static bool DelNativePointer(JSValue target); 65 static bool Is(JSValue target); 66 static bool Has(JSValue target, const char *name); 88 static bool Is(JSValue target); 95 static bool Is(JSValue target); 107 static bool Is(JSValue target); [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/shape/ |
H A D | shape_paint_property.cpp | 27 CHECK_NULL_VOID(target); in UpdateShapeProperty() 28 if (!HasAntiAlias() && target->HasAntiAlias()) { in UpdateShapeProperty() 29 UpdateAntiAlias(target->GetAntiAliasValue()); in UpdateShapeProperty() 31 if (!HasFill() && target->HasFill()) { in UpdateShapeProperty() 32 UpdateFill(target->GetFillValue()); in UpdateShapeProperty() 34 if (!HasFillOpacity() && target->HasFillOpacity()) { in UpdateShapeProperty() 35 UpdateFillOpacity(target->GetFillOpacityValue()); in UpdateShapeProperty() 37 if (!HasStroke() && target->HasStroke()) { in UpdateShapeProperty() 38 UpdateStroke(target->GetStrokeValue()); in UpdateShapeProperty() 58 if (!HasStrokeWidth() && target->HasStrokeWidth()) { in UpdateShapeProperty() [all …]
|
/ohos5.0/commonlibrary/c_utils/base/src/ |
H A D | io_event_reactor.cpp | 58 target->prev_ = h; in InsertNodeFront() 62 h->next_ = target; in InsertNodeFront() 67 target->prev_->next_ = target->next_; in RemoveNode() 70 target->next_->prev_ = target->prev_; in RemoveNode() 73 target->prev_ = nullptr; in RemoveNode() 74 target->next_ = nullptr; in RemoveNode() 79 if (target == nullptr) { in AddHandler() 83 if (target->fd_ == -1) { in AddHandler() 93 int fd = target->fd_; in AddHandler() 101 if ((ioHandlers_[fd].events & target->events_) != target->events_) { in AddHandler() [all …]
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/packages/runtime-core/src/observer/ |
H A D | subject.js | 27 export function Subject(target) { argument 32 if (Array.isArray(target)) { 33 hijackArray(target); 36 Object.keys(target).forEach(key => hijack(target, key, target[key])); 39 Subject.of = function(target) { argument 40 if (!target || !canObserve(target)) { 41 return target; 46 return new Subject(target); 49 Subject.is = function(target) { argument 50 return target && target._hijacking; [all …]
|
/ohos5.0/commonlibrary/rust/ylong_json/tests/ |
H A D | sdv_adapter_test.rs | 38 let target = str_to_c_char("Image"); localVariable 40 let _ = CString::from_raw(target); 44 let target = str_to_c_char("Width"); localVariable 46 let _ = CString::from_raw(target); 56 let _ = CString::from_raw(target); 66 let _ = CString::from_raw(target); 79 let _ = CString::from_raw(target); 82 let target = str_to_c_char("Url"); localVariable 84 let _ = CString::from_raw(target); 97 let _ = CString::from_raw(target); [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/params/ |
H A D | rs_render_params.cpp | 467 target->matrix_.Swap(matrix_); in OnSync() 474 target->alpha_ = alpha_; in OnSync() 475 target->boundsRect_ = boundsRect_; in OnSync() 476 target->frameRect_ = frameRect_; in OnSync() 479 target->hasSandBox_ = hasSandBox_; in OnSync() 481 target->id_ = id_; in OnSync() 482 target->cacheSize_ = cacheSize_; in OnSync() 488 target->isDrawingCacheChanged_ = target->isDrawingCacheChanged_ || isDrawingCacheChanged_; in OnSync() 489 target->shadowRect_ = shadowRect_; in OnSync() 493 target->needFilter_ = needFilter_; in OnSync() [all …]
|
/ohos5.0/foundation/ability/ability_runtime/interfaces/inner_api/wantagent/src/ |
H A D | pending_want.cpp | 82 sptr<IWantSender> target = nullptr; in GetAbility() local 127 sptr<IWantSender> target = nullptr; in GetAbilities() local 167 sptr<IWantSender> target = nullptr; in GetCommonEventAsUser() local 228 sptr<IWantSender> target = nullptr; in BuildServicePendingWant() local 253 const sptr<AAFwk::IWantSender> &target) in Send() argument 272 const sptr<AAFwk::IWantSender> &target) in Send() argument 280 const sptr<AAFwk::IWantSender> &target) in Send() argument 342 target_ = target; in SetTarget() 451 sptr<AAFwk::IWantSender> target = in Unmarshalling() local 453 if (target == nullptr) { in Unmarshalling() [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/unittest/animation/ |
H A D | rs_animation_test.cpp | 63 rsAnimation.Start(target); in HWTEST_F() 64 ASSERT_EQ(target, nullptr); in HWTEST_F() 91 ASSERT_EQ(target, nullptr); in HWTEST_F() 104 ASSERT_EQ(target, nullptr); in HWTEST_F() 117 ASSERT_EQ(target, nullptr); in HWTEST_F() 144 ASSERT_EQ(target, nullptr); in HWTEST_F() 157 ASSERT_EQ(target, nullptr); in HWTEST_F() 184 ASSERT_EQ(target, nullptr); in HWTEST_F() 197 ASSERT_EQ(target, nullptr); in HWTEST_F() 224 ASSERT_EQ(target, nullptr); in HWTEST_F() [all …]
|
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/src/ |
H A D | softbus_proxychannel_pipeline.c | 88 target = it; in SearchChannelItemUnsafe() 91 return target; in SearchChannelItemUnsafe() 125 if (target == NULL) { in TransProxyReuseByChannelId() 130 target->ref++; in TransProxyReuseByChannelId() 272 if (target == NULL) { in TransProxyPipelineGetChannelIdByNetworkId() 288 if (target == NULL) { in TransProxyPipelineGetUuidByChannelId() 309 target->ref--; in TransProxyPipelineCloseChannel() 485 SoftBusFree(target); in InnerOnChannelOpenFailed() 532 if (target == NULL || target->listener.onDataReceived == NULL) { in TransProxyPipelineOnMessageReceived() 567 target->ref = 1; in OpenNetWorkingChannel() [all …]
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/common/json_utils/uttest/ |
H A D | softbus_json_utils_test.cpp | 197 int32_t target; variable 211 int32_t target; variable 240 int32_t target; variable 256 int32_t target; variable 271 double target; variable 285 double target; variable 314 double target; variable 330 double target; variable 369 int64_t target; variable 383 int64_t target; variable [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/state_mgmt/src/lib/common/ |
H A D | observed_object.ts | 200 return target; 260 Reflect.set(target, property, newValue); 310 get(target, property, receiver) { 312 return target; 318 receiver = target; 359 public get(target, property): any { 360 let ret = super.get(target, property); 371 }.bind(target) 373 return ret.bind(target); 399 get(target, property, receiver) { [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ng/ |
H A D | page_router_manager.cpp | 212 StartPush(target); in Push() 330 StartReplace(target); in Replace() 1187 LoadOhmUrlPage(target.url, std::move(loadTask), target.errorCallback, in StartPush() 1283 LoadOhmUrlPage(target.url, std::move(loadTask), target.errorCallback, in StartReplace() 1396 StartBack(target); in BackCheckAlert() 1452 …target.path.c_str(), (target.recoverable ? "yes" : "no"), (target.isNamedRouterMode ? "yes" : "no"… in CreatePage() 1454 … pageId, target.url, target.path, target.params, target.recoverable, target.isNamedRouterMode); in CreatePage() 1465 if (target.content && !target.content->empty()) { in CreatePage() 1466 loadJsByBuffer_(target.content, target.errorCallback, target.params); in CreatePage() 1468 loadJs_(target.path, target.errorCallback); in CreatePage() [all …]
|
/ohos5.0/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() 91 return ProcessSendRequest(target, code, data, reply, option, buffer); in SendRequest() 100 if (target.handle < INVALID_HANDLE) { in AddDeathRecipient() 107 int32_t RemoveDeathRecipient(SvcIdentity target, uint32_t cbId) in RemoveDeathRecipient() argument 113 if (target.handle < INVALID_HANDLE) { in RemoveDeathRecipient() 117 return ProcessRemoveDeathRecipient(target.handle, cbId); in RemoveDeathRecipient() 145 int32_t ReleaseSvc(SvcIdentity target) in ReleaseSvc() argument 151 if (target.handle <= INVALID_HANDLE) { in ReleaseSvc() [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/ |
H A D | rs_proxy_render_node.cpp | 69 if (auto target = target_.lock()) { in SetContextMatrix() local 70 target->SetContextMatrix(matrix, false); in SetContextMatrix() 84 if (auto target = target_.lock()) { in SetContextAlpha() local 85 target->SetContextAlpha(alpha, false); in SetContextAlpha() 99 if (auto target = target_.lock()) { in SetContextClipRegion() local 129 auto target = target_.lock(); in CleanUp() local 130 if (target == nullptr) { in CleanUp() 135 target->SetContextAlpha(1.0f, false); in CleanUp() 136 target->SetContextMatrix(std::nullopt, false); in CleanUp() 137 target->SetContextClipRegion(std::nullopt, false); in CleanUp() [all …]
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/br/ |
H A D | connection_br_connection_test.cpp | 653 target = (ConnBrConnection *)SoftBusCalloc(sizeof(*target)); 675 target = reinterpret_cast<ConnBrConnection *>(SoftBusCalloc(sizeof(*target))); 696 target = reinterpret_cast<ConnBrConnection *>(SoftBusCalloc(sizeof(*target))); 704 target->objectRc = 1; 727 target = reinterpret_cast<ConnBrConnection *>(SoftBusCalloc(sizeof(*target))); 732 target->objectRc = 1; 780 target = reinterpret_cast<ConnBrConnection *>(SoftBusCalloc(sizeof(*target))); 785 target->objectRc = 1; 807 target = reinterpret_cast<ConnBrConnection *>(SoftBusCalloc(sizeof(*target))); 812 target->objectRc = 1; [all …]
|
/ohos5.0/foundation/communication/dsoftbus/core/common/json_utils/ |
H A D | softbus_json_utils.c | 27 if (json == NULL || string == NULL || target == NULL) { in GetStringItemByJsonObject() 52 if (json == NULL || string == NULL || target == NULL) { in GetJsonObjectStringItem() 76 if (json == NULL || string == NULL || target == NULL) { in GetJsonObjectNumberItem() 85 *target = (int32_t)item->valuedouble; in GetJsonObjectNumberItem() 100 *target = (int32_t)item->valuedouble; in GetJsonObjectSignedNumberItem() 115 *target = item->valuedouble; in GetJsonObjectDoubleItem() 130 *target = (uint16_t)item->valuedouble; in GetJsonObjectNumber16Item() 145 *target = (int64_t)item->valuedouble; in GetJsonObjectNumber64Item() 160 *target = (int64_t)item->valuedouble; in GetJsonObjectSignedNumber64Item() 175 *target = (int32_t)item->valuedouble; in GetJsonObjectInt32Item() [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/include/ |
H A D | gl1ext_entries.in | 2 CALL_HOOK_API(glEGLImageTargetTexture2DOES, target, image) 74 CALL_HOOK_API(glGetTexEnvxvOES, target, pname, params) 131 CALL_HOOK_API(glTexEnvxOES, target, pname, param) 134 CALL_HOOK_API(glTexEnvxvOES, target, pname, params) 137 CALL_HOOK_API(glTexParameterxOES, target, pname, param) 188 CALL_HOOK_API(glBindFramebufferOES, target, framebuffer) 197 CALL_HOOK_API_RET(glCheckFramebufferStatusOES, target) 208 HOOK_API_ENTRY(void, glGenerateMipmapOES, GLenum target) 209 CALL_HOOK_API(glGenerateMipmapOES, target) 212 CALL_HOOK_API_RET(glMapBufferOES, target, access) [all …]
|
/ohos5.0/build/docs/ |
H A D | FAQ.md | 43 ### 关于--build-target使用 45 build-target 是传给ninja的参数,build.ninja里面的任务都可以。 46 1. gn里面的一个target都可以,包括可执行程序,动态库,group,action,部件名 47 …2. 如果直接指定名称报unkonw target的话,可能是重名等原因,按照gn的全名称指定:{目标所在BUILD.gn的路径}:{目标名}, 比如: `--build-target commo… 48 3. build-target参数一次可以指定多,比如:`--build-target A --build-target B` 50 …,根据ohos.build编译系统生产的gn目标,如果直接指定部件名,使用`--build-target {部件名}` 报错unkonw target,可以使用一个部件的全名称指定:`--buil…
|