cmp 5370 bignum.c int cmp = bary_cmp(BDIGITS(x), BIGNUM_LEN(x), BDIGITS(y), BIGNUM_LEN(y)); cmp 5371 bignum.c return INT2FIX(BIGNUM_SIGN(x) ? cmp : -cmp); cmp 16 compar.c static ID cmp; cmp 37 compar.c return rb_check_funcall(y, cmp, 1, &x); cmp 57 compar.c return rb_funcallv(arg1, cmp, 1, &arg2); cmp 93 compar.c VALUE c = rb_funcall(x, cmp, 1, y); cmp 110 compar.c VALUE c = rb_funcall(x, cmp, 1, y); cmp 127 compar.c VALUE c = rb_funcall(x, cmp, 1, y); cmp 144 compar.c VALUE c = rb_funcall(x, cmp, 1, y); cmp 226 compar.c cmp = rb_intern("<=>"); cmp 1407 complex.c RCOMPLEX_SET_REAL(cmp, r); cmp 1408 complex.c return cmp; cmp 1414 complex.c RCOMPLEX_SET_IMAG(cmp, i); cmp 1415 complex.c return cmp; cmp 1236 enum.c VALUE cmp = rb_funcall(a, id_cmp, 1, b); cmp 1240 enum.c return rb_cmpint(cmp, a, b); cmp 1248 enum.c VALUE cmp = rb_yield_values(2, a, b); cmp 1252 enum.c return rb_cmpint(cmp, a, b); cmp 1521 enum.c VALUE cmp; cmp 1530 enum.c cmp = rb_yield_values(2, i, memo->min); cmp 1531 enum.c if (rb_cmpint(cmp, i, memo->min) < 0) { cmp 1616 enum.c VALUE cmp; cmp 1624 enum.c cmp = rb_yield_values(2, i, memo->max); cmp 1625 enum.c if (rb_cmpint(cmp, i, memo->max) > 0) { cmp 1060 include/ruby/ruby.h #define RCOMPLEX_SET_REAL(cmp, r) RB_OBJ_WRITE((cmp), &((struct RComplex *)(cmp))->real,(r)) cmp 1061 include/ruby/ruby.h #define RCOMPLEX_SET_IMAG(cmp, i) RB_OBJ_WRITE((cmp), &((struct RComplex *)(cmp))->imag,(i)) cmp 552 internal.h #define RCOMPLEX_SET_REAL(cmp, r) RB_OBJ_WRITE((cmp), &((struct RComplex *)(cmp))->real,(r)) cmp 553 internal.h #define RCOMPLEX_SET_IMAG(cmp, i) RB_OBJ_WRITE((cmp), &((struct RComplex *)(cmp))->imag,(i)) cmp 2287 numeric.c ID cmp = '>'; cmp 2290 numeric.c case -1: cmp = '<'; break; cmp 2292 numeric.c if (RTEST(rb_funcall(from, cmp, 1, to))) return INT2FIX(0); cmp 2294 numeric.c if (!excl || RTEST(rb_funcall(rb_funcall(from, '+', 1, rb_funcall(result, '*', 1, step)), cmp, 1, to))) { cmp 2482 numeric.c ID cmp = desc ? '<' : '>'; cmp 2484 numeric.c for (; !RTEST(rb_funcall(i, cmp, 1, to)); i = rb_funcall(i, '+', 1, step)) cmp 3808 numeric.c VALUE cmp = rb_big_cmp(y, x); cmp 3809 numeric.c switch (cmp) { cmp 3813 numeric.c return cmp; cmp 1640 object.c VALUE cmp; cmp 1647 object.c cmp = rb_class_inherited_p(mod, arg); cmp 1648 object.c if (NIL_P(cmp)) return Qnil; cmp 1649 object.c if (cmp) { cmp 610 range.c int cmp = rb_cmpint(rb_funcall(v, id_cmp, 1, INT2FIX(0)), v, INT2FIX(0)); \ cmp 611 range.c if (!cmp) return val; \ cmp 612 range.c smaller = cmp < 0; \ cmp 65 signal.c if (old == cmp) { cmp 70 time.c #define lt(x,y) (cmp((x),(y)) < 0) cmp 71 time.c #define gt(x,y) (cmp((x),(y)) > 0) cmp 72 time.c #define le(x,y) (cmp((x),(y)) <= 0) cmp 73 time.c #define ge(x,y) (cmp((x),(y)) >= 0) cmp 195 util.c # define qsort_r(base, nel, size, arg, cmp) qsort_s(base, nel, size, cmp, arg) cmp 203 util.c cmpfunc_t *cmp; cmp 211 util.c return (*args->cmp)(a, b, args->arg); cmp 218 util.c args.cmp = cmp; cmp 334 util.c #define med3(a,b,c) ((*cmp)((a),(b),d)<0 ? \ cmp 335 util.c ((*cmp)((b),(c),d)<0 ? (b) : ((*cmp)((a),(c),d)<0 ? (c) : (a))) : \ cmp 336 util.c ((*cmp)((b),(c),d)>0 ? (b) : ((*cmp)((a),(c),d)<0 ? (a) : (c)))) cmp 364 util.c if ((*cmp)(L,R,d) > 0) mmswap(L,R); goto nxt; cmp 395 util.c if ((t = (*cmp)(l,m,d)) < 0) { /*3-5-?*/ cmp 396 util.c if ((t = (*cmp)(m,r,d)) < 0) { /*3-5-7*/ cmp 400 util.c for (p=l; p<r; p+=size) if ((*cmp)(p,p+size,d) > 0) goto fail; cmp 406 util.c if ((*cmp)(l,r,d) <= 0) {mmswap(m,r); goto loopA;} /*3-5-4*/ cmp 413 util.c if ((t = (*cmp)(m,r,d)) > 0) { /*7-5-3*/ cmp 417 util.c for (p=l; p<r; p+=size) if ((*cmp)(p,p+size,d) < 0) goto fail2; cmp 424 util.c if ((*cmp)(l,r,d) <= 0) {mmswap(l,m); goto loopB;} /*7-5-8*/ cmp 430 util.c if ((t = (*cmp)(m,r,d)) < 0) {goto loopA;} /*5-5-7*/ cmp 437 util.c if ((t = (*cmp)(l,m,d)) > 0) {mmswap(l,r); l = L; goto loopA;}/*575-5*/ cmp 447 util.c if ((t = (*cmp)(l,m,d)) > 0) {eq_r = 0; break;} cmp 454 util.c if ((t = (*cmp)(r,m,d)) < 0) {eq_l = 0; break;} cmp 466 util.c if ((t = (*cmp)(r,m,d)) < 0) {eq_l = 0; break;} cmp 473 util.c if ((t = (*cmp)(l,m,d)) > 0) {eq_r = 0; break;} cmp 1474 util.c cmp(Bigint *a, Bigint *b) cmp 1517 util.c i = cmp(a,b); cmp 2549 util.c i = cmp(delta, bs); cmp 2579 util.c if (cmp(delta, bs) <= 0) cmp 2668 util.c if (cmp(delta, bs) > 0) cmp 3005 util.c if (cmp(b, S) >= 0) { cmp 3619 util.c if (cmp(b,S) < 0) { cmp 3628 util.c if (ilim < 0 || cmp(b,S = multadd(S,5,0)) <= 0) { cmp 3659 util.c j = cmp(b, mlo); cmp 3661 util.c j1 = delta->sign ? 1 : cmp(b, delta); cmp 3701 util.c j1 = cmp(b, S); cmp 3760 util.c j = cmp(b, S);