Home
last modified time | relevance | path

Searched refs:yystr (Results 1 – 3 of 3) sorted by relevance

/PHP-7.3/sapi/phpdbg/
H A Dphpdbg_parser.c918 yystrlen (const char *yystr) in yystrlen() argument
921 yystrlen (yystr) in yystrlen()
922 const char *yystr; in yystrlen()
926 for (yylen = 0; yystr[yylen]; yylen++)
970 yytnamerr (char *yyres, const char *yystr) in yytnamerr() argument
972 if (*yystr == '"') in yytnamerr()
975 char const *yyp = yystr; in yytnamerr()
1003 return yystrlen (yystr); in yytnamerr()
1005 return yystpcpy (yyres, yystr) - yyres; in yytnamerr()
/PHP-7.3/Zend/
H A Dzend_language_parser.y1293 static YYSIZE_T zend_yytnamerr(char *yyres, const char *yystr)
1315 strcmp(yystr, "\"end of file\"") == 0) {
1324 yystr_len = (unsigned int)yystrlen(yystr);
1326 if ((tok1 = memchr(yystr, '(', yystr_len)) != NULL
1327 && (tok2 = zend_memrchr(yystr, ')', yystr_len)) != NULL) {
1352 return yystrlen(yystr) - (*yystr == '"' ? 2 : 0);
1355 if (*yystr == '"') {
1357 const char *yyp = yystr;
1365 yystpcpy(yyres, yystr);
1366 return strlen(yystr);
/PHP-7.3/ext/json/
H A Djson_parser.tab.c833 yystrlen (const char *yystr) in yystrlen() argument
836 for (yylen = 0; yystr[yylen]; yylen++) in yystrlen()
872 yytnamerr (char *yyres, const char *yystr) in yytnamerr() argument
874 if (*yystr == '"') in yytnamerr()
877 char const *yyp = yystr; in yytnamerr()
905 return yystrlen (yystr); in yytnamerr()
907 return yystpcpy (yyres, yystr) - yyres; in yytnamerr()

Completed in 21 milliseconds