Home
last modified time | relevance | path

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

/PHP-7.3/main/
H A Dfopen_wrappers.c482 if (!filename || CHECK_NULL_PATH(filename, filename_length)) {
501 IS_ABSOLUTE_PATH(filename, filename_length) ||
533 …if (filename_length > (MAXPATHLEN - 2) || (end-ptr) > MAXPATHLEN || (end-ptr) + 1 + filename_lengt…
539 memcpy(trypath+(end-ptr)+1, filename, filename_length+1);
544 …if (filename_length > (MAXPATHLEN - 2) || len > MAXPATHLEN || len + 1 + filename_length + 1 >= MAX…
549 memcpy(trypath+len+1, filename, filename_length+1);
582 filename_length < (MAXPATHLEN - 2) &&
625 size_t filename_length; local
636 filename_length = strlen(filename);
638 (void) filename_length;
[all …]
/PHP-7.3/ext/standard/
H A Dphp_filestat.h83 PHPAPI void php_stat(const char *filename, size_t filename_length, int type, zval *return_value);
H A Dfilestat.c760 PHPAPI void php_stat(const char *filename, size_t filename_length, int type, zval *return_value) in php_stat() argument
774 if (!filename_length) { in php_stat()
/PHP-7.3/ext/phar/
H A Dfunc_interceptors.c586 static void phar_file_stat(const char *filename, size_t filename_length, int type, zif_handler orig… in phar_file_stat() argument
588 if (!filename_length) { in phar_file_stat()
592 if (!IS_ABSOLUTE_PATH(filename, filename_length) && !strstr(filename, "://")) { in phar_file_stat()
611 entry = estrndup(filename, filename_length); in phar_file_stat()
613 entry_len = filename_length; in phar_file_stat()
620 entry = estrndup(filename, filename_length); in phar_file_stat()
622 entry_len = filename_length; in phar_file_stat()
663 entry = estrndup(filename, filename_length); in phar_file_stat()
664 entry_len = filename_length; in phar_file_stat()
/PHP-7.3/main/streams/
H A Dplain_wrapper.c1495 size_t filename_length; in _php_stream_fopen_with_path() local
1506 filename_length = strlen(filename); in _php_stream_fopen_with_path()
1508 (void) filename_length; in _php_stream_fopen_with_path()
1533 if (IS_ABSOLUTE_PATH(filename, filename_length)) { in _php_stream_fopen_with_path()

Completed in 20 milliseconds