Searched defs:filename_len (Results 1 - 25 of 35) sorted by relevance

12

/PHP_TRUNK/ext/phar/
H A Dpharzip.h32 char filename_len[2]; /* file name length 2 bytes */ member in struct:_phar_zip_file_header
162 char filename_len[2]; /* file name length 2 bytes */ member in struct:_phar_zip_central_dir_file
H A Dphar_internal.h248 php_uint32 filename_len; member in struct:_phar_entry_info
495 extern char *(*phar_save_resolve_path)(const char *filename, int filename_len TSRMLS_DC);
530 tmp_len = entry->filename_len + entry->phar->fname_len;
532 memcpy(tmp + entry->phar->fname_len, entry->filename, entry->filename_len);
559 void phar_remove_virtual_dirs(phar_archive_data *phar, char *filename, int filename_len TSRMLS_DC);
560 void phar_add_virtual_dirs(phar_archive_data *phar, char *filename, int filename_len TSRMLS_DC);
561 int phar_mount_entry(phar_archive_data *phar, char *filename, int filename_len, char *path, int path_len TSRMLS_DC);
604 int phar_detect_phar_fname_ext(const char *filename, int filename_len, const char **ext_str, int *ext_len, int executable, int for_create, int is_complete TSRMLS_DC);
605 int phar_split_fname(const char *filename, int filename_len, char **arch, int *arch_len, char **entry, int *entry_len, int executable, int for_create TSRMLS_DC);
H A Dutil.c170 int phar_mount_entry(phar_archive_data *phar, char *filename, int filename_len, char *path, int path_len TSRMLS_DC) /* {{{ */ argument
186 is_phar = (filename_len > 7 && !memcmp(filename, "phar://", 7));
193 entry.filename_len = path_len;
195 entry.tmp = estrndup(filename, filename_len);
199 entry.tmp = estrndup(filename, filename_len);
253 char *phar_find_in_include_path(char *filename, int filename_len, phar_archive_data **pphar TSRMLS_DC) /* {{{ */ argument
266 return phar_save_resolve_path(filename, filename_len TSRMLS_CC);
280 return phar_save_resolve_path(filename, filename_len TSRMLS_CC);
290 return phar_save_resolve_path(filename, filename_len TSRMLS_CC);
297 try_len = filename_len;
[all...]
H A Dfunc_interceptors.c29 size_t filename_len; local
41 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p|z", &filename, &filename_len, &zcontext) == FAILURE) {
45 if (!IS_ABSOLUTE_PATH(filename, filename_len) && !strstr(filename, "://")) {
63 entry = estrndup(filename, filename_len);
65 entry_len = filename_len;
97 size_t filename_len; local
115 if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "p|br!ll", &filename, &filename_len, &use_include_path, &zcontext, &offset, &maxlen) == FAILURE) {
119 if (use_include_path || (!IS_ABSOLUTE_PATH(filename, filename_len) && !strstr(filename, "://"))) {
137 entry_len = filename_len;
227 size_t filename_len; local
323 size_t filename_len, mode_len; local
892 size_t filename_len; local
959 size_t filename_len; local
[all...]
/PHP_TRUNK/ext/zip/lib/
H A Dzip_dirent.c347 zip_uint16_t filename_len, comment_len, ef_len;
399 filename_len = _zip_read2(&cur);
420 size += filename_len+ef_len+comment_len;
427 if (filename_len) {
428 zde->filename = _zip_read_string(bufp ? &cur : NULL, fp, filename_len, 1, error);
335 zip_uint16_t filename_len, comment_len, ef_len; local
/PHP_TRUNK/sapi/tux/
H A Dphp_tux.c313 size_t filename_len; local
/PHP_TRUNK/sapi/apache/
H A Dphp_apache.c350 int filename_len; local
353 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p", &filename, &filename_len) == FAILURE) {
462 int filename_len; local
465 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &filename, &filename_len) == FAILURE) {
540 int filename_len;
543 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &filename, &filename_len) == FAILURE) {
/PHP_TRUNK/sapi/apache2filter/
H A Dphp_functions.c63 int filename_len; local
66 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p", &filename, &filename_len) == FAILURE) {
102 int filename_len; local
104 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p", &filename, &filename_len) == FAILURE) {
/PHP_TRUNK/sapi/apache_hooks/
H A Dphp_apache.c1714 int filename_len; local
1717 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &filename, &filename_len) == FAILURE) {
1835 int filename_len; local
1838 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &filename, &filename_len) == FAILURE) {
/PHP_TRUNK/ext/ftp/
H A Dftp.c591 ftp_chmod(ftpbuf_t *ftp, const int mode, const char *filename, const int filename_len) argument
595 if (ftp == NULL || filename_len <= 0) {
H A Dphp_ftp.c608 size_t filename_len; local
611 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rlp", &z_ftp, &mode, &filename, &filename_len) == FAILURE) {
617 if (!ftp_chmod(ftp, mode, filename, filename_len)) {
/PHP_TRUNK/ext/com_dotnet/
H A Dcom_persist.c378 size_t filename_len; local
388 &filename, &filename_len, &remember)) {
441 size_t filename_len; local
452 &filename, &filename_len, &flags)) {
/PHP_TRUNK/ext/pdo_pgsql/
H A Dpgsql_driver.c634 size_t table_name_len, filename_len, pg_delim_len = 0, pg_null_as_len = 0, pg_fields_len; local
641 &table_name, &table_name_len, &filename, &filename_len,
733 size_t table_name_len, pg_delim_len = 0, pg_null_as_len = 0, pg_fields_len, filename_len; local
742 &table_name, &table_name_len, &filename, &filename_len,
/PHP_TRUNK/ext/posix/
H A Dposix.c951 size_t filename_len, ret; local
954 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p|l", &filename, &filename_len, &mode) == FAILURE) {
/PHP_TRUNK/ext/sqlite3/
H A Dsqlite3.c105 size_t filename_len, encryption_key_len = 0; local
112 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p|ls", &filename, &filename_len, &flags, &encryption_key, &encryption_key_len)) {
123 if (strlen(filename) != filename_len) {
/PHP_TRUNK/ext/standard/
H A Ddl.c57 size_t filename_len; local
59 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &filename, &filename_len) == FAILURE) {
68 if (filename_len >= MAXPATHLEN) {
H A Dstreamsfuncs.c1482 size_t filename_len; local
1484 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &filename, &filename_len) == FAILURE) {
1488 resolved_path = zend_resolve_path(filename, filename_len TSRMLS_CC);
H A Dfilestat.c423 size_t filename_len; local
431 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "pz/", &filename, &filename_len, &group) == FAILURE) {
560 size_t filename_len; local
568 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "pz/", &filename, &filename_len, &user) == FAILURE) {
670 size_t filename_len; local
676 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "pl", &filename, &filename_len, &mode) == FAILURE) {
716 size_t filename_len; local
724 if (zend_parse_parameters(argc TSRMLS_CC, "p|ll", &filename, &filename_len, &filetime, &fileatime) == FAILURE) {
728 if (!filename_len) {
803 PHPAPI void php_clear_stat_cache(zend_bool clear_realpath_cache, const char *filename, int filename_len TSRMLS_D
832 size_t filename_len = 0; local
[all...]
/PHP_TRUNK/ext/xsl/
H A Dxsltprocessor.c898 size_t filename_len; local
901 if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "p!", &filename, &filename_len) == SUCCESS) {
907 intern->profiling = estrndup(filename, filename_len);
/PHP_TRUNK/sapi/apache2handler/
H A Dphp_functions.c75 size_t filename_len; local
78 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p", &filename, &filename_len) == FAILURE) {
122 size_t filename_len; local
124 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p", &filename, &filename_len) == FAILURE) {
/PHP_TRUNK/ext/hash/
H A Dhash.c460 size_t filename_len, n; local
462 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs|r", &zhash, &filename, &filename_len, &zcontext) == FAILURE) {
/PHP_TRUNK/Zend/
H A Dzend_exceptions.c231 size_t message_len, filename_len; local
233 if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, argc TSRMLS_CC, "|sllslO!", &message, &message_len, &code, &severity, &filename, &filename_len, &lineno, &previous, default_exception_ce) == FAILURE) {
/PHP_TRUNK/ext/zlib/
H A Dzlib.c536 size_t filename_len; local
543 if (SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p|l", &filename, &filename_len, &use_include_path)) {
578 size_t filename_len, mode_len; local
583 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|l", &filename, &filename_len, &mode, &mode_len, &use_include_path) == FAILURE) {
605 size_t filename_len; local
611 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|l", &filename, &filename_len, &use_include_path) == FAILURE) {
/PHP_TRUNK/ext/oci8/
H A Doci8_interface.c234 size_t filename_len; local
238 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p", &filename, &filename_len) == FAILURE) {
240 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &filename, &filename_len) == FAILURE) {
247 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Op", &z_descriptor, oci_lob_class_entry_ptr, &filename, &filename_len) == FAILURE) {
249 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Os", &z_descriptor, oci_lob_class_entry_ptr, &filename, &filename_len) == FAILURE) {
257 if (strlen(filename) != filename_len) {
881 size_t filename_len; local
888 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p|ll", &filename, &filename_len, &start, &length) == FAILURE) {
890 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|ll", &filename, &filename_len, &start, &length) == FAILURE) {
906 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Op|ll", &z_descriptor, oci_lob_class_entry_ptr, &filename, &filename_len,
[all...]
/PHP_TRUNK/ext/zip/
H A Dphp_zip.h82 int filename_len; member in struct:_ze_zip_object

Completed in 74 milliseconds

12