/macosx-10.10.1/ruby-106/ruby/test/ruby/ |
H A D | test_comparable.rb | 8 def cmp(b) method in class:TestComparable 16 cmp->(x) do 0; end 18 cmp->(x) do 1; end 20 cmp->(x) do raise; end 25 cmp->(x) do 1; end 27 cmp->(x) do 0; end 29 cmp->(x) do -1; end 34 cmp->(x) do 1; end 36 cmp->(x) do 0; end 38 cmp [all...] |
/macosx-10.10.1/cxxfilt-11/cxxfilt/libiberty/ |
H A D | bsearch.c | 75 register int lim, cmp; local 80 cmp = (*compar)(key, p); 81 if (cmp == 0) 83 if (cmp > 0) { /* key > p: move right */
|
/macosx-10.10.1/Libc-1044.1.2/stdlib/FreeBSD/ |
H A D | bsearch.c | 65 int cmp; local 70 cmp = (*compar)(key, p); 71 if (cmp == 0) 73 if (cmp > 0) { /* key > p: move right */ 92 int cmp; local 97 cmp = compar(key, p); 98 if (cmp == 0) 100 if (cmp > 0) { /* key > p: move right */
|
H A D | qsort.c | 92 #define CMP(t, x, y) (cmp((t), (x), (y))) 94 #define CMP(t, x, y) (cmp((x), (y))) 100 cmp_t ^cmp, 102 cmp_t *cmp, 133 cmp_t ^cmp, 135 cmp_t *cmp, 147 heapsort_b(a, n, es, cmp); 149 __heapsort_r(a, n, es, thunk, cmp); 151 heapsort(a, n, es, cmp); 171 pl = med3(pl, pl + d, pl + 2 * d, cmp, thun 98 med3(char *a, char *b, char *c, cmp_t ^cmp, void *thunk __unused ) argument 126 _qsort(void *a, size_t n, size_t es, void *thunk, cmp_t ^cmp, int depth_limit) argument 242 qsort_r(void *a, size_t n, size_t es, void *thunk, cmp_t *cmp) argument [all...] |
/macosx-10.10.1/OpenSSL098-52/bin/ |
H A D | compare_lib_symbols | 22 cmp="${TMPDIR}/$$.${arch}.3" 27 diff -Naur "${t1}" "${t2}" > "${cmp}" 29 if [[ -n "$(cat "${cmp}")" ]] 32 cat ${cmp} 37 #rm -f "${t1}" "${t2}" "${cmp}"
|
/macosx-10.10.1/cxxfilt-11/cxxfilt/ |
H A D | move-if-change | 18 if test -r "$2" && cmp -s "$1" "$2"; then
|
/macosx-10.10.1/emacs-93/emacs/ |
H A D | move-if-change | 6 cmp $1 $2 > /dev/null
|
/macosx-10.10.1/ncurses-44/ncurses/misc/ |
H A D | chkdef.cmd | 52 * `cmp' is zero when the file is valid
56 cmp = 0
84 cmp = 1
90 cmp = 2
97 cmp = 3
108 exit cmp
|
/macosx-10.10.1/JavaScriptCore-7600.1.17/tests/mozilla/ecma_3/Array/ |
H A D | regress-130451.js | 63 var cmp = new Function(); function 71 cmp = function(x,y) {return x-y;}; 72 actual = arr.sort(cmp).length; 78 cmp = function(x,y) {return y-x;}; 79 actual = arr.sort(cmp).length; 85 cmp = function(x,y) {return x-y;}; 87 actual = arr.sort(cmp).length; 96 cmp = function(x,y) {return x-y;}; 97 arr.sort(cmp); 134 cmp [all...] |
/macosx-10.10.1/bzip2-36/xcodescripts/ |
H A D | testbot.sh | 20 cmp ${BZIP2_SOURCE}/sample1.bz2 ${BUILT_PRODUCTS_DIR}/sample1.rb2 && printf "[PASS] 1\n" || printf "[FAIL] 1\n" 21 cmp ${BZIP2_SOURCE}/sample2.bz2 ${BUILT_PRODUCTS_DIR}/sample2.rb2 && printf "[PASS] 2\n" || printf "[FAIL] 2\n" 22 cmp ${BZIP2_SOURCE}/sample3.bz2 ${BUILT_PRODUCTS_DIR}/sample3.rb2 && printf "[PASS] 3\n" || printf "[FAIL] 3\n" 23 cmp ${BUILT_PRODUCTS_DIR}/sample1.tst ${BZIP2_SOURCE}/sample1.ref && printf "[PASS] 4\n" || printf "[FAIL] 4\n" 24 cmp ${BUILT_PRODUCTS_DIR}/sample2.tst ${BZIP2_SOURCE}/sample2.ref && printf "[PASS] 5\n" || printf "[FAIL] 5\n" 25 cmp ${BUILT_PRODUCTS_DIR}/sample3.tst ${BZIP2_SOURCE}/sample3.ref && printf "[PASS] 6\n" || printf "[FAIL] 6\n"
|
/macosx-10.10.1/tcl-105/tcl_ext/incrtcl/incrTcl/itk/generic/ |
H A D | itk_util.c | 86 int i, first, last, cmp, pos, size; 115 cmp = strcmp(swname, optname); 116 if (cmp == 0) { 121 cmp = -1; 124 cmp = 1; 127 if (cmp > 0) 166 int i, first, last, cmp; 177 cmp = strcmp(swname, optname); 178 if (cmp == 0) { 183 cmp 83 int i, first, last, cmp, pos, size; local 162 int i, first, last, cmp; local [all...] |
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_codesigning/antlr2/scripts/ |
H A D | cr_stripper.sh | 4 cmp -s $$ "$f" || (p4 edit "$f" && mv $$ "$f" && echo "$f Fixed")
|
/macosx-10.10.1/gnudiff-19/diffutils/src/ |
H A D | diff.c | 1056 struct comparison cmp; 1057 #define DIR_P(f) (S_ISDIR (cmp.file[f].stat.st_mode) != 0) 1082 memset (cmp.file, 0, sizeof cmp.file); 1083 cmp.parent = parent; 1085 /* cmp.file[f].desc markers */ 1092 cmp.file[0].desc = name0 == 0 ? NONEXISTENT : UNOPENED; 1093 cmp.file[1].desc = name1 == 0 ? NONEXISTENT : UNOPENED; 1106 cmp.file[0].name = name0; 1107 cmp 1052 struct comparison cmp; local [all...] |
H A D | dir.c | 202 diff_dirs (struct comparison const *cmp, 210 if ((cmp->file[0].desc == -1 || dir_loop (cmp, 0)) 211 && (cmp->file[1].desc == -1 || dir_loop (cmp, 1))) 214 cmp->file[cmp->file[0].desc == -1].name); 220 if (! dir_read (&cmp->file[i], &dirdata[i])) 222 perror_with_name (cmp->file[i].name); 245 if (starting_file && ! cmp 201 diff_dirs(struct comparison const *cmp, int (*handle_file) (struct comparison const *, char const *, char const *)) argument 282 dir_loop(struct comparison const *cmp, int i) argument [all...] |
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/libraries/liblutil/ |
H A D | tavl.c | 66 int a, cmp, ncmp; local 86 cmp = fcmp( data, p->avl_data ); 87 if ( cmp == 0 ) 90 cmp = (cmp > 0); 91 q = avl_child( p, cmp ); 97 q->avl_link[cmp] = p->avl_link[cmp]; 98 q->avl_link[!cmp] = p; 103 p->avl_link[cmp] 460 int cmp = -1, dir; local 475 int cmp; local 487 int cmp; local [all...] |
H A D | avl.c | 76 int a, cmp, ncmp; local 95 cmp = fcmp( data, p->avl_data ); 96 if ( cmp == 0 ) 99 cmp = (cmp > 0); 100 q = p->avl_link[cmp]; 110 p->avl_link[cmp] = q; 120 cmp = fcmp( data, s->avl_data ) > 0; 121 r = p = s->avl_link[cmp]; 122 a = avl_bfs[cmp]; 459 int cmp; local 531 int cmp; local 543 int cmp; local [all...] |
/macosx-10.10.1/bind9-45.101/bind9/bin/tests/system/rrsetorder/ |
H A D | tests.sh | 41 cmp -s dig.out.fixed dig.out.fixed.good || ret=1 61 cmp -s dig.out.cyclic dig.out.$j && matches=`expr $matches + 1` 64 cmp -s dig.out.0 dig.out.1 && ret=1 65 cmp -s dig.out.0 dig.out.2 && ret=1 66 cmp -s dig.out.0 dig.out.3 && ret=1 67 cmp -s dig.out.1 dig.out.2 && ret=1 68 cmp -s dig.out.1 dig.out.3 && ret=1 69 cmp -s dig.out.2 dig.out.3 && ret=1 88 cmp -s dig.out.cyclic2 dig.out.$j && matches=`expr $matches + 1` 91 cmp [all...] |
/macosx-10.10.1/OpenSSL098-52/src/test/ |
H A D | tcrl | 54 cmp fff.p f.p 56 cmp fff.p ff.p1 58 #cmp fff.p ff.p2 60 cmp fff.p ff.p3 63 #cmp f.t ff.t1 65 #cmp f.t ff.t2 67 #cmp f.t ff.t3 70 cmp f.p ff.p1 72 #cmp f.p ff.p2 74 cmp [all...] |
H A D | tpkcs7 | 35 cmp fff.p f.p 37 cmp fff.p ff.p1 39 cmp fff.p ff.p3 42 cmp f.p ff.p1 44 cmp f.p ff.p3
|
H A D | tsid | 54 cmp fff.p f.p 56 cmp fff.p ff.p1 58 #cmp fff.p ff.p2 60 cmp fff.p ff.p3 63 #cmp f.t ff.t1 65 #cmp f.t ff.t2 67 #cmp f.t ff.t3 70 cmp f.p ff.p1 72 #cmp f.p ff.p2 74 cmp [all...] |
H A D | tx509 | 54 cmp fff.p f.p 56 cmp fff.p ff.p1 58 cmp fff.p ff.p2 60 cmp fff.p ff.p3 63 cmp f.n ff.n1 65 cmp f.n ff.n2 67 cmp f.n ff.n3 70 cmp f.p ff.p1 72 cmp f.p ff.p2 74 cmp [all...] |
/macosx-10.10.1/WTF-7600.1.24/wtf/ |
H A D | AVLTree.h | 178 int cmp, target_cmp; 199 cmp = cmp_k_n(k, h); 200 if (cmp == 0) { 206 cmp = -target_cmp; 208 if (!((cmp ^ target_cmp) & MASK_HIGH_BIT)) { 209 // cmp and target_cmp are both negative or both positive. 213 h = cmp < 0 ? get_lt(h) : get_gt(h); 216 branch[d] = cmp > 0; 618 int cmp; 626 cmp [all...] |
/macosx-10.10.1/ICU-531.30/icuSources/common/ |
H A D | uarrsort.c | 65 UComparator *cmp, const void *context) { 72 int32_t diff=cmp(context, item, array+i*itemSize); 96 int32_t diff=cmp(context, item, array+start*itemSize); 109 UComparator *cmp, const void *context, void *pv) { 114 int32_t insertionPoint=uprv_stableBinarySearch(array, j, item, itemSize, cmp, context); 131 UComparator *cmp, const void *context, UErrorCode *pErrorCode) { 146 doInsertionSort(array, length, itemSize, cmp, context, pv); 169 UComparator *cmp, const void *context, 176 doInsertionSort(array+start*itemSize, limit-start, itemSize, cmp, context, px); 188 cmp(contex 64 uprv_stableBinarySearch(char *array, int32_t limit, void *item, int32_t itemSize, UComparator *cmp, const void *context) argument 108 doInsertionSort(char *array, int32_t length, int32_t itemSize, UComparator *cmp, const void *context, void *pv) argument 130 insertionSort(char *array, int32_t length, int32_t itemSize, UComparator *cmp, const void *context, UErrorCode *pErrorCode) argument 168 subQuickSort(char *array, int32_t start, int32_t limit, int32_t itemSize, UComparator *cmp, const void *context, void *px, void *pw) argument 234 quickSort(char *array, int32_t length, int32_t itemSize, UComparator *cmp, const void *context, UErrorCode *pErrorCode) argument 265 uprv_sortArray(void *array, int32_t length, int32_t itemSize, UComparator *cmp, const void *context, UBool sortStable, UErrorCode *pErrorCode) argument [all...] |
/macosx-10.10.1/gnutar-453/gnutar/lib/ |
H A D | mbscasecmp.c | 59 int cmp = mb_casecmp (mbui_cur (iter1), mbui_cur (iter2)); local 61 if (cmp != 0) 62 return cmp;
|
/macosx-10.10.1/man-16/man/src/ |
H A D | different.c | 18 const char *cmp = getval("CMP"); local 21 if (cmp) { 23 command = my_xsprintf("%s %S %S\n", cmp, file, p->pathname);
|