Searched refs:fname (Results 1 - 25 of 42) sorted by relevance

12

/PHP_5_3/ext/phar/tests/cache_list/files/
H A Dphar_test.inc64 file_put_contents($fname, $file);
67 $fp = gzopen($fname, 'w');
73 $fp = bzopen($fname, 'w');
/PHP_5_3/ext/phar/tests/files/
H A Dphar_test.inc64 file_put_contents($fname, $file);
67 $fp = gzopen($fname, 'w');
73 $fp = bzopen($fname, 'w');
/PHP_5_3/ext/soap/tests/schema/
H A Dtest_schema.inc53 $fname = tempnam ("./", "wsdl");
54 $f = fopen($fname,"w");
58 $x = new SoapClient($fname, array("trace"=>1,"exceptions"=>0,"features"=>$features));
59 $y = new SoapServer($fname, array("features"=>$features));
61 unlink($fname);
/PHP_5_3/ext/spl/internal/
H A Dsplfileobject.inc24 private $fname;
49 $this->fname = $file_name;
321 throw new RuntimeException("Cannot read from file " . $this->fname);
351 throw new RuntimeException("Cannot read from file " . $this->fname);
/PHP_5_3/ext/zip/lib/
H A Dzip_fopen.c43 zip_fopen(struct zip *za, const char *fname, int flags)
47 if ((idx=zip_name_locate(za, fname, flags)) < 0)
41 zip_fopen(struct zip *za, const char *fname, int flags) argument
H A Dzip_fopen_encrypted.c43 zip_fopen_encrypted(struct zip *za, const char *fname, int flags,
48 if ((idx=zip_name_locate(za, fname, flags)) < 0)
41 zip_fopen_encrypted(struct zip *za, const char *fname, int flags, const char *password) argument
H A Dzip_name_locate.c45 zip_name_locate(struct zip *za, const char *fname, int flags)
47 return _zip_name_locate(za, fname, flags, &za->error);
54 _zip_name_locate(struct zip *za, const char *fname, int flags,
64 if (fname == NULL) {
93 if (cmp(fname, fn) == 0)
43 zip_name_locate(struct zip *za, const char *fname, int flags) argument
51 _zip_name_locate(struct zip *za, const char *fname, int flags, struct zip_error *error) argument
H A Dzip_source_file.c46 zip_source_file(struct zip *za, const char *fname, zip_uint64_t start,
52 if (fname == NULL || len < -1) {
57 return _zip_source_file_or_p(za, fname, NULL, start, len, 1, NULL);
44 zip_source_file(struct zip *za, const char *fname, zip_uint64_t start, zip_int64_t len) argument
H A Dzip_source_filep.c46 char *fname; /* name of file to copy from */
82 _zip_source_file_or_p(struct zip *za, const char *fname, FILE *file,
89 if (file == NULL && fname == NULL) {
99 f->fname = NULL;
100 if (fname) {
101 if ((f->fname=strdup(fname)) == NULL) {
110 f->closep = f->fname ? 1 : closep;
139 if (z->fname) {
140 if ((z->f=fopen(z->fname, "r
45 char *fname; /* name of file to copy from */ member in struct:read_file
79 _zip_source_file_or_p(struct zip *za, const char *fname, FILE *file, zip_uint64_t start, zip_int64_t len, int closep, const struct zip_stat *st) argument
[all...]
H A Dzip_stat.c43 zip_stat(struct zip *za, const char *fname, int flags, struct zip_stat *st)
47 if ((idx=zip_name_locate(za, fname, flags)) < 0)
41 zip_stat(struct zip *za, const char *fname, int flags, struct zip_stat *st) argument
/PHP_5_3/win32/build/
H A Dprojectgen.js37 function write_src_file(fname, path, intpath, arr)
40 var src = FSO.CreateTextFile("tmp\\src\\" + fname, true);
80 fname = FSO.GetFileName(txt.item());
81 munged = fname.replace(ext, ""); /* TSRM...! */
85 block += "SOURCE=./" + fname + "\r\n";
102 fname = FSO.GetFileName(res.item());
104 if (fname.match(/\.(ico|rc)/)) {
106 block += "SOURCE=./" + fname + "\r\n";
/PHP_5_3/ext/fileinfo/libmagic/
H A Dapptype.c50 fname[_MAX_FNAME], ext[_MAX_EXT]; local
61 _splitpath(filename, drive, dir, fname, ext);
64 fname,
88 printf("%s: not an executable file\n", fname);
90 printf("%s: not found\n", fname);
92 printf("%s: access denied\n", fname);
94 printf("%s: error code = %lu\n", fname, rc);
/PHP_5_3/ext/mbstring/libmbfl/
H A Dcvsclean5 cat .cvsignore | while read fname; do
6 rm -r -f $fname
/PHP_5_3/ext/com_dotnet/
H A Dcom_persist.c293 #define CPH_ME(fname, arginfo) PHP_ME(com_persist, fname, arginfo, ZEND_ACC_PUBLIC)
294 #define CPH_SME(fname, arginfo) PHP_ME(com_persist, fname, arginfo, ZEND_ACC_ALLOW_STATIC|ZEND_ACC_PUBLIC)
295 #define CPH_METHOD(fname) static PHP_METHOD(com_persist, fname)
/PHP_5_3/ext/standard/
H A Dvar.c751 zval fname; local
785 INIT_PZVAL(&fname);
786 ZVAL_STRINGL(&fname, "__sleep", sizeof("__sleep") - 1, 0);
787 res = call_user_function_ex(CG(function_table), &struc, &fname, &retval_ptr, 0, 0, 1, NULL TSRMLS_CC);
H A Dvar_unserializer.re374 zval fname;
382 INIT_PZVAL(&fname);
383 ZVAL_STRINGL(&fname, "__wakeup", sizeof("__wakeup") - 1, 0);
384 call_user_function_ex(CG(function_table), rval, &fname, &retval_ptr, 0, 0, 1, NULL TSRMLS_CC);
/PHP_5_3/ext/wddx/
H A Dwddx.c458 zval **ent, *fname, **varname; local
466 MAKE_STD_ZVAL(fname);
467 ZVAL_STRING(fname, "__sleep", 1);
473 if (call_user_function_ex(CG(function_table), &obj, fname, &retval, 0, 0, 1, NULL TSRMLS_CC) == SUCCESS) {
544 zval_dtor(fname);
545 FREE_ZVAL(fname);
948 zval *fname, *retval = NULL; local
950 MAKE_STD_ZVAL(fname);
951 ZVAL_STRING(fname, "__wakeup", 1);
953 call_user_function_ex(NULL, &ent1->data, fname,
[all...]
/PHP_5_3/ext/phar/
H A Dfunc_interceptors.c46 char *arch, *entry, *fname; local
48 fname = zend_get_executed_filename(TSRMLS_C);
53 if (strncasecmp(fname, "phar://", 7)) {
56 fname_len = strlen(fname);
57 if (SUCCESS == phar_split_fname(fname, fname_len, &arch, &arch_len, &entry, &entry_len, 2, 0 TSRMLS_CC)) {
121 char *arch, *entry, *fname; local
125 fname = zend_get_executed_filename(TSRMLS_C);
127 if (strncasecmp(fname, "phar://", 7)) {
130 fname_len = strlen(fname);
131 if (SUCCESS == phar_split_fname(fname, fname_le
251 char *arch, *entry, *fname; local
347 char *arch, *entry, *fname; local
618 char *arch, *entry, *fname; local
912 char *arch, *entry, *fname; local
979 char *arch, *entry, *fname; local
[all...]
H A Dphar.c211 if (phar->alias && phar->alias != phar->fname) {
216 if (phar->fname) {
217 pefree(phar->fname, phar->is_persistent);
218 phar->fname = NULL;
281 || zend_hash_del(&(PHAR_GLOBALS->phar_fname_map), phar->fname, phar->fname_len) != SUCCESS) {
302 if (zend_hash_del(&(PHAR_GLOBALS->phar_fname_map), phar->fname, phar->fname_len) != SUCCESS) {
488 spprintf(error, 0, msg, fname);\
531 int phar_open_parsed_phar(char *fname, int fname_len, char *alias, int alias_len, int is_data, int options, phar_archive_data** pphar, char **error TSRMLS_DC) /* {{{ */ argument
542 unixfname = estrndup(fname, fname_len);
547 && !strncmp(unixfname, phar->fname, fname_le
662 phar_parse_pharfile(php_stream *fp, char *fname, int fname_len, char *alias, int alias_len, long halt_offset, phar_archive_data** pphar, php_uint32 compression, char **error TSRMLS_DC) argument
1244 phar_open_or_create_filename(char *fname, int fname_len, char *alias, int alias_len, int is_data, int options, phar_archive_data** pphar, char **error TSRMLS_DC) argument
1321 phar_create_or_parse_filename(char *fname, int fname_len, char *alias, int alias_len, int is_data, int options, phar_archive_data** pphar, char **error TSRMLS_DC) argument
1475 phar_open_from_filename(char *fname, int fname_len, char *alias, int alias_len, int options, phar_archive_data** pphar, char **error TSRMLS_DC) argument
1566 phar_open_from_fp(php_stream* fp, char *fname, int fname_len, char *alias, int alias_len, int options, phar_archive_data** pphar, int is_data, char **error TSRMLS_DC) argument
1738 phar_analyze_path(const char *fname, const char *ext, int ext_len, int for_create TSRMLS_DC) argument
1846 phar_check_str(const char *fname, const char *ext_str, int ext_len, int executable, int for_create TSRMLS_DC) argument
2331 char *fname; local
3422 char *fname; local
[all...]
H A Dphar_internal.h305 char *fname; member in struct:_phar_archive_data
307 /* for phar_detect_fname_ext, this stores the location of the file extension within fname */
623 memcpy(tmp, entry->phar->fname, entry->phar->fname_len);
636 int phar_open_from_filename(char *fname, int fname_len, char *alias, int alias_len, int options, phar_archive_data** pphar, char **error TSRMLS_DC);
637 int phar_open_or_create_filename(char *fname, int fname_len, char *alias, int alias_len, int is_data, int options, phar_archive_data** pphar, char **error TSRMLS_DC);
638 int phar_create_or_parse_filename(char *fname, int fname_len, char *alias, int alias_len, int is_data, int options, phar_archive_data** pphar, char **error TSRMLS_DC);
641 int phar_get_archive(phar_archive_data **archive, char *fname, int fname_len, char *alias, int alias_len, char **error TSRMLS_DC);
642 int phar_open_parsed_phar(char *fname, int fname_len, char *alias, int alias_len, int is_data, int options, phar_archive_data** pphar, char **error TSRMLS_DC);
643 int phar_verify_signature(php_stream *fp, size_t end_of_phar, php_uint32 sig_type, char *sig, int sig_len, char *fname, char **signature, int *signature_len, char **error TSRMLS_DC);
670 int phar_is_tar(char *buf, char *fname);
[all...]
H A Dphar_object.c59 static void phar_mung_server_vars(char *fname, char *entry, int entry_len, char *basename, int request_uri_len TSRMLS_DC) /* {{{ */ argument
93 Z_STRLEN_PP(stuff) = spprintf(&(Z_STRVAL_PP(stuff)), 4096, "phar://%s%s", fname, entry);
154 Z_STRLEN_PP(stuff) = spprintf(&(Z_STRVAL_PP(stuff)), 4096, "phar://%s%s", fname, entry);
347 static void phar_do_404(phar_archive_data *phar, char *fname, int fname_len, char *f404, int f404_len, char *entry, int entry_len TSRMLS_DC) /* {{{ */ argument
356 phar_file_action(phar, info, "text/html", PHAR_MIME_PHP, f404, f404_len, fname, NULL, NULL, 0 TSRMLS_CC);
375 static void phar_postprocess_ru_web(char *fname, int fname_len, char **entry, int *entry_len, char **ru, int *ru_len TSRMLS_DC) /* {{{ */ argument
382 zend_hash_find(&(PHAR_GLOBALS->phar_fname_map), fname, fname_len, (void **) &pphar);
385 zend_hash_find(&cached_phars, fname, fname_len, (void **) &pphar);
442 char *fname, *arch, *entry; local
450 fname
476 char *fname, *arch = NULL, *entry = NULL, *path, *actual; local
568 char *fname, *basename, *path_info, *mime_type = NULL, *entry, *pt; local
1014 char *fname, *alias = NULL, *error; local
1091 char *fname; local
1339 char *fname, *error, *zname, *arch, *entry; local
1443 char *fname, *error = NULL, *base = p_obj->b, *opened, *save = NULL, *temp = NULL; local
2688 char *fname; local
3616 char *fname; local
3653 char *fname, *error; local
3797 char *fname, *cont_str = NULL; local
3836 char *fname, *error; local
3911 char *fname, *localname = NULL; local
4488 char *fname, *arch, *entry, *error; local
[all...]
H A Dtar.c100 int phar_is_tar(char *buf, char *fname) /* {{{ */ argument
116 if (!ret && strstr(fname, ".tar")) {
124 int phar_open_or_create_tar(char *fname, int fname_len, char *alias, int alias_len, int is_data, int options, phar_archive_data** pphar, char **error TSRMLS_DC) /* {{{ */ argument
127 int ret = phar_create_or_parse_filename(fname, fname_len, alias, alias_len, is_data, options, &phar, error TSRMLS_CC);
152 spprintf(error, 4096, "phar tar error: \"%s\" already exists as a regular phar and must be deleted from disk prior to creating as a tar-based phar", fname);
195 int phar_parse_tarfile(php_stream* fp, char *fname, int fname_len, char *alias, int alias_len, phar_archive_data** pphar, int is_data, php_uint32 compression, char **error TSRMLS_DC) /* {{{ */ argument
216 spprintf(error, 4096, "phar error: \"%s\" is not a tar file or is truncated", fname);
263 spprintf(error, 4096, "phar error: tar-based phar \"%s\" has signature that is larger than 511 bytes, cannot process", fname);
274 spprintf(error, 4096, "phar error: tar-based phar \"%s\" signature cannot be read", fname);
288 if (FAILURE == phar_verify_signature(fp, php_stream_tell(fp) - size - 512, myphar->sig_flags, buf + 8, size - 8, fname,
[all...]
H A Dutil.c261 char *path, *fname, *arch, *entry, *ret, *test; local
275 fname = zend_get_executed_filename(TSRMLS_C);
276 fname_len = strlen(fname);
278 if (PHAR_G(last_phar) && !memcmp(fname, "phar://", 7) && fname_len - 7 >= PHAR_G(last_phar_name_len) && !memcmp(fname + 7, PHAR_G(last_phar_name), PHAR_G(last_phar_name_len))) {
285 if (fname_len < 7 || memcmp(fname, "phar://", 7) || SUCCESS != phar_split_fname(fname, strlen(fname), &arch, &arch_len, &entry, &entry_len, 1, 0 TSRMLS_CC)) {
355 char *fname, *arch, *entry, *ret, *test;
367 fname
576 phar_get_entry_data(phar_entry_data **ret, char *fname, int fname_len, char *path, int path_len, char *mode, char allow_dir, char **error, int security TSRMLS_DC) argument
737 phar_get_or_create_entry_data(char *fname, int fname_len, char *path, int path_len, char *mode, char allow_dir, char **error, int security TSRMLS_DC) argument
1212 phar_get_archive(phar_archive_data **archive, char *fname, int fname_len, char *alias, int alias_len, char **error TSRMLS_DC) argument
1792 phar_verify_signature(php_stream *fp, size_t end_of_phar, php_uint32 sig_type, char *sig, int sig_len, char *fname, char **signature, int *signature_len, char **error TSRMLS_DC) argument
2301 char *fname; local
[all...]
H A Dzip.c166 int phar_parse_zipfile(php_stream *fp, char *fname, int fname_len, char *alias, int alias_len, phar_archive_data** pphar, char **error TSRMLS_DC) /* {{{ */ argument
185 spprintf(error, 4096, "phar error: unable to search for end of central directory in zip-based phar \"%s\"", fname);
196 spprintf(error, 4096, "phar error: unable to read in data to search for end of central directory in zip-based phar \"%s\"", fname);
208 spprintf(error, 4096, "phar error: split archives spanning multiple zips cannot be processed in zip-based phar \"%s\"", fname);
215 spprintf(error, 4096, "phar error: corrupt zip archive, conflicting file count in end of central directory record in zip-based phar \"%s\"", fname);
231 spprintf(error, 4096, "phar error: corrupt zip archive, zip file comment truncated in zip-based phar \"%s\"", fname);
265 spprintf(error, 4096, "phar error: end of central directory not found in zip-based phar \"%s\"", fname);
270 mydata->fname = pestrndup(fname, fname_len, mydata->is_persistent);
272 phar_unixify_path_separators(mydata->fname, fname_le
730 phar_open_or_create_zip(char *fname, int fname_len, char *alias, int alias_len, int is_data, int options, phar_archive_data** pphar, char **error TSRMLS_DC) argument
[all...]
/PHP_5_3/ext/spl/
H A Dspl_directory.c915 char *fname = NULL; local
927 fname = intern->file_name + path_len + 1;
930 fname = intern->file_name;
934 php_basename(fname, flen, NULL, 0, &fname, &flen TSRMLS_CC);
936 p = zend_memrchr(fname, '.', flen);
938 idx = p - fname;
939 RETVAL_STRINGL(fname + idx + 1, flen - idx - 1, 1);
940 efree(fname);
943 if (fname) {
956 char *fname = NULL; local
987 char *fname, *suffix = 0; local
1016 char *suffix = 0, *fname; local
[all...]

Completed in 51 milliseconds

12