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);
103 if (code > basename_len && !memcmp(path_info, basename, basename_len)) {
116 if (code > basename_len && !memcmp(path_info, basename, basename_len)) {
145 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
162 efree(basename);
180 efree(basename);
222 if (basename) {
223 phar_mung_server_vars(arch, entry, entry_len, basename, ru_len TSRMLS_CC);
224 efree(basename);
551 const char *basename; local
1996 char *basename = NULL, *basepath = NULL; local
[all...]
/PHP_TRUNK/ext/standard/
H A Dftp_fopen_wrapper.c614 zend_string *basename; local
630 basename = php_basename(ent->d_name, tmp_len, NULL, 0 TSRMLS_CC);
632 tmp_len = MIN(sizeof(ent->d_name), basename->len - 1);
633 memcpy(ent->d_name, basename->val, tmp_len);
635 zend_string_release(basename);
H A Dphp_string.h44 PHP_FUNCTION(basename); variable
/PHP_TRUNK/ext/zip/
H A Dphp_zip.c1633 zend_string *basename = NULL; local
1637 basename = php_basename(Z_STRVAL_P(zval_file), Z_STRLEN_P(zval_file), NULL, 0 TSRMLS_CC);
1638 file_stripped = basename->val;
1639 file_stripped_len = basename->len;
1663 if (basename) {
1664 zend_string_release(basename);
1665 basename = NULL;
/PHP_TRUNK/main/
H A Drfc1867.c1141 * the user does basename() they get a bogus file name. Until IE's user base drops
1313 php_rfc1867_basename_t basename) /* {{{ */
1320 php_rfc1867_basename = basename;
1307 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

Completed in 15 milliseconds