Home
last modified time | relevance | path

Searched refs:nprops (Results 1 - 8 of 8) sorted by relevance

/third_party/skia/third_party/externals/freetype/src/pcf/
H A Dpcfread.c465 for ( i = 0; i < face->nprops && !found; i++ ) in FT_LOCAL_DEF()
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()
571 /* clever here - nprops i in pcf_get_properties()
[all...]
H A Dpcf.h157 int nprops; member
H A Dpcfdrivr.c209 for ( i = 0; i < face->nprops; i++ ) in PCF_Face_Done()
/third_party/libinput/src/
H A Dutil-prop-parsers.c430 * props must point to an existing array of size nprops.
431 * nprops specifies the size of the array in props and returns the number
432 * of elements, elements exceeding nprops are simply ignored, just make sure
435 * On success, props contains nprops elements.
438 parse_input_prop_property(const char *prop, struct input_prop *props_out, size_t *nprops) in parse_input_prop_property() argument
448 count = min(*nprops, count); in parse_input_prop_property()
477 *nprops = count; in parse_input_prop_property()
H A Dquirks.c845 size_t nprops = ARRAY_LENGTH(props); in parse_attr() local
849 if (!parse_input_prop_property(value, props, &nprops) || in parse_attr()
850 nprops == 0) in parse_attr()
853 for (size_t i = 0; i < nprops; i++) { in parse_attr()
858 p->value.tuples.ntuples = nprops; in parse_attr()
1433 size_t nprops = 0; in quirk_apply_section() local
1437 nprops++; in quirk_apply_section()
1440 nprops += q->nproperties; in quirk_apply_section()
1441 tmp = realloc(q->properties, nprops * sizeof(p)); in quirk_apply_section()
H A Dutil-prop-parsers.h47 bool parse_input_prop_property(const char *prop, struct input_prop *props_out, size_t *nprops);
/third_party/mesa3d/src/glx/
H A 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/test/
H A Dtest-utils.c666 size_t nprops = ARRAY_LENGTH(props); in START_TEST() local
669 success = parse_input_prop_property(t->prop, props, &nprops); in START_TEST()
674 ck_assert_int_eq(nprops, t->nvals); in START_TEST()

Completed in 9 milliseconds