/PHP-8.2/ext/mysqlnd/ |
H A D | mysql_float_to_double.h | 37 static inline double mysql_float_to_double(float fp4, int decimals) { in mysql_float_to_double() argument 40 if (decimals < 0) { in mysql_float_to_double() 43 snprintf(num_buf, MAX_CHAR_BUF_LEN, "%.*F", decimals, fp4); in mysql_float_to_double()
|
H A D | mysqlnd_ps_codec.c | 225 dval = mysql_float_to_double(fval, (field->decimals >= NOT_FIXED_DEC) ? -1 : (int)field->decimals); in ps_fetch_float() 290 if (field->decimals > 0 && field->decimals < 7) { in ps_fetch_time() 292 (t.neg ? "-" : ""), t.hour, t.minute, t.second, field->decimals, in ps_fetch_time() 293 (uint32_t) (t.second_part / pow(10, 6 - field->decimals)))); in ps_fetch_time() 378 if (field->decimals > 0 && field->decimals < 7) { in ps_fetch_datetime() 380 t.year, t.month, t.day, t.hour, t.minute, t.second, field->decimals, in ps_fetch_datetime() 381 (uint32_t) (t.second_part / pow(10, 6 - field->decimals)))); in ps_fetch_datetime()
|
H A D | mysqlnd_structs.h | 97 unsigned int decimals; /* Number of decimals in field */ member
|
H A D | mysqlnd_wireprotocol.c | 1284 meta->decimals = uint1korr(p); in php_mysqlnd_rset_field_read()
|
/PHP-8.2/ext/mysqli/tests/ |
H A D | 047.phpt | 89 ["decimals"]=> 118 ["decimals"]=> 149 ["decimals"]=> 177 ["decimals"]=> 207 ["decimals"]=> 235 ["decimals"]=>
|
H A D | mysqli_stmt_get_result_metadata_fetch_field.phpt | 94 ["decimals"]=> 122 ["decimals"]=> 150 ["decimals"]=> 178 ["decimals"]=>
|
H A D | mysqli_field_seek.phpt | 152 ["decimals"]=> 181 ["decimals"]=> 210 ["decimals"]=> 242 ["decimals"]=>
|
H A D | mysqli_stmt_get_result_metadata.phpt | 136 if ($info->decimals !== $fields['meta'][$k]->decimals) 137 printf("[025 - %d] Expecting decimals %s/%s got %s/%s\n", 138 …$k, getdecimals($info->decimals), $info->decimals, getdecimals($fields['meta'][$k]->decimals), $fi…
|
H A D | mysqli_fetch_field.phpt | 106 ["decimals"]=> 134 ["decimals"]=> 168 ["decimals"]=>
|
H A D | mysqli_fetch_fields.phpt | 84 ["decimals"]=> 112 ["decimals"]=>
|
H A D | mysqli_fetch_field_oo.phpt | 95 ["decimals"]=> 123 ["decimals"]=>
|
H A D | mysqli_fetch_field_direct.phpt | 74 ["decimals"]=>
|
H A D | mysqli_field_tell.phpt | 87 ["decimals"]=>
|
H A D | mysqli_fetch_field_direct_oo.phpt | 87 ["decimals"]=>
|
H A D | mysqli_stmt_result_metadata.phpt | 119 ["decimals"]=>
|
H A D | bug_mysql_49406.phpt | 78 printf("Decimals : %d\n", $field->decimals);
|
H A D | mysqli_stmt_result_metadata_sqltests.phpt | 207 $field0->decimals = 0;
|
H A D | fake_server.inc | 228 $qr2->decimals = "000000";
|
/PHP-8.2/ext/com_dotnet/ |
H A D | com_extension.stub.php | 329 function variant_round(mixed $value, int $decimals): ?variant {} argument
|
H A D | com_variant.c | 842 zend_long decimals = 0; in PHP_FUNCTION() local 848 ZEND_NUM_ARGS(), "Ol", &zleft, php_com_variant_class_entry, &decimals)) { in PHP_FUNCTION() 852 "z!l", &zleft, &decimals)) { in PHP_FUNCTION() 859 if (SUCCEEDED(VarRound(vleft, (int)decimals, &vres))) { in PHP_FUNCTION()
|
H A D | com_extension_arginfo.h | 52 ZEND_ARG_TYPE_INFO(0, decimals, IS_LONG, 0)
|
/PHP-8.2/ext/pdo_mysql/ |
H A D | mysql_statement.c | 661 cols[i].precision = S->fields[i].decimals; in pdo_mysql_stmt_describe()
|
/PHP-8.2/ext/mysqli/ |
H A D | mysqli_api.c | 671 add_property_long(value, "decimals", field->decimals); in php_add_field_properties()
|
/PHP-8.2/ext/standard/ |
H A D | basic_functions.stub.php | 2401 function number_format(float $num, int $decimals = 0, ?string $decimal_separator = ".", ?string $th…
|
H A D | basic_functions_arginfo.h | 1727 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, decimals, IS_LONG, 0, "0")
|