/PHP-7.3/ext/mysqlnd/ |
H A D | mysql_float_to_double.h | 39 static inline double mysql_float_to_double(float fp4, int decimals) { in mysql_float_to_double() argument 42 if (decimals < 0) { in mysql_float_to_double() 45 snprintf(num_buf, MAX_CHAR_BUF_LEN, "%.*F", decimals, fp4); in mysql_float_to_double()
|
H A D | mysqlnd_ps_codec.c | 189 dval = mysql_float_to_double(fval, (field->decimals >= NOT_FIXED_DEC) ? -1 : (int)field->decimals); in ps_fetch_float() 245 if (field->decimals > 0 && field->decimals < 7) { in ps_fetch_time() 254 field->decimals, in ps_fetch_time() 255 (uint32_t) (t.second_part / pow(10, 6 - field->decimals)) in ps_fetch_time() 340 if (field->decimals > 0 && field->decimals < 7) { in ps_fetch_datetime() 351 field->decimals, in ps_fetch_datetime() 352 (uint32_t) (t.second_part / pow(10, 6 - field->decimals)) in ps_fetch_datetime()
|
H A D | mysqlnd_structs.h | 103 unsigned int decimals; /* Number of decimals in field */ member
|
H A D | mysqlnd_wireprotocol.c | 1249 meta->decimals = uint1korr(p); in php_mysqlnd_rset_field_read()
|
/PHP-7.3/ext/mysqli/tests/ |
H A D | 047.phpt | 88 ["decimals"]=> 117 ["decimals"]=> 148 ["decimals"]=> 176 ["decimals"]=> 206 ["decimals"]=> 234 ["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 | 154 ["decimals"]=> 183 ["decimals"]=> 212 ["decimals"]=> 249 ["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 | 115 ["decimals"]=> 143 ["decimals"]=> 178 ["decimals"]=>
|
H A D | mysqli_fetch_fields.phpt | 94 ["decimals"]=> 122 ["decimals"]=>
|
H A D | mysqli_fetch_field_oo.phpt | 98 ["decimals"]=> 126 ["decimals"]=>
|
H A D | mysqli_fetch_field_direct.phpt | 75 ["decimals"]=>
|
H A D | mysqli_field_tell.phpt | 92 ["decimals"]=>
|
H A D | mysqli_fetch_field_direct_oo.phpt | 84 ["decimals"]=>
|
H A D | bug_mysql_49406.phpt | 77 printf("Decimals : %d\n", $field->decimals);
|
H A D | mysqli_stmt_result_metadata.phpt | 128 ["decimals"]=>
|
H A D | mysqli_stmt_result_metadata_sqltests.phpt | 207 $field0->decimals = 0;
|
/PHP-7.3/ext/standard/tests/strings/ |
H A D | number_format_error.phpt | 5 /* Prototype : string number_format ( float $number [, int $decimals ] ) 6 …* string number_format ( float $number , int $decimals , string $dec_point , string …
|
H A D | number_format_basic.phpt | 5 /* Prototype : string number_format ( float $number [, int $decimals ] ) 6 …* string number_format ( float $number , int $decimals , string $dec_point , string …
|
/PHP-7.3/ext/com_dotnet/ |
H A D | com_variant.c | 854 zend_long decimals = 0; in PHP_FUNCTION() local 860 ZEND_NUM_ARGS(), "Ol", &zleft, php_com_variant_class_entry, &decimals)) { in PHP_FUNCTION() 864 "z!l", &zleft, &decimals)) { in PHP_FUNCTION() 871 if (SUCCEEDED(VarRound(vleft, (int)decimals, &vres))) { in PHP_FUNCTION()
|
H A D | com_extension.c | 76 ZEND_ARG_INFO(0, decimals)
|
/PHP-7.3/ext/mysqli/ |
H A D | mysqli_api.c | 1021 (stmt->stmt->fields[i].decimals >= NOT_FIXED_DEC) ? -1 : 1022 stmt->stmt->fields[i].decimals); 1178 add_property_long(value, "decimals", field->decimals);
|
/PHP-7.3/ext/pdo_mysql/ |
H A D | mysql_statement.c | 711 cols[i].precision = S->fields[i].decimals;
|
/PHP-7.3/ |
H A D | UPGRADING | 135 TIME/TIMESTAMP columns with decimals specifier (e.g. TIMESTAMP(6) when using 141 TIME/TIMESTAMP columns with decimals specifier (e.g. TIMESTAMP(6) when using
|