| /freebsd-10-stable/contrib/ntp/util/ |
| D | precision.c | 69 long diff; in default_get_resolution() local 77 diff = tp.tv_usec - last; in default_get_resolution() 78 if (diff < 0) diff += DUSECS; in default_get_resolution() 79 if (diff > MINSTEP) if (minsteps-- <= 0) break; in default_get_resolution() 84 diff, i, (i==1) ? "" : "s"); in default_get_resolution() 86 diff = (diff *3)/2; in default_get_resolution() 91 diff = 1; /* No STEP, so FAST machine */ in default_get_resolution() 96 diff = 1; /* time to read clock >= resolution */ in default_get_resolution() 98 for (i=0, val=HUSECS; val>0; i--, val >>= 1) if (diff >= val) return i; in default_get_resolution() 127 long diff; in default_get_precision() local [all …]
|
| /freebsd-10-stable/contrib/file/magic/Magdir/ |
| D | diff | 3 # $File: diff,v 1.16 2017/03/17 22:20:22 christos Exp $ 4 # diff: file(1) magic for diff(1) output 6 0 search/1 diff\040 diff output text 7 !:mime text/x-diff 8 0 search/1 ***\040 diff output text 9 !:mime text/x-diff 10 0 search/1 Only\040in\040 diff output text 11 !:mime text/x-diff 12 0 search/1 Common\040subdirectories:\040 diff output text 13 !:mime text/x-diff [all …]
|
| /freebsd-10-stable/contrib/subversion/subversion/libsvn_diff/ |
| D | deprecated.c | 149 svn_diff_t *diff, in svn_diff_file_output_unified3() argument 161 diff, in svn_diff_file_output_unified3() 176 svn_diff_t *diff, in svn_diff_file_output_unified2() argument 184 return svn_diff_file_output_unified3(output_stream, diff, in svn_diff_file_output_unified2() 192 svn_diff_t *diff, in svn_diff_file_output_unified() argument 199 return svn_diff_file_output_unified2(output_stream, diff, in svn_diff_file_output_unified() 206 svn_diff_file_diff(svn_diff_t **diff, in svn_diff_file_diff() argument 211 return svn_diff_file_diff_2(diff, original, modified, in svn_diff_file_diff() 216 svn_diff_file_diff3(svn_diff_t **diff, in svn_diff_file_diff3() argument 222 return svn_diff_file_diff3_2(diff, original, modified, latest, in svn_diff_file_diff3() [all …]
|
| D | util.c | 48 svn_diff_contains_conflicts(svn_diff_t *diff) in svn_diff_contains_conflicts() argument 50 while (diff != NULL) in svn_diff_contains_conflicts() 52 if (diff->type == svn_diff__type_conflict) in svn_diff_contains_conflicts() 57 diff = diff->next; in svn_diff_contains_conflicts() 64 svn_diff_contains_diffs(svn_diff_t *diff) in svn_diff_contains_diffs() argument 66 while (diff != NULL) in svn_diff_contains_diffs() 68 if (diff->type != svn_diff__type_common) in svn_diff_contains_diffs() 73 diff = diff->next; in svn_diff_contains_diffs() 80 svn_diff_output2(svn_diff_t *diff, in svn_diff_output2() argument 91 while (diff != NULL) in svn_diff_output2() [all …]
|
| /freebsd-10-stable/contrib/ntp/libntp/ |
| D | clocktime.c | 64 u_int32 diff[3]; /* abs difference to receive */ in clocktime() local 86 diff[0] = test[0] - rec_ui; in clocktime() 87 if (diff[0] >= 0x80000000u) in clocktime() 88 diff[0] = ~diff[0] + 1; in clocktime() 90 if (diff[0] < NEARTIME) { in clocktime() 92 return diff[0] < CLOSETIME; in clocktime() 113 diff[idx] = test[idx] - rec_ui; in clocktime() 114 if (diff[idx] >= 0x80000000u) in clocktime() 115 diff[idx] = ~diff[idx] + 1; in clocktime() 119 if (diff[idx] < diff[min]) in clocktime() [all …]
|
| /freebsd-10-stable/contrib/subversion/subversion/include/ |
| D | svn_diff.h | 189 svn_diff_diff_2(svn_diff_t **diff, 201 svn_diff_diff(svn_diff_t **diff, 214 svn_diff_diff3_2(svn_diff_t **diff, 226 svn_diff_diff3(svn_diff_t **diff, 240 svn_diff_diff4_2(svn_diff_t **diff, 252 svn_diff_diff4(svn_diff_t **diff, 264 svn_diff_contains_conflicts(svn_diff_t *diff); 271 svn_diff_contains_diffs(svn_diff_t *diff); 421 svn_diff_output2(svn_diff_t *diff, 433 svn_diff_output(svn_diff_t *diff, [all …]
|
| /freebsd-10-stable/contrib/subversion/subversion/svn/ |
| D | similarity.c | 51 svn_membuf_t *buffer, apr_size_t *diff) in simcheck_key_diff() argument 56 *diff = key->len - lcs; in simcheck_key_diff() 58 *diff = ctx->len - lcs; in simcheck_key_diff() 73 &context->buffer, &keya->diff); in simcheck_compare() 76 &context->buffer, &keyb->diff); in simcheck_compare() 80 : (keya->diff > keyb->diff ? 1 in simcheck_compare() 81 : (keya->diff < keyb->diff ? -1 : 0)))); in simcheck_compare() 103 token->diff = 0; in svn_cl__similarity_check() 123 if (0 == tokens[0]->diff) in svn_cl__similarity_check()
|
| D | diff-cmd.c | 202 opt_state->diff.patch_compatible || opt_state->diff.show_copies_as_adds; in svn_cl__diff() 204 opt_state->diff.patch_compatible || opt_state->diff.ignore_properties; in svn_cl__diff() 225 if (!opt_state->diff.summarize) in svn_cl__diff() 412 if (opt_state->diff.summarize) in svn_cl__diff() 423 ! opt_state->diff.notice_ancestry, in svn_cl__diff() 437 ! opt_state->diff.notice_ancestry, in svn_cl__diff() 438 opt_state->diff.no_diff_added, in svn_cl__diff() 439 opt_state->diff.no_diff_deleted, in svn_cl__diff() 443 opt_state->diff.properties_only, in svn_cl__diff() 444 opt_state->diff.use_git_diff_format, in svn_cl__diff() [all …]
|
| /freebsd-10-stable/contrib/netbsd-tests/lib/libc/sys/ |
| D | t_clock_gettime.c | 107 long long diff; in check_timecounter() local 110 diff = 1000000000LL * (tsb.tv_sec - tsa.tv_sec) in check_timecounter() 113 if (diff > 0 && mindiff > diff) in check_timecounter() 114 mindiff = diff; in check_timecounter() 116 if (diff < 0 || diff > MINPOSDIFF) { in check_timecounter() 119 "diff = %lld nsec, ", (diff < 0) ? "BAD " : "", in check_timecounter() 121 (uintmax_t)tsb.tv_sec, (uintmax_t)tsb.tv_nsec, diff); in check_timecounter() 130 ATF_CHECK(diff >= 0); in check_timecounter() 131 if (diff < 0) in check_timecounter()
|
| /freebsd-10-stable/crypto/openssl/crypto/ |
| D | pariscid.pl | 136 my ($diff,$lastdiff)=("%r21","%r20"); 148 ldi 0,$diff 152 add $diff,$tick,$tick 156 sub $tick,$lasttick,$diff 161 add $diff,$tick,$tick 183 ldi 0,$diff 187 add $diff,$tick,$tick 191 sub $tick,$lasttick,$diff 194 copy $diff,$lastdiff 197 add $diff,$tick,$tick [all …]
|
| /freebsd-10-stable/sbin/adjkerntz/ |
| D | adjkerntz.c | 86 long offset, localsec, diff; in main() local 144 diff = 0; in main() 177 if (diff == 0) in main() 213 diff = offset - tz.tz_minuteswest * 60 - kern_offset; in main() 215 if (diff != 0) { in main() 217 fprintf(stderr, "Initial diff: %ld secs\n", diff); in main() 221 final_sec = initial_sec + diff; in main() 225 final_isdst = diff < 0 ? initial_isdst : local.tm_isdst; in main() 226 if (diff > 0 && initial_isdst != final_isdst) { in main() 265 diff = offset - tz.tz_minuteswest * 60 - kern_offset; in main() [all …]
|
| /freebsd-10-stable/contrib/netbsd-tests/lib/libc/gen/ |
| D | t_randomid.c | 53 uint32_t lowest, n, diff; in ATF_TC_BODY() local 65 diff = n - last[id]; in ATF_TC_BODY() 67 if (diff <= lowest) { in ATF_TC_BODY() 73 id, last[id], n, diff, lowest); in ATF_TC_BODY() 75 ATF_REQUIRE_MSG(diff >= PERIOD, in ATF_TC_BODY() 77 "period (%d)", diff, PERIOD); in ATF_TC_BODY() 79 lowest = diff; in ATF_TC_BODY()
|
| /freebsd-10-stable/contrib/diff/ |
| D | AUTHORS | 26 Assigns diff (diff.c, initial version). 33 Assigns changes to diff. 36 Assigns changes to diff. 45 Assigns changes to diff (for -D). 48 Disclaims changes by Thomas May to diff. 51 Disclaims changes to diff. 54 Disclaims changes by Wayne Davison to diff. 57 Disclaims changes to diff. 71 Assigns changes to diff. 75 Disclaims changes by Chip Rosenthal to diff. [all …]
|
| D | NEWS | 14 * diff now omits the ".000000000" on hosts that do not support 33 * New diff and sdiff option: 39 excluding files by name (diff -x and -X). 48 * cmp and diff now conform to POSIX 1003.1-2001 (IEEE Std 1003.1-2001) 51 for `diff -NUM', where NUM is a number. Use -C NUM or -U NUM instead. 60 * diff uses ISO 8601 style time stamps for output times (e.g. "2001-11-23 63 * diff's -I and -F options use the regexp syntax of grep, not of Emacs. 64 * diff now accepts multiple context arguments, and uses their maximum value. 65 * New diff and sdiff options: 68 * New diff options: [all …]
|
| /freebsd-10-stable/sys/dev/ath/ath_hal/ar9002/ |
| D | ar9280_olc.c | 176 int16_t *diff) in ar9280ChangeGainBoundarySettings() argument 190 *diff = (uint16_t)(pwr_table_offset - AR5416_PWR_TABLE_OFFSET_DB); in ar9280ChangeGainBoundarySettings() 192 *diff *= 2; in ar9280ChangeGainBoundarySettings() 197 gb[k] = (uint16_t)(gb[k] - *diff); in ar9280ChangeGainBoundarySettings() 208 return *diff; in ar9280ChangeGainBoundarySettings() 213 int16_t diff, uint8_t *pdadcValues) in ar9280AdjustPDADCValues() argument 215 #define NUM_PDADC(diff) (AR5416_NUM_PDADC_VALUES - diff) in ar9280AdjustPDADCValues() argument 226 for (k = 0; k < (uint16_t)NUM_PDADC(diff); k++ ) { in ar9280AdjustPDADCValues() 227 pdadcValues[k] = pdadcValues[k + diff]; in ar9280AdjustPDADCValues() 231 for (k = (uint16_t)NUM_PDADC(diff); k < NUM_PDADC(0); k++) { in ar9280AdjustPDADCValues() [all …]
|
| /freebsd-10-stable/contrib/binutils/gas/ |
| D | ehopt.c | 451 offsetT diff; in eh_frame_estimate_size_before_relax() local 455 diff = resolve_symbol_value (frag->fr_symbol); in eh_frame_estimate_size_before_relax() 457 if (ca > 0 && diff % ca == 0 && diff / ca < 0x40) in eh_frame_estimate_size_before_relax() 459 else if (diff < 0x100) in eh_frame_estimate_size_before_relax() 461 else if (diff < 0x10000) in eh_frame_estimate_size_before_relax() 492 offsetT diff; in eh_frame_convert_frag() local 499 diff = resolve_symbol_value (frag->fr_symbol); in eh_frame_convert_frag() 506 assert (ca > 0 && diff % ca == 0 && diff / ca < 0x40); in eh_frame_convert_frag() 507 loc4_frag->fr_literal[loc4_fix] = DW_CFA_advance_loc | (diff / ca); in eh_frame_convert_frag() 512 assert (diff < 0x100); in eh_frame_convert_frag() [all …]
|
| /freebsd-10-stable/contrib/binutils/libiberty/ |
| D | ternary.c | 39 int diff; in ternary_insert() local 48 diff = *s - curr->splitchar; in ternary_insert() 50 if (diff == 0) in ternary_insert() 62 else if (diff < 0) in ternary_insert() 114 int diff, spchar; in ternary_search() local 121 diff = spchar - curr->splitchar; in ternary_search() 123 if (diff == 0) in ternary_search() 131 else if (diff < 0) in ternary_search()
|
| /freebsd-10-stable/contrib/gcclibs/libiberty/ |
| D | ternary.c | 39 int diff; in ternary_insert() local 48 diff = *s - curr->splitchar; in ternary_insert() 50 if (diff == 0) in ternary_insert() 62 else if (diff < 0) in ternary_insert() 114 int diff, spchar; in ternary_search() local 121 diff = spchar - curr->splitchar; in ternary_search() 123 if (diff == 0) in ternary_search() 131 else if (diff < 0) in ternary_search()
|
| /freebsd-10-stable/gnu/usr.bin/diff3/ |
| D | Makefile | 3 DIFFSRC=${.CURDIR}/../../../contrib/diff/src 5 ${.CURDIR}/../../../contrib/diff/lib \ 6 ${.CURDIR}/../../../contrib/diff/man 15 CFLAGS+=-I${.CURDIR}/../../../contrib/diff/ 16 CFLAGS+=-I${.CURDIR}/../../../contrib/diff/src 17 CFLAGS+=-I${.CURDIR}/../../../contrib/diff/lib
|
| /freebsd-10-stable/gnu/usr.bin/rcs/ |
| D | rcstest | 48 : ${DIFF=diff} 80 diff="$DIFF -c";; 83 diff=$DIFF 104 $diff a.11 a.c || { echo '#ci' followed by co $l is not a no-op; exit 1; } 110 $diff a.12 a.c || { echo "#ci+co failed"; exit 1; } 114 $diff a.11 a.c || { echo "#can't retrieve first revision"; exit 1; } 120 $diff a.3x1 a.c || { echo "#branches failed"; exit 1; } 126 $diff a.12 a.c || { echo "#(co -l; ci -f) failed"; exit 1; } 154 $diff a.11 a.c >/dev/null && { echo "#co -f had no effect"; exit 1; } 157 $diff a.11 a.t || { echo "#co -p failed"; exit 1; } [all …]
|
| /freebsd-10-stable/gnu/usr.bin/sdiff/ |
| D | Makefile | 3 DIFFSRC=${.CURDIR}/../../../contrib/diff/src 5 ${.CURDIR}/../../../contrib/diff/lib \ 6 ${.CURDIR}/../../../contrib/diff/man 16 CFLAGS+=-I${.CURDIR}/../../../contrib/diff 17 CFLAGS+=-I${.CURDIR}/../../../contrib/diff/src 18 CFLAGS+=-I${.CURDIR}/../../../contrib/diff/lib
|
| /freebsd-10-stable/ |
| D | .gitattributes | 1 *.c diff=cpp 2 *.h diff=cpp 3 *.cpp diff=cpp 4 *.hpp diff=cpp 5 *.py diff=python
|
| /freebsd-10-stable/sys/cddl/contrib/opensolaris/common/avl/ |
| D | avl.c | 260 int diff; in avl_find() local 268 diff = tree->avl_compar(value, AVL_NODE2DATA(node, off)); in avl_find() 269 ASSERT(-1 <= diff && diff <= 1); in avl_find() 270 if (diff == 0) { in avl_find() 277 child = avl_balance2child[1 + diff]; in avl_find() 581 int diff; in avl_insert_here() local 596 diff = tree->avl_compar(new_data, here); in avl_insert_here() 597 ASSERT(-1 <= diff && diff <= 1); in avl_insert_here() 598 ASSERT(diff != 0); in avl_insert_here() 599 ASSERT(diff > 0 ? child == 1 : child == 0); in avl_insert_here() [all …]
|
| /freebsd-10-stable/lib/libc/quad/ |
| D | subdi3.c | 50 union uu aa, bb, diff; local 54 diff.ul[L] = aa.ul[L] - bb.ul[L]; 55 diff.ul[H] = aa.ul[H] - bb.ul[H] - (diff.ul[L] > aa.ul[L]); 56 return (diff.q);
|
| /freebsd-10-stable/contrib/ntp/sntp/unity/ |
| D | unity.c | 618 _UF diff, tol; in UnityAssertEqualFloatArray() local 635 diff = *ptr_expected - *ptr_actual; in UnityAssertEqualFloatArray() 636 if (diff < 0.0f) in UnityAssertEqualFloatArray() 637 diff = 0.0f - diff; in UnityAssertEqualFloatArray() 643 if ((diff * 0.0f != 0.0f) || (diff > tol)) in UnityAssertEqualFloatArray() 671 _UF diff = actual - expected; in UnityAssertFloatsWithin() local 676 if (diff < 0.0f) in UnityAssertFloatsWithin() 678 diff = 0.0f - diff; in UnityAssertFloatsWithin() 686 if ((diff * 0.0f != 0.0f) || (pos_delta < diff)) in UnityAssertFloatsWithin() 779 _UD diff, tol; in UnityAssertEqualDoubleArray() local [all …]
|