Searched defs:new_state (Results 1 - 7 of 7) sorted by relevance

/PHP_5_6/sapi/fpm/fpm/
H A Dfpm_process_ctl.c203 void fpm_pctl(int new_state, int action) /* {{{ */ argument
207 if (fpm_state == new_state) { /* already in progress - just ignore duplicate signal */
217 if (new_state == FPM_PCTL_STATE_FINISHING) break;
220 if (new_state == FPM_PCTL_STATE_TERMINATING) break;
224 fpm_state_names[new_state], fpm_state_names[fpm_state]);
229 fpm_state = new_state;
/PHP_5_6/main/
H A Dfopen_wrappers.c748 cwd_state new_state; local
794 new_state.cwd = estrdup(cwd);
795 new_state.cwd_length = strlen(cwd);
797 if (virtual_file_ex(&new_state, filepath, NULL, realpath_mode TSRMLS_CC)) {
798 efree(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
[all...]
H A Dphp_open_temporary_file.c102 cwd_state new_state; local
127 new_state.cwd = estrdup(cwd);
128 new_state.cwd_length = strlen(cwd);
130 if (virtual_file_ex(&new_state, path, NULL, CWD_REALPATH TSRMLS_CC)) {
131 efree(new_state.cwd);
135 if (IS_SLASH(new_state.cwd[new_state.cwd_length - 1])) {
141 if (spprintf(&opened_path, 0, "%s%s%sXXXXXX", new_state.cwd, trailing_slash, pfx) >= MAXPATHLEN) {
143 efree(new_state.cwd);
149 if (GetTempFileName(new_state
[all...]
/PHP_5_6/ext/opcache/
H A DZendAccelerator.c1709 cwd_state new_state; local
1719 new_state.cwd = (char*)emalloc(1);
1721 new_state.cwd = (char*)malloc(1);
1722 if (!new_state.cwd) {
1727 new_state.cwd[0] = '\0';
1728 new_state.cwd_length = 0;
1735 new_state.cwd = estrndup(cwd, cwd_len);
1737 new_state.cwd = zend_strndup(cwd, cwd_len);
1738 if (!new_state.cwd) {
1743 new_state
[all...]
/PHP_5_6/ext/zip/
H A Dphp_zip.c180 cwd_state new_state; local
182 new_state.cwd = CWD_STATE_ALLOC(1);
183 new_state.cwd[0] = '\0';
184 new_state.cwd_length = 0;
189 virtual_file_ex(&new_state, file, NULL, CWD_EXPAND TSRMLS_CC);
190 path_cleaned = php_zip_make_relative_path(new_state.cwd, new_state.cwd_length);
219 CWD_STATE_FREE(new_state.cwd);
243 CWD_STATE_FREE(new_state.cwd);
252 CWD_STATE_FREE(new_state
[all...]
/PHP_5_6/Zend/
H A Dzend_virtual_cwd.c1431 cwd_state new_state; local
1437 new_state.cwd = (char*)emalloc(1);
1438 if (new_state.cwd == NULL) {
1442 new_state.cwd[0] = '\0';
1443 new_state.cwd_length = 0;
1448 CWD_STATE_COPY(&new_state, &CWDG(cwd));
1450 new_state.cwd = (char*)emalloc(1);
1451 if (new_state.cwd == NULL) {
1455 new_state.cwd[0] = '\0';
1456 new_state
1477 cwd_state new_state; local
1498 cwd_state new_state; local
1521 cwd_state new_state; local
1594 cwd_state new_state; local
1617 cwd_state new_state; local
1636 cwd_state new_state; local
1663 cwd_state new_state; local
1691 cwd_state new_state; local
1710 cwd_state new_state; local
1746 cwd_state new_state; local
1764 cwd_state new_state; local
1782 cwd_state new_state; local
1800 cwd_state new_state; local
1821 cwd_state new_state; local
1843 cwd_state new_state; local
1958 cwd_state new_state; local
[all...]
/PHP_5_6/ext/phar/
H A Dphar_object.c4122 cwd_state new_state; local
4135 new_state.cwd = (char*)emalloc(2);
4136 new_state.cwd[0] = DEFAULT_SLASH;
4137 new_state.cwd[1] = '\0';
4138 new_state.cwd_length = 1;
4139 if (virtual_file_ex(&new_state, entry->filename, NULL, CWD_EXPAND TSRMLS_CC) != 0 ||
4140 new_state.cwd_length <= 1) {
4148 efree(new_state.cwd);
4151 filename = new_state.cwd + 1;
4152 filename_len = new_state
[all...]

Completed in 110 milliseconds