Home
last modified time | relevance | path

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

/PHP-7.0/ext/opcache/Optimizer/
H A Dcompact_literals.c120 int i, j, n, *map, cache_size; in zend_optimizer_compact_literals() local
131 cache_size = 0; in zend_optimizer_compact_literals()
297 Z_CACHE_SLOT(op_array->literals[opline->op2.constant]) = cache_size; in zend_optimizer_compact_literals()
298 cache_size += sizeof(void *); in zend_optimizer_compact_literals()
305 opline->op2.num = cache_size; in zend_optimizer_compact_literals()
306 cache_size += sizeof(void *); in zend_optimizer_compact_literals()
473 Z_CACHE_SLOT(op_array->literals[j]) = cache_size; in zend_optimizer_compact_literals()
474 cache_size += LITERAL_NUM_SLOTS(info[i].flags) * sizeof(void*); in zend_optimizer_compact_literals()
499 op_array->cache_size = cache_size; in zend_optimizer_compact_literals()
H A Dzend_optimizer.c136 Z_CACHE_SLOT(op_array->literals[opline->op1.constant]) = op_array->cache_size; in alloc_cache_slots_op1()
137 op_array->cache_size += num * sizeof(void *); in alloc_cache_slots_op1()
140 Z_CACHE_SLOT(op_array->literals[opline->op2.constant]) = op_array->cache_size; in alloc_cache_slots_op2()
141 op_array->cache_size += num * sizeof(void *); in alloc_cache_slots_op2()
/PHP-7.0/Zend/
H A Dzend_closures.c168 my_function.op_array.run_time_cache = emalloc(my_function.op_array.cache_size); in ZEND_METHOD()
169 memset(my_function.op_array.run_time_cache, 0, my_function.op_array.cache_size); in ZEND_METHOD()
235 new_closure->func.op_array.run_time_cache = emalloc(new_closure->func.op_array.cache_size); in ZEND_METHOD()
236 memset(new_closure->func.op_array.run_time_cache, 0, new_closure->func.op_array.cache_size); in ZEND_METHOD()
583 …me_cache = func->op_array.run_time_cache = zend_arena_alloc(&CG(arena), func->op_array.cache_size); in zend_create_closure()
584 memset(func->op_array.run_time_cache, 0, func->op_array.cache_size); in zend_create_closure()
H A Dzend_execute.c2182 op_array->run_time_cache = zend_arena_alloc(&CG(arena), op_array->cache_size); in i_init_func_execute_data()
2183 memset(op_array->run_time_cache, 0, op_array->cache_size); in i_init_func_execute_data()
2211 op_array->run_time_cache = emalloc(op_array->cache_size); in i_init_code_execute_data()
2212 memset(op_array->run_time_cache, 0, op_array->cache_size); in i_init_code_execute_data()
2299 op_array->run_time_cache = zend_arena_alloc(&CG(arena), op_array->cache_size); in i_init_execute_data()
2301 op_array->run_time_cache = emalloc(op_array->cache_size); in i_init_execute_data()
2303 memset(op_array->run_time_cache, 0, op_array->cache_size); in i_init_execute_data()
H A Dzend_compile.h374 int cache_size; member
H A Dzend_opcode.c98 op_array->cache_size = 0; in init_op_array()
H A Dzend_compile.c69 Z_CACHE_SLOT(op_array->literals[literal]) = op_array->cache_size; in zend_alloc_cache_slot()
70 op_array->cache_size += sizeof(void*); in zend_alloc_cache_slot()
77 Z_CACHE_SLOT(op_array->literals[literal]) = op_array->cache_size; in zend_alloc_polymorphic_cache_slot()
78 op_array->cache_size += POLYMORPHIC_CACHE_SLOT_SIZE * sizeof(void*); in zend_alloc_polymorphic_cache_slot()
2067 opline->op2.num = CG(active_op_array)->cache_size; in zend_emit_return_type_check()
2068 CG(active_op_array)->cache_size += sizeof(void*); in zend_emit_return_type_check()
4650 opline->op2.num = op_array->cache_size; in zend_compile_params()
4651 op_array->cache_size += sizeof(void*); in zend_compile_params()
/PHP-7.0/
H A Dphp.ini-development999 ; http://php.net/pdo_mysql.cache_size
1000 pdo_mysql.cache_size = 2000
1142 ; http://php.net/mysqli.cache_size
1143 mysqli.cache_size = 2000
H A Dphp.ini-production999 ; http://php.net/pdo_mysql.cache_size
1000 pdo_mysql.cache_size = 2000
1142 ; http://php.net/mysqli.cache_size
1143 mysqli.cache_size = 2000
/PHP-7.0/ext/sqlite3/libsqlite/
H A Dsqlite3.c13734 int cache_size; /* Number of pages to use in the cache */ member
85616 mxCache = db->aDb[0].pSchema->cache_size;
111097 pDb->pSchema->cache_size = size;
111098 sqlite3BtreeSetCacheSize(pDb->pBt, pDb->pSchema->cache_size);
111389 returnSingleInt(v, "cache_size", pDb->pSchema->cache_size);
111392 pDb->pSchema->cache_size = size;
112884 if( pDb->pSchema->cache_size==0 ){
112888 pDb->pSchema->cache_size = size;
112890 pDb->pSchema->cache_size = SQLITE_DEFAULT_CACHE_SIZE;
112892 sqlite3BtreeSetCacheSize(pDb->pBt, pDb->pSchema->cache_size);
[all …]

Completed in 439 milliseconds