Searched defs:filename_len (Results 1 - 25 of 32) 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 Dfunc_interceptors.c29 size_t filename_len; local
41 if (zend_parse_parameters(ZEND_NUM_ARGS(), "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(), "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, "://"))) {
138 entry_len = filename_len;
232 size_t filename_len; local
333 size_t filename_len, mode_len; local
895 size_t filename_len; local
962 size_t filename_len; local
[all...]
H A Dutil.c170 int phar_mount_entry(phar_archive_data *phar, char *filename, int filename_len, char *path, int path_len) /* {{{ */ 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 zend_string *phar_find_in_include_path(char *filename, int filename_len, phar_archive_data **pphar) /* {{{ */ argument
267 return phar_save_resolve_path(filename, filename_len);
281 return phar_save_resolve_path(filename, filename_len);
291 return phar_save_resolve_path(filename, filename_len);
298 try_len = filename_len;
925 phar_resolve_alias(char *alias, int alias_len, char **filename, int *filename_len) argument
1921 phar_add_virtual_dirs(phar_archive_data *phar, char *filename, int filename_len) argument
[all...]
H A Dphar.c30 zend_string *(*phar_save_resolve_path)(const char *filename, int filename_len);
470 zend_hash_str_del(&idata->phar->manifest, idata->internal_file->filename, idata->internal_file->filename_len);
1064 PHAR_GET_32(buffer, entry.filename_len);
1066 if (entry.filename_len == 0) {
1074 if (entry.filename_len + 20 > endbuffer - buffer) {
1078 if ((manifest_ver & PHAR_API_VER_MASK) >= PHAR_API_MIN_DIR && buffer[entry.filename_len - 1] == '/') {
1084 phar_add_virtual_dirs(mydata, buffer, entry.filename_len);
1085 entry.filename = pestrndup(buffer, entry.filename_len, entry.is_persistent);
1086 buffer += entry.filename_len;
1106 entry.filename_len
1894 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) argument
2188 phar_split_fname(const char *filename, int filename_len, char **arch, int *arch_len, char **entry, int *entry_len, int executable, int for_create) argument
3257 phar_resolve_path(const char *filename, int filename_len) argument
[all...]
H A Dphar_internal.h246 php_uint32 filename_len; member in struct:_phar_entry_info
493 extern zend_string *(*phar_save_resolve_path)(const char *filename, int filename_len);
529 tmp_len = MIN(MAXPATHLEN, entry->filename_len + entry->phar->fname_len);
534 len2 = MIN(tmp_len - len1, entry->filename_len);
563 void phar_remove_virtual_dirs(phar_archive_data *phar, char *filename, int filename_len);
564 void phar_add_virtual_dirs(phar_archive_data *phar, char *filename, int filename_len);
565 int phar_mount_entry(phar_archive_data *phar, char *filename, int filename_len, char *path, int path_len);
608 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);
609 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);
/PHP_TRUNK/ext/com_dotnet/
H A Dcom_persist.c377 size_t filename_len; local
387 &filename, &filename_len, &remember)) {
440 size_t filename_len; local
451 &filename, &filename_len, &flags)) {
/PHP_TRUNK/sapi/apache2handler/
H A Dphp_functions.c75 size_t filename_len; local
78 if (zend_parse_parameters(ZEND_NUM_ARGS(), "p", &filename, &filename_len) == FAILURE) {
122 size_t filename_len; local
124 if (zend_parse_parameters(ZEND_NUM_ARGS(), "p", &filename, &filename_len) == FAILURE) {
/PHP_TRUNK/ext/standard/
H A Ddl.c57 size_t filename_len; local
59 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &filename, &filename_len) == FAILURE) {
68 if (filename_len >= MAXPATHLEN) {
H A Dfilestat.c411 size_t filename_len; local
419 if (zend_parse_parameters(ZEND_NUM_ARGS(), "pz/", &filename, &filename_len, &group) == FAILURE) {
548 size_t filename_len; local
556 if (zend_parse_parameters(ZEND_NUM_ARGS(), "pz/", &filename, &filename_len, &user) == FAILURE) {
658 size_t filename_len; local
664 if (zend_parse_parameters(ZEND_NUM_ARGS(), "pl", &filename, &filename_len, &mode) == FAILURE) {
704 size_t filename_len; local
712 if (zend_parse_parameters(argc, "p|ll", &filename, &filename_len, &filetime, &fileatime) == FAILURE) {
716 if (!filename_len) {
791 PHPAPI void php_clear_stat_cache(zend_bool clear_realpath_cache, const char *filename, int filename_len) argument
820 size_t filename_len = 0; local
[all...]
H A Dfile.c375 size_t filename_len; local
388 if (zend_parse_parameters(ZEND_NUM_ARGS(), "p|b", &filename, &filename_len, &use_include_path) == FAILURE) {
518 size_t filename_len; local
528 if (zend_parse_parameters(ZEND_NUM_ARGS(), "p|br!ll", &filename, &filename_len, &use_include_path, &zcontext, &offset, &maxlen) == FAILURE) {
572 size_t filename_len; local
582 if (zend_parse_parameters(ZEND_NUM_ARGS(), "pz/|lr!", &filename, &filename_len, &data, &flags, &zcontext) == FAILURE) {
596 if (php_memnstr(filename, "://", sizeof("://") - 1, filename + filename_len)) {
709 size_t filename_len; local
723 if (zend_parse_parameters(ZEND_NUM_ARGS(), "p|lr!", &filename, &filename_len, &flags, &zcontext) == FAILURE) {
854 size_t filename_len, mode_le local
1345 size_t filename_len; local
1457 size_t filename_len; local
2289 size_t filename_len; local
2433 size_t pattern_len, filename_len; local
[all...]
H A Dstreamsfuncs.c1488 size_t filename_len; local
1491 if (zend_parse_parameters(ZEND_NUM_ARGS(), "p", &filename, &filename_len) == FAILURE) {
1495 resolved_path = zend_resolve_path(filename, (int)filename_len);
/PHP_TRUNK/ext/ftp/
H A Dphp_ftp.c640 size_t filename_len; local
643 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rlp", &z_ftp, &mode, &filename, &filename_len) == FAILURE) {
651 if (!ftp_chmod(ftp, mode, filename, filename_len)) {
H A Dftp.c623 ftp_chmod(ftpbuf_t *ftp, const int mode, const char *filename, const int filename_len) argument
627 if (ftp == NULL || filename_len <= 0) {
/PHP_TRUNK/ext/zip/lib/
H A Dzip_dirent.c304 zip_uint16_t filename_len, comment_len, ef_len; local
350 filename_len = _zip_buffer_get_16(buffer);
379 variable_size = (zip_uint32_t)filename_len+(zip_uint32_t)ef_len+(zip_uint32_t)comment_len;
395 if (filename_len) {
396 zde->filename = _zip_read_string(buffer, src, filename_len, 1, error);
/PHP_TRUNK/ext/zip/
H A Dphp_zip.h82 int filename_len; member in struct:_ze_zip_object
/PHP_TRUNK/ext/pdo_pgsql/
H A Dpgsql_driver.c662 size_t table_name_len, filename_len, pg_delim_len = 0, pg_null_as_len = 0, pg_fields_len; local
669 &table_name, &table_name_len, &filename, &filename_len,
761 size_t table_name_len, pg_delim_len = 0, pg_null_as_len = 0, pg_fields_len, filename_len; local
770 &table_name, &table_name_len, &filename, &filename_len,
/PHP_TRUNK/ext/snmp/
H A Dsnmp.c1783 size_t filename_len; local
1785 if (zend_parse_parameters(ZEND_NUM_ARGS(), "p", &filename, &filename_len) == FAILURE) {
/PHP_TRUNK/ext/sqlite3/
H A Dsqlite3.c104 size_t filename_len, encryption_key_len = 0; local
109 if (FAILURE == zend_parse_parameters_throw(ZEND_NUM_ARGS(), "p|ls", &filename, &filename_len, &flags, &encryption_key, &encryption_key_len)) {
117 if (strlen(filename) != filename_len) {
/PHP_TRUNK/ext/posix/
H A Dposix.c1012 size_t filename_len, ret; local
1015 if (zend_parse_parameters(ZEND_NUM_ARGS(), "p|l", &filename, &filename_len, &mode) == FAILURE) {
/PHP_TRUNK/ext/opcache/
H A DZendAccelerator.c114 static zend_string *(*accelerator_orig_zend_resolve_path)(const char *filename, int filename_len);
1065 int zend_accel_invalidate(const char *filename, int filename_len, zend_bool force) argument
1074 realpath = accelerator_orig_zend_resolve_path(filename, filename_len);
1873 static zend_string* persistent_zend_resolve_path(const char *filename, int filename_len) argument
1896 key = accel_make_persistent_key(filename, filename_len, &key_length);
1910 return accelerator_orig_zend_resolve_path(filename, filename_len);
1915 resolved_path = accelerator_orig_zend_resolve_path(filename, filename_len);
1947 return accelerator_orig_zend_resolve_path(filename, filename_len);
/PHP_TRUNK/ext/xsl/
H A Dxsltprocessor.c879 size_t filename_len; local
882 if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS(), "p!", &filename, &filename_len) == SUCCESS) {
888 intern->profiling = estrndup(filename, filename_len);
/PHP_TRUNK/ext/hash/
H A Dhash.c470 size_t filename_len, n; local
472 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rp|r", &zhash, &filename, &filename_len, &zcontext) == FAILURE) {
/PHP_TRUNK/ext/zlib/
H A Dzlib.c566 size_t filename_len; local
573 if (SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS(), "p|l", &filename, &filename_len, &use_include_path)) {
608 size_t filename_len, mode_len; local
613 if (zend_parse_parameters(ZEND_NUM_ARGS(), "ps|l", &filename, &filename_len, &mode, &mode_len, &use_include_path) == FAILURE) {
635 size_t filename_len; local
641 if (zend_parse_parameters(ZEND_NUM_ARGS(), "p|l", &filename, &filename_len, &use_include_path) == FAILURE) {
/PHP_TRUNK/ext/oci8/
H A Doci8_interface.c240 size_t filename_len; local
244 if (zend_parse_parameters(ZEND_NUM_ARGS(), "p", &filename, &filename_len) == FAILURE) {
246 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &filename, &filename_len) == FAILURE) {
253 if (zend_parse_parameters(ZEND_NUM_ARGS(), "Op", &z_descriptor, oci_lob_class_entry_ptr, &filename, &filename_len) == FAILURE) {
255 if (zend_parse_parameters(ZEND_NUM_ARGS(), "Os", &z_descriptor, oci_lob_class_entry_ptr, &filename, &filename_len) == FAILURE) {
263 if (strlen(filename) != filename_len) {
896 size_t filename_len; local
903 if (zend_parse_parameters(ZEND_NUM_ARGS(), "p|ll", &filename, &filename_len, &start, &length) == FAILURE) {
905 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|ll", &filename, &filename_len, &start, &length) == FAILURE) {
921 if (zend_parse_parameters(ZEND_NUM_ARGS(), "Op|ll", &z_descriptor, oci_lob_class_entry_ptr, &filename, &filename_len,
[all...]
/PHP_TRUNK/Zend/
H A Dzend_exceptions.c316 size_t message_len, filename_len; local
318 if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, argc, "|sllslO!", &message, &message_len, &code, &severity, &filename, &filename_len, &lineno, &previous, zend_ce_throwable) == FAILURE) {

Completed in 66 milliseconds

12