ZCG 31 ext/opcache/Optimizer/zend_optimizer.c ZCG(accel_directives).optimization_level ZCG 80 ext/opcache/ZendAccelerator.c if (ZCG(accel_directives).protect_memory) { \ ZCG 86 ext/opcache/ZendAccelerator.c if (ZCG(accel_directives).protect_memory) { \ ZCG 161 ext/opcache/ZendAccelerator.c if (ZCG(cwd)) { ZCG 162 ext/opcache/ZendAccelerator.c efree(ZCG(cwd)); ZCG 164 ext/opcache/ZendAccelerator.c ZCG(cwd_len) = strlen(cwd); ZCG 165 ext/opcache/ZendAccelerator.c ZCG(cwd) = estrndup(cwd, ZCG(cwd_len)); ZCG 167 ext/opcache/ZendAccelerator.c if (ZCG(cwd)) { ZCG 168 ext/opcache/ZendAccelerator.c efree(ZCG(cwd)); ZCG 169 ext/opcache/ZendAccelerator.c ZCG(cwd) = NULL; ZCG 176 ext/opcache/ZendAccelerator.c if (ZCG(cwd)) { ZCG 177 ext/opcache/ZendAccelerator.c *cwd_len = ZCG(cwd_len); ZCG 178 ext/opcache/ZendAccelerator.c return ZCG(cwd); ZCG 185 ext/opcache/ZendAccelerator.c *cwd_len = ZCG(cwd_len) = strlen(cwd); ZCG 186 ext/opcache/ZendAccelerator.c ZCG(cwd) = estrndup(cwd, ZCG(cwd_len)); ZCG 187 ext/opcache/ZendAccelerator.c return ZCG(cwd); ZCG 193 ext/opcache/ZendAccelerator.c if ((((double) ZSMMG(wasted_shared_memory)) / ZCG(accel_directives).memory_consumption) >= ZCG(accel_directives).max_wasted_percentage) { ZCG 207 ext/opcache/ZendAccelerator.c ZCG(include_path_key) = NULL; ZCG 209 ext/opcache/ZendAccelerator.c ZCG(include_path) = new_value; ZCG 210 ext/opcache/ZendAccelerator.c if (ZCG(include_path) && *ZCG(include_path)) { ZCG 211 ext/opcache/ZendAccelerator.c ZCG(include_path_len) = new_value_length; ZCG 213 ext/opcache/ZendAccelerator.c if (ZCG(enabled) && accel_startup_ok && ZCG 214 ext/opcache/ZendAccelerator.c (ZCG(counted) || ZCSG(accelerator_enabled))) { ZCG 216 ext/opcache/ZendAccelerator.c ZCG(include_path_key) = zend_accel_hash_find(&ZCSG(include_paths), ZCG(include_path), ZCG(include_path_len) + 1); ZCG 217 ext/opcache/ZendAccelerator.c if (!ZCG(include_path_key) && ZCG 222 ext/opcache/ZendAccelerator.c ZCG(include_path_key) = zend_accel_hash_find(&ZCSG(include_paths), ZCG(include_path), ZCG(include_path_len) + 1); ZCG 223 ext/opcache/ZendAccelerator.c if (!ZCG(include_path_key) && ZCG 227 ext/opcache/ZendAccelerator.c key = zend_shared_alloc(ZCG(include_path_len) + 2); ZCG 229 ext/opcache/ZendAccelerator.c memcpy(key, ZCG(include_path), ZCG(include_path_len) + 1); ZCG 230 ext/opcache/ZendAccelerator.c key[ZCG(include_path_len) + 1] = 'A' + ZCSG(include_paths).num_entries; ZCG 231 ext/opcache/ZendAccelerator.c ZCG(include_path_key) = key + ZCG(include_path_len) + 1; ZCG 232 ext/opcache/ZendAccelerator.c zend_accel_hash_update(&ZCSG(include_paths), key, ZCG(include_path_len) + 1, 0, ZCG(include_path_key)); ZCG 242 ext/opcache/ZendAccelerator.c ZCG(include_path_check) = 1; ZCG 245 ext/opcache/ZendAccelerator.c ZCG(include_path) = ""; ZCG 246 ext/opcache/ZendAccelerator.c ZCG(include_path_len) = 0; ZCG 550 ext/opcache/ZendAccelerator.c if (ZCG(counted)) { ZCG 552 ext/opcache/ZendAccelerator.c ZCG(counted) = 0; ZCG 637 ext/opcache/ZendAccelerator.c if (ZCG(accel_directives).force_restart_timeout ZCG 640 ext/opcache/ZendAccelerator.c zend_accel_error(ACCEL_LOG_WARNING, "Forced restart at %d (after %d seconds), locked by %d", time(NULL), ZCG(accel_directives).force_restart_timeout, mem_usage_check.l_pid); ZCG 848 ext/opcache/ZendAccelerator.c full_path_ptr = accel_php_resolve_path(file_handle->filename, strlen(file_handle->filename), ZCG(include_path) TSRMLS_CC); ZCG 892 ext/opcache/ZendAccelerator.c if (ZCG(accel_directives).revalidate_freq && ZCG 893 ext/opcache/ZendAccelerator.c persistent_script->dynamic_members.revalidate >= ZCG(request_time)) { ZCG 898 ext/opcache/ZendAccelerator.c persistent_script->dynamic_members.revalidate = ZCG(request_time) + ZCG(accel_directives).revalidate_freq; ZCG 934 ext/opcache/ZendAccelerator.c if (ZCG(accel_directives).use_cwd && ZCG 952 ext/opcache/ZendAccelerator.c ZCG(key_len) = 0; ZCG 957 ext/opcache/ZendAccelerator.c if (ZCG(include_path_key)) { ZCG 958 ext/opcache/ZendAccelerator.c include_path = ZCG(include_path_key); ZCG 961 ext/opcache/ZendAccelerator.c include_path = ZCG(include_path); ZCG 962 ext/opcache/ZendAccelerator.c include_path_len = ZCG(include_path_len); ZCG 963 ext/opcache/ZendAccelerator.c if (ZCG(include_path_check) && ZCG 964 ext/opcache/ZendAccelerator.c ZCG(enabled) && accel_startup_ok && ZCG 965 ext/opcache/ZendAccelerator.c (ZCG(counted) || ZCSG(accelerator_enabled)) && ZCG 966 ext/opcache/ZendAccelerator.c !zend_accel_hash_find(&ZCSG(include_paths), ZCG(include_path), ZCG(include_path_len) + 1) && ZCG 972 ext/opcache/ZendAccelerator.c ZCG(include_path_key) = zend_accel_hash_find(&ZCSG(include_paths), ZCG(include_path), ZCG(include_path_len) + 1); ZCG 973 ext/opcache/ZendAccelerator.c if (ZCG(include_path_key)) { ZCG 974 ext/opcache/ZendAccelerator.c include_path = ZCG(include_path_key); ZCG 979 ext/opcache/ZendAccelerator.c key = zend_shared_alloc(ZCG(include_path_len) + 2); ZCG 981 ext/opcache/ZendAccelerator.c memcpy(key, ZCG(include_path), ZCG(include_path_len) + 1); ZCG 982 ext/opcache/ZendAccelerator.c key[ZCG(include_path_len) + 1] = 'A' + ZCSG(include_paths).num_entries; ZCG 983 ext/opcache/ZendAccelerator.c ZCG(include_path_key) = key + ZCG(include_path_len) + 1; ZCG 984 ext/opcache/ZendAccelerator.c zend_accel_hash_update(&ZCSG(include_paths), key, ZCG(include_path_len) + 1, 0, ZCG(include_path_key)); ZCG 985 ext/opcache/ZendAccelerator.c include_path = ZCG(include_path_key); ZCG 1020 ext/opcache/ZendAccelerator.c if ((size_t)key_length >= sizeof(ZCG(key))) { ZCG 1021 ext/opcache/ZendAccelerator.c ZCG(key_len) = 0; ZCG 1024 ext/opcache/ZendAccelerator.c memcpy(ZCG(key), cwd, cwd_len); ZCG 1025 ext/opcache/ZendAccelerator.c ZCG(key)[cwd_len] = ':'; ZCG 1027 ext/opcache/ZendAccelerator.c memcpy(ZCG(key) + cwd_len + 1, file_handle->filename, path_length); ZCG 1029 ext/opcache/ZendAccelerator.c ZCG(key)[cwd_len + 1 + path_length] = ':'; ZCG 1034 ext/opcache/ZendAccelerator.c memcpy(ZCG(key) + cur_len, parent_script, parent_script_len); ZCG 1036 ext/opcache/ZendAccelerator.c ZCG(key)[cur_len] = ':'; ZCG 1039 ext/opcache/ZendAccelerator.c memcpy(ZCG(key) + cur_len, include_path, include_path_len); ZCG 1040 ext/opcache/ZendAccelerator.c ZCG(key)[key_length] = '\0'; ZCG 1044 ext/opcache/ZendAccelerator.c if ((size_t)key_length >= sizeof(ZCG(key))) { ZCG 1045 ext/opcache/ZendAccelerator.c ZCG(key_len) = 0; ZCG 1048 ext/opcache/ZendAccelerator.c memcpy(ZCG(key), file_handle->filename, key_length + 1); ZCG 1051 ext/opcache/ZendAccelerator.c *key_len = ZCG(key_len) = key_length; ZCG 1052 ext/opcache/ZendAccelerator.c return ZCG(key); ZCG 1065 ext/opcache/ZendAccelerator.c if (!ZCG(enabled) || !accel_startup_ok || !ZCSG(accelerator_enabled) || accelerator_shm_read_lock(TSRMLS_C) != SUCCESS) { ZCG 1070 ext/opcache/ZendAccelerator.c realpath = accel_php_resolve_path(filename, filename_len, ZCG(include_path) TSRMLS_CC); ZCG 1088 ext/opcache/ZendAccelerator.c !ZCG(accel_directives).validate_timestamps || ZCG 1172 ext/opcache/ZendAccelerator.c if (!ZCG(accel_directives).revalidate_path && ZCG 1173 ext/opcache/ZendAccelerator.c (!ZCG(accel_directives).validate_timestamps || ZCG 1186 ext/opcache/ZendAccelerator.c ZCG(mem) = zend_shared_alloc(memory_used); ZCG 1187 ext/opcache/ZendAccelerator.c if (!ZCG(mem)) { ZCG 1194 ext/opcache/ZendAccelerator.c new_persistent_script->mem = ZCG(mem); ZCG 1201 ext/opcache/ZendAccelerator.c if ((char*)new_persistent_script->mem + new_persistent_script->size != (char*)ZCG(mem)) { ZCG 1203 ext/opcache/ZendAccelerator.c ((char*)new_persistent_script->mem + new_persistent_script->size < (char*)ZCG(mem)) ? ACCEL_LOG_ERROR : ACCEL_LOG_WARNING, ZCG 1208 ext/opcache/ZendAccelerator.c ZCG(mem)); ZCG 1217 ext/opcache/ZendAccelerator.c if (!ZCG(accel_directives).revalidate_path && ZCG 1309 ext/opcache/ZendAccelerator.c if (key == ZCG(key)) { ZCG 1310 ext/opcache/ZendAccelerator.c key_length = ZCG(key_len); ZCG 1339 ext/opcache/ZendAccelerator.c if (ZCG(accel_directives).validate_timestamps || ZCG 1340 ext/opcache/ZendAccelerator.c ZCG(accel_directives).file_update_protection || ZCG 1341 ext/opcache/ZendAccelerator.c ZCG(accel_directives).max_file_size > 0) { ZCG 1347 ext/opcache/ZendAccelerator.c timestamp = zend_get_file_handle_timestamp(file_handle, ZCG(accel_directives).max_file_size > 0 ? &size : NULL TSRMLS_CC); ZCG 1358 ext/opcache/ZendAccelerator.c if (ZCG(accel_directives).file_update_protection && ZCG 1359 ext/opcache/ZendAccelerator.c (ZCG(request_time) - ZCG(accel_directives).file_update_protection < timestamp)) { ZCG 1364 ext/opcache/ZendAccelerator.c if (ZCG(accel_directives).max_file_size > 0 && size > (size_t)ZCG(accel_directives).max_file_size) { ZCG 1380 ext/opcache/ZendAccelerator.c CG(function_table) = &ZCG(function_table); ZCG 1413 ext/opcache/ZendAccelerator.c zend_accel_free_user_functions(&ZCG(function_table) TSRMLS_CC); ZCG 1424 ext/opcache/ZendAccelerator.c zend_accel_move_user_functions(&ZCG(function_table), &new_persistent_script->function_table TSRMLS_CC); ZCG 1443 ext/opcache/ZendAccelerator.c if (ZCG(accel_directives).validate_timestamps) { ZCG 1448 ext/opcache/ZendAccelerator.c new_persistent_script->dynamic_members.revalidate = ZCG(request_time) + ZCG(accel_directives).revalidate_freq; ZCG 1473 ext/opcache/ZendAccelerator.c !ZCG(enabled) || !accel_startup_ok || ZCG 1474 ext/opcache/ZendAccelerator.c (!ZCG(counted) && !ZCSG(accelerator_enabled)) || ZCG 1487 ext/opcache/ZendAccelerator.c if (!ZCG(counted)) { ZCG 1488 ext/opcache/ZendAccelerator.c ZCG(counted) = 1; ZCG 1496 ext/opcache/ZendAccelerator.c ZCG(cache_opline) == NULL && ZCG 1498 ext/opcache/ZendAccelerator.c ZCG(cache_persistent_script)) || ZCG 1500 ext/opcache/ZendAccelerator.c *EG(opline_ptr) == ZCG(cache_opline) && ZCG 1509 ext/opcache/ZendAccelerator.c if (!ZCG(key_len)) { ZCG 1514 ext/opcache/ZendAccelerator.c persistent_script = ZCG(cache_persistent_script); ZCG 1515 ext/opcache/ZendAccelerator.c key = ZCG(key); ZCG 1516 ext/opcache/ZendAccelerator.c key_length = ZCG(key_len); ZCG 1555 ext/opcache/ZendAccelerator.c if (!ZCG(accel_directives).revalidate_path && ZCG 1568 ext/opcache/ZendAccelerator.c ZCG(cache_opline) = NULL; ZCG 1569 ext/opcache/ZendAccelerator.c ZCG(cache_persistent_script) = NULL; ZCG 1578 ext/opcache/ZendAccelerator.c if (persistent_script && ZCG(accel_directives).validate_timestamps) { ZCG 1597 ext/opcache/ZendAccelerator.c if (persistent_script && ZCG(accel_directives).consistency_checks ZCG 1598 ext/opcache/ZendAccelerator.c && persistent_script->dynamic_members.hits % ZCG(accel_directives).consistency_checks == 0) { ZCG 1692 ext/opcache/ZendAccelerator.c persistent_script->dynamic_members.last_used = ZCG(request_time); ZCG 1838 ext/opcache/ZendAccelerator.c if (ZCG(enabled) && accel_startup_ok && ZCG 1839 ext/opcache/ZendAccelerator.c (ZCG(counted) || ZCSG(accelerator_enabled)) && ZCG 1873 ext/opcache/ZendAccelerator.c memcpy(ZCG(key), persistent_script->full_path, persistent_script->full_path_len + 1); ZCG 1874 ext/opcache/ZendAccelerator.c ZCG(key_len) = persistent_script->full_path_len; ZCG 1875 ext/opcache/ZendAccelerator.c ZCG(cache_opline) = opline; ZCG 1876 ext/opcache/ZendAccelerator.c ZCG(cache_persistent_script) = persistent_script; ZCG 1882 ext/opcache/ZendAccelerator.c if (!ZCG(accel_directives).revalidate_path && ZCG 1889 ext/opcache/ZendAccelerator.c ZCG(cache_opline) = opline; ZCG 1890 ext/opcache/ZendAccelerator.c ZCG(cache_persistent_script) = persistent_script; ZCG 1895 ext/opcache/ZendAccelerator.c resolved_path = accel_php_resolve_path(filename, filename_len, ZCG(include_path) TSRMLS_CC); ZCG 1905 ext/opcache/ZendAccelerator.c if (key && !ZCG(accel_directives).revalidate_path) { ZCG 1913 ext/opcache/ZendAccelerator.c ZCG(cache_opline) = opline; ZCG 1914 ext/opcache/ZendAccelerator.c ZCG(cache_persistent_script) = persistent_script; ZCG 1924 ext/opcache/ZendAccelerator.c ZCG(cache_opline) = NULL; ZCG 1925 ext/opcache/ZendAccelerator.c ZCG(cache_persistent_script) = NULL; ZCG 1934 ext/opcache/ZendAccelerator.c if (ZCG(enabled) && accel_startup_ok && ZCG 1935 ext/opcache/ZendAccelerator.c (ZCG(counted) || ZCSG(accelerator_enabled)) && ZCG 1961 ext/opcache/ZendAccelerator.c ZCG(cache_opline) == NULL && ZCG 1962 ext/opcache/ZendAccelerator.c ZCG(cache_persistent_script) != NULL) || ZCG 1964 ext/opcache/ZendAccelerator.c (ZCG(cache_opline) == *EG(opline_ptr)))) { ZCG 1965 ext/opcache/ZendAccelerator.c persistent_script = ZCG(cache_persistent_script); ZCG 1981 ext/opcache/ZendAccelerator.c memcpy(ZCG(key), persistent_script->full_path, persistent_script->full_path_len + 1); ZCG 1982 ext/opcache/ZendAccelerator.c ZCG(key_len) = persistent_script->full_path_len; ZCG 1983 ext/opcache/ZendAccelerator.c ZCG(cache_opline) = EG(opline_ptr) ? *EG(opline_ptr) : NULL; ZCG 1984 ext/opcache/ZendAccelerator.c ZCG(cache_persistent_script) = EG(opline_ptr) ? persistent_script : NULL; ZCG 1991 ext/opcache/ZendAccelerator.c ZCG(cache_opline) = NULL; ZCG 1992 ext/opcache/ZendAccelerator.c ZCG(cache_persistent_script) = NULL; ZCG 1999 ext/opcache/ZendAccelerator.c if (ZCG(enabled) && accel_startup_ok && ZCG 2000 ext/opcache/ZendAccelerator.c (ZCG(counted) || ZCSG(accelerator_enabled)) && ZCG 2032 ext/opcache/ZendAccelerator.c memcpy(ZCG(key), persistent_script->full_path, persistent_script->full_path_len + 1); ZCG 2033 ext/opcache/ZendAccelerator.c ZCG(key_len) = persistent_script->full_path_len; ZCG 2034 ext/opcache/ZendAccelerator.c ZCG(cache_opline) = EG(opline_ptr) ? *EG(opline_ptr) : NULL; ZCG 2035 ext/opcache/ZendAccelerator.c ZCG(cache_persistent_script) = persistent_script; ZCG 2045 ext/opcache/ZendAccelerator.c if (!ZCG(accel_directives).revalidate_path && ZCG 2051 ext/opcache/ZendAccelerator.c ZCG(cache_opline) = EG(opline_ptr) ? *EG(opline_ptr) : NULL; ZCG 2052 ext/opcache/ZendAccelerator.c ZCG(cache_persistent_script) = persistent_script; ZCG 2065 ext/opcache/ZendAccelerator.c if (key && !ZCG(accel_directives).revalidate_path) { ZCG 2073 ext/opcache/ZendAccelerator.c ZCG(cache_opline) = (EG(opline_ptr) && key) ? *EG(opline_ptr): NULL; ZCG 2074 ext/opcache/ZendAccelerator.c ZCG(cache_persistent_script) = key ? persistent_script : NULL; ZCG 2078 ext/opcache/ZendAccelerator.c ZCG(cache_opline) = NULL; ZCG 2079 ext/opcache/ZendAccelerator.c ZCG(cache_persistent_script) = NULL; ZCG 2083 ext/opcache/ZendAccelerator.c ZCG(cache_opline) = NULL; ZCG 2084 ext/opcache/ZendAccelerator.c ZCG(cache_persistent_script) = NULL; ZCG 2105 ext/opcache/ZendAccelerator.c if (!ZCG(enabled) || !accel_startup_ok) { ZCG 2111 ext/opcache/ZendAccelerator.c ZCG(request_time) = (time_t)sapi_get_request_time(TSRMLS_C); ZCG 2112 ext/opcache/ZendAccelerator.c ZCG(cache_opline) = NULL; ZCG 2113 ext/opcache/ZendAccelerator.c ZCG(cache_persistent_script) = NULL; ZCG 2114 ext/opcache/ZendAccelerator.c ZCG(include_path_check) = !ZCG(include_path_key); ZCG 2116 ext/opcache/ZendAccelerator.c if (ZCG(counted)) { ZCG 2123 ext/opcache/ZendAccelerator.c ZCG(counted) = 0; ZCG 2157 ext/opcache/ZendAccelerator.c if (ZCG(accel_directives).interned_strings_buffer) { ZCG 2164 ext/opcache/ZendAccelerator.c ZCSG(last_restart_time) = ZCG(request_time); ZCG 2172 ext/opcache/ZendAccelerator.c if (ZCG(internal_functions_count) != zend_hash_num_elements(&ZCG(function_table))) { ZCG 2173 ext/opcache/ZendAccelerator.c zend_accel_error(ACCEL_LOG_WARNING, "Internal functions count changed - was %d, now %d", ZCG(internal_functions_count), zend_hash_num_elements(&ZCG(function_table))); ZCG 2176 ext/opcache/ZendAccelerator.c ZCG(cwd) = NULL; ZCG 2373 ext/opcache/ZendAccelerator.c if (!ZCG(enabled) || !accel_startup_ok) { ZCG 2379 ext/opcache/ZendAccelerator.c ZCG(counted) = 0; ZCG 2382 ext/opcache/ZendAccelerator.c if (ZCG(accel_directives).fast_shutdown) { ZCG 2387 ext/opcache/ZendAccelerator.c if (ZCG(cwd)) { ZCG 2388 ext/opcache/ZendAccelerator.c efree(ZCG(cwd)); ZCG 2389 ext/opcache/ZendAccelerator.c ZCG(cwd) = NULL; ZCG 2447 ext/opcache/ZendAccelerator.c if (ZCG(accel_directives).enable_cli && ZCG 2467 ext/opcache/ZendAccelerator.c zend_accel_hash_init(&ZCSG(hash), ZCG(accel_directives).max_accelerated_files); ZCG 2474 ext/opcache/ZendAccelerator.c zend_hash_init(&ZCSG(interned_strings), (ZCG(accel_directives).interned_strings_buffer * 1024 * 1024) / (sizeof(Bucket) + sizeof(Bucket*) + 8 /* average string length */), NULL, NULL, 1); ZCG 2475 ext/opcache/ZendAccelerator.c if (ZCG(accel_directives).interned_strings_buffer) { ZCG 2478 ext/opcache/ZendAccelerator.c ZCSG(interned_strings_start) = zend_shared_alloc((ZCG(accel_directives).interned_strings_buffer * 1024 * 1024)); ZCG 2483 ext/opcache/ZendAccelerator.c ZCSG(interned_strings_end) = ZCSG(interned_strings_start) + (ZCG(accel_directives).interned_strings_buffer * 1024 * 1024); ZCG 2501 ext/opcache/ZendAccelerator.c if (ZCG(accel_directives).interned_strings_buffer) { ZCG 2563 ext/opcache/ZendAccelerator.c if (!ZCG(accel_directives).enable_cli && ZCG 2572 ext/opcache/ZendAccelerator.c if (ZCG(enabled) == 0) { ZCG 2578 ext/opcache/ZendAccelerator.c switch (zend_shared_alloc_startup(ZCG(accel_directives).memory_consumption)) { ZCG 2644 ext/opcache/ZendAccelerator.c ZCG(cwd) = NULL; ZCG 2648 ext/opcache/ZendAccelerator.c ZCG(include_path) = INI_STR("include_path"); ZCG 2649 ext/opcache/ZendAccelerator.c ZCG(include_path_key) = NULL; ZCG 2650 ext/opcache/ZendAccelerator.c if (ZCG(include_path) && *ZCG(include_path)) { ZCG 2651 ext/opcache/ZendAccelerator.c ZCG(include_path_len) = strlen(ZCG(include_path)); ZCG 2652 ext/opcache/ZendAccelerator.c ZCG(include_path_key) = zend_accel_hash_find(&ZCSG(include_paths), ZCG(include_path), ZCG(include_path_len) + 1); ZCG 2653 ext/opcache/ZendAccelerator.c if (!ZCG(include_path_key) && ZCG 2658 ext/opcache/ZendAccelerator.c key = zend_shared_alloc(ZCG(include_path_len) + 2); ZCG 2660 ext/opcache/ZendAccelerator.c memcpy(key, ZCG(include_path), ZCG(include_path_len) + 1); ZCG 2661 ext/opcache/ZendAccelerator.c key[ZCG(include_path_len) + 1] = 'A' + ZCSG(include_paths).num_entries; ZCG 2662 ext/opcache/ZendAccelerator.c ZCG(include_path_key) = key + ZCG(include_path_len) + 1; ZCG 2663 ext/opcache/ZendAccelerator.c zend_accel_hash_update(&ZCSG(include_paths), key, ZCG(include_path_len) + 1, 0, ZCG(include_path_key)); ZCG 2670 ext/opcache/ZendAccelerator.c ZCG(include_path) = ""; ZCG 2671 ext/opcache/ZendAccelerator.c ZCG(include_path_len) = 0; ZCG 2690 ext/opcache/ZendAccelerator.c if (ZCG(enabled) && accel_startup_ok && ZCG 2691 ext/opcache/ZendAccelerator.c ZCG(accel_directives).user_blacklist_filename && ZCG 2692 ext/opcache/ZendAccelerator.c *ZCG(accel_directives.user_blacklist_filename)) { ZCG 2694 ext/opcache/ZendAccelerator.c zend_accel_blacklist_load(&accel_blacklist, ZCG(accel_directives.user_blacklist_filename)); ZCG 2720 ext/opcache/ZendAccelerator.c if (!ZCG(enabled) || !accel_startup_ok) { ZCG 2726 ext/opcache/ZendAccelerator.c if (ZCG(accel_directives).interned_strings_buffer) { ZCG 2763 ext/opcache/ZendAccelerator.c if (ZCG(accel_directives).force_restart_timeout) { ZCG 2764 ext/opcache/ZendAccelerator.c ZCSG(force_restart_time) = zend_accel_get_time() + ZCG(accel_directives).force_restart_timeout; ZCG 2773 ext/opcache/ZendAccelerator.c #define accel_deactivate_now() ZCG(counted) = 1; accel_deactivate_sub(TSRMLS_C) ZCG 2785 ext/opcache/ZendAccelerator.c if (ZCG(counted)) { ZCG 2805 ext/opcache/ZendAccelerator.c if (!ZCG(counted)) { ZCG 249 ext/opcache/shared_alloc_win32.c if (!ZCG(accel_directives).mmap_base || !*ZCG(accel_directives).mmap_base) { ZCG 274 ext/opcache/shared_alloc_win32.c char *s = ZCG(accel_directives).mmap_base; ZCG 39 ext/opcache/zend_accelerator_debug.c if (type > ZCG(accel_directives).log_verbosity_level) { ZCG 47 ext/opcache/zend_accelerator_debug.c if (!ZCG(accel_directives).error_log || ZCG 48 ext/opcache/zend_accelerator_debug.c !*ZCG(accel_directives).error_log || ZCG 49 ext/opcache/zend_accelerator_debug.c strcmp(ZCG(accel_directives).error_log, "stderr") == 0) { ZCG 53 ext/opcache/zend_accelerator_debug.c fLog = fopen(ZCG(accel_directives).error_log, "a+"); ZCG 92 ext/opcache/zend_accelerator_module.c if (ZCG(accel_directives).restrict_api && *ZCG(accel_directives).restrict_api) { ZCG 93 ext/opcache/zend_accelerator_module.c int len = strlen(ZCG(accel_directives).restrict_api); ZCG 97 ext/opcache/zend_accelerator_module.c memcmp(SG(request_info).path_translated, ZCG(accel_directives).restrict_api, len) != 0) { ZCG 327 ext/opcache/zend_accelerator_module.c (!ZCG(accel_directives).validate_timestamps || ZCG 335 ext/opcache/zend_accelerator_module.c (!ZCG(accel_directives).validate_timestamps || ZCG 396 ext/opcache/zend_accelerator_module.c if (ZCG(enabled) && accel_startup_ok && ZCG(accel_directives).file_override_enabled) { ZCG 426 ext/opcache/zend_accelerator_module.c if (ZCG(enabled) && accel_startup_ok && (ZCG(counted) || ZCSG(accelerator_enabled))) { ZCG 431 ext/opcache/zend_accelerator_module.c if (ZCG(enabled) && accel_startup_ok && ZCSG(accelerator_enabled) && ZCG(accel_directives).optimization_level) { ZCG 436 ext/opcache/zend_accelerator_module.c if (ZCG(enabled)) { ZCG 447 ext/opcache/zend_accelerator_module.c snprintf(buf, sizeof(buf), "%ld", ZCG(accel_directives).memory_consumption-zend_shared_alloc_get_free_memory()-ZSMMG(wasted_shared_memory)); ZCG 509 ext/opcache/zend_accelerator_module.c if (!ZCG(enabled) || !accel_startup_ok || !ZCSG(accelerator_enabled) || accelerator_shm_read_lock(TSRMLS_C) != SUCCESS) { ZCG 536 ext/opcache/zend_accelerator_module.c if (ZCG(accel_directives).validate_timestamps) { ZCG 576 ext/opcache/zend_accelerator_module.c add_assoc_bool(return_value, "opcache_enabled", ZCG(enabled) && (ZCG(counted) || ZCSG(accelerator_enabled))); ZCG 584 ext/opcache/zend_accelerator_module.c add_assoc_long(memory_usage, "used_memory", ZCG(accel_directives).memory_consumption-zend_shared_alloc_get_free_memory()-ZSMMG(wasted_shared_memory)); ZCG 587 ext/opcache/zend_accelerator_module.c add_assoc_double(memory_usage, "current_wasted_percentage", (((double) ZSMMG(wasted_shared_memory))/ZCG(accel_directives).memory_consumption)*100.0); ZCG 662 ext/opcache/zend_accelerator_module.c add_assoc_bool(directives, "opcache.enable", ZCG(enabled)); ZCG 663 ext/opcache/zend_accelerator_module.c add_assoc_bool(directives, "opcache.enable_cli", ZCG(accel_directives).enable_cli); ZCG 664 ext/opcache/zend_accelerator_module.c add_assoc_bool(directives, "opcache.use_cwd", ZCG(accel_directives).use_cwd); ZCG 665 ext/opcache/zend_accelerator_module.c add_assoc_bool(directives, "opcache.validate_timestamps", ZCG(accel_directives).validate_timestamps); ZCG 666 ext/opcache/zend_accelerator_module.c add_assoc_bool(directives, "opcache.inherited_hack", ZCG(accel_directives).inherited_hack); ZCG 667 ext/opcache/zend_accelerator_module.c add_assoc_bool(directives, "opcache.dups_fix", ZCG(accel_directives).ignore_dups); ZCG 668 ext/opcache/zend_accelerator_module.c add_assoc_bool(directives, "opcache.revalidate_path", ZCG(accel_directives).revalidate_path); ZCG 670 ext/opcache/zend_accelerator_module.c add_assoc_long(directives, "opcache.log_verbosity_level", ZCG(accel_directives).log_verbosity_level); ZCG 671 ext/opcache/zend_accelerator_module.c add_assoc_long(directives, "opcache.memory_consumption", ZCG(accel_directives).memory_consumption); ZCG 673 ext/opcache/zend_accelerator_module.c add_assoc_long(directives, "opcache.interned_strings_buffer",ZCG(accel_directives).interned_strings_buffer); ZCG 675 ext/opcache/zend_accelerator_module.c add_assoc_long(directives, "opcache.max_accelerated_files", ZCG(accel_directives).max_accelerated_files); ZCG 676 ext/opcache/zend_accelerator_module.c add_assoc_double(directives, "opcache.max_wasted_percentage", ZCG(accel_directives).max_wasted_percentage); ZCG 677 ext/opcache/zend_accelerator_module.c add_assoc_long(directives, "opcache.consistency_checks", ZCG(accel_directives).consistency_checks); ZCG 678 ext/opcache/zend_accelerator_module.c add_assoc_long(directives, "opcache.force_restart_timeout", ZCG(accel_directives).force_restart_timeout); ZCG 679 ext/opcache/zend_accelerator_module.c add_assoc_long(directives, "opcache.revalidate_freq", ZCG(accel_directives).revalidate_freq); ZCG 680 ext/opcache/zend_accelerator_module.c add_assoc_string(directives, "opcache.preferred_memory_model", STRING_NOT_NULL(ZCG(accel_directives).memory_model), 1); ZCG 681 ext/opcache/zend_accelerator_module.c add_assoc_string(directives, "opcache.blacklist_filename", STRING_NOT_NULL(ZCG(accel_directives).user_blacklist_filename), 1); ZCG 682 ext/opcache/zend_accelerator_module.c add_assoc_long(directives, "opcache.max_file_size", ZCG(accel_directives).max_file_size); ZCG 683 ext/opcache/zend_accelerator_module.c add_assoc_string(directives, "opcache.error_log", STRING_NOT_NULL(ZCG(accel_directives).error_log), 1); ZCG 685 ext/opcache/zend_accelerator_module.c add_assoc_bool(directives, "opcache.protect_memory", ZCG(accel_directives).protect_memory); ZCG 686 ext/opcache/zend_accelerator_module.c add_assoc_bool(directives, "opcache.save_comments", ZCG(accel_directives).save_comments); ZCG 687 ext/opcache/zend_accelerator_module.c add_assoc_bool(directives, "opcache.load_comments", ZCG(accel_directives).load_comments); ZCG 688 ext/opcache/zend_accelerator_module.c add_assoc_bool(directives, "opcache.fast_shutdown", ZCG(accel_directives).fast_shutdown); ZCG 689 ext/opcache/zend_accelerator_module.c add_assoc_bool(directives, "opcache.enable_file_override", ZCG(accel_directives).file_override_enabled); ZCG 690 ext/opcache/zend_accelerator_module.c add_assoc_long(directives, "opcache.optimization_level", ZCG(accel_directives).optimization_level); ZCG 725 ext/opcache/zend_accelerator_module.c if (!ZCG(enabled) || !accel_startup_ok || !ZCSG(accelerator_enabled)) { ZCG 768 ext/opcache/zend_accelerator_module.c if (!ZCG(enabled) || !accel_startup_ok || !ZCSG(accelerator_enabled)) { ZCG 808 ext/opcache/zend_accelerator_module.c if (!ZCG(enabled) || !accel_startup_ok || !ZCSG(accelerator_enabled)) { ZCG 34 ext/opcache/zend_accelerator_util_funcs.c # define accel_xlat_set(old, new) zend_hash_index_update(&ZCG(bind_hash), (ulong)(zend_uintptr_t)(old), &(new), sizeof(void*), NULL) ZCG 35 ext/opcache/zend_accelerator_util_funcs.c # define accel_xlat_get(old, new) zend_hash_index_find(&ZCG(bind_hash), (ulong)(zend_uintptr_t)(old), (void**)&(new)) ZCG 37 ext/opcache/zend_accelerator_util_funcs.c # define accel_xlat_set(old, new) zend_hash_quick_add(&ZCG(bind_hash), (char*)&(old), sizeof(void*), (ulong)(zend_uintptr_t)(old), (void**)&(new), sizeof(void*), NULL) ZCG 38 ext/opcache/zend_accelerator_util_funcs.c # define accel_xlat_get(old, new) zend_hash_quick_find(&ZCG(bind_hash), (char*)&(old), sizeof(void*), (ulong)(zend_uintptr_t)(old), (void**)&(new)) ZCG 213 ext/opcache/zend_accelerator_util_funcs.c zend_hash_apply_with_argument(CG(function_table), (apply_func_arg_t)copy_internal_function, &ZCG(function_table) TSRMLS_CC); ZCG 214 ext/opcache/zend_accelerator_util_funcs.c ZCG(internal_functions_count) = zend_hash_num_elements(&ZCG(function_table)); ZCG 643 ext/opcache/zend_accelerator_util_funcs.c if (ZCG(accel_directives).load_comments) { ZCG 764 ext/opcache/zend_accelerator_util_funcs.c if (ZCG(accel_directives).load_comments) { ZCG 962 ext/opcache/zend_accelerator_util_funcs.c if (zend_hash_unique_copy(target, source, pCopyConstructor, sizeof(zend_class_entry*), ZCG(accel_directives).ignore_dups, (void**)&pce1, (void**)&pce2) != SUCCESS) { ZCG 1008 ext/opcache/zend_accelerator_util_funcs.c zend_hash_init(&ZCG(bind_hash), 10, NULL, NULL, 0); ZCG 1010 ext/opcache/zend_accelerator_util_funcs.c zend_hash_destroy(&ZCG(bind_hash)); ZCG 324 ext/opcache/zend_persist.c if (main_persistent_script && ZCG(accel_directives).inherited_hack) { ZCG 425 ext/opcache/zend_persist.c if (ZCG(accel_directives).save_comments) { ZCG 474 ext/opcache/zend_persist.c if (ZCG(accel_directives).save_comments) { ZCG 529 ext/opcache/zend_persist.c if (ZCG(accel_directives).save_comments) { ZCG 232 ext/opcache/zend_persist_calc.c if (ZCG(accel_directives).save_comments && op_array->doc_comment) { ZCG 256 ext/opcache/zend_persist_calc.c if (ZCG(accel_directives).save_comments && prop->doc_comment) { ZCG 301 ext/opcache/zend_persist_calc.c if (ZCG(accel_directives).save_comments && ZEND_CE_DOC_COMMENT(ce)) { ZCG 170 ext/opcache/zend_shared_alloc.c if (ZCG(accel_directives).memory_model && ZCG(accel_directives).memory_model[0]) { ZCG 171 ext/opcache/zend_shared_alloc.c char *model = ZCG(accel_directives).memory_model; ZCG 173 ext/opcache/zend_shared_alloc.c if (strncmp(ZCG(accel_directives).memory_model, "cgi", sizeof("cgi")) == 0) { ZCG 216 ext/opcache/zend_shared_alloc.c ZCG(locked) = 1; /* no need to perform a real lock at this point */ ZCG 243 ext/opcache/zend_shared_alloc.c ZCG(locked) = 0; ZCG 304 ext/opcache/zend_shared_alloc.c if (!ZCG(locked)) { ZCG 346 ext/opcache/zend_shared_alloc.c retval = ZCG(mem);; ZCG 347 ext/opcache/zend_shared_alloc.c ZCG(mem) = (void*)(((char*)ZCG(mem)) + ZEND_ALIGNED_SIZE(size)); ZCG 358 ext/opcache/zend_shared_alloc.c if (ZCG(locked)) { ZCG 397 ext/opcache/zend_shared_alloc.c ZCG(locked) = 1; ZCG 413 ext/opcache/zend_shared_alloc.c ZCG(locked) = 0;