/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/src/communicator/ |
H A D | softbus_adapter_standard.cpp | 157 int32_t res = DistributedSchedule::DmsHandler::GetInstance().GetDSchedEventInfo(
in GetDeviceList() local 159 if (res != ERR_OK) {
in GetDeviceList() 160 LOG_ERROR("Get collaboration events failed, error code = %{public}d", res);
in GetDeviceList() 261 auto res = this->networkId2Uuid_.insert(std::move(value));
in UpdateRelationship() local 262 if (!res.second) {
in UpdateRelationship() 475 int32_t res = Bind(socketId, Qos, QOS_COUNT, &clientListener_);
in CreateClientSocket() local 476 if (res != 0) {
in CreateClientSocket() 478 res, socketId, Anonymous::Change(socketNameAndAppId).c_str(), Anonymous::Change(networkId).c_str());
in CreateClientSocket() 544 int res = Listen(socketServer_, Qos, QOS_COUNT, &serverListener_);
in CreateSessionServerAdapter() local 545 if (res ! in CreateSessionServerAdapter() [all...] |
/kernel/linux/linux-5.10/drivers/mtd/spi-nor/controllers/ |
H A D | aspeed-smc.c | 438 struct resource *res) in aspeed_smc_chip_base() 450 offset = SEGMENT_ADDR_START(reg) - res->start; in aspeed_smc_chip_base() 647 struct resource *res) in aspeed_smc_chip_setup_init() 666 chip->ahb_base = aspeed_smc_chip_base(chip, res); in aspeed_smc_chip_setup_init() 859 struct resource *res; in aspeed_smc_probe() local 878 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in aspeed_smc_probe() 879 controller->regs = devm_ioremap_resource(dev, res); in aspeed_smc_probe() 883 res = platform_get_resource(pdev, IORESOURCE_MEM, 1); in aspeed_smc_probe() 884 controller->ahb_base = devm_ioremap_resource(dev, res); in aspeed_smc_probe() 888 controller->ahb_window_size = resource_size(res); in aspeed_smc_probe() 437 aspeed_smc_chip_base(struct aspeed_smc_chip *chip, struct resource *res) aspeed_smc_chip_base() argument 646 aspeed_smc_chip_setup_init(struct aspeed_smc_chip *chip, struct resource *res) aspeed_smc_chip_setup_init() argument [all...] |
/kernel/linux/linux-5.10/drivers/media/pci/cx18/ |
H A D | cx18-fileops.c | 603 __poll_t res = 0; in cx18_v4l2_enc_poll() local 626 res |= EPOLLPRI; in cx18_v4l2_enc_poll() 628 return res | EPOLLHUP; in cx18_v4l2_enc_poll() 629 return res | videobuf_poll; in cx18_v4l2_enc_poll() 635 res |= EPOLLPRI; in cx18_v4l2_enc_poll() 640 return res | EPOLLIN | EPOLLRDNORM; in cx18_v4l2_enc_poll() 642 return res | EPOLLHUP; in cx18_v4l2_enc_poll() 643 return res; in cx18_v4l2_enc_poll() 831 int res; in cx18_v4l2_open() local 843 res in cx18_v4l2_open() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/emulex/benet/ |
H A D | be.h | 646 struct be_resources res; /* resources available for the func */ member 694 #define be_max_vlans(adapter) (adapter->res.max_vlans) 695 #define be_max_uc(adapter) (adapter->res.max_uc_mac) 696 #define be_max_mc(adapter) (adapter->res.max_mcast_mac) 698 #define be_max_rss(adapter) (adapter->res.max_rss_qs) 699 #define be_max_txqs(adapter) (adapter->res.max_tx_qs) 700 #define be_max_prio_txqs(adapter) (adapter->res.max_prio_tx_qs) 701 #define be_max_rxqs(adapter) (adapter->res.max_rx_qs) 703 #define be_max_func_eqs(adapter) (adapter->res.max_evt_qs) 705 #define be_max_nic_eqs(adapter) (adapter->res [all...] |
/kernel/linux/linux-5.10/sound/soc/ux500/ |
H A D | ux500_msp_i2s.c | 435 int res; in ux500_msp_i2s_open() local 484 res = enable_msp(msp, config); in ux500_msp_i2s_open() 485 if (res < 0) { in ux500_msp_i2s_open() 487 __func__, res); in ux500_msp_i2s_open() 676 struct resource *res = NULL; in ux500_msp_i2s_init_msp() local 702 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in ux500_msp_i2s_init_msp() 703 if (res == NULL) { in ux500_msp_i2s_init_msp() 709 msp->playback_dma_data.tx_rx_addr = res->start + MSP_DR; in ux500_msp_i2s_init_msp() 710 msp->capture_dma_data.tx_rx_addr = res->start + MSP_DR; in ux500_msp_i2s_init_msp() 712 msp->registers = devm_ioremap(&pdev->dev, res in ux500_msp_i2s_init_msp() [all...] |
/kernel/linux/linux-5.10/fs/lockd/ |
H A D | clntproc.c | 79 uint32_t res; in __nlm_alloc_pid() local 81 res = host->h_pidcount++; in __nlm_alloc_pid() 82 } while (nlm_pidbusy(host, res) < 0); in __nlm_alloc_pid() 83 return res; in __nlm_alloc_pid() 99 struct nlm_lockowner *res, *new = NULL; in nlmclnt_find_lockowner() local 102 res = __nlmclnt_find_lockowner(host, owner); in nlmclnt_find_lockowner() 103 if (res == NULL) { in nlmclnt_find_lockowner() 107 res = __nlmclnt_find_lockowner(host, owner); in nlmclnt_find_lockowner() 108 if (res == NULL && new != NULL) { in nlmclnt_find_lockowner() 109 res in nlmclnt_find_lockowner() [all...] |
/kernel/linux/linux-5.10/fs/overlayfs/ |
H A D | copy_up.c | 794 ssize_t res; in ovl_getxattr() local 797 res = vfs_getxattr(dentry, name, NULL, 0); in ovl_getxattr() 798 if (res == -ENODATA || res == -EOPNOTSUPP) in ovl_getxattr() 799 res = 0; in ovl_getxattr() 801 if (res > 0) { in ovl_getxattr() 802 buf = kzalloc(res, GFP_KERNEL); in ovl_getxattr() 806 res = vfs_getxattr(dentry, name, buf, res); in ovl_getxattr() 807 if (res < in ovl_getxattr() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/zte/ |
H A D | zx_vou.c | 767 struct resource *res; in zx_crtc_bind() local 775 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "osd"); in zx_crtc_bind() 776 vou->osd = devm_ioremap_resource(dev, res); in zx_crtc_bind() 783 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "timing_ctrl"); in zx_crtc_bind() 784 vou->timing = devm_ioremap_resource(dev, res); in zx_crtc_bind() 792 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "dtrc"); in zx_crtc_bind() 793 vou->dtrc = devm_ioremap_resource(dev, res); in zx_crtc_bind() 800 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "vou_ctrl"); in zx_crtc_bind() 801 vou->vouctl = devm_ioremap_resource(dev, res); in zx_crtc_bind() 809 res in zx_crtc_bind() [all...] |
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/i2c/ |
H A D | atomisp-gc2235.c | 246 const struct gc2235_resolution *res) in gc2235_get_intg_factor() 270 buf->frame_length_lines = res->lines_per_frame; in gc2235_get_intg_factor() 271 buf->line_length_pck = res->pixels_per_line; in gc2235_get_intg_factor() 272 buf->read_mode = res->bin_mode; in gc2235_get_intg_factor() 345 buf->binning_factor_x = res->bin_factor_x ? in gc2235_get_intg_factor() 346 res->bin_factor_x : 1; in gc2235_get_intg_factor() 347 buf->binning_factor_y = res->bin_factor_y ? in gc2235_get_intg_factor() 348 res->bin_factor_y : 1; in gc2235_get_intg_factor() 674 * @res: resolution 679 * res 244 gc2235_get_intg_factor(struct i2c_client *client, struct camera_mipi_info *info, const struct gc2235_resolution *res) gc2235_get_intg_factor() argument 683 distance(struct gc2235_resolution *res, u32 w, u32 h) distance() argument [all...] |
/kernel/linux/linux-6.6/fs/lockd/ |
H A D | clntproc.c | 82 uint32_t res; in __nlm_alloc_pid() local 84 res = host->h_pidcount++; in __nlm_alloc_pid() 85 } while (nlm_pidbusy(host, res) < 0); in __nlm_alloc_pid() 86 return res; in __nlm_alloc_pid() 102 struct nlm_lockowner *res, *new = NULL; in nlmclnt_find_lockowner() local 105 res = __nlmclnt_find_lockowner(host, owner); in nlmclnt_find_lockowner() 106 if (res == NULL) { in nlmclnt_find_lockowner() 110 res = __nlmclnt_find_lockowner(host, owner); in nlmclnt_find_lockowner() 111 if (res == NULL && new != NULL) { in nlmclnt_find_lockowner() 112 res in nlmclnt_find_lockowner() [all...] |
/kernel/linux/linux-6.6/include/net/ |
H A D | pkt_cls.h | 83 const struct tcf_proto *tp, struct tcf_result *res, 144 struct tcf_result *res, bool compat_mode) in tcf_classify() 203 void *q, struct tcf_result *res, in tc_cls_bind_class() 206 if (res->classid == classid) { in tc_cls_bind_class() 208 __tcf_bind_filter(q, res, base); in tc_cls_bind_class() 210 __tcf_unbind_filter(q, res); in tc_cls_bind_class() 326 * @res: desired result 335 struct tcf_result *res) in tcf_exts_exec() 338 return tcf_action_exec(skb, exts->actions, exts->nr_actions, res); in tcf_exts_exec() 345 struct tcf_result *res) in tcf_exts_exec_ex() 141 tcf_classify(struct sk_buff *skb, const struct tcf_block *block, const struct tcf_proto *tp, struct tcf_result *res, bool compat_mode) tcf_classify() argument 202 tc_cls_bind_class(u32 classid, unsigned long cl, void *q, struct tcf_result *res, unsigned long base) tc_cls_bind_class() argument 334 tcf_exts_exec(struct sk_buff *skb, struct tcf_exts *exts, struct tcf_result *res) tcf_exts_exec() argument 344 tcf_exts_exec_ex(struct sk_buff *skb, struct tcf_exts *exts, int act_index, struct tcf_result *res) tcf_exts_exec_ex() argument 646 struct tcf_result *res; global() member [all...] |
/kernel/linux/linux-6.6/kernel/locking/ |
H A D | rtmutex.c | 1189 int chain_walk = 0, res; in task_blocks_on_rt_mutex() local 1228 res = __ww_mutex_add_waiter(waiter, rtm, ww_ctx); in task_blocks_on_rt_mutex() 1229 if (res) { in task_blocks_on_rt_mutex() 1234 return res; in task_blocks_on_rt_mutex() 1274 res = rt_mutex_adjust_prio_chain(owner, chwalk, lock, in task_blocks_on_rt_mutex() 1279 return res; in task_blocks_on_rt_mutex() 1461 bool res = true; in rtmutex_spin_on_owner() local 1485 res = false; in rtmutex_spin_on_owner() 1491 return res; in rtmutex_spin_on_owner() 1626 static void __sched rt_mutex_handle_deadlock(int res, in argument [all...] |
/kernel/linux/linux-6.6/kernel/ |
H A D | kexec_file.c | 494 static int locate_mem_hole_callback(struct resource *res, void *arg) in locate_mem_hole_callback() argument 497 u64 start = res->start, end = res->end; in locate_mem_hole_callback() 503 if (res->flags & IORESOURCE_SYSRAM_DRIVER_MANAGED) in locate_mem_hole_callback() 528 struct resource res = { }; in kexec_walk_memblock() local 546 res.start = mstart; in kexec_walk_memblock() 547 res.end = mend - 1; in kexec_walk_memblock() 548 ret = func(&res, kbuf); in kexec_walk_memblock() 560 res.start = mstart; in kexec_walk_memblock() 561 res in kexec_walk_memblock() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/emulex/benet/ |
H A D | be.h | 645 struct be_resources res; /* resources available for the func */ member 693 #define be_max_vlans(adapter) (adapter->res.max_vlans) 694 #define be_max_uc(adapter) (adapter->res.max_uc_mac) 695 #define be_max_mc(adapter) (adapter->res.max_mcast_mac) 697 #define be_max_rss(adapter) (adapter->res.max_rss_qs) 698 #define be_max_txqs(adapter) (adapter->res.max_tx_qs) 699 #define be_max_prio_txqs(adapter) (adapter->res.max_prio_tx_qs) 700 #define be_max_rxqs(adapter) (adapter->res.max_rx_qs) 702 #define be_max_func_eqs(adapter) (adapter->res.max_evt_qs) 704 #define be_max_nic_eqs(adapter) (adapter->res [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/qcom/camss/ |
H A D | camss-csid.c | 563 * @res: CSID module resources table 569 const struct resources *res, u8 id) in msm_csid_subdev_init() 604 csid->base = devm_platform_ioremap_resource_byname(pdev, res->reg[0]); in msm_csid_subdev_init() 611 ret = platform_get_irq_byname(pdev, res->interrupt[0]); in msm_csid_subdev_init() 629 while (res->clock[csid->nclocks]) in msm_csid_subdev_init() 640 clock->clk = devm_clk_get(dev, res->clock[i]); in msm_csid_subdev_init() 644 clock->name = res->clock[i]; in msm_csid_subdev_init() 647 while (res->clock_rate[i][clock->nfreqs]) in msm_csid_subdev_init() 663 clock->freq[j] = res->clock_rate[i][j]; in msm_csid_subdev_init() 667 for (i = 0; i < ARRAY_SIZE(res in msm_csid_subdev_init() 568 msm_csid_subdev_init(struct camss *camss, struct csid_device *csid, const struct resources *res, u8 id) msm_csid_subdev_init() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
H A D | intel_vdsc.c | 83 u32 res, buf_i, bpp_i; in calculate_rc_params() local 156 res = DIV_ROUND_UP(((bpp - 8) * in calculate_rc_params() 158 range_bpg_offset = ofs_und4[buf_i] + res; in calculate_rc_params() 160 res = DIV_ROUND_UP(((bpp - 10) * in calculate_rc_params() 162 range_bpg_offset = ofs_und5[buf_i] + res; in calculate_rc_params() 164 res = DIV_ROUND_UP(((bpp - 12) * in calculate_rc_params() 166 range_bpg_offset = ofs_und6[buf_i] + res; in calculate_rc_params() 198 res = DIV_ROUND_UP(((bpp - 6) * in calculate_rc_params() 200 range_bpg_offset = ofs_und6[buf_i] + res; in calculate_rc_params() 204 res in calculate_rc_params() [all...] |
/third_party/elfutils/src/ |
H A D | elfcompress.c | 203 int res; in compress_section() local 206 res = elf_compress_gnu (scn, compress ? 1 : 0, flags); in compress_section() 208 res = elf_compress (scn, compress ? ELFCOMPRESS_ZLIB : 0, flags); in compress_section() 210 if (res < 0) in compress_section() 215 if (compress && res == 0) in compress_section() 222 if (report_verbose && res > 0) in compress_section() 244 return res; in compress_section() 301 int res = 1; in process_file() local 524 res = 0; in process_file() 1290 res in process_file() [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | olsontz.cpp | 116 * to lookup the rule that `res' may refer to, if there is one. 117 * @param res the resource bundle of the zone to be constructed 121 const UResourceBundle* res, in OlsonTimeZone() 127 U_DEBUG_TZ_MSG(("OlsonTimeZone(%s)\n", ures_getKey((UResourceBundle*)res))); in OlsonTimeZone() 128 if ((top == NULL || res == NULL) && U_SUCCESS(ec)) { in OlsonTimeZone() 132 // TODO -- clean up -- Doesn't work if res points to an alias in OlsonTimeZone() 134 // setID(ures_getKey((UResourceBundle*) res)); // cast away const in OlsonTimeZone() 140 ures_getByKey(res, kTRANSPRE32, r.getAlias(), &ec); in OlsonTimeZone() 153 ures_getByKey(res, kTRANS, r.getAlias(), &ec); in OlsonTimeZone() 166 ures_getByKey(res, kTRANSPOST3 in OlsonTimeZone() 120 OlsonTimeZone(const UResourceBundle* top, const UResourceBundle* res, const UnicodeString& tzid, UErrorCode& ec) OlsonTimeZone() argument [all...] |
/third_party/mbedtls/scripts/ |
H A D | code_size_compare.py | 371 res = {} 378 res[mod] = result 382 return res 419 res = self._gen_raw_code_size(git_worktree_path) 423 return res 663 res = [] 674 res.append([fname, *text_sect, *data_sect]) 675 return res 697 res = get_results(f_rev_size) 702 res [all...] |
/third_party/node/deps/icu-small/source/i18n/ |
H A D | olsontz.cpp | 116 * to lookup the rule that `res' may refer to, if there is one. 117 * @param res the resource bundle of the zone to be constructed 121 const UResourceBundle* res, in OlsonTimeZone() 127 U_DEBUG_TZ_MSG(("OlsonTimeZone(%s)\n", ures_getKey((UResourceBundle*)res))); in OlsonTimeZone() 128 if ((top == nullptr || res == nullptr) && U_SUCCESS(ec)) { in OlsonTimeZone() 132 // TODO -- clean up -- Doesn't work if res points to an alias in OlsonTimeZone() 134 // setID(ures_getKey((UResourceBundle*) res)); // cast away const in OlsonTimeZone() 140 ures_getByKey(res, kTRANSPRE32, r.getAlias(), &ec); in OlsonTimeZone() 153 ures_getByKey(res, kTRANS, r.getAlias(), &ec); in OlsonTimeZone() 166 ures_getByKey(res, kTRANSPOST3 in OlsonTimeZone() 120 OlsonTimeZone(const UResourceBundle* top, const UResourceBundle* res, const UnicodeString& tzid, UErrorCode& ec) OlsonTimeZone() argument [all...] |
/third_party/libfuse/lib/modules/ |
H A D | iconv.c | 50 size_t res; in iconv_convpath() local 68 res = iconv(fromfs ? ic->fromfs : ic->tofs, (char **) &path, in iconv_convpath() 70 if (res == (size_t) -1) { in iconv_convpath() 90 } while (res == (size_t) -1); in iconv_convpath() 167 int res = 0; in iconv_dir_fill() local 169 res = dh->prev_filler(dh->prev_buf, newname, stbuf, off, flags); in iconv_dir_fill() 172 return res; in iconv_dir_fill() 563 int res = iconv_convpath(ic, path, &newpath, 0); in iconv_lseek() local 564 if (!res) { in iconv_lseek() 565 res in iconv_lseek() [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | olsontz.cpp | 116 * to lookup the rule that `res' may refer to, if there is one. 117 * @param res the resource bundle of the zone to be constructed 121 const UResourceBundle* res, in OlsonTimeZone() 127 U_DEBUG_TZ_MSG(("OlsonTimeZone(%s)\n", ures_getKey((UResourceBundle*)res))); in OlsonTimeZone() 128 if ((top == NULL || res == NULL) && U_SUCCESS(ec)) { in OlsonTimeZone() 132 // TODO -- clean up -- Doesn't work if res points to an alias in OlsonTimeZone() 134 // setID(ures_getKey((UResourceBundle*) res)); // cast away const in OlsonTimeZone() 140 ures_getByKey(res, kTRANSPRE32, r.getAlias(), &ec); in OlsonTimeZone() 153 ures_getByKey(res, kTRANS, r.getAlias(), &ec); in OlsonTimeZone() 166 ures_getByKey(res, kTRANSPOST3 in OlsonTimeZone() 120 OlsonTimeZone(const UResourceBundle* top, const UResourceBundle* res, const UnicodeString& tzid, UErrorCode& ec) OlsonTimeZone() argument [all...] |
/third_party/python/Python/ |
H A D | context.c | 219 int res = _PyHamt_Find(vars, (PyObject*)var, &found); in PyContextVar_Get() local 220 if (res < 0) { in PyContextVar_Get() 223 if (res == 1) { in PyContextVar_Get() 510 int res = _PyHamt_Eq( in context_tp_richcompare() local 512 if (res < 0) { in context_tp_richcompare() 517 res = !res; in context_tp_richcompare() 520 if (res) { in context_tp_richcompare() 810 Py_hash_t res = _Py_HashPointer(addr) ^ name_hash; in contextvar_generate_hash() local 811 return res in contextvar_generate_hash() [all...] |
/third_party/rust/crates/once_cell/tests/ |
H A D | it.rs | 214 let res = std::panic::catch_unwind(|| x.len()); in lazy_poisoning() 215 assert!(res.is_err()); in lazy_poisoning() 349 let res = in get_or_try_init() 351 assert!(res.is_err()); in get_or_try_init() 596 let res = std::panic::catch_unwind(|| x.len()); in lazy_poisoning() 597 assert!(res.is_err()); in lazy_poisoning() 624 let mut res = vec![1, 1]; in eval_once_macro() variables 626 let next = res[i] + res[i + 1]; in eval_once_macro() 627 res in eval_once_macro() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/ |
H A D | hlr_auc_gw.c | 742 u8 res[EAP_AKA_RES_MAX_LEN]; in aka_req_auth() local 764 autn, ik, ck, res, &res_len); in aka_req_auth() 777 memset(res, '2', EAP_AKA_RES_MAX_LEN); in aka_req_auth() 805 pos += wpa_snprintf_hex(pos, end - pos, res, res_len); in aka_req_auth() 890 ssize_t res; in process() local 893 res = recvfrom(s, buf, sizeof(buf), 0, (struct sockaddr *) &from, in process() 895 if (res < 0) { in process() 900 if (res == 0) in process() 903 if ((size_t) res >= sizeof(buf)) in process() 904 res in process() [all...] |