Lines Matching refs:endbuffer
718 #define SAFE_PHAR_GET_32(buffer, endbuffer, var) \ argument
719 if (UNEXPECTED(buffer + 4 > endbuffer)) { \
735 char b32[4], *buffer, *endbuffer, *savebuf; in phar_parse_pharfile() local
807 endbuffer = buffer + manifest_len; in phar_parse_pharfile()
814 SAFE_PHAR_GET_32(buffer, endbuffer, manifest_count); in phar_parse_pharfile()
834 SAFE_PHAR_GET_32(buffer, endbuffer, manifest_flags); in phar_parse_pharfile()
1044 SAFE_PHAR_GET_32(buffer, endbuffer, tmp_len); in phar_parse_pharfile()
1046 if (buffer + tmp_len > endbuffer) { in phar_parse_pharfile()
1100 SAFE_PHAR_GET_32(buffer, endbuffer, len); in phar_parse_pharfile()
1104 SAFE_PHAR_GET_32(buffer, endbuffer, len); in phar_parse_pharfile()
1107 if(len > (size_t)(endbuffer - buffer)) { in phar_parse_pharfile()
1133 if (buffer + 28 > endbuffer) { in phar_parse_pharfile()
1147 if (entry.filename_len > (size_t)(endbuffer - buffer - 24)) { in phar_parse_pharfile()
1184 if (len > (size_t)(endbuffer - buffer)) { in phar_parse_pharfile()
1238 endbuffer = strrchr(mydata->fname, '/'); in phar_parse_pharfile()
1240 if (endbuffer) { in phar_parse_pharfile()
1241 mydata->ext = memchr(endbuffer, '.', (mydata->fname + fname_len) - endbuffer); in phar_parse_pharfile()
1242 if (mydata->ext == endbuffer) { in phar_parse_pharfile()
1243 mydata->ext = memchr(endbuffer + 1, '.', (mydata->fname + fname_len) - endbuffer - 1); in phar_parse_pharfile()