Home
last modified time | relevance | path

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

/PHP-8.2/Zend/Optimizer/
H A Dcompact_literals.c170 if (op_array->last_literal) { in zend_optimizer_compact_literals()
171 …info = (literal_info*)zend_arena_calloc(&ctx->arena, op_array->last_literal, sizeof(literal_info)); in zend_optimizer_compact_literals()
295 fprintf(stderr, "Literals table size %d\n", op_array->last_literal); in zend_optimizer_compact_literals()
297 for (int i = 0; i < op_array->last_literal; i++) { in zend_optimizer_compact_literals()
308 zend_hash_init(&hash, op_array->last_literal, NULL, NULL, 0); in zend_optimizer_compact_literals()
309 map = (int*)zend_arena_alloc(&ctx->arena, op_array->last_literal * sizeof(int)); in zend_optimizer_compact_literals()
310 memset(map, 0, op_array->last_literal * sizeof(int)); in zend_optimizer_compact_literals()
311 for (i = 0; i < op_array->last_literal; i++) { in zend_optimizer_compact_literals()
476 op_array->last_literal = j; in zend_optimizer_compact_literals()
814 fprintf(stderr, "Optimized literals table size %d\n", op_array->last_literal); in zend_optimizer_compact_literals()
[all …]
H A Dzend_optimizer.c235 int i = op_array->last_literal; in zend_optimizer_add_literal()
236 op_array->last_literal++; in zend_optimizer_add_literal()
237 op_array->literals = (zval*)erealloc(op_array->literals, op_array->last_literal * sizeof(zval)); in zend_optimizer_add_literal()
1093 zval *literals = emalloc(sizeof(zval) * op_array->last_literal); in zend_revert_pass_two()
1094 memcpy(literals, op_array->literals, sizeof(zval) * op_array->last_literal); in zend_revert_pass_two()
1112 if (op_array->last_literal) { in zend_redo_pass_two()
1115 sizeof(zval) * op_array->last_literal); in zend_redo_pass_two()
1117 op_array->literals, sizeof(zval) * op_array->last_literal); in zend_redo_pass_two()
1220 if (op_array->last_literal) { in zend_redo_pass_two_ex()
1223 sizeof(zval) * op_array->last_literal); in zend_redo_pass_two_ex()
[all …]
/PHP-8.2/Zend/
H A Dzend_opcode.c87 op_array->last_literal = 0; in init_op_array()
557 zval *end = literal + op_array->last_literal; in destroy_op_array()
1035 if (CG(context).literals_size != op_array->last_literal) { in pass_two()
1036 op_array->literals = (zval*)erealloc(op_array->literals, sizeof(zval) * op_array->last_literal); in pass_two()
1037 CG(context).literals_size = op_array->last_literal; in pass_two()
1042 sizeof(zval) * op_array->last_literal); in pass_two()
1045 op_array->literals, sizeof(zval) * op_array->last_literal); in pass_two()
1050 CG(context).literals_size = op_array->last_literal; in pass_two()
H A Dzend_compile.h476 int last_literal; member
H A Dzend_compile.c539 int i = op_array->last_literal; in zend_add_literal()
540 op_array->last_literal++; in zend_add_literal()
/PHP-8.2/sapi/phpdbg/
H A Dphpdbg_info.c310 int literal = 0, count = ops->last_literal - 1; in PHPDBG_INFO()
326 while (literal < ops->last_literal) { in PHPDBG_INFO()
/PHP-8.2/ext/opcache/
H A Dzend_persist_calc.c246 zval *end = p + op_array->last_literal; in zend_persist_op_array_calc_ex()
247 ADD_SIZE(sizeof(zval) * op_array->last_literal); in zend_persist_op_array_calc_ex()
H A Dzend_persist.c509 p = zend_shared_memdup_put_free(op_array->literals, sizeof(zval) * op_array->last_literal); in zend_persist_op_array_ex()
511 p = zend_shared_memdup_put(op_array->literals, sizeof(zval) * op_array->last_literal); in zend_persist_op_array_ex()
513 end = p + op_array->last_literal; in zend_persist_op_array_ex()
H A Dzend_file_cache.c507 end = p + op_array->last_literal;
1363 end = p + op_array->last_literal;
H A DZendAccelerator.c4499 script->script.main_op_array.last_literal = 1;

Completed in 98 milliseconds