Searched refs:filename_len (Results 1 - 25 of 43) sorted by relevance

12

/PHP_TRUNK/ext/oci8/
H A Doci8_interface.c234 size_t filename_len; local
238 if (zend_parse_parameters(ZEND_NUM_ARGS(), "p", &filename, &filename_len) == FAILURE) {
240 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &filename, &filename_len) == FAILURE) {
247 if (zend_parse_parameters(ZEND_NUM_ARGS(), "Op", &z_descriptor, oci_lob_class_entry_ptr, &filename, &filename_len) == FAILURE) {
249 if (zend_parse_parameters(ZEND_NUM_ARGS(), "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(), "p|ll", &filename, &filename_len, &start, &length) == FAILURE) {
890 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|ll", &filename, &filename_len, &start, &length) == FAILURE) {
906 if (zend_parse_parameters(ZEND_NUM_ARGS(), "Op|ll", &z_descriptor, oci_lob_class_entry_ptr, &filename, &filename_len,
[all...]
/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 Dphp_phar.h37 PHP_PHAR_API int phar_resolve_alias(char *alias, int alias_len, char **filename, int *filename_len);
H A Ddirstream.c510 entry.filename_len = strlen(resource->path + 1);
519 if (NULL == zend_hash_str_add_mem(&phar->manifest, entry.filename, entry.filename_len, (void*)&entry, sizeof(phar_entry_info))) {
530 zend_hash_str_del(&phar->manifest, entry.filename, entry.filename_len);
535 phar_add_virtual_dirs(phar, entry.filename, entry.filename_len);
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
907 size_t filename_len; local
974 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 Dzip.c364 entry.offset = entry.offset_abs = PHAR_GET_32(zipentry.offset) + sizeof(phar_zip_file_header) + PHAR_GET_16(zipentry.filename_len) +
371 if (!PHAR_GET_16(zipentry.filename_len)) {
375 entry.filename_len = PHAR_GET_16(zipentry.filename_len);
376 entry.filename = (char *) pemalloc(entry.filename_len + 1, entry.is_persistent);
378 if (entry.filename_len != php_stream_read(fp, entry.filename, entry.filename_len)) {
383 entry.filename[entry.filename_len] = '\0';
385 if (entry.filename[entry.filename_len - 1] == '/') {
387 entry.filename_len
[all...]
H A Dtar.c183 if (entry->filename_len == sizeof(".phar/.metadata.bin")-1 && !memcmp(entry->filename, ".phar/.metadata.bin", sizeof(".phar/.metadata.bin")-1)) {
186 } else if (entry->filename_len >= sizeof(".phar/.metadata/") + sizeof("/.metadata.bin") - 1 && NULL != (mentry = zend_hash_str_find_ptr(&(entry->phar->manifest), entry->filename + sizeof(".phar/.metadata/") - 1, entry->filename_len - (sizeof("/.metadata.bin") - 1 + sizeof(".phar/.metadata/") - 1)))) {
348 entry.filename_len = entry.uncompressed_filesize;
351 if (entry.filename_len == UINT_MAX) {
359 entry.filename = pemalloc(entry.filename_len+1, myphar->is_persistent);
361 read = php_stream_read(fp, entry.filename, entry.filename_len);
362 if (read != entry.filename_len) {
371 entry.filename[entry.filename_len] = '\0';
418 entry.filename_len
[all...]
H A Dphar_object.c2273 newentry.filename = estrndup(newentry.filename, newentry.filename_len);
2291 zend_hash_str_add_mem(&(phar->manifest), newentry.filename, newentry.filename_len, (void*)&newentry, sizeof(phar_entry_info));
2292 phar_add_virtual_dirs(phar, newentry.filename, newentry.filename_len);
3462 newentry.filename_len = newfile_len;
3575 static void phar_add_file(phar_archive_data **pphar, char *filename, int filename_len, char *cont_str, size_t cont_len, zval *zresource) argument
3582 if (filename_len >= sizeof(".phar")-1 && !memcmp(filename, ".phar", sizeof(".phar")-1) && (filename[5] == '/' || filename[5] == '\\' || filename[5] == '\0')) {
3587 if (!(data = phar_get_or_create_entry_data((*pphar)->fname, (*pphar)->fname_len, filename, filename_len, "w+b", 0, &error, 1))) {
4074 if (entry->filename_len >= sizeof(".phar")-1 && !memcmp(entry->filename, ".phar", sizeof(".phar")-1)) {
4084 if (entry->filename_len > 50) {
4115 slash = zend_memrchr(entry->filename, '/', entry->filename_len);
4214 size_t pathto_len, filename_len; local
[all...]
H A Dphar_internal.h251 php_uint32 filename_len; member in struct:_phar_entry_info
498 extern zend_string *(*phar_save_resolve_path)(const char *filename, int filename_len);
534 tmp_len = MIN(MAXPATHLEN, entry->filename_len + entry->phar->fname_len);
537 len = MIN(tmp_len - len, entry->filename_len);
565 void phar_remove_virtual_dirs(phar_archive_data *phar, char *filename, int filename_len);
566 void phar_add_virtual_dirs(phar_archive_data *phar, char *filename, int filename_len);
567 int phar_mount_entry(phar_archive_data *phar, char *filename, int filename_len, char *path, int path_len);
610 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);
611 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);
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
2182 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
3256 phar_resolve_path(const char *filename, int filename_len) argument
[all...]
/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/ext/standard/
H A Dphp_filestat.h87 PHPAPI void php_clear_stat_cache(zend_bool clear_realpath_cache, const char *filename, int filename_len);
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 Dfile.c378 size_t filename_len; local
391 if (zend_parse_parameters(ZEND_NUM_ARGS(), "p|b", &filename, &filename_len, &use_include_path) == FAILURE) {
521 size_t filename_len; local
531 if (zend_parse_parameters(ZEND_NUM_ARGS(), "p|br!ll", &filename, &filename_len, &use_include_path, &zcontext, &offset, &maxlen) == FAILURE) {
575 size_t filename_len; local
585 if (zend_parse_parameters(ZEND_NUM_ARGS(), "pz/|lr!", &filename, &filename_len, &data, &flags, &zcontext) == FAILURE) {
599 if (php_memnstr(filename, "://", sizeof("://") - 1, filename + filename_len)) {
712 size_t filename_len; local
726 if (zend_parse_parameters(ZEND_NUM_ARGS(), "p|lr!", &filename, &filename_len, &flags, &zcontext) == FAILURE) {
857 size_t filename_len, mode_le local
1371 size_t filename_len; local
1483 size_t filename_len; local
2315 size_t filename_len; local
2459 size_t pattern_len, filename_len; local
[all...]
H A Dfilestat.c423 size_t filename_len; local
431 if (zend_parse_parameters(ZEND_NUM_ARGS(), "pz/", &filename, &filename_len, &group) == FAILURE) {
560 size_t filename_len; local
568 if (zend_parse_parameters(ZEND_NUM_ARGS(), "pz/", &filename, &filename_len, &user) == FAILURE) {
670 size_t filename_len; local
676 if (zend_parse_parameters(ZEND_NUM_ARGS(), "pl", &filename, &filename_len, &mode) == FAILURE) {
716 size_t filename_len; local
724 if (zend_parse_parameters(argc, "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) argument
832 size_t filename_len = 0; local
[all...]
/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/main/
H A Dfopen_wrappers.h49 PHPAPI zend_string *php_resolve_path(const char *filename, int filename_len, const char *path);
/PHP_TRUNK/ext/ftp/
H A Dftp.h142 int ftp_chmod(ftpbuf_t *ftp, const int mode, const char *filename, const int filename_len);
/PHP_TRUNK/ext/xsl/
H A Dxsltprocessor.c880 size_t filename_len; local
883 if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS(), "p!", &filename, &filename_len) == SUCCESS) {
889 intern->profiling = estrndup(filename, filename_len);
/PHP_TRUNK/ext/zip/lib/
H A Dzip_dirent.c335 zip_uint16_t filename_len, comment_len, ef_len; local
387 filename_len = _zip_read2(&cur);
408 size += filename_len+ef_len+comment_len;
415 if (filename_len) {
416 zde->filename = _zip_read_string(bufp ? &cur : NULL, fp, filename_len, 1, error);
/PHP_TRUNK/Zend/
H A Dzend.h207 zend_string *(*resolve_path_function)(const char *filename, int filename_len);
285 extern ZEND_API zend_string *(*zend_resolve_path)(const char *filename, int filename_len);
H A Dzend_exceptions.c246 size_t message_len, filename_len; local
248 if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, argc, "|sllslO!", &message, &message_len, &code, &severity, &filename, &filename_len, &lineno, &previous, base_exception_ce) == FAILURE) {
/PHP_TRUNK/ext/zip/
H A Dphp_zip.h82 int filename_len; member in struct:_ze_zip_object
/PHP_TRUNK/ext/zlib/
H A Dzlib.c565 size_t filename_len; local
572 if (SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS(), "p|l", &filename, &filename_len, &use_include_path)) {
607 size_t filename_len, mode_len; local
612 if (zend_parse_parameters(ZEND_NUM_ARGS(), "ps|l", &filename, &filename_len, &mode, &mode_len, &use_include_path) == FAILURE) {
634 size_t filename_len; local
640 if (zend_parse_parameters(ZEND_NUM_ARGS(), "p|l", &filename, &filename_len, &use_include_path) == FAILURE) {

Completed in 77 milliseconds

12