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

12

/PHP_TRUNK/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 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...]
H A Dsqrt.c49 bc_num guess, guess1, point5, diff; local
76 bc_init_num(&diff);
110 bc_sub (guess, guess1, &diff, cscale+1);
111 if (bc_is_near_zero (diff, cscale))
126 bc_free_num (&diff);
/PHP_TRUNK/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_TRUNK/ext/pcre/
H A Dupgrade-pcre.php95 $diff = array_diff($dirorig, $dirnew); variable
97 foreach ($diff as $file) {
/PHP_TRUNK/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_TRUNK/ext/pcre/pcrelib/sljit/
H A DsljitNativeARM_64.c154 sljit_sw diff; local
168 diff = (sljit_sw)target_addr - (sljit_sw)(code_ptr + 4);
171 diff += sizeof(sljit_ins);
172 if (diff <= 0xfffff && diff >= -0x100000) {
178 diff -= sizeof(sljit_ins);
181 if (diff <= 0x7ffffff && diff >= -0x8000000) {
885 sljit_sw diff; local
890 diff
912 sljit_sw diff; local
1479 sljit_sw diff; local
[all...]
H A DsljitNativeARM_T2_32.c222 sljit_sw diff; local
231 diff = ((sljit_sw)jump->u.target - (sljit_sw)(code_ptr + 2)) >> 1;
235 diff = ((sljit_sw)(code + jump->u.label->size) - (sljit_sw)(code_ptr + 2)) >> 1;
240 if (diff <= 127 && diff >= -128) {
244 if (diff <= 524287 && diff >= -524288) {
249 diff--;
250 if (diff <= 8388607 && diff >
278 sljit_sw diff; local
976 sljit_sw diff; local
1002 sljit_sw diff; local
[all...]
H A DsljitNativeMIPS_common.c218 sljit_sw diff; local
248 diff = ((sljit_sw)target_addr - (sljit_sw)(inst)) >> 2;
249 if (diff <= SIMM_MAX && diff >= SIMM_MIN) {
266 diff = ((sljit_sw)target_addr - (sljit_sw)(inst + 1)) >> 2;
267 if (diff <= SIMM_MAX && diff >= SIMM_MIN) {
H A DsljitNativePPC_common.c244 sljit_sw diff; local
268 diff = ((sljit_sw)target_addr - (sljit_sw)(code_ptr)) & ~0x3l;
272 if (diff <= 0x7fff && diff >= -0x8000) {
282 diff -= sizeof(sljit_ins);
285 if (diff <= 0x01ffffff && diff >= -0x02000000) {
889 sljit_sw diff; local
912 diff = argw - next_argw;
914 return diff <
940 sljit_sw diff; local
[all...]
H A DsljitNativeSPARC_common.c195 sljit_sw diff; local
234 diff = ((sljit_sw)target_addr - (sljit_sw)(inst - 1)) >> 2;
235 if (diff <= MAX_DISP && diff >= MIN_DISP) {
251 diff = ((sljit_sw)target_addr - (sljit_sw)(inst)) >> 2;
252 if (diff <= MAX_DISP && diff >= MIN_DISP) {
H A DsljitNativeARM_32.c264 sljit_uw diff; local
280 diff = const_pool - last_pc_patch;
293 SLJIT_ASSERT(diff >= 1);
294 if (diff >= 2 || ind > 0) {
295 diff = (diff + ind - 2) << 2;
296 SLJIT_ASSERT(diff <= 0xfff);
297 *last_pc_patch = (*last_pc_patch & ~0xfff) | diff;
388 sljit_sw diff; local
398 diff
450 sljit_sw diff = (sljit_sw)(((sljit_sw)new_addr - (sljit_sw)(inst + 2)) >> 2); local
[all...]
/PHP_TRUNK/ext/xmlrpc/libxmlrpc/
H A Dencodings.c85 int diff = out_ptr - outbuf; local
92 out_ptr = outbuf + diff;
/PHP_TRUNK/sapi/phpdbg/tests/
H A Drun-tests.php246 printf("\t-diff2stdout\t\twrite diff to stdout instead of files%s", PHP_EOL);
458 $this->diff['wants'][$num] = &$this->match[$num];
459 $this->diff['gets'][$num] = $line;
465 $this->diff['wants'][$num] = &$this->match[$num];
466 $this->diff['gets'][$num] = $line;
472 $this->diff['wants'][$num] = &$this->match[$num];
473 $this->diff['gets'][$num] = $line;
480 $this->diff['wants'][$num] = &$this->match[$num];
481 $this->diff['gets'][$num] = $line;
491 return (count($this->diff)
551 protected $diff; variable
[all...]
/PHP_TRUNK/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.c357 float diff; local
371 diff = 0.0f; /* Undefined hues always match... */
373 diff = fabsf(HWB1.H - HWB2.H);
374 if (diff > 3.0f) {
375 diff = 6.0f - diff; /* Remember, it's a colour circle */
379 diff = diff * diff + (HWB1.W - HWB2.W) * (HWB1.W - HWB2.W) + (HWB1.B - HWB2.B) * (HWB1.B - HWB2.B);
381 return diff;
[all...]
/PHP_TRUNK/
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(preg_replace('/\.phpt$/','.diff',$file));
1546 'diff' => preg_replace('/\.phpt$/','.diff', $file)
1564 // write .diff
1566 $logname = preg_replace('/\.phpt$/','.diff',$file);
H A Drun-tests.php373 $failed_tests_data .= $sep . file_get_contents(realpath($test_info['diff']), FILE_BINARY);
479 $cfgfiles = array('skip', 'php', 'clean', 'out', 'diff', 'exp');
742 --show-[all|php|skip|clean|exp|diff|out]
745 'exp' or the difference between them 'diff'. The result types
746 get written independent of the log format, however 'diff' only
1333 'diff' => '',
1387 $diff_filename = $temp_dir . DIRECTORY_SEPARATOR . $main_file_name . 'diff';
1418 'diff' => $diff_filename,
1623 'diff' => '',
1641 'diff'
2092 $diff = generate_diff($wanted, $wanted_re, $output); variable
2094 $diff = "# original source file: $shortname\\n" . $diff; variable
2139 $diff = empty($diff) ? '' : preg_replace('/\\e/', '<esc>', $diff); variable
2201 $diff = array(); variable
2269 $diff = generate_array_diff($r, $o, !is_null($wanted_re), $w); variable
2606 $diff = "<a href='$url'>diff</a>"; variable
2608 $diff = "&nbsp;"; variable
[all...]
/PHP_TRUNK/ext/standard/
H A Dcrypt_blowfish.c553 BF_word safety, sign, diff, tmp[2]; local
593 sign = diff = 0;
615 diff |= tmp[0] ^ tmp[1]; /* Non-zero on any differences */
622 * At this point, "diff" is zero iff the correct and buggy algorithms produced
630 diff |= diff >> 16; /* still zero iff exact match */
631 diff &= 0xffff; /* ditto */
632 diff += 0xffff; /* bit 16 set iff "diff" was non-zero (on non-match) */
634 sign &= ~diff
[all...]
/PHP_TRUNK/ext/date/
H A Dphp_date.h164 timelib_rel_time *diff; member in struct:_php_interval_obj
H A Dphp_date.c460 PHP_ABSTRACT_ME(DateTimeInterface, diff, arginfo_date_method_diff)
483 PHP_ME_MAPPING(diff, date_diff, arginfo_date_method_diff, 0)
497 PHP_ME_MAPPING(diff, date_diff, arginfo_date_method_diff, 0)
2364 ZVAL_LONG(&zv, (zend_long)intervalobj->diff->f); \
2377 if (intervalobj->diff->days != -99999) {
2448 timelib_rel_time_dtor(intern->diff);
3132 new_time = timelib_add(dateobj->time, intobj->diff);
3182 if (intobj->diff->have_special_relative) {
3187 new_time = timelib_sub(dateobj->time, intobj->diff);
3606 interval->diff
[all...]
/PHP_TRUNK/ext/
H A Dext_skel221 tests/*/*.diff
/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dapprentice.c1506 int32_t diff; local
1533 diff = (int32_t)cont_level - (int32_t)m->cont_level;
1534 if (diff > 1)
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c525 size_t diff = count_bytes - read_bytes; local
526 unsigned int to_read = (diff > UINT_MAX) ? UINT_MAX : (unsigned int)diff;
551 size_t diff = count_bytes - read_bytes; local
552 int to_read = (diff > INT_MAX) ? INT_MAX : (int)diff;
/PHP_TRUNK/Zend/
H A Dzend_language_scanner.l498 size_t diff = (char*)file_handle->handle.stream.handle - (char*)file_handle;
499 fh->handle.stream.handle = (void*)(((char*)fh) + diff);

Completed in 66 milliseconds

12