Home
last modified time | relevance | path

Searched refs:dec (Results 1 – 25 of 36) sorted by relevance

12

/php-src/ext/standard/tests/strings/
H A Dhtmlspecialchars_decode_variation7.phpt17 $dec = htmlspecialchars_decode($t, ENT_QUOTES | ENT_HTML401);
18 if ($t == $dec) {
28 $dec = htmlspecialchars_decode($t, ENT_QUOTES | ENT_XHTML);
29 if ($t == $dec) {
39 $dec = htmlspecialchars_decode($t, ENT_QUOTES | ENT_HTML5);
40 if ($t == $dec) {
50 $dec = htmlspecialchars_decode($t, ENT_QUOTES | ENT_XML1);
51 if ($t == $dec) {
62 if ($t == $dec) {
72 $dec = htmlspecialchars_decode($t, ENT_COMPAT | ENT_HTML5);
[all …]
H A Dhtml_entity_decode3.phpt39 $dec = html_entity_decode($t, ENT_QUOTES | ENT_HTML401, "UTF-8");
40 if ($t == $dec) {
50 $dec = html_entity_decode($t, ENT_QUOTES | ENT_XHTML, "UTF-8");
51 if ($t == $dec) {
61 $dec = html_entity_decode($t, ENT_QUOTES | ENT_HTML5, "UTF-8");
62 if ($t == $dec) {
72 $dec = html_entity_decode($t, ENT_QUOTES | ENT_XML1, "UTF-8");
73 if ($t == $dec) {
83 $dec = html_entity_decode($t);
84 if ($t == $dec) {
/php-src/ext/opcache/tests/jit/
H A Dinc_022.phpt16 function dec($x) {
22 var_dump(dec("5"));
23 var_dump(dec(1.1));
H A Dinc_021.phpt20 function dec(int|float $x) {
25 var_dump(dec(PHP_INT_MIN));
26 var_dump(dec(1.1));
H A Dreadonly_005.phpt2 JIT readonly modification post-dec
H A Dreadonly_006.phpt2 JIT readonly modification pre-dec
H A Dreadonly_007.phpt2 JIT readonly modification dec-inc with result
H A Dreadonly_008.phpt2 JIT readonly modification pre-dec with result
/php-src/ext/standard/
H A Dmath.c1087 dec = MAX(0, dec); in _php_math_number_format_ex()
1101 if (dec) { in _php_math_number_format_ex()
1122 if (dec) { in _php_math_number_format_ex()
1123 reslen += dec; in _php_math_number_format_ex()
1143 if (dec) { in _php_math_number_format_ex()
1145 size_t topad = (size_t)dec > declen ? dec - declen : 0; in _php_math_number_format_ex()
1223 if (dec < 0) { in _php_math_number_format_long()
1256 if (dec > 0) { in _php_math_number_format_long()
1271 if (dec > 0) { in _php_math_number_format_long()
1348 dec_int = ZEND_LONG_INT_OVFL(dec) ? INT_MAX : (int)dec; in PHP_FUNCTION()
[all …]
H A Dphp_math.h22 PHPAPI zend_string *_php_math_number_format(double d, int dec, char dec_point, char thousand_sep);
23 PHPAPI zend_string *_php_math_number_format_ex(double d, int dec, const char *dec_point, size_t dec…
24 PHPAPI zend_string *_php_math_number_format_long(zend_long num, zend_long dec, const char *dec_poin…
/php-src/Zend/tests/
H A Doss_fuzz_63802.phpt2 oss-fuzz #63802: OP1 leak in error path of post inc/dec
21 foreach (['inc', 'dec'] as $incDec) {
H A Dobject_property_ref_incdec.phpt2 Inc/dec of reference object properties
/php-src/ext/filter/tests/
H A D031.phpt35 foreach ($floats as $float => $dec) {
37 … var_dump(filter_var($float, FILTER_VALIDATE_FLOAT, array("options"=>array('decimal' => $dec))));
/php-src/ext/soap/tests/interop/Round2/Base/
H A Dround2_base.inc65 function echoDecimal($dec)
67 return $dec;
/php-src/ext/standard/tests/url/
H A Dbase64_encode_basic_002.phpt30 $dec = base64_decode($enc);
32 if ($dec != $str) {
/php-src/ext/opcache/tests/opt/
H A Dassign_op_002.phpt2 … optimization of ASSIGN_OP may lead to incorrect result (sub assign -> pre dec conversion for null…
/php-src/ext/soap/tests/soap12/
H A Dsoap12-test.inc57 function echoDecimal($dec) {
58 return $dec;
/php-src/ext/mysqli/tests/
H A Dmysqli_fetch_assoc_bit.phpt18 function dec32bin($dec, $bits) {
23 if (($dec / $bitval) >= 1) {
25 $dec -= $bitval;
H A Dmysqli_stmt_get_result_bit.phpt21 function dec32bin($dec, $bits) {
26 if (($dec / $bitval) >= 1) {
28 $dec -= $bitval;
H A Dmysqli_stmt_bind_result_bit.phpt13 function dec32bin($dec, $bits) {
18 if (($dec / $bitval) >= 1) {
20 $dec -= $bitval;
/php-src/Zend/tests/in-de-crement/
H A Dincdec_undef.phpt2 Inc/dec undef var with error handler
H A Dincdec_bool_exception.phpt2 Inc/dec on bool: warning converted to exception
/php-src/ext/fileinfo/libmagic/
H A Dcompress.c783 struct LZ_Decoder *dec; in uncompresslzlib() local
788 dec = LZ_decompress_open(); in uncompresslzlib()
789 if (!dec) { in uncompresslzlib()
792 if (LZ_decompress_errno(dec) != LZ_ok) in uncompresslzlib()
800 int wr = LZ_decompress_write(dec, old, old_remaining); in uncompresslzlib()
807 int rd = LZ_decompress_read(dec, bufp, new_remaining); in uncompresslzlib()
814 if (rd < 0 || LZ_decompress_errno(dec) != LZ_ok) in uncompresslzlib()
822 LZ_decompress_close(dec); in uncompresslzlib()
830 err = LZ_decompress_errno(dec); in uncompresslzlib()
831 LZ_decompress_close(dec); in uncompresslzlib()
/php-src/ext/date/lib/
H A Dastro.c160 static void astro_sun_RA_dec(double d, double *RA, double *dec, double *r) in astro_sun_RA_dec() argument
180 *dec = atan2d(z, sqrt(x*x + y*y)); in astro_sun_RA_dec()
/php-src/ext/soap/tests/interop/Round4/GroupI/
H A Dround4_groupI_xsd.inc95 function echoDecimal($dec)
97 return array("return"=>$dec->inputDecimal);

Completed in 109 milliseconds

12