Lines Matching refs:new_persistent_script

1126 …ent_script *cache_script_in_shared_memory(zend_persistent_script *new_persistent_script, char *key…  in cache_script_in_shared_memory()  argument
1132 if (!zend_accel_script_persistable(new_persistent_script)) { in cache_script_in_shared_memory()
1133 return new_persistent_script; in cache_script_in_shared_memory()
1136 if (!compact_persistent_script(new_persistent_script)) { in cache_script_in_shared_memory()
1137 return new_persistent_script; in cache_script_in_shared_memory()
1148 return new_persistent_script; in cache_script_in_shared_memory()
1154 …bucket = zend_accel_hash_find_entry(&ZCSG(hash), new_persistent_script->full_path, new_persistent_… in cache_script_in_shared_memory()
1161 (new_persistent_script->timestamp == existing_persistent_script->timestamp))) { in cache_script_in_shared_memory()
1165 return new_persistent_script; in cache_script_in_shared_memory()
1170 memory_used = zend_accel_script_persist_calc(new_persistent_script, key, key_length TSRMLS_CC); in cache_script_in_shared_memory()
1177 return new_persistent_script; in cache_script_in_shared_memory()
1181 new_persistent_script->mem = ZCG(mem); in cache_script_in_shared_memory()
1182 new_persistent_script->size = memory_used; in cache_script_in_shared_memory()
1185new_persistent_script = zend_accel_script_persist(new_persistent_script, &key, key_length TSRMLS_C… in cache_script_in_shared_memory()
1188 if ((char*)new_persistent_script->mem + new_persistent_script->size != (char*)ZCG(mem)) { in cache_script_in_shared_memory()
1190 …((char*)new_persistent_script->mem + new_persistent_script->size < (char*)ZCG(mem)) ? ACCEL_LOG_ER… in cache_script_in_shared_memory()
1192 new_persistent_script->full_path, in cache_script_in_shared_memory()
1193 new_persistent_script->mem, in cache_script_in_shared_memory()
1194 (char *)new_persistent_script->mem + new_persistent_script->size, in cache_script_in_shared_memory()
1198new_persistent_script->dynamic_members.checksum = zend_accel_script_checksum(new_persistent_script in cache_script_in_shared_memory()
1201 …_hash_update(&ZCSG(hash), new_persistent_script->full_path, new_persistent_script->full_path_len +… in cache_script_in_shared_memory()
1203 zend_accel_error(ACCEL_LOG_INFO, "Cached script '%s'", new_persistent_script->full_path); in cache_script_in_shared_memory()
1207 (new_persistent_script->full_path_len != key_length || in cache_script_in_shared_memory()
1208 memcmp(new_persistent_script->full_path, key, key_length) != 0)) { in cache_script_in_shared_memory()
1220new_persistent_script->dynamic_members.memory_consumption = ZEND_ALIGNED_SIZE(new_persistent_scrip… in cache_script_in_shared_memory()
1225 return new_persistent_script; in cache_script_in_shared_memory()
1281 zend_persistent_script *new_persistent_script; in compile_and_cache_file() local
1358 new_persistent_script = create_persistent_script(); in compile_and_cache_file()
1368 EG(class_table) = CG(class_table) = &new_persistent_script->class_table; in compile_and_cache_file()
1399 free_persistent_script(new_persistent_script, 1); in compile_and_cache_file()
1411 …zend_accel_move_user_functions(&ZCG(function_table), &new_persistent_script->function_table TSRMLS… in compile_and_cache_file()
1412 new_persistent_script->main_op_array = *op_array; in compile_and_cache_file()
1420 new_persistent_script->ping_auto_globals_mask = zend_accel_get_auto_globals(TSRMLS_C); in compile_and_cache_file()
1422 new_persistent_script->ping_auto_globals_mask = zend_accel_get_auto_globals_no_jit(TSRMLS_C); in compile_and_cache_file()
1426 new_persistent_script->ping_auto_globals_mask = zend_accel_get_auto_globals(TSRMLS_C); in compile_and_cache_file()
1434 new_persistent_script->timestamp = timestamp; in compile_and_cache_file()
1435new_persistent_script->dynamic_members.revalidate = ZCG(request_time) + ZCG(accel_directives).reva… in compile_and_cache_file()
1439 new_persistent_script->full_path_len = strlen(file_handle->opened_path); in compile_and_cache_file()
1440new_persistent_script->full_path = estrndup(file_handle->opened_path, new_persistent_script->full_… in compile_and_cache_file()
1442 new_persistent_script->full_path_len = strlen(file_handle->filename); in compile_and_cache_file()
1443new_persistent_script->full_path = estrndup(file_handle->filename, new_persistent_script->full_pat… in compile_and_cache_file()
1445new_persistent_script->hash_value = zend_hash_func(new_persistent_script->full_path, new_persisten… in compile_and_cache_file()
1448 …return cache_script_in_shared_memory(new_persistent_script, key, key_length, from_shared_memory TS… in compile_and_cache_file()