Home
last modified time | relevance | path

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

/PHP-7.2/main/
H A Dfopen_wrappers.c484 if (!filename || CHECK_NULL_PATH(filename, filename_length)) {
503 IS_ABSOLUTE_PATH(filename, filename_length) ||
535 …if (filename_length > (MAXPATHLEN - 2) || (end-ptr) > MAXPATHLEN || (end-ptr) + 1 + (size_t)filena…
541 memcpy(trypath+(end-ptr)+1, filename, filename_length+1);
546 …if (filename_length > (MAXPATHLEN - 2) || len > MAXPATHLEN || len + 1 + (size_t)filename_length + …
551 memcpy(trypath+len+1, filename, filename_length+1);
584 filename_length < (MAXPATHLEN - 2) &&
627 int filename_length; local
638 filename_length = (int)strlen(filename);
640 (void) filename_length;
[all …]
/PHP-7.2/ext/standard/
H A Dphp_filestat.h85 PHPAPI void php_stat(const char *filename, size_t filename_length, int type, zval *return_value);
H A Dfilestat.c762 PHPAPI void php_stat(const char *filename, size_t filename_length, int type, zval *return_value) in php_stat() argument
776 if (!filename_length) { in php_stat()
/PHP-7.2/ext/phar/
H A Dfunc_interceptors.c588 static void phar_file_stat(const char *filename, size_t filename_length, int type, zif_handler orig… in phar_file_stat() argument
590 if (!filename_length) { in phar_file_stat()
594 if (!IS_ABSOLUTE_PATH(filename, filename_length) && !strstr(filename, "://")) { in phar_file_stat()
613 entry = estrndup(filename, filename_length); in phar_file_stat()
615 entry_len = (int) filename_length; in phar_file_stat()
622 entry = estrndup(filename, filename_length); in phar_file_stat()
624 entry_len = (int) filename_length; in phar_file_stat()
665 entry = estrndup(filename, filename_length); in phar_file_stat()
666 entry_len = filename_length; in phar_file_stat()
/PHP-7.2/
H A DUPGRADING.INTERNALS28 …- PHPAPI void php_stat(const char *filename, size_t filename_length, int type, zval *return_value);
/PHP-7.2/main/streams/
H A Dplain_wrapper.c1454 size_t filename_length; in _php_stream_fopen_with_path() local
1465 filename_length = strlen(filename); in _php_stream_fopen_with_path()
1467 (void) filename_length; in _php_stream_fopen_with_path()
1492 if (IS_ABSOLUTE_PATH(filename, filename_length)) { in _php_stream_fopen_with_path()

Completed in 25 milliseconds