| /NextBSD/contrib/llvm/tools/clang/lib/ARCMigrate/ |
| HD | TransProperties.cpp | 86 PropsTy &props = AtProps[RawLoc]; in collectProperties() local 87 props.push_back(Prop); in collectProperties() 118 PropsTy &props = findAtLoc->second; in doTransform() local 119 for (PropsTy::iterator I = props.begin(), E = props.end(); I != E; ++I) { in doTransform() 131 PropsTy &props = I->second; in doTransform() local 132 if (!getPropertyType(props)->isObjCRetainableType()) in doTransform() 134 if (hasIvarWithExplicitARCOwnership(props)) in doTransform() 138 rewriteProperty(props, atLoc); in doTransform() 149 PropsTy &props = I->second; in doTransform() local 151 doActionForExtensionProp(props, atLoc); in doTransform() [all …]
|
| /NextBSD/usr.sbin/mfiutil/ |
| HD | mfi_volume.c | 95 mfi_ld_get_props(int fd, uint8_t target_id, struct mfi_ld_props *props) in mfi_ld_get_props() argument 100 return (mfi_dcmd_command(fd, MFI_DCMD_LD_GET_PROP, props, in mfi_ld_get_props() 105 mfi_ld_set_props(int fd, struct mfi_ld_props *props) in mfi_ld_set_props() argument 109 mbox_store_ldref(mbox, &props->ld); in mfi_ld_set_props() 110 return (mfi_dcmd_command(fd, MFI_DCMD_LD_SET_PROP, props, in mfi_ld_set_props() 169 stage_cache_setting(struct mfi_ld_props *props, uint8_t new_policy, in stage_cache_setting() argument 173 props->default_cache_policy &= ~mask; in stage_cache_setting() 174 props->default_cache_policy |= new_policy; in stage_cache_setting() 183 process_cache_command(int ac, char **av, struct mfi_ld_props *props) in process_cache_command() argument 189 stage_cache_setting(props, MR_LD_CACHE_ALLOW_READ_CACHE | in process_cache_command() [all …]
|
| HD | mfi_bbu.c | 106 mfi_bbu_get_props(int fd, struct mfi_bbu_properties *props, uint8_t *statusp) in mfi_bbu_get_props() argument 109 return (mfi_dcmd_command(fd, MFI_DCMD_BBU_GET_PROP, props, in mfi_bbu_get_props() 110 sizeof(*props), NULL, 0, statusp)); in mfi_bbu_get_props() 114 mfi_bbu_set_props(int fd, struct mfi_bbu_properties *props, uint8_t *statusp) in mfi_bbu_set_props() argument 117 return (mfi_dcmd_command(fd, MFI_DCMD_BBU_SET_PROP, props, in mfi_bbu_set_props() 118 sizeof(*props), NULL, 0, statusp)); in mfi_bbu_set_props() 158 struct mfi_bbu_properties props; in update_bbu_props() local 179 if (mfi_bbu_get_props(fd, &props, &status) < 0) { in update_bbu_props() 197 props.learn_delay_interval = delay; in update_bbu_props() 202 props.auto_learn_mode = 0; in update_bbu_props() [all …]
|
| /NextBSD/sys/dev/cxgbe/iw_cxgbe/ |
| HD | provider.c | 52 struct ib_port_modify *props) in c4iw_modify_port() argument 304 c4iw_query_device(struct ib_device *ibdev, struct ib_device_attr *props) in c4iw_query_device() argument 309 CTR3(KTR_IW_CXGBE, "%s ibdev %p, props %p", __func__, ibdev, props); in c4iw_query_device() 311 memset(props, 0, sizeof *props); in c4iw_query_device() 312 memcpy(&props->sys_image_guid, sc->port[0]->vi[0].hw_addr, in c4iw_query_device() 314 props->hw_ver = sc->params.chipid; in c4iw_query_device() 315 props->fw_ver = sc->params.fw_vers; in c4iw_query_device() 316 props->device_cap_flags = dev->device_cap_flags; in c4iw_query_device() 317 props->page_size_cap = T4_PAGESIZE_MASK; in c4iw_query_device() 318 props->vendor_id = pci_get_vendor(sc->dev); in c4iw_query_device() [all …]
|
| /NextBSD/sys/ofed/drivers/infiniband/hw/mlx4/ |
| HD | mlx4_exp.c | 39 struct ib_exp_device_attr *props) in mlx4_ib_exp_query_device() argument 41 struct ib_device_attr *base = &props->base; in mlx4_ib_exp_query_device() 43 int ret = mlx4_ib_query_device(ibdev, &props->base); in mlx4_ib_exp_query_device() 45 props->exp_comp_mask = IB_EXP_DEVICE_ATTR_INLINE_RECV_SZ; in mlx4_ib_exp_query_device() 46 props->inline_recv_sz = dev->dev->caps.max_rq_sg * sizeof(struct mlx4_wqe_data_seg); in mlx4_ib_exp_query_device() 47 props->device_cap_flags2 = 0; in mlx4_ib_exp_query_device() 51 props->device_cap_flags2 |= IB_EXP_DEVICE_QPG; in mlx4_ib_exp_query_device() 53 props->device_cap_flags2 |= IB_EXP_DEVICE_UD_RSS; in mlx4_ib_exp_query_device() 60 props->max_rss_tbl_sz = base->max_rss_tbl_sz; in mlx4_ib_exp_query_device() 61 props->exp_comp_mask |= IB_EXP_DEVICE_ATTR_RSS_TBL_SZ; in mlx4_ib_exp_query_device() [all …]
|
| HD | main.c | 165 struct ib_device_attr *props) in mlx4_ib_query_device() argument 185 memset(props, 0, sizeof *props); in mlx4_ib_query_device() 187 props->fw_ver = dev->dev->caps.fw_ver; in mlx4_ib_query_device() 188 props->device_cap_flags = IB_DEVICE_CHANGE_PHY_PORT | in mlx4_ib_query_device() 196 props->device_cap_flags |= IB_DEVICE_BAD_PKEY_CNTR; in mlx4_ib_query_device() 198 props->device_cap_flags |= IB_DEVICE_BAD_QKEY_CNTR; in mlx4_ib_query_device() 200 props->device_cap_flags |= IB_DEVICE_AUTO_PATH_MIG; in mlx4_ib_query_device() 202 props->device_cap_flags |= IB_DEVICE_UD_AV_PORT_ENFORCE; in mlx4_ib_query_device() 204 props->device_cap_flags |= IB_DEVICE_UD_IP_CSUM; in mlx4_ib_query_device() 206 props->device_cap_flags |= IB_DEVICE_UD_TSO; in mlx4_ib_query_device() [all …]
|
| /NextBSD/contrib/wpa/wpa_supplicant/examples/ |
| HD | wpas-test.py | 60 props = net.properties() 64 for item in props["bssid"]: 67 ssid = byte_array_to_string(props["ssid"]) 69 if props.has_key("wpaie"): 72 if props.has_key("rsnie"): 75 if props.has_key("frequency"): 76 freq = props["frequency"] 77 caps = props["capabilities"] 78 qual = props["quality"] 79 level = props["level"] [all …]
|
| HD | wpas-dbus-new-getall.py | 12 props = wpas_obj.GetAll("fi.w1.wpa_supplicant1", 15 print props 25 props = if_obj.GetAll("fi.w1.wpa_supplicant1.Interface", 29 print props 31 props = if_obj.GetAll("fi.w1.wpa_supplicant1.Interface.WPS", 35 print props 41 props = bss_obj.GetAll("fi.w1.wpa_supplicant1.BSS", 45 print props 51 props = net_obj.GetAll("fi.w1.wpa_supplicant1.Network", 55 print props
|
| /NextBSD/contrib/netbsd-tests/modules/ |
| HD | t_modctl.c | 206 load(prop_dictionary_t props, bool fatal, const char *fmt, ...) in load() argument 214 if (props == NULL) { in load() 215 props = prop_dictionary_create(); in load() 216 propsstr = prop_dictionary_externalize(props); in load() 218 prop_object_release(props); in load() 220 propsstr = prop_dictionary_externalize(props); in load() 326 prop_dictionary_t props; in ATF_TC_BODY() local 329 props = prop_dictionary_create(); in ATF_TC_BODY() 330 load(props, true, "%s/k_helper/k_helper.kmod", in ATF_TC_BODY() 332 prop_object_release(props); in ATF_TC_BODY() [all …]
|
| /NextBSD/sys/ofed/drivers/infiniband/hw/mthca/ |
| HD | mthca_provider.c | 59 struct ib_device_attr *props) in mthca_query_device() argument 73 memset(props, 0, sizeof *props); in mthca_query_device() 75 props->fw_ver = mdev->fw_ver; in mthca_query_device() 90 props->device_cap_flags = mdev->device_cap_flags; in mthca_query_device() 91 props->vendor_id = be32_to_cpup((__be32 *) (out_mad->data + 36)) & in mthca_query_device() 93 props->vendor_part_id = be16_to_cpup((__be16 *) (out_mad->data + 30)); in mthca_query_device() 94 props->hw_ver = be32_to_cpup((__be32 *) (out_mad->data + 32)); in mthca_query_device() 95 memcpy(&props->sys_image_guid, out_mad->data + 4, 8); in mthca_query_device() 97 props->max_mr_size = ~0ull; in mthca_query_device() 98 props->page_size_cap = mdev->limits.page_size_cap; in mthca_query_device() [all …]
|
| /NextBSD/contrib/subversion/subversion/libsvn_ra_serf/ |
| HD | property.c | 177 apr_hash_t *props = svn_hash_gets(ns_props, ns); in set_ns_prop() local 179 if (!props) in set_ns_prop() 181 props = apr_hash_make(result_pool); in set_ns_prop() 183 svn_hash_sets(ns_props, ns, props); in set_ns_prop() 192 svn_hash_sets(props, name, val); in set_ns_prop() 320 apr_hash_t *props = apr_hash_this_val(hi_ns); in propfind_closed() local 325 for (hi_prop = apr_hash_first(iterpool, props); in propfind_closed() 515 apr_hash_t *props = baton; in svn_ra_serf__deliver_svn_props() local 516 apr_pool_t *result_pool = apr_hash_pool_get(props); in svn_ra_serf__deliver_svn_props() 523 svn_hash_sets(props, prop_name, svn_string_dup(value, result_pool)); in svn_ra_serf__deliver_svn_props() [all …]
|
| HD | get_file.c | 272 apr_hash_t *props; member 305 if (!fb->props) in get_file_prop_cb() 311 svn_hash_sets(fb->props, svn_name, in get_file_prop_cb() 323 apr_hash_t **props, in svn_ra_serf__get_file() argument 352 if (props) in svn_ra_serf__get_file() 360 fb.props = props ? apr_hash_make(pool) : NULL; in svn_ra_serf__get_file() 379 if (props) in svn_ra_serf__get_file() 380 *props = fb.props; in svn_ra_serf__get_file()
|
| HD | stat.c | 60 apr_hash_t *props; in svn_ra_serf__check_path() local 82 err = svn_ra_serf__fetch_node_props(&props, session, in svn_ra_serf__check_path() 100 dav_props = apr_hash_get(props, "DAV:", 4); in svn_ra_serf__check_path() 216 apr_array_header_t *props = apr_array_make in get_dirent_props() local 224 prop = apr_array_push(props); in get_dirent_props() 231 prop = apr_array_push(props); in get_dirent_props() 238 prop = apr_array_push(props); in get_dirent_props() 245 svn_ra_serf__dav_props_t *p = apr_array_push(props); in get_dirent_props() 252 prop = apr_array_push(props); in get_dirent_props() 259 prop = apr_array_push(props); in get_dirent_props() [all …]
|
| /NextBSD/contrib/subversion/subversion/libsvn_client/ |
| HD | cat.c | 62 apr_hash_t *props; in svn_client__get_normalized_stream() local 95 SVN_ERR(svn_wc_get_pristine_props(&props, wc_ctx, local_abspath, in svn_client__get_normalized_stream() 105 SVN_ERR(svn_wc_prop_list2(&props, wc_ctx, local_abspath, scratch_pool, in svn_client__get_normalized_stream() 113 eol_style = svn_hash_gets(props, SVN_PROP_EOL_STYLE); in svn_client__get_normalized_stream() 114 keywords = svn_hash_gets(props, SVN_PROP_KEYWORDS); in svn_client__get_normalized_stream() 115 special = svn_hash_gets(props, SVN_PROP_SPECIAL); in svn_client__get_normalized_stream() 193 apr_hash_t *props = NULL; in svn_client_cat3() local 248 err = svn_ra_get_file(ra_session, "", loc->rev, NULL, NULL, &props, in svn_client_cat3() 264 eol_style = svn_hash_gets(props, SVN_PROP_EOL_STYLE); in svn_client_cat3() 265 keywords = svn_hash_gets(props, SVN_PROP_KEYWORDS); in svn_client_cat3() [all …]
|
| HD | prop_commands.c | 83 apr_hash_t *props; in get_file_for_validation() local 87 (mime_type ? &props : NULL), in get_file_for_validation() 91 *mime_type = svn_hash_gets(props, SVN_PROP_MIME_TYPE); in get_file_for_validation() 531 svn_client__remote_propget(apr_hash_t *props, in svn_client__remote_propget() argument 621 svn_hash_sets(props, in svn_client__remote_propget() 653 SVN_ERR(svn_client__remote_propget(props, NULL, in svn_client__remote_propget() 673 apr_hash_t *props; /* Hash to collect props. */ member 682 apr_hash_t *props, in recursive_propget_receiver() argument 687 if (apr_hash_count(props)) in recursive_propget_receiver() 689 apr_hash_index_t *hi = apr_hash_first(scratch_pool, props); in recursive_propget_receiver() [all …]
|
| /NextBSD/contrib/subversion/subversion/include/private/ |
| HD | svn_editor.h | 57 apr_hash_t **props, 513 apr_hash_t *props, 525 apr_hash_t *props, 536 apr_hash_t *props, 558 apr_hash_t *props, 570 apr_hash_t *props, 581 apr_hash_t *props, 862 apr_hash_t *props, 894 apr_hash_t *props, 912 apr_hash_t *props, [all …]
|
| /NextBSD/contrib/subversion/subversion/libsvn_wc/ |
| HD | translate.c | 249 apr_hash_t *props, in svn_wc__get_translate_info() argument 257 if (props == NULL) in svn_wc__get_translate_info() 258 SVN_ERR(svn_wc__get_actual_props(&props, db, local_abspath, in svn_wc__get_translate_info() 263 propval = svn_prop_get_value(props, SVN_PROP_EOL_STYLE); in svn_wc__get_translate_info() 270 propval = svn_prop_get_value(props, SVN_PROP_KEYWORDS); in svn_wc__get_translate_info() 282 propval = svn_prop_get_value(props, SVN_PROP_SPECIAL); in svn_wc__get_translate_info() 360 apr_hash_t *props = NULL; in svn_wc__sync_flags_with_props() local 387 SVN_ERR(svn_wc__db_read_props(&props, db, local_abspath, scratch_pool, in svn_wc__sync_flags_with_props() 390 props = NULL; in svn_wc__sync_flags_with_props() 399 || props == NULL in svn_wc__sync_flags_with_props() [all …]
|
| /NextBSD/cddl/contrib/opensolaris/lib/libzfs_core/common/ |
| HD | libzfs_core.c | 220 lzc_create(const char *fsname, dmu_objset_type_t type, nvlist_t *props) argument 225 if (props != NULL) 226 fnvlist_add_nvlist(args, "props", props); 234 nvlist_t *props) argument 239 if (props != NULL) 240 fnvlist_add_nvlist(args, "props", props); 262 lzc_snapshot(nvlist_t *snaps, nvlist_t *props, nvlist_t **errlist) argument 280 if (props != NULL) 281 fnvlist_add_nvlist(args, "props", props); 598 lzc_receive_impl(const char *snapname, nvlist_t *props, const char *origin, argument [all …]
|
| /NextBSD/contrib/subversion/subversion/libsvn_fs/ |
| HD | editor.c | 82 apr_hash_t *props, in add_new_props() argument 92 for (hi = apr_hash_first(scratch_pool, props); hi; in add_new_props() 111 apr_hash_t *props, in alter_props() argument 121 SVN_ERR(svn_prop_diffs(&propdiffs, props, old_props, scratch_pool)); in alter_props() 327 apr_hash_t *props, in add_directory_cb() argument 351 SVN_ERR(add_new_props(root, fspath, props, scratch_pool)); in add_directory_cb() 363 apr_hash_t *props, in add_file_cb() argument 387 SVN_ERR(add_new_props(root, fspath, props, scratch_pool)); in add_file_cb() 398 apr_hash_t *props, in add_symlink_cb() argument 426 apr_hash_set(props, SVN_PROP_SPECIAL, APR_HASH_KEY_STRING, in add_symlink_cb() [all …]
|
| /NextBSD/sys/dev/cxgb/ulp/iw_cxgb/ |
| HD | iw_cxgb_provider.c | 86 struct ib_port_modify *props) in iwch_modify_port() argument 1008 struct ib_device_attr *props) in iwch_query_device() argument 1017 memset(props, 0, sizeof *props); in iwch_query_device() 1018 memcpy(&props->sys_image_guid, sc->port[0].hw_addr, 6); in iwch_query_device() 1019 props->device_cap_flags = dev->device_cap_flags; in iwch_query_device() 1020 props->page_size_cap = dev->attr.mem_pgsizes_bitmask; in iwch_query_device() 1021 props->vendor_id = pci_get_vendor(sc->dev); in iwch_query_device() 1022 props->vendor_part_id = pci_get_device(sc->dev); in iwch_query_device() 1023 props->max_mr_size = dev->attr.max_mr_size; in iwch_query_device() 1024 props->max_qp = dev->attr.max_qps; in iwch_query_device() [all …]
|
| /NextBSD/contrib/subversion/subversion/libsvn_delta/ |
| HD | compat.c | 191 apr_hash_t *props; /* new/final set of props to apply */ member 251 if (change->props == NULL) in apply_propedit() 261 SVN_ERR(eb->fetch_props_func(&change->props, in apply_propedit() 267 change->props = apr_hash_make(eb->edit_pool); in apply_propedit() 269 SVN_ERR(eb->fetch_props_func(&change->props, in apply_propedit() 276 svn_hash_sets(change->props, name, NULL); in apply_propedit() 278 svn_hash_sets(change->props, in apply_propedit() 324 apr_hash_t *props = NULL; in process_actions() local 375 if (change->props != NULL) in process_actions() 379 props = change->props; in process_actions() [all …]
|
| HD | editor.c | 459 apr_hash_t *props, in svn_editor_add_directory() argument 466 SVN_ERR_ASSERT(props != NULL); in svn_editor_add_directory() 479 props, replaces_rev, in svn_editor_add_directory() 512 apr_hash_t *props, in svn_editor_add_file() argument 521 SVN_ERR_ASSERT(props != NULL); in svn_editor_add_file() 533 checksum, contents, props, in svn_editor_add_file() 551 apr_hash_t *props, in svn_editor_add_symlink() argument 557 SVN_ERR_ASSERT(props != NULL); in svn_editor_add_symlink() 568 err = editor->funcs.cb_add_symlink(editor->baton, relpath, target, props, in svn_editor_add_symlink() 620 apr_hash_t *props) in svn_editor_alter_directory() argument [all …]
|
| /NextBSD/contrib/netbsd-tests/modules/k_helper3/ |
| HD | k_helper3.c | 62 prop_dictionary_t props; in load() local 67 props = prop_dictionary_create(); in load() 68 propsstr = prop_dictionary_externalize(props); in load() 70 prop_object_release(props); in load()
|
| /NextBSD/cddl/contrib/opensolaris/lib/pyzfs/common/ |
| HD | dataset.py | 100 def __init__(self, name, props=None, argument 127 if not props: 128 props = zfs.ioctl.dataset_props(name) 129 self.__props = props 162 (name, cookie, props) = \ 164 ds = Dataset(name, props)
|
| /NextBSD/contrib/subversion/subversion/svn/ |
| HD | propget-cmd.c | 74 apr_hash_t *props, in print_properties_xml() argument 116 sorted_props = svn_sort__hash(props, svn_sort_compare_items_as_paths, pool); in print_properties_xml() 259 apr_hash_t *props, in print_properties() argument 291 sorted_props = svn_sort__hash(props, svn_sort_compare_items_as_paths, pool); in print_properties() 444 apr_hash_t *props; in svn_cl__propget() local 463 &props, in svn_cl__propget() 478 || apr_hash_count(props) > 1 in svn_cl__propget() 489 && apr_hash_count(props) == 0) in svn_cl__propget() 502 pname_utf8, props, in svn_cl__propget() 508 props, in svn_cl__propget()
|