Home
last modified time | relevance | path

Searched refs:new_state (Results 1 – 14 of 14) sorted by relevance

/PHP-5.5/TSRM/
H A Dtsrm_virtual_cwd.c1401 cwd_state new_state; in virtual_realpath() local
1447 cwd_state new_state; in virtual_filepath_ex() local
1468 cwd_state new_state; in virtual_fopen() local
1490 cwd_state new_state; in virtual_access() local
1563 cwd_state new_state; in virtual_utime() local
1586 cwd_state new_state; in virtual_chmod() local
1605 cwd_state new_state; in virtual_chown() local
1632 cwd_state new_state; in virtual_open() local
1660 cwd_state new_state; in virtual_creat() local
1679 cwd_state new_state; in virtual_rename() local
[all …]
/PHP-5.5/main/
H A Dphp_open_temporary_file.c102 cwd_state new_state; in php_do_open_temporary_file() local
127 new_state.cwd = strdup(cwd); in php_do_open_temporary_file()
128 new_state.cwd_length = strlen(cwd); in php_do_open_temporary_file()
130 if (virtual_file_ex(&new_state, path, NULL, CWD_REALPATH TSRMLS_CC)) { in php_do_open_temporary_file()
131 free(new_state.cwd); in php_do_open_temporary_file()
135 if (IS_SLASH(new_state.cwd[new_state.cwd_length - 1])) { in php_do_open_temporary_file()
141 if (spprintf(&opened_path, 0, "%s%s%sXXXXXX", new_state.cwd, trailing_slash, pfx) >= MAXPATHLEN) { in php_do_open_temporary_file()
143 free(new_state.cwd); in php_do_open_temporary_file()
149 if (GetTempFileName(new_state.cwd, pfx, 0, opened_path)) { in php_do_open_temporary_file()
154 free(new_state.cwd); in php_do_open_temporary_file()
[all …]
H A Dfopen_wrappers.c748 cwd_state new_state; local
794 new_state.cwd = strdup(cwd);
795 new_state.cwd_length = strlen(cwd);
797 if (virtual_file_ex(&new_state, filepath, NULL, realpath_mode TSRMLS_CC)) {
798 free(new_state.cwd);
803 copy_len = new_state.cwd_length > MAXPATHLEN - 1 ? MAXPATHLEN - 1 : new_state.cwd_length;
804 memcpy(real_path, new_state.cwd, copy_len);
807 real_path = estrndup(new_state.cwd, new_state.cwd_length);
809 free(new_state.cwd);
/PHP-5.5/sapi/fpm/fpm/
H A Dfpm_process_ctl.c203 void fpm_pctl(int new_state, int action) /* {{{ */ in fpm_pctl() argument
207 if (fpm_state == new_state) { /* already in progress - just ignore duplicate signal */ in fpm_pctl()
217 if (new_state == FPM_PCTL_STATE_FINISHING) break; in fpm_pctl()
220 if (new_state == FPM_PCTL_STATE_TERMINATING) break; in fpm_pctl()
224 fpm_state_names[new_state], fpm_state_names[fpm_state]); in fpm_pctl()
229 fpm_state = new_state; in fpm_pctl()
H A Dfpm_process_ctl.h20 void fpm_pctl(int new_state, int action);
/PHP-5.5/ext/opcache/
H A DZendAccelerator.c1696 cwd_state new_state; local
1704 if (!new_state.cwd) {
1708 new_state.cwd[0] = '\0';
1709 new_state.cwd_length = 0;
1716 if (!new_state.cwd) {
1723 if (!new_state.cwd) {
1727 new_state.cwd[0] = '\0';
1728 new_state.cwd_length = 0;
1735 free(new_state.cwd);
1740 memcpy(real_path, new_state.cwd, new_state.cwd_length + 1);
[all …]
/PHP-5.5/ext/zip/
H A Dphp_zip.c155 cwd_state new_state; in php_zip_extract_file() local
158 new_state.cwd[0] = '\0'; in php_zip_extract_file()
159 new_state.cwd_length = 0; in php_zip_extract_file()
165 path_cleaned = php_zip_make_relative_path(new_state.cwd, new_state.cwd_length); in php_zip_extract_file()
194 free(new_state.cwd); in php_zip_extract_file()
218 free(new_state.cwd); in php_zip_extract_file()
227 free(new_state.cwd); in php_zip_extract_file()
235 free(new_state.cwd); in php_zip_extract_file()
241 free(new_state.cwd); in php_zip_extract_file()
253 free(new_state.cwd); in php_zip_extract_file()
[all …]
/PHP-5.5/Zend/
H A Dzend_ini_scanner.l145 static void _yy_push_state(int new_state TSRMLS_DC) in _yy_push_state()
148 YYSETCONDITION(new_state); in _yy_push_state()
H A Dzend_language_scanner.l153 static void _yy_push_state(int new_state TSRMLS_DC) in _yy_push_state()
156 YYSETCONDITION(new_state); in _yy_push_state()
H A Dzend_ini_scanner.c147 static void _yy_push_state(int new_state TSRMLS_DC) in _yy_push_state()
150 YYSETCONDITION(new_state); in _yy_push_state()
H A Dzend_language_scanner.c155 static void _yy_push_state(int new_state TSRMLS_DC) in _yy_push_state()
158 YYSETCONDITION(new_state); in _yy_push_state()
/PHP-5.5/ext/phar/
H A Dphar_object.c4120 cwd_state new_state; in phar_extract_file() local
4135 new_state.cwd[1] = '\0'; in phar_extract_file()
4136 new_state.cwd_length = 1; in phar_extract_file()
4146 free(new_state.cwd); in phar_extract_file()
4178 free(new_state.cwd); in phar_extract_file()
4185 free(new_state.cwd); in phar_extract_file()
4192 free(new_state.cwd); in phar_extract_file()
4200 free(new_state.cwd); in phar_extract_file()
4218 free(new_state.cwd); in phar_extract_file()
4225 free(new_state.cwd); in phar_extract_file()
[all …]
/PHP-5.5/ext/mysqlnd/
H A Dmysqlnd.c1979 …data, set_state)(MYSQLND_CONN_DATA * const conn, enum mysqlnd_connection_state new_state TSRMLS_DC)
1982 DBG_INF_FMT("New state=%u", new_state);
1983 conn->state = new_state;
H A Dmysqlnd_structs.h470 …ata__set_state)(MYSQLND_CONN_DATA * const conn, enum mysqlnd_connection_state new_state TSRMLS_DC);

Completed in 122 milliseconds