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 Dfunc_interceptors.c29 int 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 int filename_len; local
115 if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "p|br!ii", &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 int filename_len; local
323 int filename_len, mode_len; local
892 int filename_len; local
959 int 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 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...]
/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/ext/zip/
H A Dphp_zip.h83 int filename_len; member in struct:_ze_zip_object
/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/Zend/
H A Dzend_exceptions.c230 int argc = ZEND_NUM_ARGS(), message_len, filename_len; local
232 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/com_dotnet/
H A Dcom_persist.c378 int filename_len; local
388 &filename, &filename_len, &remember)) {
441 int filename_len; local
452 &filename, &filename_len, &flags)) {
/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 int filename_len; local
611 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rip", &z_ftp, &mode, &filename, &filename_len) == FAILURE) {
617 if (!ftp_chmod(ftp, mode, filename, filename_len)) {
/PHP_TRUNK/ext/hash/
H A Dhash.c459 int filename_len, n; local
461 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs|r", &zhash, &filename, &filename_len, &zcontext) == FAILURE) {
/PHP_TRUNK/ext/oci8/
H A Doci8_interface.c233 int filename_len; local
237 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p", &filename, &filename_len) == FAILURE) {
239 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &filename, &filename_len) == FAILURE) {
246 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Op", &z_descriptor, oci_lob_class_entry_ptr, &filename, &filename_len) == FAILURE) {
248 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Os", &z_descriptor, oci_lob_class_entry_ptr, &filename, &filename_len) == FAILURE) {
256 if (strlen(filename) != filename_len) {
880 int filename_len; local
887 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p|ll", &filename, &filename_len, &start, &length) == FAILURE) {
889 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|ll", &filename, &filename_len, &start, &length) == FAILURE) {
905 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/opcache/
H A DZendAccelerator.c105 static char *(*accelerator_orig_zend_resolve_path)(const char *filename, int filename_len TSRMLS_DC);
1039 int zend_accel_invalidate(const char *filename, int filename_len, zend_bool force TSRMLS_DC) argument
1048 realpath = accelerator_orig_zend_resolve_path(filename, filename_len TSRMLS_CC);
1701 int filename_len = strlen(filename);
1703 if ((IS_ABSOLUTE_PATH(filename, filename_len) ||
1705 (persistent_script = zend_accel_hash_find(&ZCSG(hash), (char*)filename, filename_len)) != NULL &&
1726 static char* persistent_zend_resolve_path(const char *filename, int filename_len TSRMLS_DC)
1751 if ((IS_ABSOLUTE_PATH(filename, filename_len) ||
1753 (bucket = zend_accel_hash_find_entry(&ZCSG(hash), (char*)filename, filename_len)) != NULL) {
1768 key = accel_make_persistent_key_ex(&handle, filename_len,
[all...]
/PHP_TRUNK/ext/pdo_pgsql/
H A Dpgsql_driver.c634 int 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 int 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 int filename_len, ret; local
954 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p|i", &filename, &filename_len, &mode) == FAILURE) {
/PHP_TRUNK/ext/sqlite3/
H A Dsqlite3.c105 int filename_len, encryption_key_len = 0; local
112 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p|is", &filename, &filename_len, &flags, &encryption_key, &encryption_key_len)) {
123 if (strlen(filename) != filename_len) {
/PHP_TRUNK/ext/standard/
H A Ddl.c57 int 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 Dfilestat.c423 int filename_len; local
431 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "pz/", &filename, &filename_len, &group) == FAILURE) {
560 int filename_len; local
568 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "pz/", &filename, &filename_len, &user) == FAILURE) {
670 int filename_len; local
676 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "pi", &filename, &filename_len, &mode) == FAILURE) {
716 int filename_len; local
724 if (zend_parse_parameters(argc TSRMLS_CC, "p|ii", &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 int filename_len = 0; local
[all...]
H A Dstreamsfuncs.c1482 int 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);
/PHP_TRUNK/ext/xsl/
H A Dxsltprocessor.c897 int filename_len; local
900 if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "p!", &filename, &filename_len) == SUCCESS) {
906 intern->profiling = estrndup(filename, filename_len);
/PHP_TRUNK/ext/zlib/
H A Dzlib.c536 int filename_len; local
543 if (SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p|i", &filename, &filename_len, &use_include_path)) {
578 int filename_len, mode_len; local
583 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|i", &filename, &filename_len, &mode, &mode_len, &use_include_path) == FAILURE) {
605 int filename_len; local
611 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|i", &filename, &filename_len, &use_include_path) == FAILURE) {
/PHP_TRUNK/sapi/apache2handler/
H A Dphp_functions.c75 int filename_len; local
78 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p", &filename, &filename_len) == FAILURE) {
122 int filename_len; local
124 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p", &filename, &filename_len) == FAILURE) {

Completed in 51 milliseconds

12