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

12

/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/
H A Dext_skel221 tests/*/*.diff
/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 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);
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_TRUNK/ext/xmlrpc/libxmlrpc/
H A Dencodings.c85 int diff = out_ptr - outbuf; local
92 out_ptr = outbuf + diff;
/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/
H A Dserver-tests.php135 $diff = array_merge($w2, $o2); variable
136 ksort($diff);
137 return implode("\r\n", $diff);
986 $failed_tests_data .= $sep . file_get_contents(realpath($test_info['diff']));
1255 @unlink(preg_replace('/\.phpt$/','.diff',$file));
1545 'diff' => preg_replace('/\.phpt$/','.diff', $file)
1563 // write .diff
1565 $logname = preg_replace('/\.phpt$/','.diff',$file);
H A Drun-tests.php403 $failed_tests_data .= $sep . file_get_contents(realpath($test_info['diff']), FILE_BINARY);
509 $cfgfiles = array('skip', 'php', 'clean', 'out', 'diff', 'exp');
772 --show-[all|php|skip|clean|exp|diff|out]
775 'exp' or the difference between them 'diff'. The result types
776 get written independent of the log format, however 'diff' only
1371 'diff' => '',
1457 $diff_filename = $temp_dir . DIRECTORY_SEPARATOR . $main_file_name . 'diff';
1488 'diff' => $diff_filename,
1693 'diff' => '',
1711 'diff'
2177 $diff = generate_diff($wanted, $wanted_re, $output); variable
2179 $diff = "# original source file: $shortname\\n" . $diff; variable
2224 $diff = empty($diff) ? '' : preg_replace('/\\e/', '<esc>', $diff); variable
2286 $diff = array(); variable
2354 $diff = generate_array_diff($r, $o, !is_null($wanted_re), $w); variable
2691 $diff = "<a href='$url'>diff</a>"; variable
2693 $diff = "&nbsp;"; variable
[all...]
/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dapprentice.c1711 int32_t diff; local
1738 diff = (int32_t)cont_level - (int32_t)m->cont_level;
1739 if (diff > 1)
/PHP_TRUNK/ext/pcre/
H A Dupgrade-pcre.php95 $diff = array_diff($dirorig, $dirnew); variable
97 foreach ($diff as $file) {
/PHP_TRUNK/ext/pcre/pcrelib/sljit/
H A DsljitNativeARM_32.c268 sljit_uw diff; local
284 diff = const_pool - last_pc_patch;
297 SLJIT_ASSERT(diff >= 1);
298 if (diff >= 2 || ind > 0) {
299 diff = (diff + ind - 2) << 2;
300 SLJIT_ASSERT(diff <= 0xfff);
301 *last_pc_patch = (*last_pc_patch & ~0xfff) | diff;
394 sljit_sw diff; local
404 diff
456 sljit_sw diff = (sljit_sw)(((sljit_sw)new_addr - (sljit_sw)(inst + 2)) >> 2); local
[all...]
H A DsljitNativeARM_64.c156 sljit_sw diff; local
170 diff = (sljit_sw)target_addr - (sljit_sw)(code_ptr + 4);
173 diff += sizeof(sljit_ins);
174 if (diff <= 0xfffff && diff >= -0x100000) {
180 diff -= sizeof(sljit_ins);
183 if (diff <= 0x7ffffff && diff >= -0x8000000) {
887 sljit_sw diff; local
892 diff
914 sljit_sw diff; local
1533 sljit_sw diff; local
[all...]
H A DsljitNativeARM_T2_32.c226 sljit_sw diff; local
235 diff = ((sljit_sw)jump->u.target - (sljit_sw)(code_ptr + 2)) >> 1;
239 diff = ((sljit_sw)(code + jump->u.label->size) - (sljit_sw)(code_ptr + 2)) >> 1;
244 if (diff <= 127 && diff >= -128) {
248 if (diff <= 524287 && diff >= -524288) {
253 diff--;
254 if (diff <= 8388607 && diff >
282 sljit_sw diff; local
980 sljit_sw diff; local
1006 sljit_sw diff; local
[all...]
H A DsljitNativeMIPS_common.c223 sljit_sw diff; local
253 diff = ((sljit_sw)target_addr - (sljit_sw)(inst)) >> 2;
254 if (diff <= SIMM_MAX && diff >= SIMM_MIN) {
271 diff = ((sljit_sw)target_addr - (sljit_sw)(inst + 1)) >> 2;
272 if (diff <= SIMM_MAX && diff >= SIMM_MIN) {
H A DsljitNativePPC_common.c250 sljit_sw diff; local
274 diff = ((sljit_sw)target_addr - (sljit_sw)(code_ptr)) & ~0x3l;
278 if (diff <= 0x7fff && diff >= -0x8000) {
288 diff -= sizeof(sljit_ins);
291 if (diff <= 0x01ffffff && diff >= -0x02000000) {
898 sljit_sw diff; local
921 diff = argw - next_argw;
923 return diff <
949 sljit_sw diff; local
[all...]
H A DsljitNativeSPARC_common.c200 sljit_sw diff; local
239 diff = ((sljit_sw)target_addr - (sljit_sw)(inst - 1)) >> 2;
240 if (diff <= MAX_DISP && diff >= MIN_DISP) {
256 diff = ((sljit_sw)target_addr - (sljit_sw)(inst)) >> 2;
257 if (diff <= MAX_DISP && diff >= MIN_DISP) {
H A DsljitNativeTILEGX_64.c905 sljit_sw diff; local
924 diff = ((sljit_sw) target_addr - (sljit_sw) inst) >> 3;
925 if (diff <= SIMM_17BIT_MAX && diff >= SIMM_17BIT_MIN) {
/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/sapi/cgi/
H A Dcgi_main.c488 size_t diff = count_bytes - read_bytes; local
489 unsigned int to_read = (diff > UINT_MAX) ? UINT_MAX : (unsigned int)diff;
514 size_t diff = count_bytes - read_bytes; local
515 int to_read = (diff > INT_MAX) ? INT_MAX : (int)diff;
/PHP_TRUNK/Zend/
H A Dzend_language_scanner.c517 size_t diff = (char*)file_handle->handle.stream.handle - (char*)file_handle; local
518 fh->handle.stream.handle = (void*)(((char*)fh) + diff);
H A Dzend_language_scanner.l515 size_t diff = (char*)file_handle->handle.stream.handle - (char*)file_handle;
516 fh->handle.stream.handle = (void*)(((char*)fh) + diff);
/PHP_TRUNK/ext/gd/libgd/
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/ext/date/
H A Dphp_date.h167 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)
2357 ZVAL_LONG(&zv, (zend_long)intervalobj->diff->f); \
2370 if (intervalobj->diff->days != -99999) {
2441 timelib_rel_time_dtor(intern->diff);
3115 new_time = timelib_add(dateobj->time, intobj->diff);
3166 if (intobj->diff->have_special_relative) {
3171 new_time = timelib_sub(dateobj->time, intobj->diff);
3596 interval->diff
[all...]

Completed in 110 milliseconds

12