/PHP-8.4/Zend/ |
H A D | zend_float.h | 123 # define XPFPA_RETURN_DOUBLE(val) \ argument 129 # define XPFPA_RETURN_SINGLE(val) \ argument 182 # define XPFPA_RETURN_DOUBLE(val) \ 188 # define XPFPA_RETURN_SINGLE(val) \ 242 # define XPFPA_RETURN_DOUBLE(val) \ 248 # define XPFPA_RETURN_SINGLE(val) \ 298 # define XPFPA_RETURN_DOUBLE(val) \ 304 # define XPFPA_RETURN_SINGLE(val) \ 411 # define XPFPA_RETURN_DOUBLE(val) return (val) 412 # define XPFPA_RETURN_SINGLE(val) return (val) [all …]
|
H A D | zend_vm_trace_map.h | 48 if (Z_LVAL(p1->val) > Z_LVAL(p2->val)) { in zend_vm_trace_compare() 50 } else if (Z_LVAL(p1->val) < Z_LVAL(p2->val)) { in zend_vm_trace_compare() 61 zval *val; in zend_vm_trace_init() local 68 ZEND_HASH_MAP_FOREACH_STR_KEY_VAL(&vm_trace_ht, key, val) { in zend_vm_trace_init() 70 …fprintf(f, ADDR_FMT" "ADDR_FMT" t %s\n", prev_addr, Z_LVAL_P(val) - prev_addr, ZSTR_VAL(prev_key)); in zend_vm_trace_init() 73 prev_addr = Z_LVAL_P(val); in zend_vm_trace_init()
|
/PHP-8.4/ext/bcmath/libbcmath/src/ |
H A D | int2num.c | 36 void bc_int2num(bc_num *num, int val) in bc_int2num() argument 44 if (val < 0) { in bc_int2num() 46 val = -val; in bc_int2num() 51 *bptr++ = val % BASE; in bc_int2num() 52 val = val / BASE; in bc_int2num() 55 while (val != 0) { in bc_int2num() 56 *bptr++ = val % BASE; in bc_int2num() 57 val = val / BASE; in bc_int2num()
|
H A D | num2long.c | 43 long val = 0; in bc_num2long() local 48 if (val > LONG_MAX / BASE) { in bc_num2long() 51 val *= BASE; in bc_num2long() 53 if (val > LONG_MAX - n) { in bc_num2long() 56 val += n; in bc_num2long() 61 return (val); in bc_num2long() 63 return (-val); in bc_num2long()
|
/PHP-8.4/ext/opcache/jit/ir/ |
H A D | ir_fold.h | 2515 val.u64 = ctx->ir_base[op1_insn->op2].val.u64 + op2_insn->val.u64; in IR_FOLD() 2530 val.i64 = ctx->ir_base[op1_insn->op2].val.i64 + op2_insn->val.i64; in IR_FOLD() 2546 val.u64 = op2_insn->val.u64 - ctx->ir_base[op1_insn->op2].val.u64; in IR_FOLD() 2552 val.u64 = ctx->ir_base[op1_insn->op1].val.u64 + op2_insn->val.u64; in IR_FOLD() 2568 val.i64 = op2_insn->val.i64 - ctx->ir_base[op1_insn->op2].val.i64; in IR_FOLD() 2570 val.i64 = -val.i64; in IR_FOLD() 2613 val.i64 = -val.i64; in IR_FOLD() 2665 val.i64 = -val.i64; in IR_FOLD() 2690 val.i64 = -val.i64; in IR_FOLD() 2722 val.i64 = -val.i64; in IR_FOLD() [all …]
|
/PHP-8.4/scripts/gdb/ |
H A D | php_gdb.py | 38 def __init__(self, val): argument 39 self.val = val 73 def __init__(self, val): argument 74 self.val = val 129 def __init__(self, val): argument 130 self.val = val 141 def __init__(self, val): argument 142 self.val = val 148 val = self.cast() 194 return self.val [all …]
|
/PHP-8.4/ext/ffi/ |
H A D | php_ffi.h | 254 void zend_ffi_expr_add(zend_ffi_val *val, zend_ffi_val *op2); 255 void zend_ffi_expr_sub(zend_ffi_val *val, zend_ffi_val *op2); 256 void zend_ffi_expr_mul(zend_ffi_val *val, zend_ffi_val *op2); 257 void zend_ffi_expr_div(zend_ffi_val *val, zend_ffi_val *op2); 260 void zend_ffi_expr_plus(zend_ffi_val *val); 261 void zend_ffi_expr_neg(zend_ffi_val *val); 262 void zend_ffi_expr_bw_not(zend_ffi_val *val); 263 void zend_ffi_expr_bool_not(zend_ffi_val *val); 264 void zend_ffi_expr_sizeof_val(zend_ffi_val *val); 266 void zend_ffi_expr_alignof_val(zend_ffi_val *val); [all …]
|
H A D | ffi.g | 465 {zend_ffi_val val;} 504 {zend_ffi_val val;} 612 and_expression(val) 684 cast_expression(val) 732 | OCTNUMBER(val) 733 | DECNUMBER(val) 734 | HEXNUMBER(val) 735 | FLOATNUMBER(val) 736 | STRING(val) 737 | CHARACTER(val) [all …]
|
H A D | ffi.c | 7505 val->d = val->u64; 7508 val->d = val->i64; 7513 val->d = val->ch; 7521 val->d = val->u64; 7524 val->d = val->i64; 7529 val->d = val->ch; 7546 val->d = val->ch; 7605 val->ch = val->d; 7651 val->d = -val->d; 7653 val->ch = -val->ch; [all …]
|
/PHP-8.4/ext/zend_test/ |
H A D | object_handlers.stub.php | 9 private int $val; variable in DoOperationNoCast 10 public function __construct(int $val) {} argument 14 private int $val; variable in LongCastableNoOperations 15 public function __construct(int $val) {} argument 18 private float $val; variable in FloatCastableNoOperations 19 public function __construct(float $val) {} argument 22 private int|float $val; variable in NumericCastableNoOperations 23 public function __construct(int|float $val) {} argument
|
/PHP-8.4/ext/pdo_dblib/tests/ |
H A D | bug_38955.phpt | 17 $db->query("CREATE table test38955(val int)"); 19 $db->query("INSERT INTO test38955(val) values(1)"); 20 $db->query("INSERT INTO test38955(val) values(2)"); 21 $db->query("INSERT INTO test38955(val) values(3)"); 22 $db->query("INSERT INTO test38955(val) values(4)"); 27 $db->query("INSERT INTO test38955(val) values(5)"); 28 $db->query("INSERT INTO test38955(val) values(6)"); 47 ["val"]=> 52 ["val"]=> 57 ["val"]=> [all …]
|
/PHP-8.4/ext/standard/ |
H A D | mail.c | 75 if (*(value->val+len) == '\r') { in php_mail_build_headers_check_field_value() 81 && (*(value->val+len+2) == ' ' || *(value->val+len+2) == '\t')) { in php_mail_build_headers_check_field_value() 95 if (*(value->val+len) == '\n') { in php_mail_build_headers_check_field_value() 97 && (*(value->val+len+1) == ' ' || *(value->val+len+1) == '\t')) { in php_mail_build_headers_check_field_value() 103 if (*(value->val+len) == '\0') { in php_mail_build_headers_check_field_value() 118 if (*(key->val+len) < 33 || *(key->val+len) > 126 || *(key->val+len) == ':') { in php_mail_build_headers_check_field_name() 131 switch(Z_TYPE_P(val)) { in php_mail_build_headers_elem() 211 zval *val; in php_mail_build_headers() local 219 ZVAL_DEREF(val); in php_mail_build_headers() 451 #define MAIL_RET(val) \ in php_mail() argument [all …]
|
/PHP-8.4/ext/spl/tests/ |
H A D | iterator_013.phpt | 10 foreach($it as $key=>$val) 12 echo "$key=>$val\n"; 19 foreach($it as $key=>$val) 21 echo "$key=>$val\n"; 26 foreach($it as $key=>$val) 28 echo "$key=>$val\n"; 35 foreach(new NoRewindIterator($it) as $key=>$val) 37 echo "$key=>$val\n"; 42 foreach($it as $key=>$val) 44 echo "$key=>$val\n";
|
/PHP-8.4/Zend/tests/type_declarations/ |
H A D | typed_properties_073.phpt | 8 public int $val; 16 unset($test->val); 18 var_dump($val = &$test->val); 22 var_dump($test, $val); 29 ["val"]=> 36 ["val"]=> 42 ["val"]=>
|
H A D | typed_properties_045.phpt | 11 foreach ($this as $k => &$val) { 13 var_dump($val); 14 $val = 20; 15 var_dump($val); 17 $val = []; 27 foreach ($foo as $k => &$val) { 28 var_dump($val); 30 $val = 20; 34 $val = [];
|
/PHP-8.4/ext/ffi/tests/ |
H A D | gh16013.phpt | 58 $bug_gh16013_callback_struct->return_int8 = function($val) use($ffi) { 60 $cdata->cdata = $val; 63 $bug_gh16013_callback_struct->return_uint8 = function($val) use($ffi) { 65 $cdata->cdata = $val; 70 $cdata->cdata = $val; 75 $cdata->cdata = $val; 80 $cdata->cdata = $val; 85 $cdata->cdata = $val; 90 $cdata->cdata = $val; 94 return $val; [all …]
|
/PHP-8.4/ext/soap/ |
H A D | php_packet_soap.c | 296 val = cur; in parse_packet_soap() 313 if (!val) { in parse_packet_soap() 336 xmlNodePtr val; in parse_packet_soap() local 337 val = resp->children; in parse_packet_soap() 339 while (val && val->type != XML_ELEMENT_NODE) { in parse_packet_soap() 340 val = val->next; in parse_packet_soap() 342 if (val != NULL) { in parse_packet_soap() 348 if (val->name) { in parse_packet_soap() 351 } else if (val->next && get_node(val->next, (char*)val->name)) { in parse_packet_soap() 365 val = val->next; in parse_packet_soap() [all …]
|
/PHP-8.4/ext/standard/tests/class_object/ |
H A D | get_object_vars_variation_002.phpt | 10 $obj->val = $a; 16 $arr['val'] = 'changed.val'; 26 ["val"]=> 32 ["val"]=> 33 string(11) "changed.val" 38 ["val"]=>
|
/PHP-8.4/Zend/tests/arrow_functions/ |
H A D | 008.phpt | 9 foreach ($fn() as $val) { 10 var_dump($val); 14 foreach ($fn() as $val) { 15 var_dump($val); 19 foreach ($fn()() as $val) { 20 var_dump($val);
|
/PHP-8.4/main/ |
H A D | php_ini_builder.c | 66 const char *val = strchr(arg, '='); in php_ini_builder_define() local 68 if (val != NULL) { in php_ini_builder_define() 69 val++; in php_ini_builder_define() 70 if (!isalnum(*val) && *val != '"' && *val != '\'' && *val != '\0') { in php_ini_builder_define() 71 php_ini_builder_quoted(b, arg, val - arg - 1, val, arg + len - val); in php_ini_builder_define()
|
/PHP-8.4/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_attr_max_buffer_size.phpt | 26 …$db->exec(sprintf('CREATE TABLE test_attr_max_buffer_size(id INT, val LONGBLOB) ENGINE = %s', PDO_… 29 …$db->exec('INSERT INTO test_attr_max_buffer_size(id, val) VALUES (1, REPEAT("01234567890", 10240))… 31 $stmt = $db->prepare('SELECT id, val FROM test_attr_max_buffer_size'); 35 $stmt->bindColumn(2, $val); 38 "[%03d] id = %d, val = %s... (length: %d)\n", 41 substr($val, 0, 10), 42 strlen($val) 68 [001] id = 1, val = 0123456789... (length: %d) 69 [002] id = 1, val = 0123456789... (length: 1000) 70 [004] id = 1, val = 0123456789... (length: 2000)
|
/PHP-8.4/ext/fileinfo/libmagic/ |
H A D | magic.c | 361 ms->bytes_max = *CAST(const size_t *, val); in magic_setparam() 364 ms->encoding_max = *CAST(const size_t *, val); in magic_setparam() 379 *CAST(size_t *, val) = ms->indir_max; in magic_getparam() 382 *CAST(size_t *, val) = ms->name_max; in magic_getparam() 385 *CAST(size_t *, val) = ms->elf_phnum_max; in magic_getparam() 388 *CAST(size_t *, val) = ms->elf_shnum_max; in magic_getparam() 391 *CAST(size_t *, val) = ms->elf_shsize_max; in magic_getparam() 394 *CAST(size_t *, val) = ms->elf_notes_max; in magic_getparam() 397 *CAST(size_t *, val) = ms->regex_max; in magic_getparam() 400 *CAST(size_t *, val) = ms->bytes_max; in magic_getparam() [all …]
|
/PHP-8.4/ext/json/ |
H A D | json_encoder.c | 46 zend_array *myht = Z_ARRVAL_P(val); in php_json_determine_array_type() 137 if (Z_TYPE_P(val) == IS_ARRAY) { in php_json_encode_array() 138 myht = Z_ARRVAL_P(val); in php_json_encode_array() 148 zend_object *obj = Z_OBJ_P(val); in php_json_encode_array() 222 zend_object *obj = Z_OBJ_P(val); in php_json_encode_array() 585 zend_object *obj = Z_OBJ_P(val); in php_json_encode_serializable_object() 630 (Z_OBJ(retval) == Z_OBJ_P(val))) { in php_json_encode_serializable_object() 663 switch (Z_TYPE_P(val)) in php_json_encode_zval() 690 return php_json_escape_string(buf, Z_STRVAL_P(val), Z_STRLEN_P(val), options, encoder); in php_json_encode_zval() 706 ZVAL_COPY(&zv, val); in php_json_encode_zval() [all …]
|
/PHP-8.4/ext/pdo/tests/ |
H A D | pdo_011.phpt | 31 function reTrieve($id, $val) { 33 return array($id=>$val); 58 return array($id=>$val); 164 ["val"]=> 171 ["val"]=> 178 ["val"]=> 185 ["val"]=> 202 ["val"]=> 209 ["val"]=> 216 ["val"]=> [all …]
|
/PHP-8.4/Zend/tests/ |
H A D | debug_info-error-0.phpt | 7 public $val; 9 return $this->val; 11 public function __construct($val) { 12 $this->val = $val;
|