Lines Matching refs:alias_len

568 	int alias_len = 0, ret, f404_len = 0, free_pathinfo = 0, ru_len = 0;  local
575 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s!s!saz", &alias, &alias_len, &index_php, &…
583 if (phar_open_executed_filename(alias, alias_len, &error TSRMLS_CC) != SUCCESS) {
996 int alias_len = 0; local
999 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s!l", &alias, &alias_len, &dataoffset) == F…
1005 RETVAL_BOOL(phar_open_executed_filename(alias, alias_len, &error TSRMLS_CC) == SUCCESS);
1018 int fname_len, alias_len = 0; local
1020 …parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s!", &fname, &fname_len, &alias, &alias_len) == FAILURE) {
1026 …RETVAL_BOOL(phar_open_from_filename(fname, fname_len, alias, alias_len, REPORT_ERRORS, NULL, &erro…
1158 int fname_len, alias_len = 0, arch_len, entry_len, is_data;
1174 …ND_NUM_ARGS() TSRMLS_CC, "s|ls!l", &fname, &fname_len, &flags, &alias, &alias_len, &format) == FAI…
1178 …s(ZEND_NUM_ARGS() TSRMLS_CC, "s|ls!", &fname, &fname_len, &flags, &alias, &alias_len) == FAILURE) {
1206 …if (phar_open_or_create_filename(fname, fname_len, alias, alias_len, is_data, REPORT_ERRORS, &phar…
2230 phar->alias_len = 0;
2233 phar->alias_len = strlen(newpath);
2248 phar->alias_len = 0;
2756 RETURN_STRINGL(phar_obj->arc.archive->alias, phar_obj->arc.archive->alias_len, 1);
2784 int alias_len, oldalias_len, old_temp, readd = 0; local
2809 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &alias, &alias_len) == SUCCESS) {
2810 …if (alias_len == phar_obj->arc.archive->alias_len && memcmp(phar_obj->arc.archive->alias, alias, a…
2813 …if (alias_len && SUCCESS == zend_hash_find(&(PHAR_GLOBALS->phar_alias_map), alias, alias_len, (voi…
2815 if (SUCCESS == phar_free_alias(*fd_ptr, alias, alias_len TSRMLS_CC)) {
2823 if (!phar_validate_alias(alias, alias_len)) {
2833 …archive->alias_len && SUCCESS == zend_hash_find(&(PHAR_GLOBALS->phar_alias_map), phar_obj->arc.arc…
2834 …l(&(PHAR_GLOBALS->phar_alias_map), phar_obj->arc.archive->alias, phar_obj->arc.archive->alias_len);
2839 oldalias_len = phar_obj->arc.archive->alias_len;
2842 if (alias_len) {
2843 phar_obj->arc.archive->alias = estrndup(alias, alias_len);
2848 phar_obj->arc.archive->alias_len = alias_len;
2854 phar_obj->arc.archive->alias_len = oldalias_len;
2864 …zend_hash_add(&(PHAR_GLOBALS->phar_alias_map), alias, alias_len, (void*)&(phar_obj->arc.archive), …