Lines Matching defs:map_count
226 if ((from->map) && (into->map_count > 0)) {
227 into->map = _XkbTypedCalloc(into->map_count, XkbKTMapEntryRec);
231 into->map_count * sizeof(XkbKTMapEntryRec));
233 if ((from->preserve) && (into->map_count > 0)) {
234 into->preserve = _XkbTypedCalloc(into->map_count, XkbModsRec);
238 into->map_count * sizeof(XkbModsRec));
267 int map_count,
283 XkbResizeKeyType(xkb, i, map_count, want_preserve,
310 status = XkbResizeKeyType(xkb, i, map_count, want_preserve,
325 type->map_count = map_count;
327 if (map_count > 0) {
328 type->map = _XkbTypedCalloc(map_count, XkbKTMapEntryRec);
334 type->preserve = _XkbTypedCalloc(map_count, XkbModsRec);
348 int map_count,
355 if ((type_ndx < 0) || (type_ndx >= xkb->map->num_types) || (map_count < 0)
371 if (map_count == 0) {
376 type->map_count = 0;
379 if ((map_count > type->map_count) || (type->map == NULL))
380 _XkbResizeArray(type->map, type->map_count, map_count,
386 if ((map_count > type->map_count) || (type->preserve == NULL)) {
387 _XkbResizeArray(type->preserve, type->map_count, map_count,
398 type->map_count = map_count;
869 type->map_count = 0;