Searched refs:diff (Results 1 - 19 of 19) sorted by relevance

/PHP_5_4/ext/bcmath/libbcmath/src/
H A Ddoaddsub.c143 bc_num diff; local
154 diff = bc_new_num (diff_len, MAX(diff_scale, scale_min));
159 diffptr = (char *) (diff->n_value + diff_len + diff_scale);
167 diffptr = (char *) (diff->n_value + diff_len + diff_scale -1);
229 _bc_rm_leading_zeros (diff);
230 return diff;
H A Dsqrt.c49 bc_num guess, guess1, point5, diff; local
76 bc_init_num(&diff TSRMLS_CC);
110 bc_sub (guess, guess1, &diff, cscale+1);
111 if (bc_is_near_zero (diff, cscale))
126 bc_free_num (&diff);
H A Dsub.c51 bc_num diff = NULL; local
57 diff = _bc_do_add (n1, n2, scale_min);
58 diff->n_sign = n1->n_sign;
69 diff = _bc_do_sub (n2, n1, scale_min);
70 diff->n_sign = (n2->n_sign == PLUS ? MINUS : PLUS);
75 diff = bc_new_num (1, res_scale);
76 memset (diff->n_value, 0, res_scale+1);
80 diff = _bc_do_sub (n1, n2, scale_min);
81 diff->n_sign = n1->n_sign;
88 *result = diff;
[all...]
/PHP_5_4/ext/date/tests/
H A Dexamine_diff.inc4 * Helper for the DateTime diff/days/math tests
19 * Provides a consistent interface for executing date diff/add/sub tests
56 $result_interval = $start->diff($end, $absolute);
62 $result_interval = $start->diff($end, $absolute);
/PHP_5_4/ext/pcre/
H A Dupgrade-pcre.php95 $diff = array_diff($dirorig, $dirnew); variable
97 foreach ($diff as $file) {
/PHP_5_4/ext/standard/
H A Dcrypt_blowfish.c553 BF_word safety, sign, diff, tmp[2]; local
592 sign = diff = 0;
614 diff |= tmp[0] ^ tmp[1]; /* Non-zero on any differences */
621 * At this point, "diff" is zero iff the correct and buggy algorithms produced
629 diff |= diff >> 16; /* still zero iff exact match */
630 diff &= 0xffff; /* ditto */
631 diff += 0xffff; /* bit 16 set iff "diff" was non-zero (on non-match) */
633 sign &= ~diff
[all...]
/PHP_5_4/ext/xmlrpc/libxmlrpc/
H A Dencodings.c84 int diff = out_ptr - outbuf; local
91 out_ptr = outbuf + diff;
/PHP_5_4/ext/gd/libgd/
H A Dwebpimg.c190 double diff = Y1[row_idx + x] - Y2[row_idx + x]; local
191 sse += diff * diff;
H A Dgd.c355 float diff; local
369 diff = 0.0f; /* Undefined hues always match... */
371 diff = fabsf(HWB1.H - HWB2.H);
372 if (diff > 3.0f) {
373 diff = 6.0f - diff; /* Remember, it's a colour circle */
377 diff = diff * diff + (HWB1.W - HWB2.W) * (HWB1.W - HWB2.W) + (HWB1.B - HWB2.B) * (HWB1.B - HWB2.B);
379 return diff;
[all...]
/PHP_5_4/ext/mbstring/ucgendat/
H A Ducgendat.c1201 long diff = comp1->code1 - comp2->code1;
1203 if (!diff)
1204 diff = comp1->code2 - comp2->code2;
1205 return (int) diff;
/PHP_5_4/Zend/
H A Dzend_strtod.c916 static Bigint * diff(Bigint *a, Bigint *b) function
1934 delta = diff(S, mhi);
2371 delta = diff(bb, bd);
H A Dzend_language_scanner.c496 size_t diff = (char*)file_handle->handle.stream.handle - (char*)file_handle; local
497 fh->handle.stream.handle = (void*)(((char*)fh) + diff);
H A Dzend_language_scanner.l494 size_t diff = (char*)file_handle->handle.stream.handle - (char*)file_handle;
495 fh->handle.stream.handle = (void*)(((char*)fh) + diff);
/PHP_5_4/ext/sqlite3/libsqlite/
H A Dsqlite3.c126181 float diff = FABS(right-left); local
126506 float diff = local
[all...]
/PHP_5_4/
H A Dserver-tests.php135 $diff = array_merge($w2, $o2); variable
136 ksort($diff);
137 return implode("\r\n", $diff);
987 $failed_tests_data .= $sep . file_get_contents(realpath($test_info['diff']));
1256 @unlink(ereg_replace('\.phpt$','.diff',$file));
1493 'diff' => ereg_replace('\.phpt$','.diff', $file)
1511 // write .diff
1513 $logname = ereg_replace('\.phpt$','.diff',$file);
H A Drun-tests.php367 $failed_tests_data .= $sep . file_get_contents(realpath($test_info['diff']), FILE_BINARY);
473 $cfgfiles = array('skip', 'php', 'clean', 'out', 'diff', 'exp');
733 --show-[all|php|skip|clean|exp|diff|out]
736 'exp' or the difference between them 'diff'. The result types
737 get written independent of the log format, however 'diff' only
1321 'diff' => '',
1373 $diff_filename = $temp_dir . DIRECTORY_SEPARATOR . $main_file_name . 'diff';
1404 'diff' => $diff_filename,
1609 'diff' => '',
1627 'diff'
2078 $diff = generate_diff($wanted, $wanted_re, $output); variable
2080 $diff = "# original source file: $shortname\\n" . $diff; variable
2125 $diff = empty($diff) ? '' : preg_replace('/\\e/', '<esc>', $diff); variable
2187 $diff = array(); variable
2255 $diff = generate_array_diff($r, $o, !is_null($wanted_re), $w); variable
2592 $diff = "<a href='$url'>diff</a>"; variable
2594 $diff = "&nbsp;"; variable
[all...]
/PHP_5_4/ext/date/
H A Dphp_date.h133 timelib_rel_time *diff; member in struct:_php_interval_obj
H A Dphp_date.c467 PHP_ME_MAPPING(diff, date_diff, arginfo_date_method_diff, 0)
2280 ZVAL_LONG(zv, (long)intervalobj->diff->f); \
2293 if (intervalobj->diff->days != -99999) {
2372 timelib_rel_time_dtor(intern->diff);
2918 new_time = timelib_add(dateobj->time, intobj->diff);
2944 if (intobj->diff->have_special_relative) {
2949 new_time = timelib_sub(dateobj->time, intobj->diff);
3206 interval->diff = timelib_diff(dateobj1->time, dateobj2->time);
3208 interval->diff->invert = 0;
3546 value = obj->diff
[all...]
/PHP_5_4/ext/fileinfo/libmagic/
H A Dapprentice.c1504 int32_t diff; local
1531 diff = (int32_t)cont_level - (int32_t)m->cont_level;
1532 if (diff > 1)

Completed in 219 milliseconds