Home
last modified time | relevance | path

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

/PHP-7.2/ext/ftp/
H A Dftp.h130 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 Dphp_ftp.c522 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 Dftp.c523 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 Ddir.c214 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 Dfile.c819 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 Dgettext.c249 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 Dcdf.c680 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 Dcdf.h128 size_t dir_len; member
H A Dreadcdf.c399 for (j = 0; str == NULL && j < dir->dir_len; j++) { in cdf_check_summary_info()
/PHP-7.2/main/streams/
H A Dplain_wrapper.c1246 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 Dphp_xmlwriter.c627 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 Dphp_zip.c151 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 Dphar_object.c1764 size_t dir_len, regex_len = 0; in PHP_METHOD() local
1777 if (zend_parse_parameters(ZEND_NUM_ARGS(), "p|s", &dir, &dir_len, &regex, &regex_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()

Completed in 60 milliseconds