/third_party/typescript/tests/baselines/reference/ |
H A D | tsxReactPropsInferenceSucceedsOnIntersections.js | 16 const CustomButton: React.SFC<CustomButtonProps> = props => <Button {...props} />; 38 var CustomButton = function (props) { return react_1["default"].createElement(Button, __assign({}, props)); };
|
H A D | jsxComplexSignatureHasApplicabilityError.js | 26 return (props) => { 29 {...props} 32 value={props.value} 34 if (props.onChange) { 35 props.onChange(value === null ? undefined : value); 62 export type ArrowRendererHandler = (props: ArrowRendererProps) => HandlerRendererResult; 66 export type InputRendererHandler = (props: { [key: string]: any }) => HandlerRendererResult; 67 export type MenuRendererHandler<TValue = OptionValues> = (props: MenuRendererProps<TValue>) => HandlerRendererResult; 629 return function (props) {
630 return (React.createElement(ReactSelectClass, __assign({}, props, { mult [all...] |
H A D | defaultDeclarationEmitShadowedNamedCorrectly.js | 7 export function make<P, CTor>(x: { new (): CTor & {props: P} }): Things<P, CTor> { 15 props: Props; 52 props: P;
58 props: Props;
|
H A D | jsxInvalidEsprimaTestSuite.js | 50 <div {props} />; 53 <div>stuff</div {...props}>; 56 <div {...props}>stuff</div {...props}>; 132 <div {...props}/>;
136 props;
140 <div {...props}>stuff</div>;
142 props;
|
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"]); }
|
/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...] |
/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...] |
/third_party/mesa3d/src/gallium/frontends/clover/core/ |
H A D | context.cpp | 27 context::context(const property_list &props, in context() argument 30 notify(notify), props(props), devs(devs) { in context() 57 return props; in properties()
|
H A D | property.hpp | 232 property_list<D> props; in obj() local 238 if (props.count(key)) in obj() 241 props.insert({ key, value }); in obj() 244 return props; in obj() 253 desc(const property_list<D> &props) { in desc() argument 256 for (auto &prop : props) { in desc()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-shape-plan.h | 57 const hb_segment_properties_t *props, 64 const hb_segment_properties_t *props, 71 const hb_segment_properties_t *props, 80 const hb_segment_properties_t *props,
|
H A D | hb-ot-layout.hh | 220 unsigned int props = gen_cat; in _hb_glyph_info_set_unicode_props() local 229 props |= UPROPS_MASK_IGNORABLE; in _hb_glyph_info_set_unicode_props() 230 if (u == 0x200Cu) props |= UPROPS_MASK_Cf_ZWNJ; in _hb_glyph_info_set_unicode_props() 231 else if (u == 0x200Du) props |= UPROPS_MASK_Cf_ZWJ; in _hb_glyph_info_set_unicode_props() 239 else if (unlikely (hb_in_ranges<hb_codepoint_t> (u, 0x180Bu, 0x180Du, 0x180Fu, 0x180Fu))) props |= UPROPS_MASK_HIDDEN; in _hb_glyph_info_set_unicode_props() 242 else if (unlikely (hb_in_range<hb_codepoint_t> (u, 0xE0020u, 0xE007Fu))) props |= UPROPS_MASK_HIDDEN; in _hb_glyph_info_set_unicode_props() 248 props |= UPROPS_MASK_HIDDEN; in _hb_glyph_info_set_unicode_props() 254 props |= UPROPS_MASK_CONTINUATION; in _hb_glyph_info_set_unicode_props() 255 props |= unicode->modified_combining_class (u)<<8; in _hb_glyph_info_set_unicode_props() 259 info->unicode_props() = props; in _hb_glyph_info_set_unicode_props() 499 _hb_glyph_info_set_glyph_props(hb_glyph_info_t *info, unsigned int props) _hb_glyph_info_set_glyph_props() argument [all...] |
H A D | hb-ot-shape.cc | 53 _hb_apply_morx (hb_face_t *face, const hb_segment_properties_t *props) in _hb_apply_morx() argument 57 (HB_DIRECTION_IS_HORIZONTAL (props->direction) || !hb_ot_layout_has_substitution (face)); in _hb_apply_morx() 77 const hb_segment_properties_t *props) : in hb_ot_shape_planner_t() 79 props (*props), in hb_ot_shape_planner_t() 80 map (face, props), in hb_ot_shape_planner_t() 81 aat_map (face, props) in hb_ot_shape_planner_t() 83 , apply_morx (_hb_apply_morx (face, props)) in hb_ot_shape_planner_t() 100 plan.props = props; in compile() 76 hb_ot_shape_planner_t(hb_face_t *face, const hb_segment_properties_t *props) hb_ot_shape_planner_t() argument [all...] |
/third_party/skia/infra/bots/buildstats/ |
H A D | buildstats_wasm.py | 44 props = propstr.split(' ') 45 for i in range(0, len(props), 2): 46 results[props[i]] = props[i+1]
|
H A D | buildstats_web.py | 29 props = propstr.split(' ') 30 for i in range(0, len(props), 2): 31 results[props[i]] = props[i+1]
|
/third_party/icu/icu4c/source/common/ |
H A D | uprops.h | 63 #define GET_CATEGORY(props) ((props)&0x1f) 64 #define CAT_MASK(props) U_MASK(GET_CATEGORY(props)) 66 #define GET_NUMERIC_TYPE_VALUE(props) ((props)>>UPROPS_NUMERIC_TYPE_VALUE_SHIFT)
|
/third_party/node/deps/icu-small/source/common/ |
H A D | uprops.h | 63 #define GET_CATEGORY(props) ((props)&0x1f) 64 #define CAT_MASK(props) U_MASK(GET_CATEGORY(props)) 66 #define GET_NUMERIC_TYPE_VALUE(props) ((props)>>UPROPS_NUMERIC_TYPE_VALUE_SHIFT)
|
/third_party/skia/src/gpu/vk/ |
H A D | GrVkSecondaryCBDrawContext.cpp | 27 const SkSurfaceProps* props) { in Make() 49 SkSurfacePropsCopyOrDefault(props), in Make() 56 props)); in Make() 60 const SkSurfaceProps* props) in GrVkSecondaryCBDrawContext() 62 , fProps(SkSurfacePropsCopyOrDefault(props)) {} in GrVkSecondaryCBDrawContext() 129 this->props()); in characterize() 24 Make(GrRecordingContext* rContext, const SkImageInfo& imageInfo, const GrVkDrawableInfo& vkInfo, const SkSurfaceProps* props) Make() argument 59 GrVkSecondaryCBDrawContext(sk_sp<skgpu::BaseDevice> device, const SkSurfaceProps* props) GrVkSecondaryCBDrawContext() argument
|
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | uprops.h | 63 #define GET_CATEGORY(props) ((props)&0x1f) 64 #define CAT_MASK(props) U_MASK(GET_CATEGORY(props)) 66 #define GET_NUMERIC_TYPE_VALUE(props) ((props)>>UPROPS_NUMERIC_TYPE_VALUE_SHIFT)
|
/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()
|
/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()
|
/third_party/skia/src/core/ |
H A D | SkSurfacePriv.h | 15 static inline SkSurfaceProps SkSurfacePropsCopyOrDefault(const SkSurfaceProps* props) { in SkSurfacePropsCopyOrDefault() argument 16 return props ? *props : SkSurfaceProps(); in SkSurfacePropsCopyOrDefault()
|
H A D | SkGlyphRunPainter.cpp | 41 SkGlyphRunListPainter::SkGlyphRunListPainter(const SkSurfaceProps& props, in SkGlyphRunListPainter() argument 45 : fDeviceProps{props} in SkGlyphRunListPainter() 46 , fBitmapFallbackProps{SkSurfaceProps{props.flags(), kUnknown_SkPixelGeometry}} 62 SkGlyphRunListPainter::SkGlyphRunListPainter(const SkSurfaceProps& props, in SkGlyphRunListPainter() argument 66 : SkGlyphRunListPainter(props, colorType, compute_scaler_context_flags(cs), strikeCache) {} in SkGlyphRunListPainter() 69 SkGlyphRunListPainter::SkGlyphRunListPainter(const SkSurfaceProps& props, const GrColorInfo& csi) in SkGlyphRunListPainter() argument 70 : SkGlyphRunListPainter(props, in SkGlyphRunListPainter() 90 // convert the lcd text into A8 text. The props communicates this to the scaler. in drawForBitmapDevice() 91 auto& props = (kN32_SkColorType == fColorType && paint.isSrcOver()) in drawForBitmapDevice() local 104 SkStrikeSpec::MakePath(runFont, paint, props, fScalerContextFlag in drawForBitmapDevice() [all...] |
/third_party/lzma/C/ |
H A D | Lzma2Dec.c | 57 static SRes Lzma2Dec_GetOldProps(Byte prop, Byte *props)
in Lzma2Dec_GetOldProps() argument 63 props[0] = (Byte)LZMA2_LCLP_MAX;
in Lzma2Dec_GetOldProps() 64 props[1] = (Byte)(dicSize);
in Lzma2Dec_GetOldProps() 65 props[2] = (Byte)(dicSize >> 8);
in Lzma2Dec_GetOldProps() 66 props[3] = (Byte)(dicSize >> 16);
in Lzma2Dec_GetOldProps() 67 props[4] = (Byte)(dicSize >> 24);
in Lzma2Dec_GetOldProps() 73 Byte props[LZMA_PROPS_SIZE];
in Lzma2Dec_AllocateProbs() local 74 RINOK(Lzma2Dec_GetOldProps(prop, props))
in Lzma2Dec_AllocateProbs() 75 return LzmaDec_AllocateProbs(&p->decoder, props, LZMA_PROPS_SIZE, alloc);
in Lzma2Dec_AllocateProbs() 80 Byte props[LZMA_PROPS_SIZ in Lzma2Dec_Allocate() local [all...] |
/third_party/mesa3d/src/intel/vulkan/ |
H A D | anv_device.c | 527 VkMemoryPropertyFlags props = device->memory.types[i].propertyFlags; in anv_physical_device_init_heaps() local 528 if ((props & VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT) && in anv_physical_device_init_heaps() 529 !(props & VK_MEMORY_PROPERTY_HOST_COHERENT_BIT)) in anv_physical_device_init_heaps() 2332 VkPhysicalDeviceAccelerationStructurePropertiesKHR *props = (void *)ext; in anv_GetPhysicalDeviceProperties2() local 2333 props->maxGeometryCount = (1u << 24) - 1; in anv_GetPhysicalDeviceProperties2() 2334 props->maxInstanceCount = (1u << 24) - 1; in anv_GetPhysicalDeviceProperties2() 2335 props->maxPrimitiveCount = (1u << 29) - 1; in anv_GetPhysicalDeviceProperties2() 2336 props->maxPerStageDescriptorAccelerationStructures = UINT16_MAX; in anv_GetPhysicalDeviceProperties2() 2337 props->maxPerStageDescriptorUpdateAfterBindAccelerationStructures = UINT16_MAX; in anv_GetPhysicalDeviceProperties2() 2338 props in anv_GetPhysicalDeviceProperties2() 2379 VkPhysicalDeviceFragmentShadingRatePropertiesKHR *props = anv_GetPhysicalDeviceProperties2() local 2427 VkPhysicalDeviceDrmPropertiesEXT *props = anv_GetPhysicalDeviceProperties2() local 2442 VkPhysicalDeviceExternalMemoryHostPropertiesEXT *props = anv_GetPhysicalDeviceProperties2() local 2450 VkPhysicalDeviceLineRasterizationPropertiesEXT *props = anv_GetPhysicalDeviceProperties2() local 2476 VkPhysicalDeviceMeshShaderPropertiesNV *props = anv_GetPhysicalDeviceProperties2() local 2558 VkPhysicalDevicePresentationPropertiesANDROID *props = anv_GetPhysicalDeviceProperties2() local 2590 VkPhysicalDeviceSampleLocationsPropertiesEXT *props = anv_GetPhysicalDeviceProperties2() local 2609 VkPhysicalDeviceShaderModuleIdentifierPropertiesEXT *props = anv_GetPhysicalDeviceProperties2() local 2620 VkPhysicalDeviceTransformFeedbackPropertiesEXT *props = anv_GetPhysicalDeviceProperties2() local 2638 VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT *props = anv_GetPhysicalDeviceProperties2() local 2646 VkPhysicalDeviceMultiDrawPropertiesEXT *props = (VkPhysicalDeviceMultiDrawPropertiesEXT *)ext; anv_GetPhysicalDeviceProperties2() local [all...] |