Home | History | Annotate | Download | only in xkbcomp

Lines Matching refs:sval

59     struct sval string;
161 static const struct sval rules_mlvo_svals[_MLVO_NUM_ENTRIES] = {
177 static const struct sval rules_kccgst_svals[_KCCGST_NUM_ENTRIES] = {
188 struct sval sval;
205 struct sval name;
227 struct sval mlvo_value_at_pos[_MLVO_NUM_ENTRIES];
230 struct sval kccgst_value_at_pos[_KCCGST_NUM_ENTRIES];
256 static struct sval
257 strip_spaces(struct sval v)
275 struct matched_sval val = { .sval = { NULL, 0 } };
281 struct matched_sval val = { .sval = { s, 0 } };
282 while (*s != '\0' && *s != ',') { s++; val.sval.len++; }
283 val.sval = strip_spaces(val.sval);
301 m->rmlvo.model.sval.start = rmlvo->model;
302 m->rmlvo.model.sval.len = strlen_safe(rmlvo->model);
331 matcher_group_start_new(struct matcher *m, struct sval name)
338 matcher_group_add_element(struct matcher *m, struct sval element)
375 matcher_mapping_set_mlvo(struct matcher *m, struct sval ident)
378 struct sval mlvo_sval;
434 matcher_mapping_set_kccgst(struct matcher *m, struct sval ident)
437 struct sval kccgst_sval;
522 matcher_rule_set_mlvo_common(struct matcher *m, struct sval ident,
538 struct sval dummy = { NULL, 0 };
543 matcher_rule_set_mlvo_group(struct matcher *m, struct sval ident)
549 matcher_rule_set_mlvo(struct matcher *m, struct sval ident)
555 matcher_rule_set_kccgst(struct matcher *m, struct sval ident)
567 match_group(struct matcher *m, struct sval group_name, struct sval to)
570 struct sval *element;
597 match_value(struct matcher *m, struct sval val, struct sval to,
608 match_value_and_mark(struct matcher *m, struct sval val,
611 bool matched = match_value(m, val, to->sval, match_type);
623 struct sval value)
713 if (!expanded_value || expanded_value->sval.len == 0)
719 expanded_value->sval.start,
720 expanded_value->sval.len);
767 struct sval value = m->rule.mlvo_value_at_pos[i];
802 struct sval value = m->rule.kccgst_value_at_pos[i];
978 if (!mval->matched && mval->sval.len > 0)
980 mval->sval.len, mval->sval.start);
982 if (!mval->matched && mval->sval.len > 0)
984 mval->sval.len, mval->sval.start);
986 if (!mval->matched && mval->sval.len > 0)
988 mval->sval.len, mval->sval.start);
990 if (!mval->matched && mval->sval.len > 0)
992 mval->sval.len, mval->sval.start);