Home
last modified time | relevance | path

Searched refs:val (Results 1 – 25 of 484) sorted by relevance

12345678910>>...20

/PHP-8.2/ext/bcmath/libbcmath/src/
H A Dint2num.c44 bc_int2num (num, val) in bc_int2num() argument
46 int val;
54 if (val < 0)
57 val = -val;
62 *bptr++ = val % BASE;
63 val = val / BASE;
66 while (val != 0)
68 *bptr++ = val % BASE;
69 val = val / BASE;
H A Dnum2long.c49 long val; local
54 val = 0;
59 if (val > LONG_MAX/BASE) {
62 val *= BASE;
64 if (val > LONG_MAX - n) {
67 val += n;
72 return (val);
74 return (-val);
H A Ddoaddsub.c146 int borrow, count, val; local
184 if (val < 0)
186 val += BASE;
191 *diffptr-- = val;
200 if (val < 0)
202 val += BASE;
207 *diffptr-- = val;
215 val = *n1ptr-- - borrow;
216 if (val < 0)
218 val += BASE;
[all …]
/PHP-8.2/Zend/
H A Dzend_float.h121 # define XPFPA_RETURN_DOUBLE(val) \ argument
127 # define XPFPA_RETURN_SINGLE(val) \ argument
180 # define XPFPA_RETURN_DOUBLE(val) \
186 # define XPFPA_RETURN_SINGLE(val) \
240 # define XPFPA_RETURN_DOUBLE(val) \
246 # define XPFPA_RETURN_SINGLE(val) \
296 # define XPFPA_RETURN_DOUBLE(val) \
302 # define XPFPA_RETURN_SINGLE(val) \
409 # define XPFPA_RETURN_DOUBLE(val) return (val)
410 # define XPFPA_RETURN_SINGLE(val) return (val)
[all …]
H A Dzend_vm_trace_map.h48 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()
H A Dzend_map_ptr.h37 #define ZEND_MAP_PTR_INIT(ptr, val) do { \ argument
38 ZEND_MAP_PTR(ptr) = (val); \
55 # define ZEND_MAP_PTR_SET(ptr, val) do { \ argument
57 ZEND_MAP_PTR_SET_IMM(ptr, val); \
59 ZEND_MAP_PTR_INIT(ptr, val); \
62 # define ZEND_MAP_PTR_SET_IMM(ptr, val) do { \ argument
64 *__p = (val); \
/PHP-8.2/ext/standard/
H A Dphp_mail.h25 #define PHP_MAIL_BUILD_HEADER_CHECK(target, s, key, val) \ argument
27 if (Z_TYPE_P(val) == IS_STRING) { \
28 php_mail_build_headers_elem(&s, key, val); \
29 } else if (Z_TYPE_P(val) == IS_ARRAY) { \
34 php_mail_build_headers_elems(&s, key, val); \
36 …"Header \"%s\" must be of type array|string, %s given", ZSTR_VAL(key), zend_zval_type_name(val)); \
41 #define PHP_MAIL_BUILD_HEADER_DEFAULT(s, key, val) \ argument
43 if (Z_TYPE_P(val) == IS_STRING) { \
44 php_mail_build_headers_elem(&s, key, val); \
45 } else if (Z_TYPE_P(val) == IS_ARRAY) { \
[all …]
H A Dmail.c68 if (*(value->val+len) == '\r') { in php_mail_build_headers_check_field_value()
74 && (*(value->val+len+2) == ' ' || *(value->val+len+2) == '\t')) { in php_mail_build_headers_check_field_value()
88 if (*(value->val+len) == '\n') { in php_mail_build_headers_check_field_value()
90 && (*(value->val+len+1) == ' ' || *(value->val+len+1) == '\t')) { in php_mail_build_headers_check_field_value()
96 if (*(value->val+len) == '\0') { in php_mail_build_headers_check_field_value()
111 if (*(key->val+len) < 33 || *(key->val+len) > 126 || *(key->val+len) == ':') { in php_mail_build_headers_check_field_name()
124 switch(Z_TYPE_P(val)) { in php_mail_build_headers_elem()
190 zval *val; in php_mail_build_headers() local
198 ZVAL_DEREF(val); in php_mail_build_headers()
429 #define MAIL_RET(val) \ in php_mail() argument
[all …]
/PHP-8.2/ext/ffi/
H A Dphp_ffi.h254 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 Dffi.g465 {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 Dffi.c7386 val->d = val->u64;
7389 val->d = val->i64;
7394 val->d = val->ch;
7402 val->d = val->u64;
7405 val->d = val->i64;
7410 val->d = val->ch;
7427 val->d = val->ch;
7486 val->ch = val->d;
7532 val->d = -val->d;
7534 val->ch = -val->ch;
[all …]
/PHP-8.2/ext/pdo_dblib/tests/
H A Dbug_38955.phpt14 $db->query("CREATE table php_test(val int)");
16 $db->query("INSERT INTO php_test(val) values(1)");
17 $db->query("INSERT INTO php_test(val) values(2)");
18 $db->query("INSERT INTO php_test(val) values(3)");
19 $db->query("INSERT INTO php_test(val) values(4)");
24 $db->query("INSERT INTO php_test(val) values(5)");
25 $db->query("INSERT INTO php_test(val) values(6)");
40 ["val"]=>
45 ["val"]=>
50 ["val"]=>
[all …]
/PHP-8.2/ext/spl/tests/
H A Diterator_013.phpt10 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.2/Zend/tests/type_declarations/
H A Dtyped_properties_073.phpt8 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 Dtyped_properties_045.phpt11 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.2/ext/soap/
H A Dphp_packet_soap.c296 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.2/ext/standard/tests/class_object/
H A Dget_object_vars_variation_002.phpt10 $obj->val = $a;
16 $arr['val'] = 'changed.val';
26 ["val"]=>
32 ["val"]=>
33 string(11) "changed.val"
38 ["val"]=>
/PHP-8.2/Zend/tests/arrow_functions/
H A D008.phpt9 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.2/main/
H A Dphp_ini_builder.c66 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.2/ext/pdo/tests/
H A Dpdo_011.phpt33 return array($id=>$val);
55 function test($id,$val='N/A')
58 return array($id=>$val);
158 ["val"]=>
165 ["val"]=>
172 ["val"]=>
179 ["val"]=>
196 ["val"]=>
203 ["val"]=>
210 ["val"]=>
[all …]
/PHP-8.2/ext/json/
H A Djson_encoder.c36 zend_array *myht = Z_ARRVAL_P(val); in php_json_determine_array_type()
118 if (Z_TYPE_P(val) == IS_ARRAY) { in php_json_encode_array()
119 myht = Z_ARRVAL_P(val); in php_json_encode_array()
126 zend_object *obj = Z_OBJ_P(val); in php_json_encode_array()
533 zend_class_entry *ce = Z_OBJCE_P(val); in php_json_encode_serializable_object()
534 HashTable* myht = Z_OBJPROP_P(val); in php_json_encode_serializable_object()
576 (Z_OBJ(retval) == Z_OBJ_P(val))) { in php_json_encode_serializable_object()
609 switch (Z_TYPE_P(val)) in php_json_encode_zval()
636 return php_json_escape_string(buf, Z_STRVAL_P(val), Z_STRLEN_P(val), options, encoder); in php_json_encode_zval()
652 ZVAL_COPY(&zv, val); in php_json_encode_zval()
[all …]
/PHP-8.2/ext/pdo_mysql/tests/
H A Dpdo_mysql_attr_max_buffer_size.phpt34 … $db->exec(sprintf('CREATE TABLE test(id INT, val LONGBLOB) ENGINE = %s', PDO_MYSQL_TEST_ENGINE));
37 $db->exec('INSERT INTO test(id, val) VALUES (1, REPEAT("01234567890", 10240))');
39 $stmt = $db->prepare('SELECT id, val FROM test');
42 $id = $val = NULL;
44 $stmt->bindColumn(2, $val);
46 printf("[%03d] id = %d, val = %s... (length: %d)\n",
47 $offset, $id, substr($val, 0, 10), strlen($val));
78 [001] id = 1, val = 0123456789... (length: %d)
79 [002] id = 1, val = 0123456789... (length: 1000)
80 [004] id = 1, val = 0123456789... (length: 2000)
/PHP-8.2/Zend/Optimizer/
H A Dzend_optimizer.c205 zval *val; in zend_optimizer_get_collected_constant() local
208 ZVAL_COPY(value, val); in zend_optimizer_get_collected_constant()
254 ZVAL_STR(val, str); in drop_leading_backslash()
311 REQUIRES_STRING(val); in zend_optimizer_update_op1_const()
318 REQUIRES_STRING(val); in zend_optimizer_update_op1_const()
325 REQUIRES_STRING(val); in zend_optimizer_update_op1_const()
400 val = &zv; in zend_optimizer_update_op1_const()
403 if (Z_TYPE_P(val) == IS_STRING && Z_STRLEN_P(val) == 0) { in zend_optimizer_update_op1_const()
489 zend_str_tolower(Z_STRVAL_P(val), Z_STRLEN_P(val)); in zend_optimizer_update_op2_const()
493 val = &tmp; in zend_optimizer_update_op2_const()
[all …]
/PHP-8.2/Zend/tests/
H A Ddebug_info-error-0.phpt7 public $val;
9 return $this->val;
11 public function __construct($val) {
12 $this->val = $val;
H A Ddebug_info-error-1.phpt7 public $val;
9 return $this->val;
11 public function __construct($val) {
12 $this->val = $val;

Completed in 70 milliseconds

12345678910>>...20