Home
last modified time | relevance | path

Searched refs:nprops (Results 1 – 11 of 11) sorted by relevance

/third_party/skia/third_party/externals/freetype/src/pcf/
Dpcfread.c465 for ( i = 0; i < face->nprops && !found; i++ ) in pcf_find_property()
484 FT_ULong nprops, orig_nprops, i; in pcf_get_properties() local
536 nprops = 256; in pcf_get_properties()
539 nprops = orig_nprops; in pcf_get_properties()
541 face->nprops = (int)nprops; in pcf_get_properties()
543 if ( FT_QNEW_ARRAY( props, nprops ) ) in pcf_get_properties()
546 for ( i = 0; i < nprops; i++ ) in pcf_get_properties()
563 if ( FT_STREAM_SKIP( ( orig_nprops - nprops ) * PCF_PROPERTY_SIZE ) ) in pcf_get_properties()
617 if ( FT_NEW_ARRAY( properties, nprops ) ) in pcf_get_properties()
623 for ( i = 0; i < nprops; i++ ) in pcf_get_properties()
Dpcf.h157 int nprops; member
Dpcfdrivr.c209 for ( i = 0; i < face->nprops; i++ ) in PCF_Face_Done()
/third_party/libinput/src/
Dutil-prop-parsers.c434 parse_input_prop_property(const char *prop, unsigned int *props_out, size_t *nprops) in parse_input_prop_property() argument
452 count = min(*nprops, count); in parse_input_prop_property()
470 *nprops = count; in parse_input_prop_property()
Dquirks.c845 size_t nprops = ARRAY_LENGTH(props); in parse_attr() local
851 if (!parse_input_prop_property(value, props, &nprops) || in parse_attr()
852 nprops == 0) in parse_attr()
855 memcpy(p->value.array.data.u, props, nprops * sizeof(unsigned int)); in parse_attr()
856 p->value.array.nelements = nprops; in parse_attr()
1392 size_t nprops = 0; in quirk_apply_section() local
1396 nprops++; in quirk_apply_section()
1399 nprops += q->nproperties; in quirk_apply_section()
1400 tmp = realloc(q->properties, nprops * sizeof(p)); in quirk_apply_section()
Dutil-prop-parsers.h42 bool parse_input_prop_property(const char *prop, unsigned int *props_out, size_t *nprops);
Devdev.c2139 size_t nprops = 0; in evdev_pre_configure_model_quirks() local
2208 &nprops)) { in evdev_pre_configure_model_quirks()
2209 for (size_t idx = 0; idx < nprops; idx++) { in evdev_pre_configure_model_quirks()
2222 &nprops)) { in evdev_pre_configure_model_quirks()
2224 for (size_t idx = 0; idx < nprops; idx++) { in evdev_pre_configure_model_quirks()
/third_party/mesa3d/src/glx/
Dglxext.c647 createConfigsFromProperties(Display * dpy, int nvisuals, int nprops, in createConfigsFromProperties() argument
655 if (nprops == 0) in createConfigsFromProperties()
659 if (nprops < __GLX_MIN_CONFIG_PROPS) in createConfigsFromProperties()
667 prop_size = nprops * __GLX_SIZE_INT32; in createConfigsFromProperties()
688 __glXInitializeVisualConfigFromTags(m, nprops, props, in createConfigsFromProperties()
/third_party/libinput/tools/
Dshared.c640 size_t nprops = 0; in sprintf_input_props() local
645 quirks_get_uint32_array(quirks, q, &properties, &nprops); in sprintf_input_props()
651 for (size_t i = 0; off < sz && i < nprops; i++) { in sprintf_input_props()
/third_party/libinput/test/
Dtest-utils.c611 size_t nprops = ARRAY_LENGTH(props); in START_TEST() local
614 success = parse_input_prop_property(t->prop, props, &nprops); in START_TEST()
619 ck_assert_int_eq(nprops, t->nvals); in START_TEST()
/third_party/skia/third_party/externals/freetype/docs/oldlogs/
DChangeLog.23487 * src/pcf/pcfread.c (pcf_get_properties): Fix a bug in the nprops
801 pcf: Truncate FT_ULong `nprops' to fit to int PCF_Face->nprops.
803 * src/pcf/pcfread.c (pcf_get_properties): Load `nprops'
805 int to fit PCF_Face->nprops. The number of truncated
7671 Assign `face->nprops' and `face->properties' earlier so that a call