/third_party/typescript/tests/baselines/reference/ |
H A D | objectRestSpread.js | 11 ...props 17 ...props 22 ...props 52 let _e = {}, { prop = Object.assign({}, obj) } = _e, _f = _e.more, more = _f === void 0 ? (_a = Object.assign({}, obj), obj = __rest(_a, []), _a) : _f, _g = '' + 'other', _h = _e[_g], other = _h === void 0 ? Object.assign({}, obj) : _h, _j = _e.yetAnother, _k = _j === void 0 ? Object.assign({}, obj) : _j, _l = _k.nested, _m = _l === void 0 ? Object.assign({}, obj) : _l, _o = 'nested' + 'prop', _p = _m[_o], nestedProp = _p === void 0 ? Object.assign({}, obj) : _p, nestedRest = __rest(_m, [typeof _o === "symbol" ? _o : _o + ""]), { fn = function () { return __asyncGenerator(this, arguments, function* () { }); } } = _e, props = __rest(_e, ["prop", "more", typeof _g === "symbol" ? _g : _g + "", "yetAnother", "fn"]);
53 (_b = {}, { prop = Object.assign({}, obj) } = _b, _c = '' + 'other', _d = _b[_c], other = _d === void 0 ? Object.assign({}, obj) : _d, props = __rest(_b, ["prop", typeof _c === "symbol" ? _c : _c + ""]));
54 function test(_a) { var { prop = Object.assign({}, obj) } = _a, props = __rest(_a, ["prop"]); }
|
H A D | checkJsxChildrenProperty12.js | 14 return <InnerButton {...this.props} /> 17 return (<InnerButton {...this.props} > 62 return <InnerButton {...this.props}/>;
65 return (<InnerButton {...this.props}>
|
/foundation/graphic/graphic_3d/kits/js/src/ |
H A D | NodeImpl.cpp | 63 void NodeImpl::GetPropertyDescs(BASE_NS::vector<napi_property_descriptor>& props) in GetPropertyDescs() argument 68 SceneResourceImpl::GetPropertyDescs(props); in GetPropertyDescs() 72 props.push_back(TROGetProperty<BASE_NS::string, NodeImpl, &NodeImpl::GetPath>("path")); in GetPropertyDescs() 73 props.push_back(TROGetSetProperty<Object, NodeImpl, &NodeImpl::GetPosition, &NodeImpl::SetPosition>("position")); in GetPropertyDescs() 74 props.push_back(TROGetSetProperty<Object, NodeImpl, &NodeImpl::GetRotation, &NodeImpl::SetRotation>("rotation")); in GetPropertyDescs() 75 props.push_back(TROGetSetProperty<Object, NodeImpl, &NodeImpl::GetScale, &NodeImpl::SetScale>("scale")); in GetPropertyDescs() 76 props.push_back(TROGetProperty<BASE_NS::string, NodeImpl, &NodeImpl::GetParent>("parent")); in GetPropertyDescs() 77 props.push_back(TROGetSetProperty<bool, NodeImpl, &NodeImpl::GetVisible, &NodeImpl::SetVisible>("visible")); in GetPropertyDescs() 78 props.push_back(TROGetSetProperty<bool, NodeImpl, &NodeImpl::GetChildContainer, &NodeImpl::SetVisible>("children")); in GetPropertyDescs() 79 props in GetPropertyDescs() [all...] |
H A D | SceneResourceImpl.cpp | 53 void SceneResourceImpl::GetPropertyDescs(BASE_NS::vector<napi_property_descriptor>& props) in GetPropertyDescs() argument 55 props.push_back( in GetPropertyDescs() 58 props.push_back(TROGetProperty<NapiApi::Object, SceneResourceImpl, &SceneResourceImpl::GetUri>("uri")); in GetPropertyDescs() 59 props.push_back( in GetPropertyDescs() 61 props.push_back( in GetPropertyDescs()
|
/kernel/linux/linux-5.10/drivers/gpio/ |
H A D | gpio-aspeed.c | 39 const struct aspeed_bank_props *props; member 259 static inline bool is_bank_props_sentinel(const struct aspeed_bank_props *props) in is_bank_props_sentinel() argument 261 return !(props->input || props->output); in is_bank_props_sentinel() 267 const struct aspeed_bank_props *props = gpio->config->props; in find_bank_props() local 269 while (!is_bank_props_sentinel(props)) { in find_bank_props() 270 if (props->bank == GPIO_BANK(offset)) in find_bank_props() 271 return props; in find_bank_props() 272 props in find_bank_props() 280 const struct aspeed_bank_props *props = find_bank_props(gpio, offset); have_gpio() local 290 const struct aspeed_bank_props *props = find_bank_props(gpio, offset); have_input() local 300 const struct aspeed_bank_props *props = find_bank_props(gpio, offset); have_output() local 691 const struct aspeed_bank_props *props = gpio->config->props; aspeed_init_irq_valid_mask() local [all...] |
/kernel/linux/linux-6.6/drivers/gpio/ |
H A D | gpio-aspeed.c | 41 const struct aspeed_bank_props *props; member 261 static inline bool is_bank_props_sentinel(const struct aspeed_bank_props *props) in is_bank_props_sentinel() argument 263 return !(props->input || props->output); in is_bank_props_sentinel() 269 const struct aspeed_bank_props *props = gpio->config->props; in find_bank_props() local 271 while (!is_bank_props_sentinel(props)) { in find_bank_props() 272 if (props->bank == GPIO_BANK(offset)) in find_bank_props() 273 return props; in find_bank_props() 274 props in find_bank_props() 282 const struct aspeed_bank_props *props = find_bank_props(gpio, offset); have_gpio() local 292 const struct aspeed_bank_props *props = find_bank_props(gpio, offset); have_input() local 302 const struct aspeed_bank_props *props = find_bank_props(gpio, offset); have_output() local 698 const struct aspeed_bank_props *props = gpio->config->props; aspeed_init_irq_valid_mask() local [all...] |
/third_party/skia/tests/ |
H A D | SkRemoteGlyphCacheTest.cpp | 171 return surface->props(); in FindSurfaceProps() 216 auto props = FindSurfaceProps(dContext); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 218 10, 10, props, nullptr, dContext->supportsDistanceFieldText()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 253 const SkSurfaceProps props; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 255 10, 10, props, nullptr, ctxInfo.directContext()->supportsDistanceFieldText()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 279 const SkSurfaceProps props; in DEF_TEST() local 281 server.makeAnalysisCanvas(10, 10, props, nullptr, true); in DEF_TEST() 316 const SkSurfaceProps props; in DEF_TEST() local 318 server.makeAnalysisCanvas(10, 10, props, nullptr, true); in DEF_TEST() 356 const SkSurfaceProps props; in DEF_TEST() local 398 const SkSurfaceProps props; DEF_TEST() local 427 const SkSurfaceProps props; DEF_TEST() local 449 const SkSurfaceProps props; DEF_TEST() local 479 auto props = FindSurfaceProps(direct); DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 555 auto props = FindSurfaceProps(direct); DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 668 auto props = FindSurfaceProps(direct); DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 713 const SkSurfaceProps props; DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 802 auto props = FindSurfaceProps(direct); DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/menu_item/ |
H A D | menu_item_layout_algorithm.cpp | 34 auto props = layoutWrapper->GetLayoutProperty(); in Measure() local 35 CHECK_NULL_VOID(props); in Measure() 37 auto layoutConstraint = props->GetLayoutConstraint(); in Measure() 42 const auto& padding = props->CreatePaddingAndBorderWithDefault(horInterval_, verInterval_, 0.0f, 0.0f); in Measure() 45 const auto& calcConstraint = props->GetCalcLayoutConstraint(); in Measure() 67 auto childConstraint = props->CreateChildConstraint(); in Measure() 155 auto props = layoutWrapper->GetLayoutProperty(); in CheckUserHeight() local 156 CHECK_NULL_VOID(props); in CheckUserHeight() 157 const auto& calcConstraint = props->GetCalcLayoutConstraint(); in CheckUserHeight() 159 auto layoutConstraint = props in CheckUserHeight() 338 auto props = layoutWrapper->GetLayoutProperty(); UpdateSelfSize() local 376 auto props = layoutWrapper->GetLayoutProperty(); GetBordersHeight() local [all...] |
/third_party/vulkan-loader/tests/ |
H A D | loader_regression_tests.cpp | 2550 void FillInRandomDeviceProps(VkPhysicalDeviceProperties& props, VkPhysicalDeviceType dev_type, uint32_t api_vers, uint32_t vendor, in FillInRandomDeviceProps() argument 2552 props.apiVersion = api_vers; in FillInRandomDeviceProps() 2553 props.vendorID = vendor; in FillInRandomDeviceProps() 2554 props.deviceID = device; in FillInRandomDeviceProps() 2555 props.deviceType = dev_type; in FillInRandomDeviceProps() 2557 props.pipelineCacheUUID[idx] = static_cast<uint8_t>(rand() % 255); in FillInRandomDeviceProps() 2696 VkPhysicalDeviceToolPropertiesEXT props{}; in TEST() 2697 ASSERT_EQ(VK_SUCCESS, getToolProperties(phys_dev, &tool_count, &props)); in TEST() 2699 string_eq(props.name, icd_tool_props.name); in TEST() 2720 VkPhysicalDeviceToolProperties props{}; in TEST() 3878 auto props = env.GetLayerProperties(1); TEST() local [all...] |
/kernel/linux/linux-5.10/drivers/video/backlight/ |
H A D | lm3533_bl.c | 268 struct backlight_properties props; in lm3533_bl_probe() local 299 memset(&props, 0, sizeof(props)); in lm3533_bl_probe() 300 props.type = BACKLIGHT_RAW; in lm3533_bl_probe() 301 props.max_brightness = LM3533_BL_MAX_BRIGHTNESS; in lm3533_bl_probe() 302 props.brightness = pdata->default_brightness; in lm3533_bl_probe() 305 &props); in lm3533_bl_probe() 347 bd->props.power = FB_BLANK_POWERDOWN; in lm3533_bl_remove() 348 bd->props.brightness = 0; in lm3533_bl_remove()
|
H A D | led_bl.c | 177 struct backlight_properties props; in led_bl_probe() local 199 memset(&props, 0, sizeof(struct backlight_properties)); in led_bl_probe() 200 props.type = BACKLIGHT_RAW; in led_bl_probe() 201 props.max_brightness = priv->max_brightness; in led_bl_probe() 202 props.brightness = priv->default_brightness; in led_bl_probe() 203 props.power = (priv->default_brightness > 0) ? FB_BLANK_POWERDOWN : in led_bl_probe() 206 &pdev->dev, priv, &led_bl_ops, &props); in led_bl_probe()
|
H A D | pcf50633-backlight.c | 55 if (bl->props.state & (BL_CORE_SUSPENDED | BL_CORE_FBBLANK) || in pcf50633_bl_update_status() 56 bl->props.power != FB_BLANK_UNBLANK) in pcf50633_bl_update_status() 58 else if (bl->props.brightness < pcf_bl->brightness_limit) in pcf50633_bl_update_status() 59 new_brightness = bl->props.brightness; in pcf50633_bl_update_status() 136 pcf_bl->brightness = pcf_bl->bl->props.brightness + 1; in pcf50633_bl_probe()
|
/kernel/linux/linux-6.6/drivers/video/backlight/ |
H A D | lm3533_bl.c | 268 struct backlight_properties props; in lm3533_bl_probe() local 299 memset(&props, 0, sizeof(props)); in lm3533_bl_probe() 300 props.type = BACKLIGHT_RAW; in lm3533_bl_probe() 301 props.max_brightness = LM3533_BL_MAX_BRIGHTNESS; in lm3533_bl_probe() 302 props.brightness = pdata->default_brightness; in lm3533_bl_probe() 305 &props); in lm3533_bl_probe() 347 bd->props.power = FB_BLANK_POWERDOWN; in lm3533_bl_remove() 348 bd->props.brightness = 0; in lm3533_bl_remove()
|
H A D | led_bl.c | 177 struct backlight_properties props; in led_bl_probe() local 199 memset(&props, 0, sizeof(struct backlight_properties)); in led_bl_probe() 200 props.type = BACKLIGHT_RAW; in led_bl_probe() 201 props.max_brightness = priv->max_brightness; in led_bl_probe() 202 props.brightness = priv->default_brightness; in led_bl_probe() 203 props.power = (priv->default_brightness > 0) ? FB_BLANK_POWERDOWN : in led_bl_probe() 206 &pdev->dev, priv, &led_bl_ops, &props); in led_bl_probe()
|
H A D | pcf50633-backlight.c | 55 if (bl->props.state & (BL_CORE_SUSPENDED | BL_CORE_FBBLANK) || in pcf50633_bl_update_status() 56 bl->props.power != FB_BLANK_UNBLANK) in pcf50633_bl_update_status() 58 else if (bl->props.brightness < pcf_bl->brightness_limit) in pcf50633_bl_update_status() 59 new_brightness = bl->props.brightness; in pcf50633_bl_update_status() 136 pcf_bl->brightness = pcf_bl->bl->props.brightness + 1; in pcf50633_bl_probe()
|
/third_party/icu/tools/unicode/c/genprops/ |
H A D | layoutpropsbuilder.cpp | 84 virtual void setProps(const UniProps &props, const UnicodeSet &newValues, UErrorCode &errorCode) U_OVERRIDE; 134 LayoutPropsBuilder::setProps(const UniProps &props, const UnicodeSet &newValues, in setProps() argument 136 setIntProp(props, newValues, UCHAR_INDIC_POSITIONAL_CATEGORY, inpcMutableTrie, errorCode); in setProps() 137 setIntProp(props, newValues, UCHAR_INDIC_SYLLABIC_CATEGORY, inscMutableTrie, errorCode); in setProps() 138 setIntProp(props, newValues, UCHAR_VERTICAL_ORIENTATION, voMutableTrie, errorCode); in setProps() 141 void LayoutPropsBuilder::setIntProp(const UniProps &props, const UnicodeSet &newValues, in setIntProp() argument 145 UChar32 start=props.start; in setIntProp() 146 UChar32 end=props.end; in setIntProp() 147 int32_t value = props.getIntProp(prop); in setIntProp()
|
H A D | genprops.cpp | 153 const UniProps *props=ppucd.getProps(newValues, errorCode); in main() local 154 corePropsBuilder->setProps(*props, newValues, errorCode); in main() 155 bidiPropsBuilder->setProps(*props, newValues, errorCode); in main() 156 casePropsBuilder->setProps(*props, newValues, errorCode); in main() 157 layoutPropsBuilder->setProps(*props, newValues, errorCode); in main() 158 emojiPropsBuilder->setProps(*props, newValues, errorCode); in main() 159 namesPropsBuilder->setProps(*props, newValues, errorCode); in main()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_iommu.c | 344 struct kfd_perf_properties *props; in kfd_iommu_add_perf_counters() local 352 props = kfd_alloc_struct(props); in kfd_iommu_add_perf_counters() 353 if (!props) in kfd_iommu_add_perf_counters() 355 strcpy(props->block_name, "iommu"); in kfd_iommu_add_perf_counters() 356 props->max_concurrent = amd_iommu_pc_get_max_banks(0) * in kfd_iommu_add_perf_counters() 358 list_add_tail(&props->list, &kdev->perf_props); in kfd_iommu_add_perf_counters()
|
/third_party/skia/src/gpu/ |
H A D | GrProcessorSet.cpp | 154 GrXPFactory::AnalysisProperties props = GrXPFactory::GetAnalysisProperties( in finalize() local 156 analysis.fRequiresDstTexture = (props & GrXPFactory::AnalysisProperties::kRequiresDstTexture) || in finalize() 159 SkToBool(props & GrXPFactory::AnalysisProperties::kCompatibleWithCoverageAsAlpha); in finalize() 161 (props & GrXPFactory::AnalysisProperties::kRequiresNonOverlappingDraws) || in finalize() 164 SkToBool(props & GrXPFactory::AnalysisProperties::kUsesNonCoherentHWBlending); in finalize() 166 SkToBool(props & GrXPFactory::AnalysisProperties::kUnaffectedByDstValue); in finalize() 167 if (props & GrXPFactory::AnalysisProperties::kIgnoresInputColor) { in finalize()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/ |
H A D | qib_verbs.c | 1192 struct ib_port_attr *props) in qib_query_port() 1200 /* props being zeroed by the caller, avoid zeroing it here */ in qib_query_port() 1201 props->lid = lid ? lid : be16_to_cpu(IB_LID_PERMISSIVE); in qib_query_port() 1202 props->lmc = ppd->lmc; in qib_query_port() 1203 props->state = dd->f_iblink_state(ppd->lastibcstat); in qib_query_port() 1204 props->phys_state = dd->f_ibphys_portstate(ppd->lastibcstat); in qib_query_port() 1205 props->gid_tbl_len = QIB_GUIDS_PER_PORT; in qib_query_port() 1206 props->active_width = ppd->link_width_active; in qib_query_port() 1208 props->active_speed = ppd->link_speed_active; in qib_query_port() 1209 props in qib_query_port() 1191 qib_query_port(struct rvt_dev_info *rdi, u8 port_num, struct ib_port_attr *props) qib_query_port() argument [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/qib/ |
H A D | qib_verbs.c | 1192 struct ib_port_attr *props) in qib_query_port() 1200 /* props being zeroed by the caller, avoid zeroing it here */ in qib_query_port() 1201 props->lid = lid ? lid : be16_to_cpu(IB_LID_PERMISSIVE); in qib_query_port() 1202 props->lmc = ppd->lmc; in qib_query_port() 1203 props->state = dd->f_iblink_state(ppd->lastibcstat); in qib_query_port() 1204 props->phys_state = dd->f_ibphys_portstate(ppd->lastibcstat); in qib_query_port() 1205 props->gid_tbl_len = QIB_GUIDS_PER_PORT; in qib_query_port() 1206 props->active_width = ppd->link_width_active; in qib_query_port() 1208 props->active_speed = ppd->link_speed_active; in qib_query_port() 1209 props in qib_query_port() 1191 qib_query_port(struct rvt_dev_info *rdi, u32 port_num, struct ib_port_attr *props) qib_query_port() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/renesas/shmobile/ |
H A D | shmob_drm_backlight.c | 46 scon->backlight->props.power = mode == DRM_MODE_DPMS_ON in shmob_drm_backlight_dpms() 70 backlight->props.max_brightness = bdata->max_brightness; in shmob_drm_backlight_init() 71 backlight->props.brightness = bdata->max_brightness; in shmob_drm_backlight_init() 72 backlight->props.power = FB_BLANK_POWERDOWN; in shmob_drm_backlight_init()
|
/third_party/lzma/CPP/7zip/Compress/ |
H A D | BranchMisc.cpp | 46 Z7_COM7F_IMF(CEncoder::SetCoderProperties(const PROPID *propIDs, const PROPVARIANT *props, UInt32 numProps))
in SetCoderProperties() argument 55 const PROPVARIANT &prop = props[i];
in SetCoderProperties() 93 Z7_COM7F_IMF(CDecoder::SetDecoderProperties2(const Byte *props, UInt32 size))
in SetDecoderProperties2() argument 100 val = GetUi32(props);
in SetDecoderProperties2()
|
H A D | DeltaFilter.cpp | 53 Z7_COM7F_IMF(CEncoder::SetCoderProperties(const PROPID *propIDs, const PROPVARIANT *props, UInt32 numProps))
in SetCoderProperties() argument 58 const PROPVARIANT &prop = props[i];
in SetCoderProperties() 112 Z7_COM7F_IMF(CDecoder::SetDecoderProperties2(const Byte *props, UInt32 size))
in SetDecoderProperties2() argument 116 _delta = (unsigned)props[0] + 1;
in SetDecoderProperties2()
|
/third_party/node/benchmark/napi/ref/ |
H A D | addon.c | 67 napi_property_descriptor props[] = { in NAPI_MODULE_INIT() local 77 sizeof(props) / sizeof(*props), in NAPI_MODULE_INIT() 78 props)); in NAPI_MODULE_INIT()
|