/third_party/typescript/tests/baselines/reference/ |
H A D | unionTypeParameterInference.js | 4 interface Foo<T> { prop: T; } 9 return lift(value).prop; 16 return lift(value).prop;
|
/device/soc/hisilicon/common/hal/display/source/display_device/src/drm/ |
H A D | drm_connector.cpp | 74 DrmProperty prop;
in Init() local 78 // find dpms prop
in Init() 79 int32_t ret = drmDevice.GetConnectorProperty(*this, PROP_DPMS, prop);
in Init() 80 DISPLAY_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_LOGE("can not get mode prop id"));
in Init() 81 mPropDpmsId = prop.propId;
in Init() 82 mDpmsState = prop.value;
in Init() 85 ret = drmDevice.GetConnectorProperty(*this, PROP_CRTCID, prop);
in Init() 86 DISPLAY_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_LOGE("cat not get out fence prop id"));
in Init() 87 mPropCrtcId = prop.propId;
in Init() 91 ret = drmDevice.GetConnectorProperty(*this, PROP_BRIGHTNESS, prop);
in Init() [all...] |
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/ |
H A D | drm_color_mgmt.c | 439 struct drm_property *prop; in drm_plane_create_color_properties() local 464 prop = drm_property_create_enum(dev, 0, "COLOR_ENCODING", enum_list, len); in drm_plane_create_color_properties() 465 if (!prop) { in drm_plane_create_color_properties() 468 plane->color_encoding_property = prop; in drm_plane_create_color_properties() 469 drm_object_attach_property(&plane->base, prop, default_encoding); in drm_plane_create_color_properties() 485 prop = drm_property_create_enum(dev, 0, "COLOR_RANGE", enum_list, len); in drm_plane_create_color_properties() 486 if (!prop) { in drm_plane_create_color_properties() 489 plane->color_range_property = prop; in drm_plane_create_color_properties() 490 drm_object_attach_property(&plane->base, prop, default_range); in drm_plane_create_color_properties()
|
/drivers/peripheral/display/hal/default_standard/src/display_device/drm/ |
H A D | drm_connector.cpp | 74 DrmProperty prop;
in Init() local 78 // find dpms prop
in Init() 79 int32_t ret = drmDevice.GetConnectorProperty(*this, PROP_DPMS, prop);
in Init() 80 DISPLAY_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_LOGE("can not get mode prop id"));
in Init() 81 mPropDpmsId = prop.propId;
in Init() 82 mDpmsState = prop.value;
in Init() 85 ret = drmDevice.GetConnectorProperty(*this, PROP_CRTCID, prop);
in Init() 86 DISPLAY_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_LOGE("cat not get out fence prop id"));
in Init() 87 mPropCrtcId = prop.propId;
in Init() 91 ret = drmDevice.GetConnectorProperty(*this, PROP_BRIGHTNESS, prop);
in Init() [all...] |
/kernel/linux/linux-6.6/arch/arm64/kernel/ |
H A D | idreg-override.c | 284 const u8 *prop; in get_bootargs_cmdline() local 296 prop = fdt_getprop(fdt, node, "bootargs", NULL); in get_bootargs_cmdline() 297 if (!prop) in get_bootargs_cmdline() 300 return strlen(prop) ? prop : NULL; in get_bootargs_cmdline() 305 const u8 *prop = get_bootargs_cmdline(); in parse_cmdline() local 307 if (IS_ENABLED(CONFIG_CMDLINE_FORCE) || !prop) in parse_cmdline() 310 if (!IS_ENABLED(CONFIG_CMDLINE_FORCE) && prop) in parse_cmdline() 311 __parse_cmdline(prop, true); in parse_cmdline()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
H A D | drm_color_mgmt.c | 423 struct drm_property *prop; in drm_plane_create_color_properties() local 448 prop = drm_property_create_enum(dev, 0, "COLOR_ENCODING", in drm_plane_create_color_properties() 450 if (!prop) in drm_plane_create_color_properties() 452 plane->color_encoding_property = prop; in drm_plane_create_color_properties() 453 drm_object_attach_property(&plane->base, prop, default_encoding); in drm_plane_create_color_properties() 467 prop = drm_property_create_enum(dev, 0, "COLOR_RANGE", in drm_plane_create_color_properties() 469 if (!prop) in drm_plane_create_color_properties() 471 plane->color_range_property = prop; in drm_plane_create_color_properties() 472 drm_object_attach_property(&plane->base, prop, default_range); in drm_plane_create_color_properties()
|
/third_party/lzma/CPP/Windows/ |
H A D | PropVariant.cpp | 259 HRESULT PropVariant_Clear(PROPVARIANT *prop) throw()
in PropVariant_Clear() argument 261 switch ((unsigned)prop->vt)
in PropVariant_Clear() 264 prop->vt = VT_EMPTY;
in PropVariant_Clear() 268 const HRESULT res = ::VariantClear((VARIANTARG *)prop);
in PropVariant_Clear() 269 if (res != S_OK || prop->vt != VT_EMPTY)
in PropVariant_Clear() 274 prop->wReserved1 = 0;
in PropVariant_Clear() 275 prop->wReserved2 = 0;
in PropVariant_Clear() 276 prop->wReserved3 = 0;
in PropVariant_Clear() 277 prop->uhVal.QuadPart = 0;
in PropVariant_Clear()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/ |
H A D | NVPTXUtilities.cpp | 54 const MDString *prop = dyn_cast<MDString>(md->getOperand(i)); in cacheAnnotationFromMD() local 55 assert(prop && "Annotation property not a string"); in cacheAnnotationFromMD() 61 std::string keyname = prop->getString().str(); in cacheAnnotationFromMD() 105 bool findOneNVVMAnnotation(const GlobalValue *gv, const std::string &prop, in findOneNVVMAnnotation() argument 113 if ((*annotationCache)[m][gv].find(prop) == (*annotationCache)[m][gv].end()) in findOneNVVMAnnotation() 115 retval = (*annotationCache)[m][gv][prop][0]; in findOneNVVMAnnotation() 119 bool findAllNVVMAnnotation(const GlobalValue *gv, const std::string &prop, in findAllNVVMAnnotation() argument 127 if ((*annotationCache)[m][gv].find(prop) == (*annotationCache)[m][gv].end()) in findAllNVVMAnnotation() 129 retval = (*annotationCache)[m][gv][prop]; in findAllNVVMAnnotation()
|
/kernel/linux/linux-5.10/net/smc/ |
H A D | smc_clc.c | 164 struct smc_clc_msg_proposal_prefix *prop) in smc_clc_prfx_set4_rcu() 175 prop->prefix_len = inet_mask_len(ifa->ifa_mask); in smc_clc_prfx_set4_rcu() 176 prop->outgoing_subnet = ifa->ifa_address & ifa->ifa_mask; in smc_clc_prfx_set4_rcu() 177 /* prop->ipv6_prefixes_cnt = 0; already done by memset before */ in smc_clc_prfx_set4_rcu() 185 struct smc_clc_msg_proposal_prefix *prop, in smc_clc_prfx_set6_rcu() 206 prop->ipv6_prefixes_cnt = cnt; in smc_clc_prfx_set6_rcu() 215 struct smc_clc_msg_proposal_prefix *prop, in smc_clc_prfx_set() 241 rc = smc_clc_prfx_set4_rcu(dst, addr->sin_addr.s_addr, prop); in smc_clc_prfx_set() 245 prop); in smc_clc_prfx_set() 248 rc = smc_clc_prfx_set6_rcu(dst, prop, ipv6_prf in smc_clc_prfx_set() 163 smc_clc_prfx_set4_rcu(struct dst_entry *dst, __be32 ipv4, struct smc_clc_msg_proposal_prefix *prop) smc_clc_prfx_set4_rcu() argument 184 smc_clc_prfx_set6_rcu(struct dst_entry *dst, struct smc_clc_msg_proposal_prefix *prop, struct smc_clc_ipv6_prefix *ipv6_prfx) smc_clc_prfx_set6_rcu() argument 214 smc_clc_prfx_set(struct socket *clcsock, struct smc_clc_msg_proposal_prefix *prop, struct smc_clc_ipv6_prefix *ipv6_prfx) smc_clc_prfx_set() argument 258 smc_clc_prfx_match4_rcu(struct net_device *dev, struct smc_clc_msg_proposal_prefix *prop) smc_clc_prfx_match4_rcu() argument 276 smc_clc_prfx_match6_rcu(struct net_device *dev, struct smc_clc_msg_proposal_prefix *prop) smc_clc_prfx_match6_rcu() argument 305 smc_clc_prfx_match(struct socket *clcsock, struct smc_clc_msg_proposal_prefix *prop) smc_clc_prfx_match() argument [all...] |
H A D | smc_clc.h | 278 smc_get_clc_msg_smcd(struct smc_clc_msg_proposal *prop) in smc_get_clc_msg_smcd() argument 280 if (smcd_indicated(prop->hdr.typev1) && in smc_get_clc_msg_smcd() 281 ntohs(prop->iparea_offset) != sizeof(struct smc_clc_msg_smcd)) in smc_get_clc_msg_smcd() 284 return (struct smc_clc_msg_smcd *)(prop + 1); in smc_get_clc_msg_smcd() 288 smc_get_clc_v2_ext(struct smc_clc_msg_proposal *prop) in smc_get_clc_v2_ext() argument 290 struct smc_clc_msg_smcd *prop_smcd = smc_get_clc_msg_smcd(prop); in smc_get_clc_v2_ext() 322 struct smc_clc_msg_proposal_prefix *prop);
|
/kernel/linux/linux-6.6/sound/soc/codecs/ |
H A D | rt1318-sdw.c | 347 struct sdw_slave_prop *prop = &slave->prop; in rt1318_read_prop() local 354 prop->scp_int1_mask = SDW_SCP_INT1_BUS_CLASH | SDW_SCP_INT1_PARITY; in rt1318_read_prop() 355 prop->quirks = SDW_SLAVE_QUIRKS_INVALID_INITIAL_PARITY; in rt1318_read_prop() 357 prop->paging_support = true; in rt1318_read_prop() 360 prop->source_ports = BIT(2); in rt1318_read_prop() 361 prop->sink_ports = BIT(1); in rt1318_read_prop() 363 nval = hweight32(prop->source_ports); in rt1318_read_prop() 364 prop->src_dpn_prop = devm_kcalloc(&slave->dev, nval, in rt1318_read_prop() 365 sizeof(*prop in rt1318_read_prop() [all...] |
/kernel/linux/linux-5.10/arch/powerpc/sysdev/ |
H A D | mpic_msgr.c | 145 struct property *prop; in mpic_msgr_block_number() local 148 prop = of_find_property(aliases, buf, NULL); in mpic_msgr_block_number() 149 if (node == of_find_node_by_path(prop->value)) in mpic_msgr_block_number() 167 const unsigned int *prop; in mpic_msgr_probe() local 213 prop = of_get_property(np, "mpic-msgr-receive-mask", NULL); in mpic_msgr_probe() 214 receive_mask = (prop) ? *prop : 0xF; in mpic_msgr_probe()
|
H A D | msi_bitmap.c | 224 struct property prop; in test_of_node() local 247 memset(&prop, 0, sizeof(prop)); in test_of_node() 248 prop.name = prop_name; in test_of_node() 249 prop.value = &prop_data; in test_of_node() 250 prop.length = sizeof(prop_data); in test_of_node() 252 of_node.properties = ∝ in test_of_node()
|
/kernel/linux/linux-6.6/arch/powerpc/sysdev/ |
H A D | mpic_msgr.c | 148 struct property *prop; in mpic_msgr_block_number() local 152 prop = of_find_property(aliases, buf, NULL); in mpic_msgr_block_number() 153 tn = of_find_node_by_path(prop->value); in mpic_msgr_block_number() 176 const unsigned int *prop; in mpic_msgr_probe() local 222 prop = of_get_property(np, "mpic-msgr-receive-mask", NULL); in mpic_msgr_probe() 223 receive_mask = (prop) ? *prop : 0xF; in mpic_msgr_probe()
|
H A D | msi_bitmap.c | 225 struct property prop; in test_of_node() local 248 memset(&prop, 0, sizeof(prop)); in test_of_node() 249 prop.name = prop_name; in test_of_node() 250 prop.value = &prop_data; in test_of_node() 251 prop.length = sizeof(prop_data); in test_of_node() 253 of_node.properties = ∝ in test_of_node()
|
/kernel/linux/linux-5.10/drivers/of/ |
H A D | fdt_address.c | 51 const __be32 *prop; in fdt_bus_default_count_cells() local 54 prop = fdt_getprop(blob, parentoffset, "#address-cells", NULL); in fdt_bus_default_count_cells() 55 if (prop) in fdt_bus_default_count_cells() 56 *addrc = be32_to_cpup(prop); in fdt_bus_default_count_cells() 62 prop = fdt_getprop(blob, parentoffset, "#size-cells", NULL); in fdt_bus_default_count_cells() 63 if (prop) in fdt_bus_default_count_cells() 64 *sizec = be32_to_cpup(prop); in fdt_bus_default_count_cells()
|
/kernel/linux/linux-6.6/drivers/of/ |
H A D | fdt_address.c | 51 const __be32 *prop; in fdt_bus_default_count_cells() local 54 prop = fdt_getprop(blob, parentoffset, "#address-cells", NULL); in fdt_bus_default_count_cells() 55 if (prop) in fdt_bus_default_count_cells() 56 *addrc = be32_to_cpup(prop); in fdt_bus_default_count_cells() 62 prop = fdt_getprop(blob, parentoffset, "#size-cells", NULL); in fdt_bus_default_count_cells() 63 if (prop) in fdt_bus_default_count_cells() 64 *sizec = be32_to_cpup(prop); in fdt_bus_default_count_cells()
|
H A D | base.c | 323 struct property *prop; in __of_device_is_compatible() local 329 prop = __of_find_property(device, "compatible", NULL); in __of_device_is_compatible() 330 for (cp = of_prop_next_string(prop, NULL); cp; in __of_device_is_compatible() 331 cp = of_prop_next_string(prop, cp), index++) { in __of_device_is_compatible() 1534 static struct property *__of_remove_property_from_list(struct property **list, struct property *prop) in __of_remove_property_from_list() argument 1539 if (*next == prop) { in __of_remove_property_from_list() 1540 *next = prop->next; in __of_remove_property_from_list() 1541 prop->next = NULL; in __of_remove_property_from_list() 1542 return prop; in __of_remove_property_from_list() 1551 * @prop 1553 __of_add_property(struct device_node *np, struct property *prop) __of_add_property() argument 1589 of_add_property(struct device_node *np, struct property *prop) of_add_property() argument 1604 __of_remove_property(struct device_node *np, struct property *prop) __of_remove_property() argument 1636 of_remove_property(struct device_node *np, struct property *prop) of_remove_property() argument [all...] |
/kernel/linux/linux-6.6/drivers/accel/habanalabs/common/ |
H A D | memory.c | 31 struct asic_fixed_properties *prop = &hdev->asic_prop; in set_alloc_page_size() local 38 if (prop->supports_user_set_page_size && args->alloc.page_size) { in set_alloc_page_size() 46 psize = prop->device_mem_alloc_default_page_size; in set_alloc_page_size() 551 * @prop: asic properties structure to retrieve reserved ranges from. 554 u64 start_addr, u32 size, struct asic_fixed_properties *prop) { in is_hint_crossing_range() 560 prop->hints_dram_reserved_va_range.start_addr, in is_hint_crossing_range() 561 prop->hints_dram_reserved_va_range.end_addr); in is_hint_crossing_range() 565 prop->hints_host_reserved_va_range.start_addr, in is_hint_crossing_range() 566 prop->hints_host_reserved_va_range.end_addr); in is_hint_crossing_range() 570 prop in is_hint_crossing_range() 553 is_hint_crossing_range(enum hl_va_range_type range_type, u64 start_addr, u32 size, struct asic_fixed_properties *prop) is_hint_crossing_range() argument 600 struct asic_fixed_properties *prop = &hdev->asic_prop; get_va_block() local 1277 struct asic_fixed_properties *prop; unmap_device_va() local 1539 struct asic_fixed_properties *prop; alloc_sgt_from_device_pages() local 1900 struct asic_fixed_properties *prop = &hdev->asic_prop; validate_export_params_no_mmu() local 1933 struct asic_fixed_properties *prop = &hdev->asic_prop; validate_export_params() local 2012 struct asic_fixed_properties *prop; export_dmabuf_from_addr() local 2677 struct asic_fixed_properties *prop = &ctx->hdev->asic_prop; hl_vm_ctx_init() local 2814 struct asic_fixed_properties *prop = &hdev->asic_prop; hl_vm_init() local [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | of.h | 95 struct property *prop; member 407 extern int of_add_property(struct device_node *np, struct property *prop); 408 extern int of_remove_property(struct device_node *np, struct property *prop); 424 * struct property *prop; 428 * of_property_for_each_u32(np, "propname", prop, p, u) 431 const __be32 *of_prop_next_u32(struct property *prop, const __be32 *cur, 434 * struct property *prop; 437 * of_property_for_each_string(np, "propname", prop, s) 440 const char *of_prop_next_string(struct property *prop, const char *cur); 801 static inline int of_add_property(struct device_node *np, struct property *prop) in of_add_property() argument 806 of_remove_property(struct device_node *np, struct property *prop) of_remove_property() argument 816 of_prop_next_u32(struct property *prop, const __be32 *cur, u32 *pu) of_prop_next_u32() argument 822 of_prop_next_string(struct property *prop, const char *cur) of_prop_next_string() argument 1223 struct property *prop = of_find_property(np, propname, NULL); of_property_read_bool() local 1512 struct property *prop; global() member 1565 of_changeset_add_property(struct of_changeset *ocs, struct device_node *np, struct property *prop) of_changeset_add_property() argument 1571 of_changeset_remove_property(struct of_changeset *ocs, struct device_node *np, struct property *prop) of_changeset_remove_property() argument 1577 of_changeset_update_property(struct of_changeset *ocs, struct device_node *np, struct property *prop) of_changeset_update_property() argument [all...] |
/kernel/linux/linux-5.10/drivers/firmware/efi/ |
H A D | fdtparams.c | 61 const void *prop; in efi_get_fdt_prop() local 65 prop = fdt_getprop(fdt, node, pname, &len); in efi_get_fdt_prop() 66 if (!prop) in efi_get_fdt_prop() 69 val = (len == 4) ? (u64)be32_to_cpup(prop) : get_unaligned_be64(prop); in efi_get_fdt_prop()
|
/kernel/linux/linux-5.10/net/wireless/ |
H A D | of.c | 78 struct property *prop; in wiphy_read_of_freq_limits() local 91 prop = of_find_property(np, "ieee80211-freq-limit", &len); in wiphy_read_of_freq_limits() 92 if (!prop) in wiphy_read_of_freq_limits() 111 p = of_prop_next_u32(prop, p, &limit->start_freq_khz); in wiphy_read_of_freq_limits() 117 p = of_prop_next_u32(prop, p, &limit->end_freq_khz); in wiphy_read_of_freq_limits()
|
/kernel/linux/linux-6.6/drivers/firmware/efi/ |
H A D | fdtparams.c | 63 const void *prop; in efi_get_fdt_prop() local 67 prop = fdt_getprop(fdt, node, pname, &len); in efi_get_fdt_prop() 68 if (!prop) in efi_get_fdt_prop() 71 val = (len == 4) ? (u64)be32_to_cpup(prop) : get_unaligned_be64(prop); in efi_get_fdt_prop()
|
/kernel/linux/linux-6.6/net/wireless/ |
H A D | of.c | 78 struct property *prop; in wiphy_read_of_freq_limits() local 91 prop = of_find_property(np, "ieee80211-freq-limit", &len); in wiphy_read_of_freq_limits() 92 if (!prop) in wiphy_read_of_freq_limits() 111 p = of_prop_next_u32(prop, p, &limit->start_freq_khz); in wiphy_read_of_freq_limits() 117 p = of_prop_next_u32(prop, p, &limit->end_freq_khz); in wiphy_read_of_freq_limits()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/linux/display/ |
H A D | WindowSurfaceVkSimple.cpp | 35 VkDisplayPropertiesKHR prop = {}; in createSurfaceVk() local 37 ANGLE_VK_TRY(context, vkGetPhysicalDeviceDisplayPropertiesKHR(physicalDevice, &count, &prop)); in createSurfaceVk() 40 ASSERT(prop.display != VK_NULL_HANDLE); in createSurfaceVk() 42 vkGetDisplayModePropertiesKHR(physicalDevice, prop.display, &count, nullptr)); in createSurfaceVk() 46 ANGLE_VK_TRY(context, vkGetDisplayModePropertiesKHR(physicalDevice, prop.display, &count, in createSurfaceVk()
|