Lines Matching defs:map_count
231 if ((from->map)&&(into->map_count>0)) {
232 into->map= calloc(into->map_count, sizeof(XkbKTMapEntryRec));
235 memcpy(into->map,from->map,into->map_count*sizeof(XkbKTMapEntryRec));
237 if ((from->preserve)&&(into->map_count>0)) {
238 into->preserve= calloc(into->map_count, sizeof(XkbModsRec));
242 into->map_count*sizeof(XkbModsRec));
271 int map_count,
278 if ((type_ndx<0)||(type_ndx>=xkb->map->num_types)||(map_count<0)||
294 if (map_count==0) {
299 type->map_count= 0;
304 if ((map_count>type->map_count)||(type->map==NULL))
305 type->map = realloc(type->map,map_count * sizeof(XkbKTMapEntryRec));
313 if ((map_count>type->map_count)||(type->preserve==NULL)) {
315 map_count * sizeof(XkbModsRec));
326 type->map_count= map_count;
812 type->map_count= 0;