Home
last modified time | relevance | path

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

12345678910>>...19

/PHP-7.0/ext/bcmath/libbcmath/src/
H A Dint2num.c45 bc_int2num (num, val) in bc_int2num() argument
47 int val;
55 if (val < 0)
58 val = -val;
63 *bptr++ = val % BASE;
64 val = val / BASE;
67 while (val != 0)
69 *bptr++ = val % BASE;
70 val = val / BASE;
H A Dnum2long.c50 long val; local
55 val = 0;
57 for (index=num->n_len; (index>0) && (val<=(LONG_MAX/BASE)); index--)
58 val = val*BASE + *nptr++;
61 if (index>0) val = 0;
62 if (val < 0) val = 0;
66 return (val);
68 return (-val);
H A Ddoaddsub.c147 int borrow, count, val; local
185 if (val < 0)
187 val += BASE;
192 *diffptr-- = val;
201 if (val < 0)
203 val += BASE;
208 *diffptr-- = val;
216 val = *n1ptr-- - borrow;
217 if (val < 0)
219 val += BASE;
[all …]
/PHP-7.0/Zend/
H A Dzend_float.h126 # define XPFPA_RETURN_DOUBLE(val) \ argument
132 # define XPFPA_RETURN_SINGLE(val) \ argument
185 # define XPFPA_RETURN_DOUBLE(val) \
191 # define XPFPA_RETURN_SINGLE(val) \
245 # define XPFPA_RETURN_DOUBLE(val) \
251 # define XPFPA_RETURN_SINGLE(val) \
301 # define XPFPA_RETURN_DOUBLE(val) \
307 # define XPFPA_RETURN_SINGLE(val) \
414 # define XPFPA_RETURN_DOUBLE(val) return (val)
415 # define XPFPA_RETURN_SINGLE(val) return (val)
[all …]
/PHP-7.0/ext/opcache/Optimizer/
H A Dzend_optimizer.c37 zval val; in zend_optimizer_collect_constant() local
49 zval *val; in zend_optimizer_get_collected_constant() local
130 zval_dtor(val); in drop_leading_backslash()
131 ZVAL_STR(val, str); in drop_leading_backslash()
146 zval_dtor(val); \
153 zval_dtor(val); \
166 zval_dtor(val); in zend_optimizer_update_op1_const()
213 zval_dtor(val); in zend_optimizer_update_op2_const()
237 zend_str_tolower(Z_STRVAL_P(val), Z_STRLEN_P(val)); in zend_optimizer_update_op2_const()
243 if (zend_memrchr(Z_STRVAL_P(val), ':', Z_STRLEN_P(val))) { in zend_optimizer_update_op2_const()
[all …]
/PHP-7.0/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.0/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";
H A Diterator_020.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.0/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.0/ext/soap/
H A Dphp_packet_soap.c299 val = cur; in parse_packet_soap()
316 if (!val) { in parse_packet_soap()
339 xmlNodePtr val; in parse_packet_soap() local
340 val = resp->children; in parse_packet_soap()
342 while (val && val->type != XML_ELEMENT_NODE) { in parse_packet_soap()
343 val = val->next; in parse_packet_soap()
345 if (val != NULL) { in parse_packet_soap()
351 if (val->name) { in parse_packet_soap()
354 } else if (val->next && get_node(val->next, (char*)val->name)) { in parse_packet_soap()
368 val = val->next; in parse_packet_soap()
[all …]
/PHP-7.0/Zend/tests/type_declarations/
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.0/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.0/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.0/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.0/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 …ion: 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.0/ext/mbstring/libmbfl/tests/
H A Demoji.c18 printf("%%%02x", ptr->val[i]); in hexdump()
83 if (result.val[i] >= 0xD8 && result.val[i] < 0xE0) { // Surrogate pair in main()
84 int h = (result.val[i] & 0x07)<<8 | result.val[i+1]; in main()
85 int l = (result.val[i+2] & 0x03)<<8 | result.val[i+3]; in main()
90 printf("U+%x\n",(result.val[i] << 8) | result.val[i+1]); in main()
103 memcpy(dev2.buffer, result.val, result.len+1); in main()
/PHP-7.0/ext/json/
H A Djson_encoder.c49 HashTable *myht = Z_ARRVAL_P(val); in php_json_determine_array_type()
123 if (Z_TYPE_P(val) == IS_ARRAY) { in php_json_encode_array()
124 myht = Z_ARRVAL_P(val); in php_json_encode_array()
127 myht = Z_OBJPROP_P(val); in php_json_encode_array()
453 if (Z_TYPE_P(val) == IS_ARRAY) { in php_json_encode_serializable_object()
454 myht = Z_ARRVAL_P(val); in php_json_encode_serializable_object()
456 myht = Z_OBJPROP_P(val); in php_json_encode_serializable_object()
488 (Z_OBJ(retval) == Z_OBJ_P(val))) { in php_json_encode_serializable_object()
504 switch (Z_TYPE_P(val)) in php_json_encode_zval()
531 php_json_escape_string(buf, Z_STRVAL_P(val), Z_STRLEN_P(val), options); in php_json_encode_zval()
[all …]
/PHP-7.0/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_string.c51 string->val = (unsigned char*)NULL; in mbfl_string_init()
62 string->val = (unsigned char*)NULL; in mbfl_string_init_set()
71 if (string->val != (unsigned char*)NULL) { in mbfl_string_clear()
72 mbfl_free(string->val); in mbfl_string_clear()
74 string->val = (unsigned char*)NULL; in mbfl_string_clear()
/PHP-7.0/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;
H A Ddebug_info-error-0.0.phpt7 public $val;
9 return $this->val;
11 public function __construct($val) {
12 $this->val = $val;
H A Ddebug_info-error-1.0.phpt7 public $val;
9 return $this->val;
11 public function __construct($val) {
12 $this->val = $val;
H A Ddebug_info-error-empty_str.phpt7 public $val;
9 return $this->val;
11 public function __construct($val) {
12 $this->val = $val;
H A Ddebug_info-error-false.phpt7 public $val;
9 return $this->val;
11 public function __construct($val) {
12 $this->val = $val;
H A Ddebug_info-error-str.phpt7 public $val;
9 return $this->val;
11 public function __construct($val) {
12 $this->val = $val;

Completed in 33 milliseconds

12345678910>>...19