Searched refs:dirlen (Results 1 – 2 of 2) sorted by relevance
183 int dirlen = strlen(dir); in phar_make_dirstream() local208 if (keylen <= (uint)dirlen) { in phar_make_dirstream()209 if (keylen == 0 || keylen < (uint)dirlen || !strncmp(ZSTR_VAL(str_key), dir, dirlen)) { in phar_make_dirstream()248 if (ZSTR_VAL(str_key)[dirlen] != '/') { in phar_make_dirstream()262 save -= dirlen + 1; in phar_make_dirstream()264 memcpy(entry, save + dirlen + 1, found - save - dirlen - 1); in phar_make_dirstream()265 keylen = found - save - dirlen - 1; in phar_make_dirstream()269 save -= dirlen + 1; in phar_make_dirstream()271 memcpy(entry, save + dirlen + 1, keylen - dirlen - 1); in phar_make_dirstream()272 entry[keylen - dirlen - 1] = '\0'; in phar_make_dirstream()[all …]
30 $dirlen = strlen('pcrelib'); variable34 global $newpcre, $dirlen;53 $newfile = $newpcre . substr($file, $dirlen);
Completed in 9 milliseconds