Home
last modified time | relevance | path

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

/PHP-8.0/ext/phar/
H A Ddirstream.c174 size_t dirlen = strlen(dir); in phar_make_dirstream() local
198 if (keylen <= dirlen) { in phar_make_dirstream()
199 if (keylen == 0 || keylen < dirlen || !strncmp(ZSTR_VAL(str_key), dir, dirlen)) { in phar_make_dirstream()
238 if (ZSTR_VAL(str_key)[dirlen] != '/') { in phar_make_dirstream()
252 save -= dirlen + 1; in phar_make_dirstream()
254 memcpy(entry, save + dirlen + 1, found - save - dirlen - 1); in phar_make_dirstream()
255 keylen = found - save - dirlen - 1; in phar_make_dirstream()
259 save -= dirlen + 1; in phar_make_dirstream()
261 memcpy(entry, save + dirlen + 1, keylen - dirlen - 1); in phar_make_dirstream()
262 entry[keylen - dirlen - 1] = '\0'; in phar_make_dirstream()
[all …]

Completed in 4 milliseconds