/PHP-7.2/ext/ftp/ |
H A D | ftp.h | 130 int ftp_chdir(ftpbuf_t *ftp, const char *dir, const size_t dir_len); 138 zend_string* ftp_mkdir(ftpbuf_t *ftp, const char *dir, const size_t dir_len); 141 int ftp_rmdir(ftpbuf_t *ftp, const char *dir, const size_t dir_len);
|
H A D | php_ftp.c | 522 size_t dir_len; in PHP_FUNCTION() local 533 if (!ftp_chdir(ftp, dir, dir_len)) { in PHP_FUNCTION() 599 size_t dir_len; in PHP_FUNCTION() local 610 if (NULL == (tmp = ftp_mkdir(ftp, dir, dir_len))) { in PHP_FUNCTION() 626 size_t dir_len; in PHP_FUNCTION() local 637 if (!ftp_rmdir(ftp, dir, dir_len)) { in PHP_FUNCTION() 711 size_t dir_len; in PHP_FUNCTION() local 722 if (NULL == (nlist = ftp_nlist(ftp, dir, dir_len))) { in PHP_FUNCTION() 741 size_t dir_len; in PHP_FUNCTION() local 772 size_t dir_len; in PHP_FUNCTION() local [all …]
|
H A D | ftp.c | 523 ftp_chdir(ftpbuf_t *ftp, const char *dir, const size_t dir_len) in ftp_chdir() argument 534 if (!ftp_putcmd(ftp, "CWD", sizeof("CWD")-1, dir, dir_len)) { in ftp_chdir() 571 ftp_mkdir(ftpbuf_t *ftp, const char *dir, const size_t dir_len) in ftp_mkdir() argument 579 if (!ftp_putcmd(ftp, "MKD", sizeof("MKD")-1, dir, dir_len)) { in ftp_mkdir() 587 return zend_string_init(dir, dir_len, 0); in ftp_mkdir() 603 ftp_rmdir(ftpbuf_t *ftp, const char *dir, const size_t dir_len) in ftp_rmdir() argument 608 if (!ftp_putcmd(ftp, "RMD", sizeof("RMD")-1, dir, dir_len)) { in ftp_rmdir()
|
/PHP-7.2/ext/standard/ |
H A D | dir.c | 214 size_t dir_len; in _php_do_opendir() local 220 Z_PARAM_PATH(dirname, dir_len) in _php_do_opendir() 239 add_property_stringl(return_value, "path", dirname, dir_len); in _php_do_opendir()
|
H A D | file.c | 819 size_t dir_len, prefix_len; in PHP_FUNCTION() local 825 Z_PARAM_PATH(dir, dir_len) in PHP_FUNCTION() 1336 size_t dir_len; in PHP_FUNCTION() local 1343 Z_PARAM_PATH(dir, dir_len) in PHP_FUNCTION() 1361 size_t dir_len; in PHP_FUNCTION() local 1366 Z_PARAM_PATH(dir, dir_len) in PHP_FUNCTION()
|
/PHP-7.2/ext/gettext/ |
H A D | gettext.c | 249 size_t domain_len, dir_len; in PHP_NAMED_FUNCTION() local 252 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "ss", &domain, &domain_len, &dir, &dir_len) == FAILURE)… in PHP_NAMED_FUNCTION()
|
/PHP-7.2/ext/fileinfo/libmagic/ |
H A D | cdf.c | 680 dir->dir_len = ns * nd; in cdf_read_dir() 682 CDF_CALLOC(dir->dir_len, sizeof(dir->dir_tab[0]))); in cdf_read_dir() 707 for (i = 0; i < dir->dir_len; i++) in cdf_read_dir() 771 for (i = 0; i < dir->dir_len; i++) in cdf_read_short_stream() 776 if (i == dir->dir_len) { in cdf_read_short_stream() 847 for (i = dir->dir_len; i > 0; i--) in cdf_find_stream() 1398 for (i = 0; i < dir->dir_len; i++) { in cdf_dump_dir()
|
H A D | cdf.h | 128 size_t dir_len; member
|
H A D | readcdf.c | 399 for (j = 0; str == NULL && j < dir->dir_len; j++) { in cdf_check_summary_info()
|
/PHP-7.2/main/streams/ |
H A D | plain_wrapper.c | 1246 size_t dir_len = strlen(dir), offset = 0; in php_plain_files_mkdir() local 1256 if ((p = memchr(buf, DEFAULT_SLASH, dir_len))) { in php_plain_files_mkdir() 1260 if (p && dir_len == 1) { in php_plain_files_mkdir()
|
/PHP-7.2/ext/xmlwriter/ |
H A D | php_xmlwriter.c | 627 size_t dir_len; in _xmlwriter_get_valid_file_path() local 635 dir_len = php_dirname(file_dirname, strlen(source)); in _xmlwriter_get_valid_file_path() 637 if (dir_len > 0) { in _xmlwriter_get_valid_file_path()
|
/PHP-7.2/ext/zip/ |
H A D | php_zip.c | 151 size_t dir_len; in php_zip_extract_file() local 182 dir_len = php_dirname(file_dirname, path_cleaned_len); in php_zip_extract_file() 184 if (dir_len <= 0 || (dir_len == 1 && file_dirname[0] == '.')) { in php_zip_extract_file()
|
/PHP-7.2/ext/phar/ |
H A D | phar_object.c | 1764 size_t dir_len, regex_len = 0; in PHP_METHOD() local 1777 if (zend_parse_parameters(ZEND_NUM_ARGS(), "p|s", &dir, &dir_len, ®ex, ®ex_len) == FAILURE) { in PHP_METHOD() 1781 if (ZEND_SIZE_T_UINT_OVFL(dir_len)) { in PHP_METHOD() 1791 ZVAL_STRINGL(&arg, dir, dir_len); in PHP_METHOD() 1843 pass.l = (uint32_t)dir_len; in PHP_METHOD()
|