/foundation/ability/ability_runtime/test/moduletest/panding_want_manager_test/ |
H A D | panding_want_manager_test.cpp | 282 auto amsProxySendWantSenderReturn = [&abilityManager](const sptr<IWantSender>& target, in HWTEST_F() 284 return abilityManager->SendWantSender(target, senderInfo); in HWTEST_F() 338 [&abilityManager](const sptr<IWantSender>& target) { return abilityManager->GetPendingWantType(target); }; in HWTEST_F() 342 [&abilityManager](const sptr<IWantSender>& target) { return abilityManager->GetPendingWantCode(target); }; in HWTEST_F() 451 auto target = pandingWant2->GetTarget(); in HWTEST_F() local 452 EXPECT_NE(target, nullptr); in HWTEST_F() 453 sptr<PendingWantRecord> targetRecord = iface_cast<PendingWantRecord>(target->AsObject()); in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/pipeline/ |
H A D | rs_dirty_region_manager_test.cpp | 359 std::map<NodeId, RectI> target; in HWTEST_F() local 360 fun.GetDirtyRegionInfo(target, nodeType, dirtyRegionType); in HWTEST_F() 361 EXPECT_TRUE(target[id].IsEmpty()); in HWTEST_F() 377 std::map<NodeId, RectI> target; in HWTEST_F() local 378 fun.GetDirtyRegionInfo(target, nodeType, dirtyRegionType); in HWTEST_F() 379 EXPECT_TRUE(target[id] == rect); in HWTEST_F() 395 std::map<NodeId, RectI> target; in HWTEST_F() local 396 fun.GetDirtyRegionInfo(target, nodeType, dirtyRegionType); in HWTEST_F() 397 EXPECT_TRUE(target[id] == rect); in HWTEST_F()
|
/kernel/linux/linux-5.10/arch/x86/events/ |
H A D | rapl.c | 547 int target; in rapl_cpu_offline() local 555 target = cpumask_any_but(topology_die_cpumask(cpu), cpu); in rapl_cpu_offline() 557 /* Migrate rapl events to the new target */ in rapl_cpu_offline() 558 if (target < nr_cpu_ids) { in rapl_cpu_offline() 559 cpumask_set_cpu(target, &rapl_cpu_mask); in rapl_cpu_offline() 560 pmu->cpu = target; in rapl_cpu_offline() 561 perf_pmu_migrate_context(pmu->pmu, cpu, target); in rapl_cpu_offline() 569 int target; in rapl_cpu_online() local 589 target = cpumask_any_and(&rapl_cpu_mask, topology_die_cpumask(cpu)); in rapl_cpu_online() 590 if (target < nr_cpu_id in rapl_cpu_online() [all...] |
/kernel/linux/linux-5.10/net/nfc/ |
H A D | digital_core.c | 310 struct nfc_target *target, u8 protocol) in digital_target_found() 391 target->supported_protocols = (1 << protocol); in digital_target_found() 396 rc = nfc_targets_found(ddev->nfc_dev, target, 1); in digital_target_found() 496 pr_err("A target is already active\n"); in digital_start_poll() 593 struct nfc_target *target, in digital_dep_link_up() 599 rc = digital_in_send_atr_req(ddev, target, comm_mode, gb, gb_len); in digital_dep_link_up() 619 struct nfc_target *target, __u32 protocol) in digital_activate_target() 624 pr_err("Can't activate a target while polling\n"); in digital_activate_target() 629 pr_err("A target is already active\n"); in digital_activate_target() 639 struct nfc_target *target, in digital_deactivate_target() 309 digital_target_found(struct nfc_digital_dev *ddev, struct nfc_target *target, u8 protocol) digital_target_found() argument 592 digital_dep_link_up(struct nfc_dev *nfc_dev, struct nfc_target *target, __u8 comm_mode, __u8 *gb, size_t gb_len) digital_dep_link_up() argument 618 digital_activate_target(struct nfc_dev *nfc_dev, struct nfc_target *target, __u32 protocol) digital_activate_target() argument 638 digital_deactivate_target(struct nfc_dev *nfc_dev, struct nfc_target *target, u8 mode) digital_deactivate_target() argument 698 digital_in_send(struct nfc_dev *nfc_dev, struct nfc_target *target, struct sk_buff *skb, data_exchange_cb_t cb, void *cb_context) digital_in_send() argument [all...] |
/kernel/linux/linux-5.10/sound/soc/codecs/ |
H A D | wm8955.c | 147 unsigned int K, Ndiv, Nmod, target; in wm8955_pll_factors() local 154 * is sortd so we should always generate a suitable target. */ in wm8955_pll_factors() 155 target = Fout * 4; in wm8955_pll_factors() 156 if (target < 90000000) { in wm8955_pll_factors() 158 target *= 2; in wm8955_pll_factors() 163 WARN_ON(target < 90000000 || target > 100000000); in wm8955_pll_factors() 165 dev_dbg(dev, "Fvco=%dHz\n", target); in wm8955_pll_factors() 168 Ndiv = target / Fref; in wm8955_pll_factors() 171 Nmod = target in wm8955_pll_factors() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/ |
H A D | oaktrail_crtc.c | 37 struct drm_crtc *crtc, int target, 41 struct drm_crtc *crtc, int target, 124 struct drm_crtc *crtc, int target, in mrst_sdvo_find_best_pll() 141 target_vco = target * clock.p; in mrst_sdvo_find_best_pll() 153 ((target * 10000) / actual_freq); in mrst_sdvo_find_best_pll() 178 * Returns a set of divisors for the desired target clock with the given refclk, 182 struct drm_crtc *crtc, int target, in mrst_lvds_find_best_pll() 186 int err = target; in mrst_lvds_find_best_pll() 198 this_err = abs(clock.dot - target); in mrst_lvds_find_best_pll() 205 return err != target; in mrst_lvds_find_best_pll() 123 mrst_sdvo_find_best_pll(const struct gma_limit_t *limit, struct drm_crtc *crtc, int target, int refclk, struct gma_clock_t *best_clock) mrst_sdvo_find_best_pll() argument 181 mrst_lvds_find_best_pll(const struct gma_limit_t *limit, struct drm_crtc *crtc, int target, int refclk, struct gma_clock_t *best_clock) mrst_lvds_find_best_pll() argument [all...] |
/kernel/linux/linux-6.6/fs/smb/client/ |
H A D | dfs.c | 13 * dfs_parse_target_referral - set fs context for dfs target referral 332 const char *target) in update_server_fullpath() 335 size_t len = strlen(target); in update_server_fullpath() 338 if (unlikely(len < 2 || *target != '\\')) in update_server_fullpath() 341 if (target[1] == '\\') { in update_server_fullpath() 347 scnprintf(refpath, len, "%s", target); in update_server_fullpath() 354 scnprintf(refpath, len, "\\%s", target); in update_server_fullpath() 391 cifs_dbg(VFS, "%s: failed to match target ip: %d\n", __func__, rc); in target_share_matches_server() 465 const char *target = dfs_cache_get_tgt_name(tit); in __tree_connect_dfs_target() local 475 cifs_dbg(VFS, "%s: failed to parse target shar in __tree_connect_dfs_target() 331 update_server_fullpath(struct TCP_Server_Info *server, struct cifs_sb_info *cifs_sb, const char *target) update_server_fullpath() argument [all...] |
/kernel/linux/linux-6.6/drivers/remoteproc/ |
H A D | qcom_sysmon.c | 500 struct qcom_sysmon *target; in sysmon_start() local 513 list_for_each_entry(target, &sysmon_list, node) { in sysmon_start() 514 mutex_lock(&target->state_lock); in sysmon_start() 515 if (target == sysmon || target->state != SSCTL_SSR_EVENT_AFTER_POWERUP) { in sysmon_start() 516 mutex_unlock(&target->state_lock); in sysmon_start() 520 event.subsys_name = target->name; in sysmon_start() 521 event.ssr_event = target->state; in sysmon_start() 527 mutex_unlock(&target->state_lock); in sysmon_start() 580 * sysmon_notify() - notify sysmon target o [all...] |
/kernel/linux/linux-6.6/arch/x86/events/ |
H A D | rapl.c | 550 int target; in rapl_cpu_offline() local 558 target = cpumask_any_but(topology_die_cpumask(cpu), cpu); in rapl_cpu_offline() 560 /* Migrate rapl events to the new target */ in rapl_cpu_offline() 561 if (target < nr_cpu_ids) { in rapl_cpu_offline() 562 cpumask_set_cpu(target, &rapl_cpu_mask); in rapl_cpu_offline() 563 pmu->cpu = target; in rapl_cpu_offline() 564 perf_pmu_migrate_context(pmu->pmu, cpu, target); in rapl_cpu_offline() 572 int target; in rapl_cpu_online() local 592 target = cpumask_any_and(&rapl_cpu_mask, topology_die_cpumask(cpu)); in rapl_cpu_online() 593 if (target < nr_cpu_id in rapl_cpu_online() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/gma500/ |
H A D | oaktrail_crtc.c | 40 struct drm_crtc *crtc, int target, 44 struct drm_crtc *crtc, int target, 127 struct drm_crtc *crtc, int target, in mrst_sdvo_find_best_pll() 144 target_vco = target * clock.p; in mrst_sdvo_find_best_pll() 156 ((target * 10000) / actual_freq); in mrst_sdvo_find_best_pll() 181 * Returns a set of divisors for the desired target clock with the given refclk, 185 struct drm_crtc *crtc, int target, in mrst_lvds_find_best_pll() 189 int err = target; in mrst_lvds_find_best_pll() 201 this_err = abs(clock.dot - target); in mrst_lvds_find_best_pll() 208 return err != target; in mrst_lvds_find_best_pll() 126 mrst_sdvo_find_best_pll(const struct gma_limit_t *limit, struct drm_crtc *crtc, int target, int refclk, struct gma_clock_t *best_clock) mrst_sdvo_find_best_pll() argument 184 mrst_lvds_find_best_pll(const struct gma_limit_t *limit, struct drm_crtc *crtc, int target, int refclk, struct gma_clock_t *best_clock) mrst_lvds_find_best_pll() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/host1x/ |
H A D | job.c | 158 reloc->target.bo = host1x_bo_get(reloc->target.bo); in pin_job() 159 if (!reloc->target.bo) { in pin_job() 164 bo = reloc->target.bo; in pin_job() 289 reloc->target.offset) >> reloc->shift; in do_relocs() 290 u32 *target; in do_relocs() local 297 target = (u32 *)job->gather_copy_mapped + in do_relocs() 312 target = cmdbuf_addr + reloc->cmdbuf.offset; in do_relocs() 314 *target = reloc_addr; in do_relocs()
|
/kernel/linux/linux-6.6/net/nfc/ |
H A D | digital_core.c | 310 struct nfc_target *target, u8 protocol) in digital_target_found() 391 target->supported_protocols = (1 << protocol); in digital_target_found() 396 rc = nfc_targets_found(ddev->nfc_dev, target, 1); in digital_target_found() 499 pr_err("A target is already active\n"); in digital_start_poll() 596 struct nfc_target *target, in digital_dep_link_up() 602 rc = digital_in_send_atr_req(ddev, target, comm_mode, gb, gb_len); in digital_dep_link_up() 622 struct nfc_target *target, __u32 protocol) in digital_activate_target() 627 pr_err("Can't activate a target while polling\n"); in digital_activate_target() 632 pr_err("A target is already active\n"); in digital_activate_target() 642 struct nfc_target *target, in digital_deactivate_target() 309 digital_target_found(struct nfc_digital_dev *ddev, struct nfc_target *target, u8 protocol) digital_target_found() argument 595 digital_dep_link_up(struct nfc_dev *nfc_dev, struct nfc_target *target, __u8 comm_mode, __u8 *gb, size_t gb_len) digital_dep_link_up() argument 621 digital_activate_target(struct nfc_dev *nfc_dev, struct nfc_target *target, __u32 protocol) digital_activate_target() argument 641 digital_deactivate_target(struct nfc_dev *nfc_dev, struct nfc_target *target, u8 mode) digital_deactivate_target() argument 701 digital_in_send(struct nfc_dev *nfc_dev, struct nfc_target *target, struct sk_buff *skb, data_exchange_cb_t cb, void *cb_context) digital_in_send() argument [all...] |
/kernel/linux/linux-6.6/security/selinux/ss/ |
H A D | sidtab.c | 321 struct sidtab *target = convert->target; in sidtab_context_to_sid() local 324 dst_convert = sidtab_do_lookup(target, count, 1); in sidtab_context_to_sid() 339 target->count = count + 1; in sidtab_context_to_sid() 341 hash_add_rcu(target->context_to_sid, in sidtab_context_to_sid() 443 rc = sidtab_do_lookup(params->target, count - 1, 1) ? 0 : -ENOMEM; in sidtab_convert() 450 params->target->count = count; in sidtab_convert() 462 rc = sidtab_convert_tree(¶ms->target->roots[level], in sidtab_convert() 476 sidtab_convert_hashtable(params->target, count); in sidtab_convert()
|
/kernel/linux/linux-6.6/sound/soc/codecs/ |
H A D | wm8955.c | 147 unsigned int K, Ndiv, Nmod, target; in wm8955_pll_factors() local 154 * is sortd so we should always generate a suitable target. */ in wm8955_pll_factors() 155 target = Fout * 4; in wm8955_pll_factors() 156 if (target < 90000000) { in wm8955_pll_factors() 158 target *= 2; in wm8955_pll_factors() 163 WARN_ON(target < 90000000 || target > 100000000); in wm8955_pll_factors() 165 dev_dbg(dev, "Fvco=%dHz\n", target); in wm8955_pll_factors() 168 Ndiv = target / Fref; in wm8955_pll_factors() 171 Nmod = target in wm8955_pll_factors() [all...] |
/test/xts/tools/build/ |
H A D | suite.py | 166 # remove the extra output of target "java_prebuilt" 313 def _copy_file(self, source, target): 314 if not os.path.exists(os.path.dirname(target)): 315 os.makedirs(os.path.dirname(target)) 316 if not os.path.exists(target) or ( 317 os.path.exists(target) and 318 (os.stat(target).st_mtime != os.stat(source).st_mtime)): 319 print('Trying to copy "%s" to "%s"' % (source, target)) 320 subprocess.call(["rm", "-rf", target]) 321 subprocess.call(["cp", "-rf", source, target]) [all...] |
/third_party/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_state_sampler.c | 53 if (res->target == PIPE_BUFFER) { in svga_resource_handle() 92 * Check if there are any resources that are both bound to a render target 139 enum pipe_texture_target target = sv->base.target; in svga_validate_pipe_sampler_view() local 153 if (target == PIPE_BUFFER) { in svga_validate_pipe_sampler_view() 155 assert(texture->target == PIPE_BUFFER); in svga_validate_pipe_sampler_view() 173 if (target == PIPE_BUFFER) { in svga_validate_pipe_sampler_view() 193 (target == PIPE_TEXTURE_3D || target == PIPE_BUFFER) ? 1 : in svga_validate_pipe_sampler_view() 196 switch (target) { in svga_validate_pipe_sampler_view() [all...] |
/third_party/node/src/ |
H A D | node_blob.cc | 36 Local<Object> target, in Initialize() 43 realm->AddBindingData<BlobBindingData>(context, target); in Initialize() 46 SetMethod(context, target, "createBlob", New); in Initialize() 47 SetMethod(context, target, "storeDataObject", StoreDataObject); in Initialize() 48 SetMethod(context, target, "getDataObject", GetDataObject); in Initialize() 49 SetMethod(context, target, "revokeDataObject", RevokeDataObject); in Initialize() 50 FixedSizeBlobCopyJob::Initialize(realm->env(), target); in Initialize() 360 void FixedSizeBlobCopyJob::Initialize(Environment* env, Local<Object> target) { in Initialize() argument 367 SetConstructorFunction(env->context(), target, "FixedSizeBlobCopyJob", job); in Initialize() 35 Initialize( Local<Object> target, Local<Value> unused, Local<Context> context, void* priv) Initialize() argument
|
/third_party/lwip/src/include/lwip/ |
H A D | ip_addr.h | 194 #define ip_addr_get_network(target, host, netmask) do{if(IP_IS_V6(host)){ \ 195 ip4_addr_set_zero(ip_2_ip4(target)); IP_SET_TYPE(target, IPADDR_TYPE_V6); } else { \ 196 ip4_addr_get_network(ip_2_ip4(target), ip_2_ip4(host), ip_2_ip4(netmask)); IP_SET_TYPE(target, IPADDR_TYPE_V4); }}while(0) 297 #define ip_addr_get_network(target, host, mask) ip4_addr_get_network(target, host, mask) 344 #define ip_addr_get_network(target, host, mask) ip6_addr_set_zero(target)
|
/third_party/skia/third_party/externals/freetype/src/pshinter/ |
H A D | pshglob.c | 139 psh_blues_set_zones_0( PSH_Blues target, in psh_blues_set_zones_0() argument 150 FT_UNUSED( target ); in psh_blues_set_zones_0() 161 /* read blue zone entry, and select target top/bottom zone */ in psh_blues_set_zones_0() 234 psh_blues_set_zones( PSH_Blues target, in psh_blues_set_zones() argument 248 top_table = &target->family_top; in psh_blues_set_zones() 249 bot_table = &target->family_bottom; in psh_blues_set_zones() 253 top_table = &target->normal_top; in psh_blues_set_zones() 254 bot_table = &target->normal_bottom; in psh_blues_set_zones() 263 psh_blues_set_zones_0( target, 0, in psh_blues_set_zones() 265 psh_blues_set_zones_0( target, in psh_blues_set_zones() [all...] |
/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/ |
H A D | mesh_builder.cpp | 1083 // vertexCount * uint32_t * morphTargetCount, index/indexOffset to sparse target data in CalculateSizes() 1085 // vertexCount * MorphInputData * morphTargetCount, target data in CalculateSizes() 1296 // 32bit index/offset for each vertex in each morph target in SetMorphTargetData() 1301 // Data struct (pos, nor, tan) for each vertex. total amount is target size for each target data and one in SetMorphTargetData() 1344 // Actual buffer size based on the offset and size of the last morph target. in SetMorphTargetData() 1744 auto target = startTarget; in GatherDeltasP() local 1746 // for each vertex in target check that position, normal and tangent deltas are non-zero. in GatherDeltasP() 1758 target->pos = Math::Vec4(pos, static_cast<float>(vertex)); in GatherDeltasP() 1759 ++target; in GatherDeltasP() 1770 auto target = startTarget; GatherDeltasP() local 1836 auto target = startTarget; GatherDeltasPN() local 1870 auto target = startTarget; GatherDeltasPN() local 1966 auto target = startTarget; GatherDeltasPNT() local 2005 auto target = startTarget; GatherDeltasPNT() local [all...] |
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | probe-event.c | 176 struct map *get_target_map(const char *target, struct nsinfo *nsi, bool user) in get_target_map() argument 182 map = dso__new_map(target); in get_target_map() 189 return kernel_get_module_map(target); in get_target_map() 369 const char *target, struct nsinfo *nsi, in find_alternative_probe_point() 381 map = get_target_map(target, nsi, uprobes); in find_alternative_probe_point() 429 ret = find_alternative_probe_point(dinfo, tmp, &pev->point, pev->target, in get_alternative_probe_event() 439 const char *target, bool user) in get_alternative_line_range() 452 target, NULL, user); in get_alternative_line_range() 817 /* Skip post process if the target is an offline kernel */ in post_process_kernel_probe_trace_events() 899 dinfo = open_debuginfo(pev->target, pe in try_to_find_probe_trace_events() 366 find_alternative_probe_point(struct debuginfo *dinfo, struct perf_probe_point *pp, struct perf_probe_point *result, const char *target, struct nsinfo *nsi, bool uprobes) find_alternative_probe_point() argument 437 get_alternative_line_range(struct debuginfo *dinfo, struct line_range *lr, const char *target, bool user) get_alternative_line_range() argument 3280 find_cached_events(struct perf_probe_event *pev, struct probe_trace_event **tevs, const char *target) find_cached_events() argument 3608 show_available_funcs(const char *target, struct nsinfo *nsi, struct strfilter *_filter, bool user) show_available_funcs() argument [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/cbb/ |
H A D | Makefile | 22 target = base sys macro 42 target += vo_dev 53 target_clean = $(patsubst %,%_clean,$(target)) 57 all: $(target)
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/display_sync/ |
H A D | ui_display_sync_manager.cpp | 209 int32_t UIDisplaySyncManager::FindMatchedRefreshRate(int32_t target) in FindMatchedRefreshRate() argument 211 auto it = std::lower_bound(refreshRateFactors_.begin(), refreshRateFactors_.end(), target); in FindMatchedRefreshRate() 217 return std::abs(*it - target) < std::abs(*(it - 1) - target) ? *it : *(it - 1); in FindMatchedRefreshRate()
|
/foundation/communication/ipc/ipc/test/unittest/rpc/samgr/ |
H A D | RpcSamgrTest.cpp | 228 SvcIdentity target = { in HWTEST_F() local 233 int32_t ret = SetContextObject(target); in HWTEST_F() 253 SvcIdentity target = { in HWTEST_F() local 258 if (SetContextObject(target) != ERR_NONE) { in HWTEST_F()
|
/foundation/distributeddatamgr/relational_store/test/native/appdatafwk/unittest/ |
H A D | serializable_test.cpp | 109 static inline bool EqualPtr(const T *src, const T *target) in EqualPtr() argument 111 return (((src) == (target)) || ((src) != nullptr && (target) != nullptr && *(src) == *(target))); in EqualPtr()
|