Lines Matching defs:suffix
117 char *suffix; /* suffix string or NULL if one char (in .c) */
520 if (e2->suffix) {
523 memcpy(&s[n], e2->suffix, e2->suffix_len);
646 * Aggregate them and add them as a string suffix to
686 if (e->suffix)
701 * the whole suffix that couldn't be matched until now.
730 * create a suffix string on t->parser instead of what must
737 * modify e to match on the whole string suffix "happy".
739 * If later "hoppy" appears, we will remove the suffix on e,
741 * for 'a' and 'o', and attach a "ppy" suffix child to each of
780 if (c == t->parser->suffix[t->str_match_pos++]) {
799 * we need to truncate his suffix at the char before
801 * second char, simply remove the suffix string from the
809 osuff = t->parser->suffix;
812 t->parser->suffix = NULL;
879 e->suffix = &osuff[t->str_match_pos - 1];
901 * will acquire a suffix eventually of "ping"
935 t->parser->suffix = lwsac_use(&t->lwsac_head,
938 if (!t->parser->suffix) {
939 lwsl_err("%s: lac for suffix failed\n",
945 *t->parser->suffix = (char)t->parser->c;
947 memcpy(t->parser->suffix + 1, t->agg, t->agg_pos);
1289 if (e1->suffix) { /* string */
1291 memmove(&buf[bp], e1->suffix, e1->suffix_len);
1298 if (e1->suffix && e1->suffix_len == 3 &&
1299 !memcmp(e1->suffix, "cri", 3)) {
1304 if (e2->suffix)
1305 lwsl_notice("%s\n", e2->suffix);