Home
last modified time | relevance | path

Searched refs:exp (Results 1 – 25 of 73) sorted by path

123

/php-src/
H A D.gitignore230 **/tests/**/*.exp
/php-src/Zend/tests/zend_ini/
H A Dzend_ini_parse_quantity.phpt12 foreach (['', 'K', 'k', 'M', 'm', 'G', 'g'] as $exp) {
16 $leadingWS, $sign, $midWS, $exp, $trailingWS);
21 if ($exp !== 'g' && $exp !== 'G') { // Would overflow
24 $leadingWS, $sign, $midWS, $exp, $trailingWS);
H A Dzend_ini_parse_quantity_binary_prefixes.phpt13 foreach (['', 'K', 'k', 'M', 'm'] as $exp) {
16 $leadingWS, $sign, $midWS, $exp, $trailingWS);
22 $leadingWS, $sign, $midWS, $exp, $trailingWS);
H A Dzend_ini_parse_quantity_hex_prefixes.phpt13 foreach (['', 'K', 'k', 'M', 'm'] as $exp) {
16 $leadingWS, $sign, $midWS, $exp, $trailingWS);
22 $leadingWS, $sign, $midWS, $exp, $trailingWS);
H A Dzend_ini_parse_quantity_octal_prefixes.phpt13 foreach (['', 'K', 'k', 'M', 'm'] as $exp) {
16 $leadingWS, $sign, $midWS, $exp, $trailingWS);
22 $leadingWS, $sign, $midWS, $exp, $trailingWS);
/php-src/build/
H A Dlibtool.m43576 echo "-hidden">> $lib.exp~
3578 $rm $lib.exp'
3642 …1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "…
3679 …1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "…
3680 …ared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $com…
3690 …1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "…
3691 …C -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $com…
6062 …1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "…
6063 …$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$…
6067 …1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "…
[all …]
/php-src/ext/dom/lexbor/lexbor/core/
H A Dconv.c92 int exponent, exp, insignf; in lexbor_conv_data_to_double() local
176 exp = c; in lexbor_conv_data_to_double()
186 exp = exp * 10 + c; in lexbor_conv_data_to_double()
189 exponent += ex_minus ? -exp : exp; in lexbor_conv_data_to_double()
H A Ddiyfp.c120 lexbor_cached_power_dec(int exp, int *dec_exp) in lexbor_cached_power_dec() argument
125 index = (exp + LEXBOR_DECIMAL_EXPONENT_OFF) / LEXBOR_DECIMAL_EXPONENT_DIST; in lexbor_cached_power_dec()
134 lexbor_cached_power_bin(int exp, int *dec_exp) in lexbor_cached_power_bin() argument
140 k = (int) ceil((-61 - exp) * LEXBOR_DIYFP_D_1_LOG2_10) in lexbor_cached_power_bin()
H A Ddiyfp.h59 int exp; member
125 r.exp = LEXBOR_DBL_EXPONENT_MIN + 1; in lexbor_diyfp_from_d2()
134 int exp; in lexbor_diyfp_2d() local
143 exp = v.exp; in lexbor_diyfp_2d()
148 exp++; in lexbor_diyfp_2d()
151 if (exp >= LEXBOR_DBL_EXPONENT_MAX) { in lexbor_diyfp_2d()
155 if (exp < LEXBOR_DBL_EXPONENT_DENORMAL) { in lexbor_diyfp_2d()
163 exp--; in lexbor_diyfp_2d()
166 if (exp == LEXBOR_DBL_EXPONENT_DENORMAL in lexbor_diyfp_2d()
219 return lexbor_diyfp(h, lhs.exp + rhs.exp + 64); in lexbor_diyfp_mul()
[all …]
H A Ddtoa.c101 one = lexbor_diyfp((uint64_t) 1 << -Mp.exp, Mp.exp); in lexbor_grisu2_gen()
102 p1 = (uint32_t) (Mp.significand >> -one.exp); in lexbor_grisu2_gen()
140 tmp = ((uint64_t) p1 << -one.exp) + p2; in lexbor_grisu2_gen()
155 c = (char) (p2 >> -one.exp); in lexbor_grisu2_gen()
186 v.exp--; in lexbor_diyfp_normalize_boundary()
208 mi.significand <<= mi.exp - pl.exp; in lexbor_diyfp_normalize_boundaries()
209 mi.exp = pl.exp; in lexbor_diyfp_normalize_boundaries()
224 c_mk = lexbor_cached_power_bin(w_p.exp, dec_exp); in lexbor_grisu2()
251 if (exp < 0) { in lexbor_write_exponent()
255 exp = -exp; in lexbor_write_exponent()
[all …]
H A Dstrtod.c110 lexbor_strtod_adjust_pow10(int exp) in lexbor_strtod_adjust_pow10() argument
112 switch (exp) { in lexbor_strtod_adjust_pow10()
169 exp += remaining; in lexbor_strtod_diyfp_strtod()
180 orig_e = value.exp; in lexbor_strtod_diyfp_strtod()
182 error <<= orig_e - value.exp; in lexbor_strtod_diyfp_strtod()
184 if (exp < LEXBOR_DECIMAL_EXPONENT_MIN) { in lexbor_strtod_diyfp_strtod()
190 if (dec_exp != exp) { in lexbor_strtod_diyfp_strtod()
191 adj_exp = exp - dec_exp; in lexbor_strtod_diyfp_strtod()
216 orig_e = value.exp; in lexbor_strtod_diyfp_strtod()
218 error <<= orig_e - value.exp; in lexbor_strtod_diyfp_strtod()
[all …]
H A Dstrtod.h21 lexbor_strtod_internal(const lxb_char_t *start, size_t length, int exp);
/php-src/ext/fileinfo/tests/
H A Dfinfo_upstream.phpt17 $exp = trim(file_get_contents($tp));
18 if ($i !== $exp) {
19 echo "'$p' failed\nexp: '$exp'\ngot: '$i'\n";
H A Dmagic530 # assembler instructions: lea exp(pc),a1; moveq 25h,d0; jsr -552(a6)
H A Dmagic私はガラスを食べられます530 # assembler instructions: lea exp(pc),a1; moveq 25h,d0; jsr -552(a6)
/php-src/ext/filter/tests/
H A D030.phpt52 foreach ($ipv6_test as $ip => $exp) {
55 if ($exp != $out) {
56 echo "$ip failed (expected ", $exp?"true":"false", ", got ",
H A D034.phpt24 foreach($booleans as $val=>$exp) {
26 if ($res !== $exp) {
27 echo "$val failed,'$exp' expect, '$res' received.\n";
/php-src/ext/gd/libgd/
H A Dgd.c60 #define floor_cast(exp) ((long) exp) argument
H A Dgd_interpolation.c570 return (double)(exp(-2.0f * x * x) * 0.79788456080287f); in filter_gaussian()
/php-src/ext/gd/tests/
H A Dbug43073.phpt14 $exp = [
48 if ($bbox[$j] >= $exp[$i][$j] - 1 && $bbox[$j] <= $exp[$i][$j] + 1) {
51 echo "(expected $exp[$i][$j], got $bbox[$j])";
H A Dbug53504.phpt25 …['fontSize' => 50, 'angle' => 0, 'x' => 20, 'y' => 70, 'text' => 'AV Teg', 'exp' => [2,15, 208,15,…
26 …['fontSize' => 50, 'angle' => 90, 'x' => 70, 'y' => 350, 'text' => 'AV Teg', 'exp' => [15,-1, 15,-…
30 …['fontSize' => 100, 'angle' => 0, 'x' => 350, 'y' => 110, 'text' => 'H-Shift', 'exp' => [8,2, 386,…
33 …['fontSize' => 100, 'angle' => 0, 'x' => 350, 'y' => 220, 'text' => '-', 'exp' => [7,-37, 51,-37, …
34 …['fontSize' => 100, 'angle' => 0, 'x' => 430, 'y' => 220, 'text' => ',', 'exp' => [7,15, 21,15, 21…
35 …['fontSize' => 100, 'angle' => 0, 'x' => 510, 'y' => 220, 'text' => '.', 'exp' => [7,1, 21,1, 21,-…
36 …['fontSize' => 100, 'angle' => 0, 'x' => 590, 'y' => 220, 'text' => '|', 'exp' => [8,0, 17,0, 17,-…
37 …['fontSize' => 100, 'angle' => 0, 'x' => 670, 'y' => 220, 'text' => 'g', 'exp' => [5,29, 60,29, 60…
60 $exp = $test['exp'][$i];
61 if ($bbox[$i] >= $exp - 2 && $bbox[$i] <= $exp + 2) {
[all …]
H A Dimageresolution_jpeg.phpt13 $exp = imagecreate(100, 100);
14 imagecolorallocate($exp, 255, 0, 0);
16 imageresolution($exp, 71);
17 imagejpeg($exp, $filename);
21 imageresolution($exp, 71, 299);
22 imagejpeg($exp, $filename);
H A Dimageresolution_png.phpt15 $exp = imagecreate(100, 100);
16 imagecolorallocate($exp, 255, 0, 0);
18 imageresolution($exp, 71);
19 imagepng($exp, $filename);
23 imageresolution($exp, 71, 299);
24 imagepng($exp, $filename);
/php-src/ext/gmp/
H A Dgmp.c1275 zend_long exp; in ZEND_FUNCTION() local
1277 if (zend_parse_parameters(ZEND_NUM_ARGS(), "zl", &base_arg, &exp) == FAILURE) { in ZEND_FUNCTION()
1281 if (exp < 0) { in ZEND_FUNCTION()
1288 mpz_ui_pow_ui(gmpnum_result, Z_LVAL_P(base_arg), exp); in ZEND_FUNCTION()
1293 mpz_pow_ui(gmpnum_result, gmpnum_base, exp); in ZEND_FUNCTION()
/php-src/ext/mysqli/tests/fetch/
H A Dmysqli_fetch_all_data_types_variation.phpt51 … printf("[%04d] Expecting %s/%s [reg exp = %s], got %s/%s resp. %s/%s. [%d] %s\n", $offset + 4,

Completed in 211 milliseconds

123