Searched defs:alias (Results 1 - 9 of 9) sorted by relevance

/PHP_5_3/ext/interbase/
H A Dibase_query.c1515 char buf[METADATALENGTH+4], *alias = var->aliasname; local
1525 switch (*alias) {
1530 base = alias;
1533 Z_ARRVAL_P(return_value),alias,strlen(alias)+1,&p)) {
1536 snprintf(alias = buf, sizeof(buf), "%s_%02d", base, i++);
1649 add_assoc_zval(return_value, alias, result);
1655 add_assoc_null(return_value, alias);
1930 add_assoc_stringl(return_value, "alias", var->aliasname, var->aliasname_length, 1);
/PHP_5_3/ext/mbstring/
H A Dmbstring.c3113 const char **alias; local
3114 for (alias = *encoding->aliases; *alias; ++alias) {
3115 add_next_index_string(return_value, (char *)*alias, 1);
/PHP_5_3/ext/phar/
H A Dphar.c211 if (phar->alias && phar->alias != phar->fname) {
212 pefree(phar->alias, phar->is_persistent);
213 phar->alias = NULL;
300 /* this is a new phar that has perhaps had an alias/metadata set, but has never
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
545 if (SUCCESS == phar_get_archive(&phar, unixfname, fname_len, alias, alias_len, error TSRMLS_CC)
546 && ((alias && fname_len == phar->fname_len
547 && !strncmp(unixfname, phar->fname, fname_len)) || !alias)
552 if (SUCCESS == phar_get_archive(&phar, fname, fname_len, alias, alias_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
2329 phar_open_executed_filename(char *alias, int alias_len, char **error TSRMLS_DC) argument
[all...]
H A Dphar_internal.h310 char *alias; member in struct:_phar_archive_data
333 /* if 1, then this alias was manually specified by the user and is not a permanent alias */
608 * validate an alias, returns 1 for success, 0 for failure
610 static inline int phar_validate_alias(const char *alias, int alias_len) /* {{{ */ argument
612 return !(memchr(alias, '/', alias_len) || memchr(alias, '\\', alias_len) || memchr(alias, ':', alias_len) ||
613 memchr(alias, ';', alias_len) || memchr(alias, '\
[all...]
H A Dphar_object.c556 /* {{{ proto void Phar::webPhar([string alias, [string index, [string f404, [array mimetypes, [callback rewrites]]]]])
566 char *alias = NULL, *error, *index_php = NULL, *f404 = NULL, *ru = NULL; local
573 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s!s!saz", &alias, &alias_len, &index_php, &index_php_len, &f404, &f404_len, &mimeoverride, &rewrite) == FAILURE) {
581 if (phar_open_executed_filename(alias, alias_len, &error TSRMLS_CC) != SUCCESS) {
988 /* {{{ proto mixed Phar::mapPhar([string alias, [int dataoffset]])
992 char *alias = NULL, *error; local
996 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s!l", &alias, &alias_len, &dataoffset) == FAILURE) {
1002 RETVAL_BOOL(phar_open_executed_filename(alias, alias_len, &error TSRMLS_CC) == SUCCESS);
1010 /* {{{ proto mixed Phar::loadPhar(string filename [, string alias])
1011 * Loads any phar archive with an alias */
1014 char *fname, *alias = NULL, *error; local
2772 char *alias, *error, *oldalias; local
[all...]
H A Dtar.c124 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);
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
501 if (!actual_alias && entry.filename_len == sizeof(".phar/alias.txt")-1 && !strncmp(entry.filename, ".phar/alias.txt", sizeof(".phar/alias.txt")-1)) {
502 /* found explicit alias */
505 spprintf(error, 4096, "phar error: tar-based phar \"%s\" has alias that is larger than 511 bytes, cannot process", fname);
525 spprintf(error, 4096, "phar error: invalid alias \"%s\" in tar-based phar \"%s\"", buf, fname);
534 myphar->alias
[all...]
H A Dutil.c1189 int phar_free_alias(phar_archive_data *phar, char *alias, int alias_len TSRMLS_DC) /* {{{ */ argument
1209 * Looks up a phar archive in the filename map, connecting it to the alias
1212 int phar_get_archive(phar_archive_data **archive, char *fname, int fname_len, char *alias, int alias_len, char **error TSRMLS_DC) /* {{{ */ argument
1229 if (alias && alias_len) {
1231 if (!PHAR_G(last_phar)->is_temporary_alias && (alias_len != PHAR_G(last_phar)->alias_len || memcmp(PHAR_G(last_phar)->alias, alias, alias_len))) {
1233 spprintf(error, 0, "alias \"%s\" is already used for archive \"%s\" cannot be overloaded with \"%s\"", alias, PHAR_G(last_phar)->fname, fname);
1239 if (PHAR_G(last_phar)->alias_len && SUCCESS == zend_hash_find(&(PHAR_GLOBALS->phar_alias_map), PHAR_G(last_phar)->alias, PHAR_G(last_phar)->alias_len, (void**)&fd_ptr)) {
1240 zend_hash_del(&(PHAR_GLOBALS->phar_alias_map), PHAR_G(last_phar)->alias, PHAR_
[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
320 if (mydata->alias) { \
321 pefree(mydata->alias, mydata->is_persistent); \
344 if (mydata->alias) { \
345 pefree(mydata->alias, mydata->is_persistent); \
557 if (!actual_alias && entry.filename_len == sizeof(".phar/alias.txt")-1 && !strncmp(entry.filename, ".phar/alias.txt", sizeof(".phar/alias.txt")-1)) {
563 /* archive alias found */
569 PHAR_ZIP_FAIL("phar error: internal corruption of zip-based phar (cannot read local file header for alias)");
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/gd/
H A Dgd.c5039 zend_bool alias; local
5042 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rb", &IM, &alias) == FAILURE) {
5047 gdImageAntialias(im, alias);

Completed in 33 milliseconds