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

/PHP_TRUNK/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
181 efree(basename);
199 efree(basename);
241 if (basename) {
242 phar_mung_server_vars(arch, entry, entry_len, basename, ru_len TSRMLS_CC);
243 efree(basename);
570 const char *basename; local
2025 char *basename = NULL, *basepath = NULL; local
[all...]
/PHP_TRUNK/ext/standard/
H A Dftp_fopen_wrapper.c614 char *basename; local
631 php_basename(ent->d_name, tmp_len, NULL, 0, &basename, &basename_len TSRMLS_CC);
632 if (!basename) {
637 efree(basename);
642 memcpy(ent->d_name, basename, tmp_len);
644 efree(basename);
H A Dphp_string.h44 PHP_FUNCTION(basename); variable
/PHP_TRUNK/main/
H A Drfc1867.c1135 * the user does basename() they get a bogus file name. Until IE's user base drops
1307 php_rfc1867_basename_t basename) /* {{{ */
1314 php_rfc1867_basename = basename;
1301 php_rfc1867_set_multibyte_callbacks( php_rfc1867_encoding_translation_t encoding_translation, php_rfc1867_get_detect_order_t get_detect_order, php_rfc1867_set_input_encoding_t set_input_encoding, php_rfc1867_getword_t getword, php_rfc1867_getword_conf_t getword_conf, php_rfc1867_basename_t basename) argument
/PHP_TRUNK/ext/zip/
H A Dphp_zip.c1776 char *basename = NULL; local
1781 &basename, (size_t *)&file_stripped_len TSRMLS_CC); local
1782 file_stripped = basename;
1806 if (basename) {
1807 efree(basename);
1808 basename = NULL;

Completed in 23 milliseconds