Home
last modified time | relevance | path

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

12345678910>>...19

/PHP-7.4/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-7.4/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_map_ptr.h40 # define ZEND_MAP_PTR_SET(ptr, val) do { \ argument
41 (*(ZEND_MAP_PTR(ptr))) = (val); \
43 # define ZEND_MAP_PTR_INIT(ptr, val) do { \ argument
44 ZEND_MAP_PTR(ptr) = (val); \
64 # define ZEND_MAP_PTR_SET(ptr, val) do { \ argument
66 *(ZEND_MAP_PTR_OFFSET2PTR(ptr)) = (val); \
68 *(ZEND_MAP_PTR(ptr)) = (val); \
71 # define ZEND_MAP_PTR_INIT(ptr, val) do { \ argument
72 ZEND_MAP_PTR(ptr) = (val); \
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_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-7.4/ext/ffi/
H A Dphp_ffi.h255 void zend_ffi_expr_add(zend_ffi_val *val, zend_ffi_val *op2);
256 void zend_ffi_expr_sub(zend_ffi_val *val, zend_ffi_val *op2);
257 void zend_ffi_expr_mul(zend_ffi_val *val, zend_ffi_val *op2);
258 void zend_ffi_expr_div(zend_ffi_val *val, zend_ffi_val *op2);
261 void zend_ffi_expr_plus(zend_ffi_val *val);
262 void zend_ffi_expr_neg(zend_ffi_val *val);
263 void zend_ffi_expr_bw_not(zend_ffi_val *val);
264 void zend_ffi_expr_bool_not(zend_ffi_val *val);
265 void zend_ffi_expr_sizeof_val(zend_ffi_val *val);
267 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.c7071 val->d = val->u64;
7074 val->d = val->i64;
7079 val->d = val->ch;
7087 val->d = val->u64;
7090 val->d = val->i64;
7095 val->d = val->ch;
7112 val->d = val->ch;
7171 val->ch = val->d;
7217 val->d = -val->d;
7219 val->ch = -val->ch;
[all …]
/PHP-7.4/ext/standard/
H A Dphp_mail.h30 #define PHP_MAIL_BUILD_HEADER_CHECK(target, s, key, val) \ argument
32 if (Z_TYPE_P(val) == IS_STRING) { \
33 php_mail_build_headers_elem(&s, key, val); \
34 } else if (Z_TYPE_P(val) == IS_ARRAY) { \
39 php_mail_build_headers_elems(&s, key, val); \
46 #define PHP_MAIL_BUILD_HEADER_DEFAULT(s, key, val) \ argument
48 if (Z_TYPE_P(val) == IS_STRING) { \
49 php_mail_build_headers_elem(&s, key, val); \
50 } else if (Z_TYPE_P(val) == IS_ARRAY) { \
51 php_mail_build_headers_elems(&s, key, val); \
H A Dmail.c95 zend_string *value = Z_STR_P(val); in php_mail_build_headers_check_field_value()
100 if (*(value->val+len) == '\r') { in php_mail_build_headers_check_field_value()
102 && *(value->val+len+1) == '\n' in php_mail_build_headers_check_field_value()
103 && (*(value->val+len+2) == ' ' || *(value->val+len+2) == '\t')) { in php_mail_build_headers_check_field_value()
109 if (*(value->val+len) == '\0') { in php_mail_build_headers_check_field_value()
124 if (*(key->val+len) < 33 || *(key->val+len) > 126 || *(key->val+len) == ':') { in php_mail_build_headers_check_field_name()
137 switch(Z_TYPE_P(val)) { in php_mail_build_headers_elem()
149 smart_str_appends(s, Z_STRVAL_P(val)); in php_mail_build_headers_elem()
184 zval *val; in php_mail_build_headers() local
479 #define MAIL_RET(val) \ in php_mail() argument
[all …]
/PHP-7.4/ext/pdo_dblib/tests/
H A Dbug_38955.phpt13 $db->query("CREATE table php_test(val int)");
15 $db->query("INSERT INTO php_test(val) values(1)");
16 $db->query("INSERT INTO php_test(val) values(2)");
17 $db->query("INSERT INTO php_test(val) values(3)");
18 $db->query("INSERT INTO php_test(val) values(4)");
23 $db->query("INSERT INTO php_test(val) values(5)");
24 $db->query("INSERT INTO php_test(val) values(6)");
39 ["val"]=>
44 ["val"]=>
49 ["val"]=>
[all …]
/PHP-7.4/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-7.4/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 = [];
H A Dscalar_constant_defaults.phpt42 echo "Testing int val" . PHP_EOL;
45 echo "Testing float val" . PHP_EOL;
48 echo "Testing string val" . PHP_EOL;
51 echo "Testing int add val" . PHP_EOL;
54 echo "Testing float add val" . PHP_EOL;
68 Testing int val
70 Testing float val
72 Testing string val
74 Testing int add val
76 Testing float add val
[all …]
/PHP-7.4/win32/
H A Dphp_stdint.h233 #define INT8_C(val) val##i8 argument
234 #define INT16_C(val) val##i16 argument
235 #define INT32_C(val) val##i32 argument
236 #define INT64_C(val) val##i64 argument
238 #define UINT8_C(val) val##ui8 argument
239 #define UINT16_C(val) val##ui16 argument
240 #define UINT32_C(val) val##ui32 argument
241 #define UINT64_C(val) val##ui64 argument
/PHP-7.4/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-7.4/ext/soap/
H A Dphp_packet_soap.c298 val = cur; in parse_packet_soap()
315 if (!val) { in parse_packet_soap()
338 xmlNodePtr val; in parse_packet_soap() local
339 val = resp->children; in parse_packet_soap()
341 while (val && val->type != XML_ELEMENT_NODE) { in parse_packet_soap()
342 val = val->next; in parse_packet_soap()
344 if (val != NULL) { in parse_packet_soap()
350 if (val->name) { in parse_packet_soap()
353 } else if (val->next && get_node(val->next, (char*)val->name)) { in parse_packet_soap()
367 val = val->next; in parse_packet_soap()
[all …]
/PHP-7.4/ext/pdo/tests/
H A Dpdo_011.phpt33 return array($id=>$val);
47 $this->val = $val;
60 return array($id=>$val);
160 ["val"]=>
167 ["val"]=>
174 ["val"]=>
181 ["val"]=>
198 ["val"]=>
205 ["val"]=>
212 ["val"]=>
[all …]
/PHP-7.4/ext/standard/tests/class_object/
H A Dget_object_vars_variation_002.phpt16 $obj->val = $a;
22 $arr['val'] = 'changed.val';
32 ["val"]=>
38 ["val"]=>
39 string(11) "changed.val"
44 ["val"]=>
/PHP-7.4/ext/pdo_mysql/tests/
H A Dpdo_mysql_attr_max_buffer_size.phpt33 $db->exec(sprintf('CREATE TABLE test(id INT, val LONGBLOB) ENGINE = %s', PDO_MYSQL_TEST_ENGINE));
36 $db->exec('INSERT INTO test(id, val) VALUES (1, REPEAT("01234567890", 10240))');
38 $stmt = $db->prepare('SELECT id, val FROM test');
41 $id = $val = NULL;
43 $stmt->bindColumn(2, $val);
45 printf("[%03d] id = %d, val = %s... (length: %d)\n",
46 $offset, $id, substr($val, 0, 10), strlen($val));
73 [001] id = 1, val = 0123456789... (length: %d)
74 [002] id = 1, val = 0123456789... (length: 1000)
75 [003] id = 1, val = 0123456789... (length: %d)
[all …]
/PHP-7.4/ext/standard/tests/array/
H A Darray_fill_variation3.phpt2 Test array_fill() function : usage variations - unexpected values for 'val' argument
5 /* Prototype : array array_fill(int $start_key, int $num, mixed $val)
6 …tion: Create an array containing num elements starting with index start_key each initialized to val
11 * testing array_fill() by passing different unexpected values for 'val' argument
35 //array of different values for 'val' argument
50 // loop through each element of the array for 'val' argument
52 echo "--- Testing array_fill() with different values for 'val' argument ---\n";
57 $val = $values[$index];
59 var_dump( array_fill($start_key , $num , $val) );
68 --- Testing array_fill() with different values for 'val' argument ---
/PHP-7.4/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_string.c50 string->val = (unsigned char*)NULL; in mbfl_string_init()
61 string->val = (unsigned char*)NULL; in mbfl_string_init_set()
70 if (string->val != (unsigned char*)NULL) { in mbfl_string_clear()
71 mbfl_free(string->val); in mbfl_string_clear()
73 string->val = (unsigned char*)NULL; in mbfl_string_clear()
/PHP-7.4/Zend/tests/
H A Ddebug_info-error-0.phpt7 public $val;
9 return $this->val;
11 public function __construct($val) {
12 $this->val = $val;

Completed in 59 milliseconds

12345678910>>...19