range 7956 compile.c struct ibf_object_struct_range range; range 7958 compile.c range.len = 3; range 7959 compile.c range.class_index = 0; range 7961 compile.c rb_range_values(obj, &beg, &end, &range.excl); range 7962 compile.c range.beg = (long)ibf_dump_object(dump, beg); range 7963 compile.c range.end = (long)ibf_dump_object(dump, end); range 7965 compile.c IBF_WV(range); range 7975 compile.c const struct ibf_object_struct_range *range = IBF_OBJBODY(struct ibf_object_struct_range, offset); range 7976 compile.c VALUE beg = ibf_load_object(load, range->beg); range 7977 compile.c VALUE end = ibf_load_object(load, range->end); range 7978 compile.c VALUE obj = rb_range_new(beg, end, range->excl); range 227 ext/date/date_strftime.c v = range(1, tmx_mday, 31); range 257 ext/date/date_strftime.c v = range(0, tmx_hour, 23); range 263 ext/date/date_strftime.c v = range(0, tmx_hour, 23); range 272 ext/date/date_strftime.c v = range(1, tmx_yday, 366); range 320 ext/date/date_strftime.c v = range(0, tmx_min, 59); range 325 ext/date/date_strftime.c v = range(1, tmx_mon, 12); range 346 ext/date/date_strftime.c v = range(0, tmx_hour, 23); range 367 ext/date/date_strftime.c v = range(0, tmx_sec, 59); range 381 ext/date/date_strftime.c v = range(0, (*format == 'U') ? tmx_wnum0 : tmx_wnum1, 53); range 386 ext/date/date_strftime.c v = range(1, tmx_cwday, 7); range 391 ext/date/date_strftime.c v = range(1, tmx_cweek, 53); range 400 ext/date/date_strftime.c v = range(0, tmx_wday, 6); range 4211 ext/nkf/nkf-utf8/nkf.c static const nkf_char range[RANGE_NUM_MAX][2] = { range 4244 ext/nkf/nkf-utf8/nkf.c start = range[i][0]; range 4245 ext/nkf/nkf-utf8/nkf.c end = range[i][1]; range 710 ext/openssl/ossl_bn.c BIGNUM *bn = GetBNPtr(range), *result; \ range 548 gc.c RVALUE *range[2]; range 727 gc.c #define heap_pages_lomem objspace->heap_pages.range[0] range 728 gc.c #define heap_pages_himem objspace->heap_pages.range[1] range 651 include/ruby/intern.h int rb_range_values(VALUE range, VALUE *begp, VALUE *endp, int *exclp); range 179 include/ruby/oniguruma.h #define ONIGENC_CODE_RANGE_NUM(range) ((int )range[0]) range 180 include/ruby/oniguruma.h #define ONIGENC_CODE_RANGE_FROM(range,i) range[((i)*2) + 1] range 181 include/ruby/oniguruma.h #define ONIGENC_CODE_RANGE_TO(range,i) range[((i)*2) + 2] range 799 include/ruby/oniguruma.h OnigPosition onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); range 801 include/ruby/oniguruma.h OnigPosition onig_search_gpos P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* global_pos, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); range 1211 random.c if ((v = vmax = range_values(range, &beg, &end, &excl)) == Qfalse) range 66 range.c RANGE_SET_EXCL(range, exclude_end); range 67 range.c RANGE_SET_BEG(range, beg); range 68 range.c RANGE_SET_END(range, end); range 74 range.c VALUE range = rb_obj_alloc(rb_cRange); range 76 range.c range_init(range, beg, end, RBOOL(exclude_end)); range 77 range.c return range; range 84 range.c if (RANGE_EXCL(range) != Qnil) { range 85 range.c rb_name_err_raise("`initialize' called twice", range, ID2SYM(idInitialize)); range 104 range.c range_modify(range); range 105 range.c range_init(range, beg, end, RBOOL(RTEST(flags))); range 113 range.c range_modify(range); range 114 range.c rb_struct_init_copy(range, orig); range 115 range.c return range; range 131 range.c return EXCL(range) ? Qtrue : Qfalse; range 138 range.c if (!rb_equal(RANGE_BEG(range), RANGE_BEG(obj))) range 140 range.c if (!rb_equal(RANGE_END(range), RANGE_END(obj))) range 143 range.c if (EXCL(range) != EXCL(obj)) range 166 range.c if (range == obj) range 171 range.c return rb_exec_recursive_paired(recursive_equal, range, obj, obj); range 193 range.c if (!rb_eql(RANGE_BEG(range), RANGE_BEG(obj))) range 195 range.c if (!rb_eql(RANGE_END(range), RANGE_END(obj))) range 198 range.c if (EXCL(range) != EXCL(obj)) range 220 range.c if (range == obj) range 224 range.c return rb_exec_recursive_paired(recursive_eql, range, obj, obj); range 241 range.c st_index_t hash = EXCL(range); range 245 range.c v = rb_hash(RANGE_BEG(range)); range 247 range.c v = rb_hash(RANGE_END(range)); range 249 range.c hash = rb_hash_uint(hash, EXCL(range) << 24); range 259 range.c VALUE b = RANGE_BEG(range); range 260 range.c VALUE e = RANGE_END(range); range 263 range.c if (EXCL(range)) { range 339 range.c VALUE b = RANGE_BEG(range), e = RANGE_END(range); range 355 range.c return ruby_num_interval_step_size(b, e, step, EXCL(range)); range 399 range.c RETURN_SIZED_ENUMERATOR(range, argc, argv, range_step_size); range 401 range.c b = RANGE_BEG(range); range 402 range.c e = RANGE_END(range); range 423 range.c if (!EXCL(range)) range 437 range.c args[1] = EXCL(range) ? Qtrue : Qfalse; range 442 range.c else if (ruby_float_step(b, e, step, EXCL(range))) { range 448 range.c ID op = EXCL(range) ? '<' : idLE; range 466 range.c args[1] = EXCL(range) ? Qtrue : Qfalse; range 480 range.c range_each_func(range, step_i, (VALUE)args); range 483 range.c return range; range 623 range.c RETURN_ENUMERATOR(range, 0, 0); \ range 624 range.c if (EXCL(range)) high--; \ range 645 range.c beg = RANGE_BEG(range); range 646 range.c end = RANGE_END(range); range 666 range.c RETURN_ENUMERATOR(range, 0, 0); range 667 range.c if (EXCL(range)) high = rb_funcall(high, '-', 1, INT2FIX(1)); range 689 range.c return range; range 721 range.c VALUE b = RANGE_BEG(range), e = RANGE_END(range); range 723 range.c return ruby_num_interval_step_size(b, e, INT2FIX(1), EXCL(range)); range 731 range.c return range_size(range); range 760 range.c RETURN_SIZED_ENUMERATOR(range, 0, 0, range_enum_size); range 762 range.c beg = RANGE_BEG(range); range 763 range.c end = RANGE_END(range); range 769 range.c if (!EXCL(range)) range 779 range.c args[1] = EXCL(range) ? Qtrue : Qfalse; range 789 range.c args[1] = EXCL(range) ? Qtrue : Qfalse; range 797 range.c range_each_func(range, each_i, 0); range 800 range.c return range; range 815 range.c return RANGE_BEG(range); range 833 range.c return RANGE_END(range); range 869 range.c if (argc == 0) return RANGE_BEG(range); range 874 range.c rb_block_call(range, idEach, 0, 0, first_i, (VALUE)ary); range 900 range.c if (argc == 0) return RANGE_END(range); range 901 range.c return rb_ary_last(argc, argv, rb_Array(range)); range 929 range.c return range_first(argc, argv, range); range 932 range.c VALUE b = RANGE_BEG(range); range 933 range.c VALUE e = RANGE_END(range); range 936 range.c if (c > 0 || (c == 0 && EXCL(range))) range 961 range.c VALUE e = RANGE_END(range); range 964 range.c if (rb_block_given_p() || (EXCL(range) && !nm) || argc) { range 968 range.c VALUE b = RANGE_BEG(range); range 973 range.c if (EXCL(range)) { range 996 range.c if (rb_obj_is_kind_of(range, rb_cRange)) { range 997 range.c b = RANGE_BEG(range); range 998 range.c e = RANGE_END(range); range 999 range.c excl = EXCL(range); range 1002 range.c if (!rb_respond_to(range, id_beg)) return (int)Qfalse; range 1003 range.c if (!rb_respond_to(range, id_end)) return (int)Qfalse; range 1004 range.c b = rb_funcall(range, id_beg, 0); range 1005 range.c e = rb_funcall(range, id_end, 0); range 1006 range.c excl = RTEST(rb_funcall(range, rb_intern("exclude_end?"), 0)); range 1021 range.c if (!rb_range_values(range, &b, &e, &excl)) range 1071 range.c str = rb_obj_as_string(RANGE_BEG(range)); range 1072 range.c str2 = rb_obj_as_string(RANGE_END(range)); range 1074 range.c rb_str_cat(str, "...", EXCL(range) ? 3 : 2); range 1076 range.c OBJ_INFECT(str, range); range 1087 range.c return rb_str_new2(EXCL(range) ? "(... ... ...)" : "(... .. ...)"); range 1089 range.c str = rb_inspect(RANGE_BEG(range)); range 1090 range.c str2 = rb_inspect(RANGE_END(range)); range 1092 range.c rb_str_cat(str, "...", EXCL(range) ? 3 : 2); range 1094 range.c OBJ_INFECT(str, range); range 1112 range.c return rb_exec_recursive(inspect_range, range, 0); range 1137 range.c return rb_funcall(range, rb_intern("include?"), 1, val); range 1158 range.c VALUE beg = RANGE_BEG(range); range 1159 range.c VALUE end = RANGE_END(range); range 1166 range.c return r_cover_p(range, beg, end, val); range 1170 range.c return rb_str_include_range_p(beg, end, val, RANGE_EXCL(range)); range 1197 range.c beg = RANGE_BEG(range); range 1198 range.c end = RANGE_END(range); range 1199 range.c return r_cover_p(range, beg, end, val); range 1206 range.c int excl = EXCL(range); range 1221 range.c rb_ivar_set(v, id_excl, RANGE_EXCL(range)); range 1222 range.c rb_ivar_set(v, id_beg, RANGE_BEG(range)); range 1223 range.c rb_ivar_set(v, id_end, RANGE_END(range)); range 1234 range.c range_modify(range); range 1235 range.c RANGE_SET_BEG(range, rb_ivar_get(obj, id_beg)); range 1236 range.c RANGE_SET_END(range, rb_ivar_get(obj, id_end)); range 1237 range.c RANGE_SET_EXCL(range, rb_ivar_get(obj, id_excl)); range 1238 range.c return range; range 1471 re.c long range; range 1478 re.c range = -pos; range 1481 re.c range = RSTRING_LEN(str) - pos; range 1487 re.c if (range > 0) { range 1506 re.c char *range = RSTRING_PTR(str); range 1533 re.c range += RSTRING_LEN(str); range 1539 re.c ((UChar*)range), range 3822 regexec.c (intptr_t )str, str, (intptr_t )end, end, (intptr_t )s, s, (intptr_t )range, range); range 3839 regexec.c p = slow_search(reg->enc, reg->exact, reg->exact_end, p, end, range); range 3843 regexec.c reg->exact, reg->exact_end, p, end, range); range 3847 regexec.c p = bm_search(reg, reg->exact, reg->exact_end, p, end, range); range 3851 regexec.c p = bm_search_notrev(reg, reg->exact, reg->exact_end, p, end, range); range 3855 regexec.c p = bm_search_ic(reg, reg->exact, reg->exact_end, p, end, range); range 3859 regexec.c p = bm_search_notrev_ic(reg, reg->exact, reg->exact_end, p, end, range); range 3863 regexec.c p = map_search(reg->enc, reg->map, p, range, end); range 3867 regexec.c if (p && p < range) { range 3954 regexec.c range += reg->dmin; range 3962 regexec.c range, adjrange, end, p); range 3970 regexec.c range, adjrange, end, p); range 3976 regexec.c if (s - range < BM_BACKWARD_SEARCH_LENGTH_THRESHOLD) range 3983 regexec.c p = bm_search_backward(reg, reg->exact, reg->exact_end, range, adjrange, range 3988 regexec.c p = map_search_backward(reg->enc, reg->map, range, adjrange, p, end); range 4053 regexec.c return onig_search_gpos(reg, str, end, start, start, range, region, option); range 4066 regexec.c const UChar *orig_range = range; range 4097 regexec.c (intptr_t )str, str, end - str, start - str, range - str); range 4166 regexec.c if (range > start) range 4167 regexec.c range = start + 1; range 4169 regexec.c range = start; range 4173 regexec.c if (range > start) { range 4175 regexec.c range = str + 1; range 4178 regexec.c if (range <= str) { range 4180 regexec.c range = str; range 4193 regexec.c if (range > start) { range 4199 regexec.c if ((OnigDistance )(max_semi_end - (range - 1)) < reg->anchor_dmin) { range 4200 regexec.c range = max_semi_end - reg->anchor_dmin + 1; range 4203 regexec.c if (start > range) goto mismatch_no_msa; range 4208 regexec.c if ((OnigDistance )(min_semi_end - range) > reg->anchor_dmax) { range 4209 regexec.c range = min_semi_end - reg->anchor_dmax; range 4215 regexec.c if (range > start) goto mismatch_no_msa; range 4273 regexec.c (int )(end - str), (int )(start - str), (int )(range - str)); range 4279 regexec.c int offset = (MIN(start, range) - str); range 4285 regexec.c if (range > start) { /* forward search */ range 4294 regexec.c sch_range = (UChar* )range; range 4320 regexec.c } while (s < range); range 4337 regexec.c && s < range) { range 4342 regexec.c } while (s < range); range 4352 regexec.c } while (s < range); range 4354 regexec.c if (s == range) { /* because empty match with /$/. */ range 4362 regexec.c if (range < end) range 4363 regexec.c adjrange = ONIGENC_LEFT_ADJUST_CHAR_HEAD(reg->enc, str, range, end); range 4368 regexec.c (end - range) >= reg->threshold_len) { range 4372 regexec.c if (backward_search_range(reg, str, end, sch_start, range, adjrange, range 4384 regexec.c } while (s >= range); range 4388 regexec.c if ((end - range) < reg->threshold_len) goto mismatch; range 4402 regexec.c if (backward_search_range(reg, str, end, sch_start, range, adjrange, range 4411 regexec.c } while (s >= range); range 432 strftime.c i = range(1, vtm->mday, 31); range 437 strftime.c i = range(0, vtm->hour, 23); range 442 strftime.c i = range(0, vtm->hour, 23); range 451 strftime.c i = range(1, vtm->yday, 366); range 456 strftime.c i = range(1, vtm->mon, 12); range 461 strftime.c i = range(0, vtm->min, 59); range 472 strftime.c i = range(0, vtm->hour, 23); range 495 strftime.c i = range(0, vtm->sec, 60); range 504 strftime.c i = range(0, vtm->wday, 6); range 657 strftime.c FMT(' ', 2, "d", range(1, vtm->mday, 31)); range 675 strftime.c i = range(0, vtm->hour, 23); range 680 strftime.c i = range(0, vtm->hour, 23); range 3609 string.c int range; range 3634 string.c range = 1; range 3649 string.c range++; range 3651 string.c if (range == 1) {