| /third_party/skia/third_party/externals/icu/source/i18n/ |
| H A D | decNumber.cpp | 2898 ideal=(rhs->exponent&~1)/2; /* target */ in uprv_decNumberSquareRoot() 3377 /* dest is the target decNumber */ 3514 /* dn is the target decNumber */ 3525 Unit *up=dn->lsu+D2U(dn->digits)-1; /* -> msu [target pointer] */ in uprv_decNumberSetBCD() 4288 Unit *target; /* work */ in decDivideOp() local 4482 for (target=msu1; source>=lhs->lsu; source--, target--) *target=*source; in decDivideOp() 4483 for (; target>=var1; target in decDivideOp() 6732 Unit *target, *source, *first; /* work */ global() local 6788 Unit *target, *up; /* work */ global() local 6940 Unit *target; /* .. */ global() local [all...] |
| /third_party/backends/sanei/ |
| H A D | sanei_scsi.c | 358 int scsi_id; /* scsi id of target device */ 428 u_int bus, target, lun; /* nexus info; used for some interfaces only */ member 660 PSRBlock->u.dev.target = id; /* target id */ in open_aspi() 662 PSRBlock->u.dev.lun = 0; /* target LUN */ in open_aspi() 684 PSRBlock->u.cmd.target = id; /* Target SCSI ID */ in open_aspi() 707 PSRBlock->u.cmd.target = id; /* Target SCSI ID */ in open_aspi() 870 u_int bus = 0, target = 0, lun = 0, fake_fd = 0; in sanei_scsi_open_extended() local 937 if (sscanf (dev, "b%ut%ul%u", &bus, &target, &lun) != 3) in sanei_scsi_open_extended() 958 if (sscanf (dev, "b%dt%dl%d", &bus, &target, in sanei_scsi_open_extended() 4079 get_devicename(int bus, int target, int lun, char *name, size_t name_len) get_devicename() argument [all...] |
| /third_party/python/Lib/test/ |
| H A D | test_zipfile.py | 1524 def _test_extract_with_target(self, target): 1528 writtenfile = zipfp.extract(fpath, target) 1531 correctfile = os.path.join(target, fpath) 1533 self.assertTrue(os.path.samefile(writtenfile, correctfile), (writtenfile, target)) 1564 def _test_extract_all_with_target(self, target): 1567 zipfp.extractall(target) 1569 outfile = os.path.join(target, fpath) 1657 targetpath = os.path.join('target', 'subdir', 'subsub') 1666 rmtree('target') 1671 rmtree('target') [all...] |
| /kernel/linux/linux-5.10/arch/sparc/mm/ |
| H A D | init_64.c | 1114 u64 target = mdesc_arc_target(md, arc); in scan_pio_for_cfg_handle() local 1117 val = mdesc_get_property(md, target, in scan_pio_for_cfg_handle() 1132 u64 target = mdesc_arc_target(md, arc); in scan_arcs_for_cfg_handle() local 1133 const char *name = mdesc_node_name(md, target); in scan_arcs_for_cfg_handle() 1139 val = mdesc_get_property(md, target, "latency", NULL); in scan_arcs_for_cfg_handle() 1144 candidate = target; in scan_arcs_for_cfg_handle() 1317 u64 target = mdesc_arc_target(md, arc); in numa_parse_mdesc_group_cpus() local 1318 const char *name = mdesc_node_name(md, target); in numa_parse_mdesc_group_cpus() 1323 id = mdesc_get_property(md, target, "id", NULL); in numa_parse_mdesc_group_cpus() 1372 u64 target in find_numa_latencies_for_group() local 1392 u64 target = mdesc_arc_target(md, arc); numa_attach_mlgroup() local [all...] |
| /kernel/linux/linux-5.10/drivers/cpufreq/ |
| H A D | intel_pstate.c | 163 * This data is used in Atom platforms, where in addition to target P state, 751 * target CPU before the EPP update and restarted after it, in store_energy_performance_preference() 1915 int target, avg_pstate; in get_target_pstate() local 1925 target = global.no_turbo || global.turbo_disabled ? in get_target_pstate() 1927 target += target >> 2; in get_target_pstate() 1928 target = mul_fp(target, busy_frac); in get_target_pstate() 1929 if (target < cpu->pstate.min_pstate) in get_target_pstate() 1930 target in get_target_pstate() [all...] |
| /kernel/linux/linux-6.6/arch/sparc/mm/ |
| H A D | init_64.c | 1130 u64 target = mdesc_arc_target(md, arc); in scan_pio_for_cfg_handle() local 1133 val = mdesc_get_property(md, target, in scan_pio_for_cfg_handle() 1148 u64 target = mdesc_arc_target(md, arc); in scan_arcs_for_cfg_handle() local 1149 const char *name = mdesc_node_name(md, target); in scan_arcs_for_cfg_handle() 1155 val = mdesc_get_property(md, target, "latency", NULL); in scan_arcs_for_cfg_handle() 1160 candidate = target; in scan_arcs_for_cfg_handle() 1333 u64 target = mdesc_arc_target(md, arc); in numa_parse_mdesc_group_cpus() local 1334 const char *name = mdesc_node_name(md, target); in numa_parse_mdesc_group_cpus() 1339 id = mdesc_get_property(md, target, "id", NULL); in numa_parse_mdesc_group_cpus() 1388 u64 target in find_numa_latencies_for_group() local 1408 u64 target = mdesc_arc_target(md, arc); numa_attach_mlgroup() local [all...] |
| /kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/ |
| H A D | mr.c | 293 static int resize_available_mrs(struct mlx5_cache_ent *ent, unsigned int target, in resize_available_mrs() argument 302 target = ent->limit * 2; in resize_available_mrs() 303 if (target == ent->available_mrs + ent->pending) in resize_available_mrs() 305 if (target > ent->available_mrs + ent->pending) { in resize_available_mrs() 306 u32 todo = target - (ent->available_mrs + ent->pending); in resize_available_mrs() 328 u32 target; in size_write() local 331 err = kstrtou32_from_user(buf, count, 0, &target); in size_write() 337 * cannot free MRs that are in use. Compute the target value for in size_write() 341 if (target < ent->total_mrs - ent->available_mrs) { in size_write() 345 target in size_write() [all...] |
| /kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/ |
| H A D | i915_gem_execbuffer.c | 138 * all the target addresses in all of its objects match the value in the 193 * by comparing the expected value inside the relocation entry with the target's 978 const struct i915_vma *target) in relocation_target() 980 return gen8_canonical_addr((int)reloc->delta + target->node.start); in relocation_target() 1540 const struct i915_vma *target) in relocate_entry() 1542 u64 target_addr = relocation_target(reloc, target); in relocate_entry() 1572 return target->node.start | UPDATE; in relocate_entry() 1581 struct eb_vma *target; in eb_relocate_entry() local 1585 target = eb_get_vma(eb, reloc->target_handle); in eb_relocate_entry() 1586 if (unlikely(!target)) in eb_relocate_entry() 977 relocation_target(const struct drm_i915_gem_relocation_entry *reloc, const struct i915_vma *target) relocation_target() argument 1537 relocate_entry(struct i915_vma *vma, const struct drm_i915_gem_relocation_entry *reloc, struct i915_execbuffer *eb, const struct i915_vma *target) relocate_entry() argument [all...] |
| /kernel/linux/linux-6.6/fs/gfs2/ |
| H A D | glock.c | 63 static void do_xmote(struct gfs2_glock *gl, struct gfs2_holder *gh, unsigned int target); 665 * @target: The target lock state 670 unsigned int target) 679 if (target != LM_ST_UNLOCKED && glock_blocked_by_withdraw(gl) && 684 GLOCK_BUG_ON(gl, gl->gl_state == target); 686 if ((target == LM_ST_UNLOCKED || target == LM_ST_DEFERRED) && 698 gl->gl_req = target; 733 glops->go_inval(gl, target [all...] |
| /kernel/linux/linux-6.6/drivers/cpufreq/ |
| H A D | intel_pstate.c | 158 * This data is used in Atom platforms, where in addition to target P state, 869 * target CPU before the EPP update and restarted after it, in store_energy_performance_preference() 2258 int target, avg_pstate; in get_target_pstate() local 2268 target = global.no_turbo || global.turbo_disabled ? in get_target_pstate() 2270 target += target >> 2; in get_target_pstate() 2271 target = mul_fp(target, busy_frac); in get_target_pstate() 2272 if (target < cpu->pstate.min_pstate) in get_target_pstate() 2273 target in get_target_pstate() [all...] |
| /kernel/linux/linux-6.6/drivers/infiniband/hw/mlx5/ |
| H A D | mr.c | 395 static int resize_available_mrs(struct mlx5_cache_ent *ent, unsigned int target, 405 target = ent->limit * 2; 406 if (target == ent->reserved) 408 if (target > ent->reserved) { 409 u32 todo = target - ent->reserved; 431 u32 target; in size_write() local 434 err = kstrtou32_from_user(buf, count, 0, &target); in size_write() 440 * cannot free MRs that are in use. Compute the target value for stored in size_write() 444 if (target < ent->in_use) { in size_write() 448 target in size_write() [all...] |
| /third_party/glfw/src/ |
| H A D | win32_window.c | 109 unsigned char* target = NULL; in createIcon() local 128 (void**) &target, in createIcon() 151 target[0] = source[2]; in createIcon() 152 target[1] = source[1]; in createIcon() 153 target[2] = source[0]; in createIcon() 154 target[3] = source[3]; in createIcon() 155 target += 4; in createIcon() 1181 RECT source = {0}, target = {0}; in windowProc() local 1187 AdjustWindowRectExForDpi(&target, getWindowStyle(window), in windowProc() 1191 size->cx += (target in windowProc() [all...] |
| /third_party/icu/icu4c/source/test/cintltst/ |
| H A D | ncnvtst.c | 1780 UChar *target, *targetLimit; in doTestTruncated() local 1801 target=buffer; in doTestTruncated() 1805 ucnv_toUnicode(cnv, &target, targetLimit, &source, sourceLimit, NULL, false, &errorCode); in doTestTruncated() 1806 if(U_FAILURE(errorCode) || source!=sourceLimit || target!=buffer) { in doTestTruncated() 1808 cnvName, length, u_errorName(errorCode), (int)(sourceLimit-source), (int)(target-buffer)); in doTestTruncated() 1813 target=buffer; in doTestTruncated() 1814 ucnv_toUnicode(cnv, &target, targetLimit, &source, sourceLimit, NULL, true, &errorCode); in doTestTruncated() 1815 if(errorCode!=U_TRUNCATED_CHAR_FOUND || target!=buffer) { in doTestTruncated() 1817 cnvName, (int)length, u_errorName(errorCode), (int)(target-buffer)); in doTestTruncated() 1825 target in doTestTruncated() [all...] |
| /third_party/node/deps/v8/src/diagnostics/ |
| H A D | objects-debug.cc | 1243 CHECK(target().IsUndefined(isolate) || target().CanBeHeldWeakly()); in WeakCellVerify() 1271 CHECK(target().IsUndefined(isolate) || target().CanBeHeldWeakly()); in JSWeakRefVerify() 1573 CHECK_EQ(target().IsCallable(), map().is_callable()); in JSProxyVerify() 1574 CHECK_EQ(target().IsConstructor(), map().is_constructor()); in JSProxyVerify() 2108 Map target = GetTarget(i); in IsSortedNoDuplicates() local 2110 TransitionsAccessor::GetTargetDetails(key, target); in IsSortedNoDuplicates() 2138 static bool CheckOneBackPointer(Map current_map, Object target) { in CheckOneBackPointer() argument 2139 return !target in CheckOneBackPointer() 2145 Map target = GetTarget(i); IsConsistentWithBackPointers() local [all...] |
| /third_party/skia/src/effects/imagefilters/ |
| H A D | SkLightingImageFilter.cpp | 984 const SkPoint3& target, in SkSpotLight() 990 fTarget(target), in SkSpotLight() 993 fS = target - location; in SkSpotLight() 1013 SkPoint3 target = SkPoint3::Make(target2.fX, target2.fY, variable 1015 SkPoint3 s = target - location; 1018 target, 1055 const SkPoint3& target() const { return fTarget; } in target() function in __anon18763::SkSpotLight 1077 const SkPoint3& target, in SkSpotLight() 1086 fTarget(target), in SkSpotLight() 1176 const SkPoint3& location, const SkPoint3& target, SkScala in SpotLitDiffuse() 983 SkSpotLight(const SkPoint3& location, const SkPoint3& target, SkScalar specularExponent, SkScalar cutoffAngle, SkColor color) SkSpotLight() argument 1076 SkSpotLight(const SkPoint3& location, const SkPoint3& target, SkScalar specularExponent, SkScalar cosOuterConeAngle, SkScalar cosInnerConeAngle, SkScalar coneScale, const SkPoint3& s, const SkPoint3& color) SkSpotLight() argument 1175 SpotLitDiffuse( const SkPoint3& location, const SkPoint3& target, SkScalar falloffExponent, SkScalar cutoffAngle, SkColor lightColor, SkScalar surfaceScale, SkScalar kd, sk_sp<SkImageFilter> input, const CropRect& cropRect) SpotLitDiffuse() argument 1201 SpotLitSpecular( const SkPoint3& location, const SkPoint3& target, SkScalar falloffExponent, SkScalar cutoffAngle, SkColor lightColor, SkScalar surfaceScale, SkScalar ks, SkScalar shininess, sk_sp<SkImageFilter> input, const CropRect& cropRect) SpotLitSpecular() argument [all...] |
| /base/inputmethod/imf/services/src/ |
| H A D | input_method_system_ability.cpp | 779 ImeIdentification target = { bundleName, subName }; in IsNeedSwitch() local 780 return !(target == InputTypeManager::GetInstance().GetCurrentIme()); in IsNeedSwitch() 1266 auto target = ImeInfoInquirer::GetInstance().FindTargetSubtypeByCondition(info->subProps, condition); in SwitchMode() local 1267 if (target == nullptr) { in SwitchMode() 1268 IMSA_HILOGE("target is empty!"); in SwitchMode() 1271 SwitchInfo switchInfo = { std::chrono::system_clock::now(), target->name, target->id }; in SwitchMode() 1298 auto target = ImeInfoInquirer::GetInstance().FindTargetSubtypeByCondition(info->subProps, condition); in SwitchLanguage() local 1299 if (target == nullptr) { in SwitchLanguage() 1300 IMSA_HILOGE("target i in SwitchLanguage() [all...] |
| /foundation/resourceschedule/background_task_mgr/services/continuous_task/src/ |
| H A D | bg_continuous_task_mgr.cpp | 267 auto findPid = [pid](const auto &target) {
in checkPidCondition() 268 return pid == target.pid_;
in checkPidCondition() 278 auto findLabel = [label](const auto &target) {
in checkNotificationCondition() 279 return label == target;
in checkNotificationCondition() 657 auto target = taskParam->wantAgent_->GetPendingWant()->GetTarget();
in StartBackgroundRunning() local 658 auto want = taskParam->wantAgent_->GetPendingWant()->GetWant(target);
in StartBackgroundRunning() 1010 auto findSuscriber = [&remoteObj](const auto& target) {
in AddSubscriberInner() 1011 return remoteObj == target->AsObject();
in AddSubscriberInner() 1016 BGTASK_LOGW("target subscriber already exist");
in AddSubscriberInner() 1495 auto findUid = [uid](const auto &target) {
in HandleAppContinuousTaskStop() [all...] |
| /foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/cloud/ |
| H A D | cloud_syncer_extend.cpp | 875 const auto &target = cloudTaskInfos_[targetId]; in MergeTaskTablesIfConsistent() local 878 if (std::find(target.table.begin(), target.table.end(), table) == target.table.end()) { // LCOV_EXCL_BR_LINE in MergeTaskTablesIfConsistent() 902 std::pair<TaskId, TaskId> CloudSyncer::SwapTwoTaskAndCopyTable(TaskId source, TaskId target) in SwapTwoTaskAndCopyTable() argument 904 cloudTaskInfos_[source].table = cloudTaskInfos_[target].table; in SwapTwoTaskAndCopyTable() 905 cloudTaskInfos_[source].queryList = cloudTaskInfos_[target].queryList; in SwapTwoTaskAndCopyTable() 908 users.insert(cloudTaskInfos_[target].users.begin(), cloudTaskInfos_[target].users.end()); in SwapTwoTaskAndCopyTable() 910 return {target, sourc in SwapTwoTaskAndCopyTable() [all...] |
| /kernel/linux/linux-5.10/drivers/scsi/ |
| H A D | ipr.h | 332 u8 target; member 335 (((res_addr).bus << 16) | ((res_addr).target << 8) | (res_addr).lun) 1298 u32 target; /* AKA id */ member 1306 (((res)->bus << 24) | ((res)->target << 8) | (res)->lun) 1492 * Bitmaps for SIS64 generated target values 1782 #define ipr_res_printk(level, ioa_cfg, bus, target, lun, fmt, ...) \ 1784 bus, target, lun, ##__VA_ARGS__) 1787 ipr_res_printk(KERN_ERR, ioa_cfg, (res)->bus, (res)->target, (res)->lun, fmt, ##__VA_ARGS__) 1791 (ra).bus, (ra).target, (ra).lun, ##__VA_ARGS__) 1803 (res).bus, (res).target, (re [all...] |
| /kernel/linux/linux-5.10/drivers/staging/rtl8712/ |
| H A D | rtl871x_mlme.c | 333 struct wlan_bssid_ex *target) in update_scanned_network() 351 if (is_same_network(&pnetwork->network, target)) in update_scanned_network() 369 target->Rssi = (pnetwork->network.Rssi + in update_scanned_network() 370 target->Rssi) / 2; in update_scanned_network() 371 memcpy(&pnetwork->network, target, in update_scanned_network() 372 r8712_get_wlan_bssid_ex_sz(target)); in update_scanned_network() 380 bssid_ex_sz = r8712_get_wlan_bssid_ex_sz(target); in update_scanned_network() 381 target->Length = bssid_ex_sz; in update_scanned_network() 382 memcpy(&pnetwork->network, target, bssid_ex_sz); in update_scanned_network() 391 update_network(&pnetwork->network, target, adapte in update_scanned_network() 332 update_scanned_network(struct _adapter *adapter, struct wlan_bssid_ex *target) update_scanned_network() argument [all...] |
| /kernel/linux/linux-5.10/security/apparmor/ |
| H A D | apparmorfs.c | 101 * @target: buffer to store mangled name, same length as @name (MAYBE NULL) 105 static int mangle_name(const char *name, char *target) in mangle_name() argument 107 char *t = target; in mangle_name() 112 if (target) { in mangle_name() 134 return t - target; in mangle_name() 207 * @link: if symlink, symlink target string 252 * @link: if symlink, symlink target string 1613 char *target; in rawdata_get_link_base() local 1622 target = gen_symlink_name(depth, profile->rawdata->name, name); in rawdata_get_link_base() 1625 if (IS_ERR(target)) in rawdata_get_link_base() [all...] |
| /kernel/linux/linux-5.10/net/appletalk/ |
| H A D | ddp.c | 424 static struct atalk_route *atrtr_find(struct atalk_addr *target) in atrtr_find() argument 439 if (r->target.s_net == target->s_net) { in atrtr_find() 442 * if this host route is for the target, in atrtr_find() 445 if (r->target.s_node == target->s_node) in atrtr_find() 520 if (ta->sat_addr.s_net == rt->target.s_net) { in atrtr_create() 523 if (ta->sat_addr.s_node == rt->target.s_node) in atrtr_create() 565 rt->target = ta->sat_addr; in atrtr_create() 587 if (tmp->target in atrtr_delete() [all...] |
| /kernel/linux/linux-6.6/drivers/staging/rtl8712/ |
| H A D | rtl871x_mlme.c | 332 struct wlan_bssid_ex *target) in update_scanned_network() 350 if (is_same_network(&pnetwork->network, target)) in update_scanned_network() 367 target->Rssi = (pnetwork->network.Rssi + in update_scanned_network() 368 target->Rssi) / 2; in update_scanned_network() 369 memcpy(&pnetwork->network, target, in update_scanned_network() 370 r8712_get_wlan_bssid_ex_sz(target)); in update_scanned_network() 378 bssid_ex_sz = r8712_get_wlan_bssid_ex_sz(target); in update_scanned_network() 379 target->Length = bssid_ex_sz; in update_scanned_network() 380 memcpy(&pnetwork->network, target, bssid_ex_sz); in update_scanned_network() 389 update_network(&pnetwork->network, target, adapte in update_scanned_network() 331 update_scanned_network(struct _adapter *adapter, struct wlan_bssid_ex *target) update_scanned_network() argument [all...] |
| /kernel/linux/linux-6.6/drivers/nvme/target/ |
| H A D | configfs.c | 3 * Configfs interface for the NVMe target. 834 struct config_item *target) in nvmet_port_subsys_allow_link() 841 if (target->ci_type != &nvmet_subsys_type) { in nvmet_port_subsys_allow_link() 845 subsys = to_subsys(target); in nvmet_port_subsys_allow_link() 877 struct config_item *target) in nvmet_port_subsys_drop_link() 880 struct nvmet_subsys *subsys = to_subsys(target); in nvmet_port_subsys_drop_link() 913 struct config_item *target) in nvmet_allowed_hosts_allow_link() 920 if (target->ci_type != &nvmet_host_type) { in nvmet_allowed_hosts_allow_link() 925 host = to_host(target); in nvmet_allowed_hosts_allow_link() 955 struct config_item *target) in nvmet_allowed_hosts_drop_link() 833 nvmet_port_subsys_allow_link(struct config_item *parent, struct config_item *target) nvmet_port_subsys_allow_link() argument 876 nvmet_port_subsys_drop_link(struct config_item *parent, struct config_item *target) nvmet_port_subsys_drop_link() argument 912 nvmet_allowed_hosts_allow_link(struct config_item *parent, struct config_item *target) nvmet_allowed_hosts_allow_link() argument 954 nvmet_allowed_hosts_drop_link(struct config_item *parent, struct config_item *target) nvmet_allowed_hosts_drop_link() argument [all...] |
| /kernel/linux/linux-6.6/security/apparmor/ |
| H A D | apparmorfs.c | 104 * @target: buffer to store mangled name, same length as @name (MAYBE NULL) 108 static int mangle_name(const char *name, char *target) in mangle_name() argument 110 char *t = target; in mangle_name() 115 if (target) { in mangle_name() 137 return t - target; in mangle_name() 210 * @link: if symlink, symlink target string 255 * @link: if symlink, symlink target string 1632 char *target; in rawdata_get_link_base() local 1641 target = gen_symlink_name(depth, profile->rawdata->name, name); in rawdata_get_link_base() 1644 if (IS_ERR(target)) in rawdata_get_link_base() [all...] |