Home | History | Annotate | Download | only in libdrm

Lines Matching defs:count_props

492 	if (conn.count_props) {
493 conn.props_ptr = VOID2U64(drmMalloc(conn.count_props*sizeof(uint32_t)));
496 conn.prop_values_ptr = VOID2U64(drmMalloc(conn.count_props*sizeof(uint64_t)));
523 if (counts.count_props < conn.count_props ||
546 r->count_props = conn.count_props;
547 r->props = drmAllocCpy(U642VOID(conn.props_ptr), conn.count_props, sizeof(uint32_t));
548 r->prop_values = drmAllocCpy(U642VOID(conn.prop_values_ptr), conn.count_props, sizeof(uint64_t));
555 if ((r->count_props && !r->props) ||
556 (r->count_props && !r->prop_values) ||
1091 count = properties.count_props;
1107 if (count < properties.count_props) {
1112 count = properties.count_props;
1118 ret->count_props = count;
1123 if (ret->count_props && (!ret->props || !ret->prop_values)) {
1172 unsigned int count_props;
1186 set->count_props = 0;
1242 set->count_props++;
1303 set->count_props++;
1363 props_ptr = drmMalloc(set->count_props * sizeof props_ptr[0]);
1369 prop_values_ptr = drmMalloc(set->count_props * sizeof prop_values_ptr[0]);
1384 int count_props = 0;
1397 count_props++;
1402 count_props_ptr[obj_idx++] = count_props;