Home
last modified time | relevance | path

Searched refs:ZCG (Results 1 – 10 of 10) sorted by relevance

/PHP-5.5/ext/opcache/
H A DZendAccelerator.c157 if (ZCG(cwd)) { in ZEND_FUNCTION()
161 ZCG(cwd) = estrndup(cwd, ZCG(cwd_len)); in ZEND_FUNCTION()
163 if (ZCG(cwd)) { in ZEND_FUNCTION()
172 if (ZCG(cwd)) { in accel_getcwd()
182 ZCG(cwd) = estrndup(cwd, ZCG(cwd_len)); in accel_getcwd()
206 if (ZCG(include_path) && *ZCG(include_path)) { in ZEND_INI_MH()
227 ZCG(include_path_key) = key + ZCG(include_path_len) + 1; in ZEND_INI_MH()
1195 ZCG(mem)); in cache_script_in_shared_memory()
2079 ZCG(include_path_check) = !ZCG(include_path_key);
2613 if (ZCG(include_path) && *ZCG(include_path)) {
[all …]
H A Dzend_accelerator_module.c88 if (ZCG(accel_directives).restrict_api && *ZCG(accel_directives).restrict_api) { in validate_api_restriction()
89 int len = strlen(ZCG(accel_directives).restrict_api); in validate_api_restriction()
323 (!ZCG(accel_directives).validate_timestamps || in filename_is_in_cache()
331 (!ZCG(accel_directives).validate_timestamps || in filename_is_in_cache()
392 if (ZCG(enabled) && accel_startup_ok && ZCG(accel_directives).file_override_enabled) { in zend_accel_override_file_functions()
422 if (ZCG(enabled) && accel_startup_ok && (ZCG(counted) || ZCSG(accelerator_enabled))) { in zend_accel_info()
427 …if (ZCG(enabled) && accel_startup_ok && ZCSG(accelerator_enabled) && ZCG(accel_directives).optimiz… in zend_accel_info()
432 if (ZCG(enabled)) { in zend_accel_info()
532 if (ZCG(accel_directives).validate_timestamps) { in accelerator_get_scripts()
572 …add_assoc_bool(return_value, "opcache_enabled", ZCG(enabled) && (ZCG(counted) || ZCSG(accelerator_… in ZEND_FUNCTION()
[all …]
H A Dzend_accelerator_debug.c39 if (type > ZCG(accel_directives).log_verbosity_level) { in zend_accel_error()
47 if (!ZCG(accel_directives).error_log || in zend_accel_error()
48 !*ZCG(accel_directives).error_log || in zend_accel_error()
49 strcmp(ZCG(accel_directives).error_log, "stderr") == 0) { in zend_accel_error()
53 fLog = fopen(ZCG(accel_directives).error_log, "a+"); in zend_accel_error()
H A Dzend_shared_alloc.c170 if (ZCG(accel_directives).memory_model && ZCG(accel_directives).memory_model[0]) { in zend_shared_alloc_startup()
171 char *model = ZCG(accel_directives).memory_model; in zend_shared_alloc_startup()
173 if (strncmp(ZCG(accel_directives).memory_model, "cgi", sizeof("cgi")) == 0) { in zend_shared_alloc_startup()
216 ZCG(locked) = 1; /* no need to perform a real lock at this point */ in zend_shared_alloc_startup()
243 ZCG(locked) = 0; in zend_shared_alloc_startup()
304 if (!ZCG(locked)) { in zend_shared_alloc()
346 retval = ZCG(mem);; in _zend_shared_memdup()
347 ZCG(mem) = (void*)(((char*)ZCG(mem)) + ZEND_ALIGNED_SIZE(size)); in _zend_shared_memdup()
358 if (ZCG(locked)) { in zend_shared_alloc_safe_unlock()
397 ZCG(locked) = 1; in zend_shared_alloc_lock()
[all …]
H A Dshared_alloc_win32.c249 if (!ZCG(accel_directives).mmap_base || !*ZCG(accel_directives).mmap_base) { in create_segments()
274 char *s = ZCG(accel_directives).mmap_base; in create_segments()
H A Dzend_accelerator_util_funcs.c34 # define accel_xlat_set(old, new) zend_hash_index_update(&ZCG(bind_hash), (ulong)(zend_uintptr_t)(o…
35 # define accel_xlat_get(old, new) zend_hash_index_find(&ZCG(bind_hash), (ulong)(zend_uintptr_t)(old…
37 # define accel_xlat_set(old, new) zend_hash_quick_add(&ZCG(bind_hash), (char*)&(old), sizeof(void*)…
38 # define accel_xlat_get(old, new) zend_hash_quick_find(&ZCG(bind_hash), (char*)&(old), sizeof(void*…
213 …zend_hash_apply_with_argument(CG(function_table), (apply_func_arg_t)copy_internal_function, &ZCG(f… in zend_accel_copy_internal_functions()
214 ZCG(internal_functions_count) = zend_hash_num_elements(&ZCG(function_table)); in zend_accel_copy_internal_functions()
581 if (ZCG(accel_directives).load_comments) {
702 if (ZCG(accel_directives).load_comments) {
895 …if (zend_hash_unique_copy(target, source, pCopyConstructor, sizeof(zend_class_entry*), ZCG(accel_d…
941 zend_hash_init(&ZCG(bind_hash), 10, NULL, NULL, 0);
[all …]
H A Dzend_persist_calc.c203 if (ZCG(accel_directives).save_comments && op_array->doc_comment) {
227 if (ZCG(accel_directives).save_comments && prop->doc_comment) {
272 if (ZCG(accel_directives).save_comments && ZEND_CE_DOC_COMMENT(ce)) {
H A Dzend_persist.c293 if (main_persistent_script && ZCG(accel_directives).inherited_hack) {
394 if (ZCG(accel_directives).save_comments) {
443 if (ZCG(accel_directives).save_comments) {
498 if (ZCG(accel_directives).save_comments) {
H A DZendAccelerator.h321 # define ZCG(v) TSRMG(accel_globals_id, zend_accel_globals *, v) macro
324 # define ZCG(v) (accel_globals.v) macro
/PHP-5.5/ext/opcache/Optimizer/
H A Dzend_optimizer.c30 ZCG(accel_directives).optimization_level

Completed in 47 milliseconds