Searched defs:basename (Results 1 - 5 of 5) sorted by relevance

/PHP_5_3/ext/phar/
H A Dshortarc.php61 $basename = basename(__FILE__); variable
62 if (!strpos($_SERVER['REQUEST_URI'], $basename)) {
67 $pt = substr($_SERVER['REQUEST_URI'], strpos($_SERVER['REQUEST_URI'], $basename) + strlen($basename));
164 $temp .= '/pharextract/'.basename(__FILE__, '.phar');
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
64 int basename_len = strlen(basename);
110 if (Z_STRLEN_PP(stuff) > basename_len && !memcmp(Z_STRVAL_PP(stuff), basename, basename_len)) {
126 if (Z_STRLEN_PP(stuff) > basename_len && !memcmp(Z_STRVAL_PP(stuff), basename, basename_len)) {
165 static int phar_file_action(phar_archive_data *phar, phar_entry_info *info, char *mime_type, int code, char *entry, int entry_len, char *arch, char *basename, char *ru, int ru_len TSRMLS_DC) /* {{{ */ argument
180 efree(basename);
198 efree(basename);
240 if (basename) {
241 phar_mung_server_vars(arch, entry, entry_len, basename, ru_len TSRMLS_CC);
242 efree(basename);
568 char *fname, *basename, *path_info, *mime_type = NULL, *entry, *pt; local
2092 char *basename = NULL, *basepath = NULL; local
[all...]
/PHP_5_3/ext/standard/
H A Dftp_fopen_wrapper.c613 char *basename; local
630 php_basename(ent->d_name, tmp_len, NULL, 0, &basename, &basename_len TSRMLS_CC);
631 if (!basename) {
636 efree(basename);
641 memcpy(ent->d_name, basename, tmp_len);
643 efree(basename);
H A Dphp_string.h44 PHP_FUNCTION(basename); variable
/PHP_5_3/ext/zip/
H A Dphp_zip.c1713 char *basename = NULL; local
1719 &basename, (size_t *)&file_stripped_len TSRMLS_CC); local
1720 file_stripped = basename;
1744 if (basename) {
1745 efree(basename);
1746 basename = NULL;

Completed in 12 milliseconds