Lines Matching defs:wire
99 register xkbKTMapEntryWireDesc *wire;
104 wire =
106 if (wire == NULL)
109 for (n = 0; n < type->map_count; n++, wire++, entry++) {
110 entry->active = wire->active;
111 entry->level = wire->level;
112 entry->mods.mask = wire->mask;
113 entry->mods.real_mods = wire->realMods;
114 entry->mods.vmods = wire->virtualMods;
324 xkbBehaviorWireDesc *wire;
326 wire = (xkbBehaviorWireDesc *) _XkbGetReadBufferPtr(buf,
328 if (wire == NULL || wire->key >= size)
330 xkb->server->behaviors[wire->key].type = wire->type;
331 xkb->server->behaviors[wire->key].data = wire->data;
368 unsigned char *wire;
386 wire = (unsigned char *) _XkbGetReadBufferPtr(buf, i);
387 if (!wire)
389 for (i = 0; i < rep->totalKeyExplicit; i++, wire += 2) {
390 if (wire[0] > xkb->max_key_code || wire[1] > xkb->max_key_code)
392 xkb->server->explicit[wire[0]] = wire[1];
402 unsigned char *wire;
416 wire = (unsigned char *) _XkbGetReadBufferPtr(buf, i);
417 if (!wire)
419 for (i = 0; i < rep->totalModMapKeys; i++, wire += 2) {
420 if (wire[0] > xkb->max_key_code || wire[1] > xkb->max_key_code)
422 xkb->map->modmap[wire[0]] = wire[1];
434 xkbVModMapWireDesc *wire;
454 wire = (xkbVModMapWireDesc *) _XkbGetReadBufferPtr(buf, i);
455 if (!wire)
457 for (i = 0; i < rep->totalVModMapKeys; i++, wire++) {
458 if ((wire->key >= xkb->min_key_code) &&
459 (wire->key <= xkb->max_key_code))
460 srv->vmodmap[wire->key] = wire->vmods;