Home
last modified time | relevance | path

Searched refs:literals (Results 1 – 25 of 37) sorted by relevance

12

/PHP-8.1/Zend/Optimizer/
H A Dcompact_literals.c353 op_array->literals[j] = op_array->literals[i]; in zend_optimizer_compact_literals()
364 op_array->literals[j] = op_array->literals[i]; in zend_optimizer_compact_literals()
375 op_array->literals[j] = op_array->literals[i]; in zend_optimizer_compact_literals()
391 op_array->literals[j] = op_array->literals[i]; in zend_optimizer_compact_literals()
410 op_array->literals[j] = op_array->literals[i]; in zend_optimizer_compact_literals()
412 op_array->literals[j+1] = op_array->literals[i+1]; in zend_optimizer_compact_literals()
429 op_array->literals[j] = op_array->literals[i]; in zend_optimizer_compact_literals()
460 op_array->literals[j] = op_array->literals[i]; in zend_optimizer_compact_literals()
467 if (i != j) op_array->literals[j] = op_array->literals[i]; in zend_optimizer_compact_literals()
479 op_array->literals[j] = op_array->literals[i]; in zend_optimizer_compact_literals()
[all …]
H A Dzend_optimizer.c1029 if (op_array->literals) { in zend_revert_pass_two()
1031 memcpy(literals, op_array->literals, sizeof(zval) * op_array->last_literal); in zend_revert_pass_two()
1032 op_array->literals = literals; in zend_revert_pass_two()
1055 efree(op_array->literals); in zend_redo_pass_two()
1058 if (op_array->literals) { in zend_redo_pass_two()
1059 efree(op_array->literals); in zend_redo_pass_two()
1061 op_array->literals = NULL; in zend_redo_pass_two()
1166 efree(op_array->literals); in zend_redo_pass_two_ex()
1169 if (op_array->literals) { in zend_redo_pass_two_ex()
1170 efree(op_array->literals); in zend_redo_pass_two_ex()
[all …]
H A Doptimize_func_calls.c33 Z_TYPE(op_array->literals[(opline)->op1.constant]) == IS_STRING)
36 Z_TYPE(op_array->literals[(opline)->op2.constant]) == IS_STRING)
224 literal_dtor(&op_array->literals[fcall->op2.constant]); in zend_optimize_func_calls()
225 literal_dtor(&op_array->literals[fcall->op2.constant + 2]); in zend_optimize_func_calls()
H A Dzend_optimizer_internal.h28 #define ZEND_OP1_LITERAL(opline) (op_array)->literals[(opline)->op1.constant]
30 #define ZEND_OP2_LITERAL(opline) (op_array)->literals[(opline)->op2.constant]
/PHP-8.1/Zend/tests/
H A Dinstanceof_const.phpt2 Instanceof on literals returns false
H A Ddeclare_006.phpt2 Use of non-literals in declare ticks values crashes compiler
H A Darray_literal_next_element_error.phpt2 Next free element may overflow in array literals
/PHP-8.1/ext/standard/tests/math/
H A Dbindec_variation2.phpt2 Test bindec() function : strange literals
H A Dhexdec_variation2.phpt2 Test hexdec() function : strange literals
H A Doctdec_variation2.phpt2 Test octdec() function : strange literals
H A Dbase_convert_variation2.phpt2 Test base_convert() function : strange literals
/PHP-8.1/ext/opcache/tests/
H A Dcompact_literals_collision.phpt2 Collision between string and float literals during compaction
H A Dbug81046.phpt2 Bug #81046: Literal compaction merges non-equal related literals
H A Dmethod_call_on_literal.phpt2 Literal compaction should take method calls on literals into account
/PHP-8.1/tests/lang/string/
H A Dunicode_escape_legacy.phpt6 // These are ignored to avoid breaking JSON string literals
/PHP-8.1/Zend/tests/float_to_int/
H A Dno_warnings_compatible_float_literals_assignment_ops.phpt2 Implicit float to int conversions should not warn for literals in combined assingment operetor if f…
H A Dwarnings_float_literals_assignment_ops.phpt2 Implicit float to int conversions should warn for literals in combined assingment operetor
H A Dno_warning_compatible_string_float_literals.phpt2 Implicit string float to int conversions should not warn for literals if float has a fractional par…
H A Dwarnings_string_float_literals_assignment_ops.phpt2 Implicit float to int conversions should warn for literals in combined assingment operetor
H A Dno_warning_compatible_float_literals.phpt2 Implicit float to int conversions should not warn for literals if float has a fractional part equal…
/PHP-8.1/ext/gmp/tests/
H A Dsurprising_integer_literals.phpt2 Surprising result with integer literals (hex/binary/octal)
/PHP-8.1/ext/filter/tests/
H A Dsurprising_integer_literals.phpt2 Surprising result with integer literals (hex/octal)
/PHP-8.1/ext/opcache/
H A Dzend_persist.c430 if (op_array->literals) { in zend_persist_op_array_ex()
431 op_array->literals = zend_shared_alloc_get_xlat_entry(op_array->literals); in zend_persist_op_array_ex()
432 ZEND_ASSERT(op_array->literals != NULL); in zend_persist_op_array_ex()
508 if (op_array->literals) { in zend_persist_op_array_ex()
511 orig_literals = op_array->literals; in zend_persist_op_array_ex()
513 p = zend_shared_memdup_put_free(op_array->literals, sizeof(zval) * op_array->last_literal); in zend_persist_op_array_ex()
515 p = zend_shared_memdup_put(op_array->literals, sizeof(zval) * op_array->last_literal); in zend_persist_op_array_ex()
518 op_array->literals = p; in zend_persist_op_array_ex()
534 …opline->op1.zv = (zval*)((char*)opline->op1.zv + ((char*)op_array->literals - (char*)orig_literals… in zend_persist_op_array_ex()
548 (char*)(op_array->literals + in zend_persist_op_array_ex()
[all …]
H A Dzend_file_cache.c457 SERIALIZE_PTR(op_array->literals);
483 if (op_array->literals) {
486 SERIALIZE_PTR(op_array->literals);
487 p = op_array->literals;
500 zval *literals = op_array->literals; local
501 UNSERIALIZE_PTR(literals);
518 opline->op1.constant = RT_CONSTANT(opline, opline->op1) - literals;
1267 UNSERIALIZE_PTR(op_array->literals);
1291 if (op_array->literals) {
1294 UNSERIALIZE_PTR(op_array->literals);
[all …]
/PHP-8.1/Zend/
H A Dzend_opcode.c87 op_array->literals = NULL; in init_op_array()
546 if (op_array->literals) { in destroy_op_array()
547 zval *literal = op_array->literals; in destroy_op_array()
555 efree(op_array->literals); in destroy_op_array()
1027 op_array->literals = (zval*)erealloc(op_array->literals, sizeof(zval) * op_array->last_literal); in pass_two()
1034 if (op_array->literals) { in pass_two()
1036 op_array->literals, sizeof(zval) * op_array->last_literal); in pass_two()
1037 efree(op_array->literals); in pass_two()
1038 …op_array->literals = (zval*)(((char*)op_array->opcodes) + ZEND_MM_ALIGNED_SIZE_EX(sizeof(zend_op) … in pass_two()

Completed in 51 milliseconds

12