Home
last modified time | relevance | path

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

12345678910>>...16

/PHP-5.3/Zend/
H A Dzend_float.h130 # define XPFPA_RETURN_DOUBLE(val) \ argument
136 # define XPFPA_RETURN_SINGLE(val) \ argument
189 # define XPFPA_RETURN_DOUBLE(val) \ argument
195 # define XPFPA_RETURN_SINGLE(val) \ argument
249 # define XPFPA_RETURN_DOUBLE(val) \ argument
255 # define XPFPA_RETURN_SINGLE(val) \ argument
305 # define XPFPA_RETURN_DOUBLE(val) \ argument
311 # define XPFPA_RETURN_SINGLE(val) \ argument
418 # define XPFPA_RETURN_DOUBLE(val) return (val) argument
419 # define XPFPA_RETURN_SINGLE(val) return (val) argument
[all …]
/PHP-5.3/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-5.3/ext/pdo_dblib/
H A Ddblib_stmt.c43 if (val->data) { in free_rows()
155 val->len = 0;
165 val->data = emalloc(val->len + 1);
166 memcpy(val->data, dbdata(H->link, i+1), val->len);
167 val->data[val->len] = '\0';
174 val->len = spprintf(&val->data, 0, "%.4f", money_value);
183 val->data = emalloc(val->len + 1);
191 php_strtoupper(val->data, val->len);
197 val->data = emalloc(val->len);
200 dbdatlen(H->link, i+1), SQLCHAR, val->data, val->len);
[all …]
/PHP-5.3/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";
H A Darray_013.phpt16 foreach($it as $key => $val)
18 echo "$key=>$val\n";
26 foreach(new NoRewindIterator($it) as $key => $val)
28 echo "$key=>$val\n";
45 foreach($it as $key => $val)
47 echo "$key=>$val\n";
55 foreach(new NoRewindIterator($it) as $key => $val)
57 echo "$key=>$val\n";
H A Diterator_011.phpt8 foreach(new LimitIterator(new InfiniteIterator(new EmptyIterator()), 0, 3) as $key=>$val)
10 echo "$key=>$val\n";
18 foreach($it as $val=>$key)
20 echo "$val=>$key\n";
29 foreach($it as $val=>$key)
31 echo "$val=>$key\n";
H A Diterator_018.phpt8 foreach(new LimitIterator(new InfiniteIterator(new EmptyIterator()), 0, 3) as $key=>$val)
10 echo "$key=>$val\n";
18 foreach($it as $val=>$key)
20 echo "$val=>$key\n";
29 foreach($it as $val=>$key)
31 echo "$val=>$key\n";
/PHP-5.3/win32/
H A Dphp_stdint.h227 #define INT8_C(val) val##i8 argument
228 #define INT16_C(val) val##i16 argument
229 #define INT32_C(val) val##i32 argument
230 #define INT64_C(val) val##i64 argument
232 #define UINT8_C(val) val##ui8 argument
233 #define UINT16_C(val) val##ui16 argument
234 #define UINT32_C(val) val##ui32 argument
235 #define UINT64_C(val) val##ui64 argument
H A Dstrtoi64.c12 int64_t val; in _strtoi64() local
62 val = 0; in _strtoi64()
96 val *= base; in _strtoi64()
98 || (neg && (val > acc || (val -= c) > acc)) /* underflow */ in _strtoi64()
99 || (val < acc || (val += c) < acc)) { /* overflow */ in _strtoi64()
105 acc = val; in _strtoi64()
/PHP-5.3/ext/soap/
H A Dphp_packet_soap.c301 val = cur; in parse_packet_soap()
318 if (!val) { in parse_packet_soap()
344 xmlNodePtr val; in parse_packet_soap() local
345 val = resp->children; in parse_packet_soap()
347 while (val && val->type != XML_ELEMENT_NODE) { in parse_packet_soap()
348 val = val->next; in parse_packet_soap()
350 if (val != NULL) { in parse_packet_soap()
356 if (val->name) { in parse_packet_soap()
359 } else if (val->next && get_node(val->next, (char*)val->name)) { in parse_packet_soap()
374 val = val->next; in parse_packet_soap()
[all …]
/PHP-5.3/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-5.3/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 …]
H A Dpdo_005.phpt22 $stmt = $db->prepare('SELECT id, val, val2 from test');
27 protected $val;
58 ["val"]=>
67 ["val"]=>
76 ["val"]=>
87 ["val":protected]=>
96 ["val":protected]=>
105 ["val":protected]=>
121 ["val":protected]=>
134 ["val":protected]=>
[all …]
/PHP-5.3/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-5.3/ext/standard/
H A Dincomplete_class.c140 zval **val; in php_lookup_class_name() local
147 …if (zend_hash_find(object_properties, MAGIC_MEMBER, sizeof(MAGIC_MEMBER), (void **) &val) == SUCCE… in php_lookup_class_name()
148 retval = estrndup(Z_STRVAL_PP(val), Z_STRLEN_PP(val)); in php_lookup_class_name()
151 *nlen = Z_STRLEN_PP(val); in php_lookup_class_name()
163 zval *val; in php_store_class_name() local
166 MAKE_STD_ZVAL(val); in php_store_class_name()
168 Z_TYPE_P(val) = IS_STRING; in php_store_class_name()
169 Z_STRVAL_P(val) = estrndup(name, len); in php_store_class_name()
170 Z_STRLEN_P(val) = len; in php_store_class_name()
172 zend_hash_update(Z_OBJPROP_P(object), MAGIC_MEMBER, sizeof(MAGIC_MEMBER), &val, sizeof(val), NULL); in php_store_class_name()
/PHP-5.3/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 ---
H A Dbug45312.phpt7 function cr($val) {
8 $this->priv_member = $val;
26 foreach($result as $val) {
27 $val->dump();
30 foreach($result as $val) {
31 $val->dump();
/PHP-5.3/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-5.3/ext/mbstring/
H A Dmb_gpc.c197 char *var, *val; in _php_mb_encoding_handler_ex() local
245 val = strchr(var, '='); in _php_mb_encoding_handler_ex()
251 *val++ = '\0'; in _php_mb_encoding_handler_ex()
252 val_list[n] = val; in _php_mb_encoding_handler_ex()
253 len_list[n] = php_url_decode(val, strlen(val)); in _php_mb_encoding_handler_ex()
325 var = (char *)resvar.val; in _php_mb_encoding_handler_ex()
330 string.val = val_list[n]; in _php_mb_encoding_handler_ex()
333 val = resval.val; in _php_mb_encoding_handler_ex()
336 val = val_list[n]; in _php_mb_encoding_handler_ex()
341 val = estrndup(val, val_len); in _php_mb_encoding_handler_ex()
[all …]
/PHP-5.3/ext/xmlrpc/
H A Dxmlrpc-epi-php.c343 if (list && val) { in add_zval()
382 zval** val; in set_output_options() local
416 } else if (!strcmp((*val)->value.str.val, VERSION_VALUE_SOAP11)) { in set_output_options()
525 zval* val = NULL; in PHP_to_XMLRPC_worker() local
528 if (val) { in PHP_to_XMLRPC_worker()
556 xReturn = XMLRPC_CreateValueString(key, Z_STRVAL_P(val), Z_STRLEN_P(val)); in PHP_to_XMLRPC_worker()
567 ht = HASH_OF(val); in PHP_to_XMLRPC_worker()
684 if (val) { in XMLRPC_to_PHP()
1453 zval** val; in get_zval_xmlrpc_type() local
1457 *newvalue = *val; in get_zval_xmlrpc_type()
[all …]
/PHP-5.3/tests/lang/
H A Dforeach_with_references_001.phpt8 foreach($arr as $key => $val) {
9 $val = $key;
14 foreach($arr as $key => &$val) {
15 $val = $key;
/PHP-5.3/sapi/apache2handler/
H A Dphp_functions.c177 char *key, *val; in PHP_FUNCTION() local
189 if (!val) val = ""; in PHP_FUNCTION()
201 char *key, *val; in PHP_FUNCTION() local
213 if (!val) val = ""; in PHP_FUNCTION()
438 char *key, *val; in PHP_MINFO_FUNCTION() local
444 if (!val) { in PHP_MINFO_FUNCTION()
445 val = ""; in PHP_MINFO_FUNCTION()
459 if (!val) { in PHP_MINFO_FUNCTION()
460 val = ""; in PHP_MINFO_FUNCTION()
468 if (!val) { in PHP_MINFO_FUNCTION()
[all …]

Completed in 63 milliseconds

12345678910>>...16