Lines Matching refs:ext_len
1192 mydata->ext_len = (mydata->fname + mydata->fname_len) - mydata->ext;
1248 int ext_len; local
1258 …if (phar_detect_phar_fname_ext(fname, fname_len, &ext_str, &ext_len, !is_data, 0, 1 TSRMLS_CC) == …
1263 …if (FAILURE == phar_detect_phar_fname_ext(fname, fname_len, &ext_str, &ext_len, !is_data, 1, 1 TSR…
1265 if (ext_len == -2) {
1307 …if (ext_len > 3 && (z = memchr(ext_str, 'z', ext_len)) && ((ext_str + ext_len) - z >= 2) && !memcm…
1312 …if (ext_len > 3 && (z = memchr(ext_str, 't', ext_len)) && ((ext_str + ext_len) - z >= 2) && !memcm…
1393 mydata->ext_len = (mydata->fname + fname_len) - mydata->ext;
1738 static int phar_analyze_path(const char *fname, const char *ext, int ext_len, int for_create TSRMLS… argument
1741 char *realpath, old, *a = (char *)(ext + ext_len);
1806 a += ((ext - fname) + ext_len);
1846 static int phar_check_str(const char *fname, const char *ext_str, int ext_len, int executable, int … argument
1851 if (ext_len >= 50) {
1857 memcpy(test, ext_str - 1, ext_len + 1);
1858 test[ext_len + 1] = '\0';
1865 return phar_analyze_path(fname, ext_str, ext_len, for_create TSRMLS_CC);
1876 return phar_analyze_path(fname, ext_str, ext_len, for_create TSRMLS_CC);
1880 return phar_analyze_path(fname, ext_str, ext_len, for_create TSRMLS_CC);
1901 …e_ext(const char *filename, int filename_len, const char **ext_str, int *ext_len, int executable, … argument
1906 *ext_len = 0;
1919 *ext_len = -2;
1925 *ext_len = -1;
1931 *ext_len = -1;
1941 *ext_str = filename + (filename_len - (*pphar)->ext_len);
1943 *ext_len = (*pphar)->ext_len;
1961 *ext_str = filename + (filename_len - (*pphar)->ext_len);
1991 *ext_str = filename + (keylen - (*pphar)->ext_len);
2021 *ext_str = filename + (keylen - (*pphar)->ext_len);
2049 *ext_len = strlen(pos);
2052 switch (phar_check_str(filename, *ext_str, *ext_len, executable, for_create TSRMLS_CC)) {
2063 *ext_len = slash - pos;
2065 switch (phar_check_str(filename, *ext_str, *ext_len, executable, for_create TSRMLS_CC)) {
2073 *ext_len = 0;
2266 int ext_len, free_filename = 0; local
2273 ext_len = 0;
2280 …if (phar_detect_phar_fname_ext(filename, filename_len, &ext_str, &ext_len, executable, for_create,…
2281 if (ext_len != -1) {
2298 ext_len = 0;
2302 *arch_len = ext_str - filename + ext_len;
2305 if (ext_str[ext_len]) {
2307 *entry = estrndup(ext_str+ext_len, *entry_len);