Home
last modified time | relevance | path

Searched refs:L_ESC (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/contrib/openzfs/module/lua/
H A Dlstrlib.c232 #define L_ESC '%' macro
254 case L_ESC: { in classend()
264 if (*(p++) == L_ESC && p < ms->p_end) in classend()
303 if (*p == L_ESC) { in matchbracketclass()
327 case L_ESC: return match_class(c, uchar(*(p+1))); in singlematch()
443 case L_ESC: { /* escaped sequences not in the format class[*+?-]? */ in match()
693 if (news[i] != L_ESC) in add_s()
698 if (news[i] != L_ESC) in add_s()
700 " in replacement string", L_ESC); in add_s()
911 if (*strfrmt != L_ESC) in str_format()
[all …]
/freebsd/contrib/lua/src/
H A Dlstrlib.c382 #define L_ESC '%' macro
405 case L_ESC: { in classend()
415 if (*(p++) == L_ESC && p < ms->p_end) in classend()
454 if (*p == L_ESC) { in matchbracketclass()
478 case L_ESC: return match_class(c, uchar(*(p+1))); in singlematch()
593 case L_ESC: { /* escaped sequences not in the format class[*+?-]? */ in match()
877 while ((p = (char *)memchr(news, L_ESC, l)) != NULL) { in add_s()
880 if (*p == L_ESC) /* '%%' */ in add_s()
893 luaL_error(L, "invalid use of '%c' in replacement string", L_ESC); in add_s()
1289 if (*strfrmt != L_ESC)
[all …]