Home
last modified time | relevance | path

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

/PHP-5.6/sapi/phpdbg/
H A Dphpdbg_parser.c902 yystrlen (const char *yystr) in yystrlen() argument
905 yystrlen (yystr) in yystrlen()
906 const char *yystr; in yystrlen()
910 for (yylen = 0; yystr[yylen]; yylen++)
954 yytnamerr (char *yyres, const char *yystr) in yytnamerr() argument
956 if (*yystr == '"') in yytnamerr()
959 char const *yyp = yystr; in yytnamerr()
987 return yystrlen (yystr); in yytnamerr()
989 return yystpcpy (yyres, yystr) - yyres; in yytnamerr()
/PHP-5.6/Zend/
H A Dzend_language_parser.y1308 static YYSIZE_T zend_yytnamerr(char *yyres, const char *yystr)
1311 return yystrlen(yystr);
1324 memcmp(yystr, "\"end of file\"", sizeof("\"end of file\"") - 1) == 0) {
1331 yystr_len = yystrlen(yystr);
1333 if ((tok1 = memchr(yystr, '(', yystr_len)) != NULL
1334 && (tok2 = zend_memrchr(yystr, ')', yystr_len)) != NULL) {
1355 if (*yystr == '"') {
1357 const char *yyp = yystr;
1365 yystpcpy(yyres, yystr);
1366 return strlen(yystr);

Completed in 23 milliseconds