CWDG 280 TSRM/tsrm_win32.c if (CWDG(realpath_cache_size_limit)) { CWDG 504 Zend/zend_virtual_cwd.c if (CWDG(cwd).cwd == NULL) { CWDG 505 Zend/zend_virtual_cwd.c CWD_STATE_COPY(&CWDG(cwd), &main_cwd_state); CWDG 513 Zend/zend_virtual_cwd.c if (CWDG(cwd).cwd != NULL) { CWDG 514 Zend/zend_virtual_cwd.c CWD_STATE_FREE(&CWDG(cwd)); CWDG 515 Zend/zend_virtual_cwd.c CWDG(cwd).cwd = NULL; CWDG 525 Zend/zend_virtual_cwd.c state = &CWDG(cwd); CWDG 624 Zend/zend_virtual_cwd.c for (i = 0; i < sizeof(CWDG(realpath_cache))/sizeof(CWDG(realpath_cache)[0]); i++) { CWDG 625 Zend/zend_virtual_cwd.c realpath_cache_bucket *p = CWDG(realpath_cache)[i]; CWDG 631 Zend/zend_virtual_cwd.c CWDG(realpath_cache)[i] = NULL; CWDG 633 Zend/zend_virtual_cwd.c CWDG(realpath_cache_size) = 0; CWDG 644 Zend/zend_virtual_cwd.c unsigned long n = key % (sizeof(CWDG(realpath_cache)) / sizeof(CWDG(realpath_cache)[0])); CWDG 645 Zend/zend_virtual_cwd.c realpath_cache_bucket **bucket = &CWDG(realpath_cache)[n]; CWDG 655 Zend/zend_virtual_cwd.c CWDG(realpath_cache_size) -= sizeof(realpath_cache_bucket) + r->path_len + 1; CWDG 657 Zend/zend_virtual_cwd.c CWDG(realpath_cache_size) -= sizeof(realpath_cache_bucket) + r->path_len + 1 + r->realpath_len + 1; CWDG 680 Zend/zend_virtual_cwd.c if (CWDG(realpath_cache_size) + size <= CWDG(realpath_cache_size_limit)) { CWDG 710 Zend/zend_virtual_cwd.c bucket->expires = t + CWDG(realpath_cache_ttl); CWDG 711 Zend/zend_virtual_cwd.c n = bucket->key % (sizeof(CWDG(realpath_cache)) / sizeof(CWDG(realpath_cache)[0])); CWDG 712 Zend/zend_virtual_cwd.c bucket->next = CWDG(realpath_cache)[n]; CWDG 713 Zend/zend_virtual_cwd.c CWDG(realpath_cache)[n] = bucket; CWDG 714 Zend/zend_virtual_cwd.c CWDG(realpath_cache_size) += size; CWDG 727 Zend/zend_virtual_cwd.c unsigned long n = key % (sizeof(CWDG(realpath_cache)) / sizeof(CWDG(realpath_cache)[0])); CWDG 728 Zend/zend_virtual_cwd.c realpath_cache_bucket **bucket = &CWDG(realpath_cache)[n]; CWDG 731 Zend/zend_virtual_cwd.c if (CWDG(realpath_cache_ttl) && (*bucket)->expires < t) { CWDG 737 Zend/zend_virtual_cwd.c CWDG(realpath_cache_size) -= sizeof(realpath_cache_bucket) + r->path_len + 1; CWDG 739 Zend/zend_virtual_cwd.c CWDG(realpath_cache_size) -= sizeof(realpath_cache_bucket) + r->path_len + 1 + r->realpath_len + 1; CWDG 761 Zend/zend_virtual_cwd.c return CWDG(realpath_cache_size); CWDG 766 Zend/zend_virtual_cwd.c return (sizeof(CWDG(realpath_cache)) / sizeof(CWDG(realpath_cache)[0])); CWDG 771 Zend/zend_virtual_cwd.c return CWDG(realpath_cache); CWDG 858 Zend/zend_virtual_cwd.c if (start && save && CWDG(realpath_cache_size_limit)) { CWDG 1166 Zend/zend_virtual_cwd.c if (save && start && CWDG(realpath_cache_size_limit)) { CWDG 1319 Zend/zend_virtual_cwd.c t = CWDG(realpath_cache_ttl) ? 0 : -1; CWDG 1389 Zend/zend_virtual_cwd.c return virtual_file_ex(&CWDG(cwd), path, php_is_dir_ok, CWD_REALPATH TSRMLS_CC)?-1:0; CWDG 1446 Zend/zend_virtual_cwd.c CWD_STATE_COPY(&new_state, &CWDG(cwd)); CWDG 1478 Zend/zend_virtual_cwd.c CWD_STATE_COPY(&new_state, &CWDG(cwd)); CWDG 1503 Zend/zend_virtual_cwd.c CWD_STATE_COPY(&new_state, &CWDG(cwd)); CWDG 1522 Zend/zend_virtual_cwd.c CWD_STATE_COPY(&new_state, &CWDG(cwd)); CWDG 1595 Zend/zend_virtual_cwd.c CWD_STATE_COPY(&new_state, &CWDG(cwd)); CWDG 1618 Zend/zend_virtual_cwd.c CWD_STATE_COPY(&new_state, &CWDG(cwd)); CWDG 1637 Zend/zend_virtual_cwd.c CWD_STATE_COPY(&new_state, &CWDG(cwd)); CWDG 1664 Zend/zend_virtual_cwd.c CWD_STATE_COPY(&new_state, &CWDG(cwd)); CWDG 1692 Zend/zend_virtual_cwd.c CWD_STATE_COPY(&new_state, &CWDG(cwd)); CWDG 1711 Zend/zend_virtual_cwd.c CWD_STATE_COPY(&old_state, &CWDG(cwd)); CWDG 1718 Zend/zend_virtual_cwd.c CWD_STATE_COPY(&new_state, &CWDG(cwd)); CWDG 1747 Zend/zend_virtual_cwd.c CWD_STATE_COPY(&new_state, &CWDG(cwd)); CWDG 1765 Zend/zend_virtual_cwd.c CWD_STATE_COPY(&new_state, &CWDG(cwd)); CWDG 1783 Zend/zend_virtual_cwd.c CWD_STATE_COPY(&new_state, &CWDG(cwd)); CWDG 1801 Zend/zend_virtual_cwd.c CWD_STATE_COPY(&new_state, &CWDG(cwd)); CWDG 1822 Zend/zend_virtual_cwd.c CWD_STATE_COPY(&new_state, &CWDG(cwd)); CWDG 1844 Zend/zend_virtual_cwd.c CWD_STATE_COPY(&new_state, &CWDG(cwd)); CWDG 1860 Zend/zend_virtual_cwd.c return popen_ex(command, type, CWDG(cwd).cwd, NULL TSRMLS_CC); CWDG 1882 Zend/zend_virtual_cwd.c VCWD_CHDIR(CWDG(cwd).cwd); CWDG 1904 Zend/zend_virtual_cwd.c dir_length = CWDG(cwd).cwd_length; CWDG 1905 Zend/zend_virtual_cwd.c dir = CWDG(cwd).cwd; CWDG 1911 Zend/zend_virtual_cwd.c dir_length = CWDG(cwd).cwd_length; CWDG 1912 Zend/zend_virtual_cwd.c dir = CWDG(cwd).cwd; CWDG 1921 Zend/zend_virtual_cwd.c if (CWDG(cwd).cwd_length == 0) { CWDG 1646 main/main.c CWDG(realpath_cache_size_limit) = 0; CWDG 2273 main/main.c CWDG(realpath_cache_size_limit) = 0; CWDG 532 sapi/litespeed/lsapi_main.c if ( !CWDG(cwd).cwd || CWDG 533 sapi/litespeed/lsapi_main.c ( strcmp( file_handle->filename, CWDG(cwd).cwd ) != 0 ) ) { CWDG 534 sapi/litespeed/lsapi_main.c CWDG(cwd).cwd_length = p - file_handle->filename; CWDG 535 sapi/litespeed/lsapi_main.c CWDG(cwd).cwd = (char *) realloc(CWDG(cwd).cwd, CWDG(cwd).cwd_length+1); CWDG 536 sapi/litespeed/lsapi_main.c memmove( CWDG(cwd).cwd, file_handle->filename, CWDG(cwd).cwd_length+1 );