Home
last modified time | relevance | path

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

/PHP-7.2/sapi/phpdbg/
H A Dphpdbg_parser.c920 yystrlen (const char *yystr) in yystrlen() argument
923 yystrlen (yystr) in yystrlen()
924 const char *yystr; in yystrlen()
928 for (yylen = 0; yystr[yylen]; yylen++)
972 yytnamerr (char *yyres, const char *yystr) in yytnamerr() argument
974 if (*yystr == '"') in yytnamerr()
977 char const *yyp = yystr; in yytnamerr()
1005 return yystrlen (yystr); in yytnamerr()
1007 return yystpcpy (yyres, yystr) - yyres; in yytnamerr()
/PHP-7.2/Zend/
H A Dzend_language_parser.y1296 static YYSIZE_T zend_yytnamerr(char *yyres, const char *yystr)
1318 strcmp(yystr, "\"end of file\"") == 0) {
1327 yystr_len = (unsigned int)yystrlen(yystr);
1329 if ((tok1 = memchr(yystr, '(', yystr_len)) != NULL
1330 && (tok2 = zend_memrchr(yystr, ')', yystr_len)) != NULL) {
1355 return yystrlen(yystr) - (*yystr == '"' ? 2 : 0);
1358 if (*yystr == '"') {
1360 const char *yyp = yystr;
1368 yystpcpy(yyres, yystr);
1369 return strlen(yystr);
/PHP-7.2/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 40 milliseconds