Lines Matching refs:new_persistent_script

1155 …ent_script *cache_script_in_shared_memory(zend_persistent_script *new_persistent_script, char *key…  in cache_script_in_shared_memory()  argument
1161 if (!zend_accel_script_persistable(new_persistent_script)) { in cache_script_in_shared_memory()
1162 return new_persistent_script; in cache_script_in_shared_memory()
1165 if (!zend_accel_script_optimize(new_persistent_script TSRMLS_CC)) { in cache_script_in_shared_memory()
1166 return new_persistent_script; in cache_script_in_shared_memory()
1169 if (!compact_persistent_script(new_persistent_script)) { in cache_script_in_shared_memory()
1170 return new_persistent_script; in cache_script_in_shared_memory()
1181 return new_persistent_script; in cache_script_in_shared_memory()
1187 …bucket = zend_accel_hash_find_entry(&ZCSG(hash), new_persistent_script->full_path, new_persistent_… in cache_script_in_shared_memory()
1194 (new_persistent_script->timestamp == existing_persistent_script->timestamp))) { in cache_script_in_shared_memory()
1198 return new_persistent_script; in cache_script_in_shared_memory()
1203 memory_used = zend_accel_script_persist_calc(new_persistent_script, key, key_length TSRMLS_CC); in cache_script_in_shared_memory()
1210 return new_persistent_script; in cache_script_in_shared_memory()
1214 new_persistent_script->mem = ZCG(mem); in cache_script_in_shared_memory()
1215 new_persistent_script->size = memory_used; in cache_script_in_shared_memory()
1218new_persistent_script = zend_accel_script_persist(new_persistent_script, &key, key_length TSRMLS_C… in cache_script_in_shared_memory()
1221 if ((char*)new_persistent_script->mem + new_persistent_script->size != (char*)ZCG(mem)) { in cache_script_in_shared_memory()
1223 …((char*)new_persistent_script->mem + new_persistent_script->size < (char*)ZCG(mem)) ? ACCEL_LOG_ER… in cache_script_in_shared_memory()
1225 new_persistent_script->full_path, in cache_script_in_shared_memory()
1226 new_persistent_script->mem, in cache_script_in_shared_memory()
1227 (char *)new_persistent_script->mem + new_persistent_script->size, in cache_script_in_shared_memory()
1231new_persistent_script->dynamic_members.checksum = zend_accel_script_checksum(new_persistent_script in cache_script_in_shared_memory()
1234 …_hash_update(&ZCSG(hash), new_persistent_script->full_path, new_persistent_script->full_path_len +… in cache_script_in_shared_memory()
1236 zend_accel_error(ACCEL_LOG_INFO, "Cached script '%s'", new_persistent_script->full_path); in cache_script_in_shared_memory()
1240 (new_persistent_script->full_path_len != key_length || in cache_script_in_shared_memory()
1241 memcmp(new_persistent_script->full_path, key, key_length) != 0)) { in cache_script_in_shared_memory()
1253new_persistent_script->dynamic_members.memory_consumption = ZEND_ALIGNED_SIZE(new_persistent_scrip… in cache_script_in_shared_memory()
1258 return new_persistent_script; in cache_script_in_shared_memory()
1314 zend_persistent_script *new_persistent_script; in compile_and_cache_file() local
1391 new_persistent_script = create_persistent_script(); in compile_and_cache_file()
1401 EG(class_table) = CG(class_table) = &new_persistent_script->class_table; in compile_and_cache_file()
1432 free_persistent_script(new_persistent_script, 1); in compile_and_cache_file()
1444 …zend_accel_move_user_functions(&ZCG(function_table), &new_persistent_script->function_table TSRMLS… in compile_and_cache_file()
1445 new_persistent_script->main_op_array = *op_array; in compile_and_cache_file()
1453 new_persistent_script->ping_auto_globals_mask = zend_accel_get_auto_globals(TSRMLS_C); in compile_and_cache_file()
1455 new_persistent_script->ping_auto_globals_mask = zend_accel_get_auto_globals_no_jit(TSRMLS_C); in compile_and_cache_file()
1459 new_persistent_script->ping_auto_globals_mask = zend_accel_get_auto_globals(TSRMLS_C); in compile_and_cache_file()
1467 new_persistent_script->timestamp = timestamp; in compile_and_cache_file()
1468new_persistent_script->dynamic_members.revalidate = ZCG(request_time) + ZCG(accel_directives).reva… in compile_and_cache_file()
1472 new_persistent_script->full_path_len = strlen(file_handle->opened_path); in compile_and_cache_file()
1473new_persistent_script->full_path = estrndup(file_handle->opened_path, new_persistent_script->full_… in compile_and_cache_file()
1475 new_persistent_script->full_path_len = strlen(file_handle->filename); in compile_and_cache_file()
1476new_persistent_script->full_path = estrndup(file_handle->filename, new_persistent_script->full_pat… in compile_and_cache_file()
1478new_persistent_script->hash_value = zend_hash_func(new_persistent_script->full_path, new_persisten… in compile_and_cache_file()
1481 …return cache_script_in_shared_memory(new_persistent_script, key, key_length, from_shared_memory TS… in compile_and_cache_file()