Home
last modified time | relevance | path

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

/PHP-5.4/ext/phar/
H A Ddirstream.c191 int dirlen = strlen(dir); in phar_make_dirstream() local
216 if (keylen <= (uint)dirlen) { in phar_make_dirstream()
217 if (keylen < (uint)dirlen || !strncmp(str_key, dir, dirlen)) { in phar_make_dirstream()
260 if (str_key[dirlen] != '/') { in phar_make_dirstream()
275 save -= dirlen + 1; in phar_make_dirstream()
277 memcpy(entry, save + dirlen + 1, found - save - dirlen - 1); in phar_make_dirstream()
278 keylen = found - save - dirlen - 1; in phar_make_dirstream()
282 save -= dirlen + 1; in phar_make_dirstream()
284 memcpy(entry, save + dirlen + 1, keylen - dirlen - 1); in phar_make_dirstream()
285 entry[keylen - dirlen - 1] = '\0'; in phar_make_dirstream()
[all …]
/PHP-5.4/ext/pcre/
H A Dupgrade-pcre.php30 $dirlen = strlen('pcrelib'); variable
34 global $newpcre, $dirlen;
53 $newfile = $newpcre . substr($file, $dirlen);

Completed in 7 milliseconds