Lines Matching refs:names
113 XkbNamesPtr names;
117 if (xkb->names == NULL) {
118 xkb->names = _XkbTypedCalloc(1, XkbNamesRec);
119 if (xkb->names == NULL)
122 names = xkb->names;
136 if ((which & XkbKeyNamesMask) && (names->keys == NULL)) {
141 names->keys = _XkbTypedCalloc((xkb->max_key_code + 1), XkbKeyNameRec);
142 if (names->keys == NULL)
146 if ((names->key_aliases == NULL) ||
147 (nTotalAliases > names->num_key_aliases)) {
148 _XkbResizeArray(names->key_aliases, names->num_key_aliases,
151 if (names->key_aliases == NULL) {
152 names->num_key_aliases = 0;
155 names->num_key_aliases = nTotalAliases;
158 if ((names->radio_groups == NULL) || (nTotalRG > names->num_rg)) {
159 _XkbResizeArray(names->radio_groups, names->num_rg, nTotalRG, Atom);
161 if (names->radio_groups == NULL) {
162 names->num_rg = 0;
165 names->num_rg = nTotalRG;
173 XkbNamesPtr names;
175 if ((xkb == NULL) || (xkb->names == NULL))
177 names = xkb->names;
195 _XkbFree(names->keys);
196 names->keys = NULL;
197 names->num_keys = 0;
200 _XkbFree(names->key_aliases);
201 names->key_aliases = NULL;
202 names->num_key_aliases = 0;
205 _XkbFree(names->radio_groups);
206 names->radio_groups = NULL;
207 names->num_rg = 0;
210 _XkbFree(names);
211 xkb->names = NULL;
450 bzero((char *) &devli->names[0], sizeof(devli->names));