RSTRING 833 array.c len += RSTRING(RARRAY(ary)->ptr[i])->len;
RSTRING 841 array.c len += RSTRING(sep)->len * (RARRAY(ary)->len - 1);
RSTRING 503 bignum.c s = RSTRING(str)->ptr;
RSTRING 504 bignum.c len = RSTRING(str)->len;
RSTRING 636 bignum.c s = RSTRING(ss)->ptr;
RSTRING 658 bignum.c RSTRING(ss)->len -= RBIGNUM(x)->sign?j:j-1;
RSTRING 659 bignum.c memmove(RBIGNUM(x)->sign?s:s+1, s+j, RSTRING(ss)->len);
RSTRING 660 bignum.c s[RSTRING(ss)->len] = '\0';
RSTRING 280 dir.c dp->dir = opendir(RSTRING(dirname)->ptr);
RSTRING 284 dir.c dp->dir = opendir(RSTRING(dirname)->ptr);
RSTRING 287 dir.c rb_sys_fail(RSTRING(dirname)->ptr);
RSTRING 290 dir.c dp->path = strdup(RSTRING(dirname)->ptr);
RSTRING 467 dir.c dist = RSTRING(path)->ptr;
RSTRING 514 dir.c if (chroot(RSTRING(path)->ptr) == -1)
RSTRING 515 dir.c rb_sys_fail(RSTRING(path)->ptr);
RSTRING 543 dir.c if (mkdir(RSTRING(path)->ptr, mode) == -1)
RSTRING 544 dir.c rb_sys_fail(RSTRING(path)->ptr);
RSTRING 546 dir.c if (mkdir(RSTRING(path)->ptr) == -1)
RSTRING 547 dir.c rb_sys_fail(RSTRING(path)->ptr);
RSTRING 559 dir.c if (rmdir(RSTRING(dir)->ptr) < 0)
RSTRING 560 dir.c rb_sys_fail(RSTRING(dir)->ptr);
RSTRING 924 dir.c buf = xmalloc(RSTRING(str)->len + 1);
RSTRING 926 dir.c p = RSTRING(str)->ptr;
RSTRING 927 dir.c pend = p + RSTRING(str)->len;
RSTRING 1019 dir.c if (fnmatch(RSTRING(pattern)->ptr, RSTRING(path)->ptr, flags) == 0)
RSTRING 1019 dir.c if (fnmatch(RSTRING(pattern)->ptr, RSTRING(path)->ptr, flags) == 0)
RSTRING 235 error.c etype = RSTRING(rb_obj_as_string(x))->ptr;
RSTRING 298 error.c return rb_exc_new(etype, RSTRING(str)->ptr, RSTRING(str)->len);
RSTRING 298 error.c return rb_exc_new(etype, RSTRING(str)->ptr, RSTRING(str)->len);
RSTRING 353 error.c if (RSTRING(exc)->len == 0) {
RSTRING 458 error.c rb_raise(rb_eArgError, "invalid value for %s: %s", type, RSTRING(s)->ptr);
RSTRING 743 error.c buf = ALLOCA_N(char, strlen(err)+RSTRING(tmp)->len+4);
RSTRING 744 error.c sprintf(buf, "%s - %s", err, RSTRING(tmp)->ptr);
RSTRING 979 eval.c fwrite(RSTRING(mesg)->ptr, 1, RSTRING(mesg)->len, stderr);
RSTRING 979 eval.c fwrite(RSTRING(mesg)->ptr, 1, RSTRING(mesg)->len, stderr);
RSTRING 987 eval.c einfo = RSTRING(e)->ptr;
RSTRING 988 eval.c elen = RSTRING(e)->len;
RSTRING 1004 eval.c fwrite(RSTRING(epath)->ptr, 1, RSTRING(epath)->len, stderr);
RSTRING 1004 eval.c fwrite(RSTRING(epath)->ptr, 1, RSTRING(epath)->len, stderr);
RSTRING 1011 eval.c if (RSTRING(epath)->ptr[0] == '#') epath = 0;
RSTRING 1020 eval.c fwrite(RSTRING(epath)->ptr, 1, RSTRING(epath)->len, stderr);
RSTRING 1020 eval.c fwrite(RSTRING(epath)->ptr, 1, RSTRING(epath)->len, stderr);
RSTRING 1041 eval.c fprintf(stderr, "\tfrom %s\n", RSTRING(ep->ptr[i])->ptr);
RSTRING 3132 eval.c result = rb_reg_new(RSTRING(str)->ptr, RSTRING(str)->len,
RSTRING 3132 eval.c result = rb_reg_new(RSTRING(str)->ptr, RSTRING(str)->len,
RSTRING 3136 eval.c result = rb_reg_new(RSTRING(str)->ptr, RSTRING(str)->len,
RSTRING 3136 eval.c result = rb_reg_new(RSTRING(str)->ptr, RSTRING(str)->len,
RSTRING 3583 eval.c terminate_process(1, RSTRING(argv[0])->ptr, RSTRING(argv[0])->len);
RSTRING 3583 eval.c terminate_process(1, RSTRING(argv[0])->ptr, RSTRING(argv[0])->len);
RSTRING 3629 eval.c RSTRING(e)->ptr);
RSTRING 4325 eval.c if (RSTRING(d)->len > 65) {
RSTRING 4328 eval.c desc = RSTRING(d)->ptr;
RSTRING 4952 eval.c printf("\tfrom %s\n", RSTRING(RARRAY(ary)->ptr[i])->ptr);
RSTRING 5348 eval.c rb_raise(rb_eLoadError, "No such file to load -- %s", RSTRING(fname)->ptr);
RSTRING 5385 eval.c rb_load_file(RSTRING(fname)->ptr);
RSTRING 5510 eval.c return rb_feature_p(RSTRING(f)->ptr, Qfalse);
RSTRING 5537 eval.c ext = strrchr(RSTRING(fname)->ptr, '.');
RSTRING 5548 eval.c fname = rb_str_new(RSTRING(fname)->ptr, ext-RSTRING(fname)->ptr);
RSTRING 5548 eval.c fname = rb_str_new(RSTRING(fname)->ptr, ext-RSTRING(fname)->ptr);
RSTRING 5599 eval.c if (rb_feature_p(RSTRING(fname)->ptr, Qfalse))
RSTRING 5601 eval.c rb_raise(rb_eLoadError, "No such file to load -- %s", RSTRING(fname)->ptr);
RSTRING 5604 eval.c if (rb_feature_p(RSTRING(feature)->ptr, Qfalse))
RSTRING 5615 eval.c handle = dln_load(RSTRING(fname)->ptr);
RSTRING 5626 eval.c if (rb_feature_p(RSTRING(feature)->ptr, Qtrue))
RSTRING 5635 eval.c ftptr = ruby_strdup(RSTRING(feature)->ptr);
RSTRING 6641 eval.c sprintf(RSTRING(str)->ptr, "#<%s:0x%.*lx@%s:%d>", cname, w, (VALUE)data->tag,
RSTRING 6646 eval.c sprintf(RSTRING(str)->ptr, "#<%s:0x%.*lx>", cname, w, (VALUE)data->tag);
RSTRING 6648 eval.c RSTRING(str)->len = strlen(RSTRING(str)->ptr);
RSTRING 6648 eval.c RSTRING(str)->len = strlen(RSTRING(str)->ptr);
RSTRING 9114 eval.c sprintf(RSTRING(str)->ptr, "#<%s:0x%lx %s>", cname, thread, status);
RSTRING 9115 eval.c RSTRING(str)->len = strlen(RSTRING(str)->ptr);
RSTRING 9115 eval.c RSTRING(str)->len = strlen(RSTRING(str)->ptr);
RSTRING 69 ext/Win32API/Win32API.c hdll = LoadLibrary(RSTRING(dllname)->ptr);
RSTRING 71 ext/Win32API/Win32API.c rb_raise(rb_eRuntimeError, "LoadLibrary: %s\n", RSTRING(dllname)->ptr);
RSTRING 73 ext/Win32API/Win32API.c hproc = GetProcAddress(hdll, RSTRING(proc)->ptr);
RSTRING 77 ext/Win32API/Win32API.c hproc = GetProcAddress(hdll, RSTRING(str)->ptr);
RSTRING 80 ext/Win32API/Win32API.c RSTRING(proc)->ptr, RSTRING(str)->ptr);
RSTRING 80 ext/Win32API/Win32API.c RSTRING(proc)->ptr, RSTRING(str)->ptr);
RSTRING 94 ext/Win32API/Win32API.c switch (*(char *)RSTRING(ptr[i])->ptr) {
RSTRING 109 ext/Win32API/Win32API.c s = RSTRING(import)->ptr;
RSTRING 110 ext/Win32API/Win32API.c for (i = 0, len = RSTRING(import)->len; i < len; i++) {
RSTRING 131 ext/Win32API/Win32API.c switch (*RSTRING(export)->ptr) {
RSTRING 102 ext/dbm/dbm.c dbm = dbm_open(RSTRING(file)->ptr, O_RDWR|O_CREAT, mode);
RSTRING 105 ext/dbm/dbm.c dbm = dbm_open(RSTRING(file)->ptr, O_RDWR, 0);
RSTRING 108 ext/dbm/dbm.c dbm = dbm_open(RSTRING(file)->ptr, O_RDONLY, 0);
RSTRING 113 ext/dbm/dbm.c rb_sys_fail(RSTRING(file)->ptr);
RSTRING 152 ext/dbm/dbm.c key.dptr = RSTRING(keystr)->ptr;
RSTRING 153 ext/dbm/dbm.c key.dsize = RSTRING(keystr)->len;
RSTRING 198 ext/dbm/dbm.c val.dptr = RSTRING(valstr)->ptr;
RSTRING 199 ext/dbm/dbm.c val.dsize = RSTRING(valstr)->len;
RSTRING 205 ext/dbm/dbm.c if (val.dsize == RSTRING(valstr)->len &&
RSTRING 206 ext/dbm/dbm.c memcmp(val.dptr, RSTRING(valstr)->ptr, val.dsize) == 0) {
RSTRING 280 ext/dbm/dbm.c key.dptr = RSTRING(keystr)->ptr;
RSTRING 281 ext/dbm/dbm.c key.dsize = RSTRING(keystr)->len;
RSTRING 357 ext/dbm/dbm.c key.dptr = RSTRING(keystr)->ptr;
RSTRING 358 ext/dbm/dbm.c key.dsize = RSTRING(keystr)->len;
RSTRING 461 ext/dbm/dbm.c key.dptr = RSTRING(keystr)->ptr;
RSTRING 462 ext/dbm/dbm.c key.dsize = RSTRING(keystr)->len;
RSTRING 465 ext/dbm/dbm.c val.dptr = RSTRING(valstr)->ptr;
RSTRING 466 ext/dbm/dbm.c val.dsize = RSTRING(valstr)->len;
RSTRING 632 ext/dbm/dbm.c key.dptr = RSTRING(keystr)->ptr;
RSTRING 633 ext/dbm/dbm.c key.dsize = RSTRING(keystr)->len;
RSTRING 651 ext/dbm/dbm.c val.dptr = RSTRING(valstr)->ptr;
RSTRING 652 ext/dbm/dbm.c val.dsize = RSTRING(valstr)->len;
RSTRING 658 ext/dbm/dbm.c if (val.dsize == RSTRING(valstr)->len &&
RSTRING 659 ext/dbm/dbm.c memcmp(val.dptr, RSTRING(valstr)->ptr, val.dsize) == 0)
RSTRING 98 ext/digest/digest.c algo->update_func(pctx, RSTRING(str)->ptr, RSTRING(str)->len);
RSTRING 98 ext/digest/digest.c algo->update_func(pctx, RSTRING(str)->ptr, RSTRING(str)->len);
RSTRING 129 ext/digest/digest.c algo->update_func(pctx, RSTRING(str)->ptr, RSTRING(str)->len);
RSTRING 129 ext/digest/digest.c algo->update_func(pctx, RSTRING(str)->ptr, RSTRING(str)->len);
RSTRING 175 ext/digest/digest.c algo->update_func(pctx, RSTRING(str)->ptr, RSTRING(str)->len);
RSTRING 175 ext/digest/digest.c algo->update_func(pctx, RSTRING(str)->ptr, RSTRING(str)->len);
RSTRING 280 ext/digest/digest.c if (RSTRING(str2)->len == algo->digest_len)
RSTRING 285 ext/digest/digest.c if (RSTRING(str1)->len == RSTRING(str2)->len
RSTRING 285 ext/digest/digest.c if (RSTRING(str1)->len == RSTRING(str2)->len
RSTRING 413 ext/dl/dl.c src = RSTRING(e)->ptr;
RSTRING 501 ext/dl/dl.c len = RSTRING(self)->len;
RSTRING 503 ext/dl/dl.c memcpy(ptr, RSTRING(self)->ptr, len);
RSTRING 556 ext/dl/dl.c return rb_dlptr_new(strdup(RSTRING(str)->ptr), RSTRING(str)->len, dlfree);
RSTRING 556 ext/dl/dl.c return rb_dlptr_new(strdup(RSTRING(str)->ptr), RSTRING(str)->len, dlfree);
RSTRING 586 ext/dl/dl.c switch( RSTRING(type)->ptr[0] ){
RSTRING 612 ext/dl/dl.c rb_raise(rb_eDLTypeError, "unsupported type `%c'", RSTRING(type)->ptr[0]);
RSTRING 631 ext/dl/dl.c fname, RSTRING(type)->ptr);
RSTRING 45 ext/dl/dl.h # define StringValuePtr(v) RSTRING((TYPE(v) == T_STRING) ? (v) : rb_str_to_str(v))->ptr
RSTRING 594 ext/dl/ptr.c data->size = dlsizeof(RSTRING(type)->ptr);
RSTRING 866 ext/dl/ptr.c src = RSTRING(val)->ptr;
RSTRING 867 ext/dl/ptr.c len = RSTRING(val)->len;
RSTRING 266 ext/dl/sym.c str_size = RSTRING(proto)->len + 100;
RSTRING 270 ext/dl/sym.c sym, sym->func, RSTRING(proto)->ptr);
RSTRING 462 ext/dl/sym.c ANY2S(args[i]) = DLSTR(RSTRING(argv[i])->ptr);
RSTRING 470 ext/dl/sym.c ANY2S(args[i]) = DLSTR(dlmalloc(RSTRING(argv[i])->len + 1));
RSTRING 471 ext/dl/sym.c memcpy((char*)(ANY2S(args[i])), RSTRING(argv[i])->ptr, RSTRING(argv[i])->len + 1);
RSTRING 471 ext/dl/sym.c memcpy((char*)(ANY2S(args[i])), RSTRING(argv[i])->ptr, RSTRING(argv[i])->len + 1);
RSTRING 123 ext/etc/etc.c pwd = getpwnam(RSTRING(nam)->ptr);
RSTRING 124 ext/etc/etc.c if (pwd == 0) rb_raise(rb_eArgError, "can't find user for %s", RSTRING(nam)->ptr);
RSTRING 225 ext/etc/etc.c grp = getgrnam(RSTRING(nam)->ptr);
RSTRING 226 ext/etc/etc.c if (grp == 0) rb_raise(rb_eArgError, "can't find group for %s", RSTRING(nam)->ptr);
RSTRING 107 ext/gdbm/gdbm.c dbm = gdbm_open(RSTRING(file)->ptr, MY_BLOCK_SIZE,
RSTRING 110 ext/gdbm/gdbm.c dbm = gdbm_open(RSTRING(file)->ptr, MY_BLOCK_SIZE,
RSTRING 113 ext/gdbm/gdbm.c dbm = gdbm_open(RSTRING(file)->ptr, MY_BLOCK_SIZE,
RSTRING 122 ext/gdbm/gdbm.c rb_sys_fail(RSTRING(file)->ptr);
RSTRING 167 ext/gdbm/gdbm.c RSTRING(str)->len = val.dsize;
RSTRING 168 ext/gdbm/gdbm.c RSTRING(str)->aux.capa = val.dsize;
RSTRING 169 ext/gdbm/gdbm.c RSTRING(str)->ptr = REALLOC_N(val.dptr,char,val.dsize+1);
RSTRING 170 ext/gdbm/gdbm.c RSTRING(str)->ptr[val.dsize] = '\0';
RSTRING 184 ext/gdbm/gdbm.c key.dptr = RSTRING(keystr)->ptr;
RSTRING 185 ext/gdbm/gdbm.c key.dsize = RSTRING(keystr)->len;
RSTRING 214 ext/gdbm/gdbm.c RSTRING(str)->len = key.dsize;
RSTRING 215 ext/gdbm/gdbm.c RSTRING(str)->aux.capa = key.dsize;
RSTRING 216 ext/gdbm/gdbm.c RSTRING(str)->ptr = REALLOC_N(key.dptr,char,key.dsize+1);
RSTRING 217 ext/gdbm/gdbm.c RSTRING(str)->ptr[RSTRING(str)->len] = '\0';
RSTRING 217 ext/gdbm/gdbm.c RSTRING(str)->ptr[RSTRING(str)->len] = '\0';
RSTRING 231 ext/gdbm/gdbm.c key.dptr = RSTRING(keystr)->ptr;
RSTRING 232 ext/gdbm/gdbm.c key.dsize = RSTRING(keystr)->len;
RSTRING 238 ext/gdbm/gdbm.c RSTRING(str)->len = key2.dsize;
RSTRING 239 ext/gdbm/gdbm.c RSTRING(str)->aux.capa = key2.dsize;
RSTRING 240 ext/gdbm/gdbm.c RSTRING(str)->ptr = REALLOC_N(key2.dptr,char,key2.dsize+1);
RSTRING 241 ext/gdbm/gdbm.c RSTRING(str)->ptr[RSTRING(str)->len] = '\0';
RSTRING 241 ext/gdbm/gdbm.c RSTRING(str)->ptr[RSTRING(str)->len] = '\0';
RSTRING 301 ext/gdbm/gdbm.c RSTRING(valstr)->len == RSTRING(valstr2)->len &&
RSTRING 301 ext/gdbm/gdbm.c RSTRING(valstr)->len == RSTRING(valstr2)->len &&
RSTRING 302 ext/gdbm/gdbm.c memcmp(RSTRING(valstr)->ptr, RSTRING(valstr2)->ptr,
RSTRING 302 ext/gdbm/gdbm.c memcmp(RSTRING(valstr)->ptr, RSTRING(valstr2)->ptr,
RSTRING 303 ext/gdbm/gdbm.c RSTRING(valstr)->len) == 0) {
RSTRING 374 ext/gdbm/gdbm.c key.dptr = RSTRING(keystr)->ptr;
RSTRING 375 ext/gdbm/gdbm.c key.dsize = RSTRING(keystr)->len;
RSTRING 565 ext/gdbm/gdbm.c key.dptr = RSTRING(keystr)->ptr;
RSTRING 566 ext/gdbm/gdbm.c key.dsize = RSTRING(keystr)->len;
RSTRING 569 ext/gdbm/gdbm.c val.dptr = RSTRING(valstr)->ptr;
RSTRING 570 ext/gdbm/gdbm.c val.dsize = RSTRING(valstr)->len;
RSTRING 741 ext/gdbm/gdbm.c key.dptr = RSTRING(keystr)->ptr;
RSTRING 742 ext/gdbm/gdbm.c key.dsize = RSTRING(keystr)->len;
RSTRING 768 ext/gdbm/gdbm.c RSTRING(valstr)->len == RSTRING(valstr2)->len &&
RSTRING 768 ext/gdbm/gdbm.c RSTRING(valstr)->len == RSTRING(valstr2)->len &&
RSTRING 769 ext/gdbm/gdbm.c memcmp(RSTRING(valstr)->ptr, RSTRING(valstr2)->ptr,
RSTRING 769 ext/gdbm/gdbm.c memcmp(RSTRING(valstr)->ptr, RSTRING(valstr2)->ptr,
RSTRING 770 ext/gdbm/gdbm.c RSTRING(valstr)->len) == 0) {
RSTRING 220 ext/iconv/iconv.c if (RSTRING(str)->ptr == ptr && RSTRING(str)->len == len)
RSTRING 220 ext/iconv/iconv.c if (RSTRING(str)->ptr == ptr && RSTRING(str)->len == len)
RSTRING 269 ext/iconv/iconv.c slen = RSTRING(str)->len;
RSTRING 270 ext/iconv/iconv.c inptr = RSTRING(str)->ptr;
RSTRING 451 ext/iconv/iconv.c if (RSTRING(s)->len)
RSTRING 35 ext/nkf/nkf.c output = RSTRING(dst)->ptr;
RSTRING 55 ext/nkf/nkf.c opt_ptr = RSTRING(opt)->ptr;
RSTRING 56 ext/nkf/nkf.c opt_end = opt_ptr + RSTRING(opt)->len;
RSTRING 68 ext/nkf/nkf.c input = RSTRING(src)->ptr;
RSTRING 69 ext/nkf/nkf.c i_len = RSTRING(src)->len;
RSTRING 74 ext/nkf/nkf.c output = RSTRING(dst)->ptr;
RSTRING 75 ext/nkf/nkf.c o_len = RSTRING(dst)->len;
RSTRING 83 ext/nkf/nkf.c RSTRING(dst)->ptr[output_ctr] = '\0';
RSTRING 84 ext/nkf/nkf.c RSTRING(dst)->len = output_ctr;
RSTRING 105 ext/nkf/nkf.c p = RSTRING(src)->ptr;
RSTRING 106 ext/nkf/nkf.c pend = p + RSTRING(src)->len;
RSTRING 133 ext/readline/readline.c result[i + 1] = ALLOC_N(char, RSTRING(temp)->len + 1);
RSTRING 134 ext/readline/readline.c strcpy(result[i + 1], RSTRING(temp)->ptr);
RSTRING 194 ext/readline/readline.c if (NIL_P(str) || !StringValuePtr(str) || !RSTRING(str)->len) {
RSTRING 197 ext/readline/readline.c rl_completion_append_character = RSTRING(str)->ptr[0];
RSTRING 217 ext/readline/readline.c RSTRING(str)->ptr[0] = rl_completion_append_character;
RSTRING 236 ext/readline/readline.c ALLOC_N(char, RSTRING(str)->len + 1);
RSTRING 239 ext/readline/readline.c REALLOC_N(basic_word_break_characters, char, RSTRING(str)->len + 1);
RSTRING 242 ext/readline/readline.c RSTRING(str)->ptr, RSTRING(str)->len);
RSTRING 242 ext/readline/readline.c RSTRING(str)->ptr, RSTRING(str)->len);
RSTRING 243 ext/readline/readline.c basic_word_break_characters[RSTRING(str)->len] = '\0';
RSTRING 276 ext/readline/readline.c ALLOC_N(char, RSTRING(str)->len + 1);
RSTRING 279 ext/readline/readline.c REALLOC_N(completer_word_break_characters, char, RSTRING(str)->len + 1);
RSTRING 282 ext/readline/readline.c RSTRING(str)->ptr, RSTRING(str)->len);
RSTRING 282 ext/readline/readline.c RSTRING(str)->ptr, RSTRING(str)->len);
RSTRING 283 ext/readline/readline.c completer_word_break_characters[RSTRING(str)->len] = '\0';
RSTRING 316 ext/readline/readline.c ALLOC_N(char, RSTRING(str)->len + 1);
RSTRING 319 ext/readline/readline.c REALLOC_N(basic_quote_characters, char, RSTRING(str)->len + 1);
RSTRING 322 ext/readline/readline.c RSTRING(str)->ptr, RSTRING(str)->len);
RSTRING 322 ext/readline/readline.c RSTRING(str)->ptr, RSTRING(str)->len);
RSTRING 323 ext/readline/readline.c basic_quote_characters[RSTRING(str)->len] = '\0';
RSTRING 356 ext/readline/readline.c ALLOC_N(char, RSTRING(str)->len + 1);
RSTRING 359 ext/readline/readline.c REALLOC_N(completer_quote_characters, char, RSTRING(str)->len + 1);
RSTRING 362 ext/readline/readline.c RSTRING(str)->ptr, RSTRING(str)->len);
RSTRING 362 ext/readline/readline.c RSTRING(str)->ptr, RSTRING(str)->len);
RSTRING 363 ext/readline/readline.c completer_quote_characters[RSTRING(str)->len] = '\0';
RSTRING 396 ext/readline/readline.c ALLOC_N(char, RSTRING(str)->len + 1);
RSTRING 399 ext/readline/readline.c REALLOC_N(filename_quote_characters, char, RSTRING(str)->len + 1);
RSTRING 402 ext/readline/readline.c RSTRING(str)->ptr, RSTRING(str)->len);
RSTRING 402 ext/readline/readline.c RSTRING(str)->ptr, RSTRING(str)->len);
RSTRING 403 ext/readline/readline.c filename_quote_characters[RSTRING(str)->len] = '\0';
RSTRING 94 ext/sdbm/init.c dbm = sdbm_open(RSTRING(file)->ptr, O_RDWR|O_CREAT, mode);
RSTRING 96 ext/sdbm/init.c dbm = sdbm_open(RSTRING(file)->ptr, O_RDWR, 0);
RSTRING 98 ext/sdbm/init.c dbm = sdbm_open(RSTRING(file)->ptr, O_RDONLY, 0);
RSTRING 102 ext/sdbm/init.c rb_sys_fail(RSTRING(file)->ptr);
RSTRING 141 ext/sdbm/init.c key.dptr = RSTRING(keystr)->ptr;
RSTRING 142 ext/sdbm/init.c key.dsize = RSTRING(keystr)->len;
RSTRING 187 ext/sdbm/init.c val.dptr = RSTRING(valstr)->ptr;
RSTRING 188 ext/sdbm/init.c val.dsize = RSTRING(valstr)->len;
RSTRING 194 ext/sdbm/init.c if (val.dsize == RSTRING(valstr)->len &&
RSTRING 195 ext/sdbm/init.c memcmp(val.dptr, RSTRING(valstr)->ptr, val.dsize) == 0)
RSTRING 268 ext/sdbm/init.c key.dptr = RSTRING(keystr)->ptr;
RSTRING 269 ext/sdbm/init.c key.dsize = RSTRING(keystr)->len;
RSTRING 347 ext/sdbm/init.c key.dptr = RSTRING(keystr)->ptr;
RSTRING 348 ext/sdbm/init.c key.dsize = RSTRING(keystr)->len;
RSTRING 458 ext/sdbm/init.c key.dptr = RSTRING(keystr)->ptr;
RSTRING 459 ext/sdbm/init.c key.dsize = RSTRING(keystr)->len;
RSTRING 464 ext/sdbm/init.c val.dptr = RSTRING(valstr)->ptr;
RSTRING 465 ext/sdbm/init.c val.dsize = RSTRING(valstr)->len;
RSTRING 631 ext/sdbm/init.c key.dptr = RSTRING(keystr)->ptr;
RSTRING 632 ext/sdbm/init.c key.dsize = RSTRING(keystr)->len;
RSTRING 650 ext/sdbm/init.c val.dptr = RSTRING(valstr)->ptr;
RSTRING 651 ext/sdbm/init.c val.dsize = RSTRING(valstr)->len;
RSTRING 657 ext/sdbm/init.c if (val.dsize == RSTRING(valstr)->len &&
RSTRING 658 ext/sdbm/init.c memcmp(val.dptr, RSTRING(valstr)->ptr, val.dsize) == 0)
RSTRING 308 ext/socket/socket.c v = RSTRING(val)->ptr;
RSTRING 309 ext/socket/socket.c vlen = RSTRING(val)->len;
RSTRING 396 ext/socket/socket.c n = sendto(fd, RSTRING(mesg)->ptr, RSTRING(mesg)->len, NUM2INT(flags),
RSTRING 396 ext/socket/socket.c n = sendto(fd, RSTRING(mesg)->ptr, RSTRING(mesg)->len, NUM2INT(flags),
RSTRING 397 ext/socket/socket.c (struct sockaddr*)RSTRING(to)->ptr, RSTRING(to)->len);
RSTRING 397 ext/socket/socket.c (struct sockaddr*)RSTRING(to)->ptr, RSTRING(to)->len);
RSTRING 400 ext/socket/socket.c n = send(fd, RSTRING(mesg)->ptr, RSTRING(mesg)->len, NUM2INT(flags));
RSTRING 400 ext/socket/socket.c n = send(fd, RSTRING(mesg)->ptr, RSTRING(mesg)->len, NUM2INT(flags));
RSTRING 457 ext/socket/socket.c slen = recvfrom(fd, RSTRING(str)->ptr, slen, flags, (struct sockaddr*)buf, &alen);
RSTRING 468 ext/socket/socket.c if (slen < RSTRING(str)->len) {
RSTRING 469 ext/socket/socket.c RSTRING(str)->len = slen;
RSTRING 470 ext/socket/socket.c RSTRING(str)->ptr[slen] = '\0';
RSTRING 595 ext/socket/socket.c name = RSTRING(host)->ptr;
RSTRING 619 ext/socket/socket.c portp = RSTRING(port)->ptr;
RSTRING 845 ext/socket/socket.c host = RSTRING(h)->ptr;
RSTRING 856 ext/socket/socket.c if (RSTRING(serv)->len >= sizeof(pbuf))
RSTRING 857 ext/socket/socket.c rb_raise(rb_eArgError, "servicename too long (%d)", RSTRING(serv)->len);
RSTRING 858 ext/socket/socket.c strcpy(pbuf, RSTRING(serv)->ptr);
RSTRING 1258 ext/socket/socket.c strncpy(sockaddr.sun_path, RSTRING(path)->ptr, sizeof(sockaddr.sun_path)-1);
RSTRING 1285 ext/socket/socket.c fptr->path = strdup(RSTRING(path)->ptr);
RSTRING 1448 ext/socket/socket.c n = sendto(fileno(f), RSTRING(mesg)->ptr, RSTRING(mesg)->len, NUM2INT(flags),
RSTRING 1448 ext/socket/socket.c n = sendto(fileno(f), RSTRING(mesg)->ptr, RSTRING(mesg)->len, NUM2INT(flags),
RSTRING 1747 ext/socket/socket.c ptr = RSTRING(domain)->ptr;
RSTRING 1796 ext/socket/socket.c ptr = RSTRING(type)->ptr;
RSTRING 1896 ext/socket/socket.c if (ruby_connect(fd, (struct sockaddr*)RSTRING(addr)->ptr, RSTRING(addr)->len, 0) < 0) {
RSTRING 1896 ext/socket/socket.c if (ruby_connect(fd, (struct sockaddr*)RSTRING(addr)->ptr, RSTRING(addr)->len, 0) < 0) {
RSTRING 1913 ext/socket/socket.c if (bind(fileno(fptr->f), (struct sockaddr*)RSTRING(addr)->ptr, RSTRING(addr)->len) < 0)
RSTRING 1913 ext/socket/socket.c if (bind(fileno(fptr->f), (struct sockaddr*)RSTRING(addr)->ptr, RSTRING(addr)->len) < 0)
RSTRING 2089 ext/socket/socket.c else if (RSTRING(addr)->len == 16) {
RSTRING 2093 ext/socket/socket.c h = gethostbyaddr(RSTRING(addr)->ptr, RSTRING(addr)->len, t);
RSTRING 2093 ext/socket/socket.c h = gethostbyaddr(RSTRING(addr)->ptr, RSTRING(addr)->len, t);
RSTRING 2113 ext/socket/socket.c sp = getservbyname(RSTRING(service)->ptr, proto);
RSTRING 2118 ext/socket/socket.c char *s = RSTRING(service)->ptr;
RSTRING 2223 ext/socket/socket.c if (sizeof(ss) < RSTRING(sa)->len) {
RSTRING 2226 ext/socket/socket.c memcpy(&ss, RSTRING(sa)->ptr, RSTRING(sa)->len);
RSTRING 2226 ext/socket/socket.c memcpy(&ss, RSTRING(sa)->ptr, RSTRING(sa)->len);
RSTRING 2227 ext/socket/socket.c if (RSTRING(sa)->len != SA_LEN((struct sockaddr*)&ss)) {
RSTRING 2358 ext/socket/socket.c if (RSTRING(addr)->len != sizeof(struct sockaddr_in)) {
RSTRING 2360 ext/socket/socket.c RSTRING(addr)->len, sizeof(struct sockaddr_in));
RSTRING 2392 ext/socket/socket.c if (RSTRING(addr)->len != sizeof(struct sockaddr_un)) {
RSTRING 2394 ext/socket/socket.c RSTRING(addr)->len, sizeof(struct sockaddr_un));
RSTRING 218 ext/stringio/stringio.c if (!(m = RSTRING(mode)->ptr)) m = "";
RSTRING 403 ext/stringio/stringio.c if (ptr->pos < RSTRING(ptr->string)->len) return Qfalse;
RSTRING 510 ext/stringio/stringio.c offset += RSTRING(ptr->string)->len;
RSTRING 539 ext/stringio/stringio.c while (ptr->pos < RSTRING(ptr->string)->len) {
RSTRING 540 ext/stringio/stringio.c char c = RSTRING(ptr->string)->ptr[ptr->pos++];
RSTRING 552 ext/stringio/stringio.c if (ptr->pos >= RSTRING(ptr->string)->len) {
RSTRING 555 ext/stringio/stringio.c c = RSTRING(ptr->string)->ptr[ptr->pos++];
RSTRING 568 ext/stringio/stringio.c if ((len = RSTRING(ptr->string)->len) < pos ||
RSTRING 569 ext/stringio/stringio.c (unsigned char)RSTRING(ptr->string)->ptr[pos - 1] !=
RSTRING 574 ext/stringio/stringio.c MEMZERO(RSTRING(ptr->string)->ptr + len, char, pos - len - 1);
RSTRING 579 ext/stringio/stringio.c RSTRING(ptr->string)->ptr[pos - 1] = cc;
RSTRING 653 ext/stringio/stringio.c if (ptr->pos >= (n = RSTRING(ptr->string)->len)) return Qnil;
RSTRING 654 ext/stringio/stringio.c s = RSTRING(ptr->string)->ptr;
RSTRING 655 ext/stringio/stringio.c e = s + RSTRING(ptr->string)->len;
RSTRING 660 ext/stringio/stringio.c else if ((n = RSTRING(str)->len) == 0) {
RSTRING 673 ext/stringio/stringio.c str = rb_str_substr(ptr->string, s - RSTRING(ptr->string)->ptr, e - s);
RSTRING 676 ext/stringio/stringio.c if (p = memchr(s, RSTRING(str)->ptr[0], e - s)) {
RSTRING 685 ext/stringio/stringio.c if (MEMCMP(p, RSTRING(str)->ptr, char, n) == 0) {
RSTRING 693 ext/stringio/stringio.c p = RSTRING(str)->ptr;
RSTRING 702 ext/stringio/stringio.c ptr->pos = e - RSTRING(ptr->string)->ptr;
RSTRING 766 ext/stringio/stringio.c len = RSTRING(str)->len;
RSTRING 770 ext/stringio/stringio.c ptr->pos = RSTRING(ptr->string)->len;
RSTRING 772 ext/stringio/stringio.c if (ptr->pos == RSTRING(ptr->string)->len) {
RSTRING 773 ext/stringio/stringio.c rb_str_cat(ptr->string, RSTRING(str)->ptr, len);
RSTRING 776 ext/stringio/stringio.c if (ptr->pos + len > RSTRING(ptr->string)->len) {
RSTRING 803 ext/stringio/stringio.c ptr->pos = RSTRING(ptr->string)->len;
RSTRING 805 ext/stringio/stringio.c if (ptr->pos >= RSTRING(ptr->string)->len) {
RSTRING 811 ext/stringio/stringio.c RSTRING(ptr->string)->ptr[ptr->pos++] = c;
RSTRING 827 ext/stringio/stringio.c if (ptr->pos >= RSTRING(ptr->string)->len) {
RSTRING 838 ext/stringio/stringio.c len = RSTRING(ptr->string)->len - ptr->pos;
RSTRING 879 ext/stringio/stringio.c return ULONG2NUM(RSTRING(string)->len);
RSTRING 55 ext/strscan/strscan.c #define S_PTR(s) (RSTRING((s)->str)->ptr)
RSTRING 56 ext/strscan/strscan.c #define S_LEN(s) (RSTRING((s)->str)->len)
RSTRING 61 ext/strscan/strscan.c #define EOS_P(s) ((s)->curr >= RSTRING(p->str)->len)
RSTRING 34 ext/syslog/syslog.c syslog(pri, "%s", RSTRING(str)->ptr);
RSTRING 73 ext/syslog/syslog.c openlog(RSTRING(ident)->ptr, NUM2INT(opt), NUM2INT(fac));
RSTRING 567 ext/tcltklib/tcltklib.c encoding = Tcl_GetEncoding(interp, RSTRING(encodename)->ptr);
RSTRING 568 ext/tcltklib/tcltklib.c if (!RSTRING(str)->len) return str;
RSTRING 569 ext/tcltklib/tcltklib.c buf = ALLOCA_N(char,strlen(RSTRING(str)->ptr)+1);
RSTRING 570 ext/tcltklib/tcltklib.c strcpy(buf, RSTRING(str)->ptr);
RSTRING 601 ext/tcltklib/tcltklib.c encoding = Tcl_GetEncoding(interp,RSTRING(encodename)->ptr);
RSTRING 602 ext/tcltklib/tcltklib.c if (!RSTRING(str)->len) return str;
RSTRING 603 ext/tcltklib/tcltklib.c buf = ALLOCA_N(char,strlen(RSTRING(str)->ptr)+1);
RSTRING 604 ext/tcltklib/tcltklib.c strcpy(buf,RSTRING(str)->ptr);
RSTRING 656 ext/tcltklib/tcltklib.c ov[i] = Tcl_NewStringObj(s, RSTRING(v)->len);
RSTRING 895 ext/tcltklib/tcltklib.c Tcl_FindExecutable(RSTRING(rb_argv0)->ptr);
RSTRING 95 file.c (*func)(RSTRING(path)->ptr, arg);
RSTRING 369 file.c if (RSTRING(file)->len == 0) return -1;
RSTRING 371 file.c return stat(RSTRING(file)->ptr, st);
RSTRING 381 file.c if (stat(RSTRING(fname)->ptr, &st) == -1) {
RSTRING 382 file.c rb_sys_fail(RSTRING(fname)->ptr);
RSTRING 409 file.c if (lstat(RSTRING(fname)->ptr, &st) == -1) {
RSTRING 410 file.c rb_sys_fail(RSTRING(fname)->ptr);
RSTRING 574 file.c if (lstat(RSTRING(fname)->ptr, &st) < 0) return Qfalse;
RSTRING 670 file.c if (eaccess(RSTRING(fname)->ptr, R_OK) < 0) return Qfalse;
RSTRING 679 file.c if (access(RSTRING(fname)->ptr, R_OK) < 0) return Qfalse;
RSTRING 688 file.c if (eaccess(RSTRING(fname)->ptr, W_OK) < 0) return Qfalse;
RSTRING 697 file.c if (access(RSTRING(fname)->ptr, W_OK) < 0) return Qfalse;
RSTRING 706 file.c if (eaccess(RSTRING(fname)->ptr, X_OK) < 0) return Qfalse;
RSTRING 715 file.c if (access(RSTRING(fname)->ptr, X_OK) < 0) return Qfalse;
RSTRING 800 file.c if (stat(RSTRING(fname)->ptr, &st) < 0) return Qfalse;
RSTRING 846 file.c rb_sys_fail(RSTRING(fname)->ptr);
RSTRING 899 file.c if (lstat(RSTRING(fname)->ptr, &st) == -1) {
RSTRING 900 file.c rb_sys_fail(RSTRING(fname)->ptr);
RSTRING 913 file.c rb_sys_fail(RSTRING(fname)->ptr);
RSTRING 938 file.c rb_sys_fail(RSTRING(fname)->ptr);
RSTRING 963 file.c rb_sys_fail(RSTRING(fname)->ptr);
RSTRING 1266 file.c if (link(RSTRING(from)->ptr, RSTRING(to)->ptr) < 0)
RSTRING 1266 file.c if (link(RSTRING(from)->ptr, RSTRING(to)->ptr) < 0)
RSTRING 1267 file.c rb_sys_fail(RSTRING(from)->ptr);
RSTRING 1279 file.c if (symlink(RSTRING(from)->ptr, RSTRING(to)->ptr) < 0)
RSTRING 1279 file.c if (symlink(RSTRING(from)->ptr, RSTRING(to)->ptr) < 0)
RSTRING 1280 file.c rb_sys_fail(RSTRING(from)->ptr);
RSTRING 1300 file.c if ((rv = readlink(RSTRING(path)->ptr, buf, size)) == size) {
RSTRING 1306 file.c rb_sys_fail(RSTRING(path)->ptr);
RSTRING 1344 file.c if (rename(RSTRING(from)->ptr, RSTRING(to)->ptr) < 0) {
RSTRING 1344 file.c if (rename(RSTRING(from)->ptr, RSTRING(to)->ptr) < 0) {
RSTRING 1349 file.c rb_sys_fail(RSTRING(from)->ptr);
RSTRING 1409 file.c buf = RSTRING(result)->ptr;\
RSTRING 1428 file.c p = buf = RSTRING(result)->ptr;
RSTRING 1487 file.c BUFCHECK (RSTRING(dname)->len > buflen);
RSTRING 1488 file.c memcpy(buf, RSTRING(dname)->ptr, RSTRING(dname)->len);
RSTRING 1488 file.c memcpy(buf, RSTRING(dname)->ptr, RSTRING(dname)->len);
RSTRING 1489 file.c p += RSTRING(dname)->len;
RSTRING 1581 file.c RSTRING(result)->len = p - buf;
RSTRING 1706 file.c if (truncate(RSTRING(path)->ptr, NUM2OFFT(len)) < 0)
RSTRING 1707 file.c rb_sys_fail(RSTRING(path)->ptr);
RSTRING 1714 file.c if ((tmpfd = open(RSTRING(path)->ptr, O_RDWR)) < 0) {
RSTRING 1715 file.c rb_sys_fail(RSTRING(path)->ptr);
RSTRING 1718 file.c if ((tmpfd = open(RSTRING(path)->ptr, 0)) < 0) {
RSTRING 1719 file.c rb_sys_fail(RSTRING(path)->ptr);
RSTRING 1724 file.c rb_sys_fail(RSTRING(path)->ptr);
RSTRING 1953 file.c rb_sys_fail(RSTRING(argv[1])->ptr);
RSTRING 2012 file.c if (stat(RSTRING(fname)->ptr, &st) == -1) {
RSTRING 2013 file.c rb_sys_fail(RSTRING(fname)->ptr);
RSTRING 2352 file.c char *p0 = RSTRING(path)->ptr;
RSTRING 2447 file.c char *f = RSTRING(*filep)->ptr;
RSTRING 2464 file.c if (file_load_ok(RSTRING(fname)->ptr)) {
RSTRING 2479 file.c if (RSTRING(str)->len == 0) return 0;
RSTRING 2480 file.c path = RSTRING(str)->ptr;
RSTRING 2484 file.c found = dln_find_file(RSTRING(fname)->ptr, path);
RSTRING 2499 file.c char *f = RSTRING(path)->ptr;
RSTRING 2538 file.c if (RSTRING(str)->len > 0) {
RSTRING 2543 file.c if (RSTRING(tmp)->len == 0) {
RSTRING 2547 file.c lpath = RSTRING(tmp)->ptr;
RSTRING 697 hash.c if (RSTRING(str)->len > 1) {
RSTRING 960 hash.c nam = RSTRING(name)->ptr;
RSTRING 961 hash.c if (strlen(nam) != RSTRING(name)->len) {
RSTRING 997 hash.c nam = RSTRING(name)->ptr;
RSTRING 998 hash.c if (strlen(nam) != RSTRING(name)->len) {
RSTRING 1024 hash.c nam = RSTRING(key)->ptr;
RSTRING 1025 hash.c if (strlen(nam) != RSTRING(key)->len) {
RSTRING 1196 hash.c name = RSTRING(nm)->ptr;
RSTRING 1197 hash.c value = RSTRING(val)->ptr;
RSTRING 1198 hash.c if (strlen(name) != RSTRING(nm)->len)
RSTRING 1200 hash.c if (strlen(value) != RSTRING(val)->len)
RSTRING 1473 hash.c if (strlen(s) != RSTRING(key)->len)
RSTRING 1490 hash.c if (strncmp(s, RSTRING(value)->ptr, strlen(s)) == 0) {
RSTRING 1513 hash.c if (strncmp(s, RSTRING(value)->ptr, strlen(s)) == 0) {
RSTRING 1538 hash.c v = getenv(RSTRING(argv[i])->ptr);
RSTRING 297 io.c if (RSTRING(str)->len == 0) return INT2FIX(0);
RSTRING 308 io.c ptr = RSTRING(str)->ptr;
RSTRING 309 io.c n = RSTRING(str)->len;
RSTRING 341 io.c n = ptr - RSTRING(str)->ptr;
RSTRING 718 io.c n = rb_io_fread(RSTRING(str)->ptr+bytes, siz-bytes, fptr->f);
RSTRING 763 io.c n = rb_io_fread(RSTRING(str)->ptr, len, fptr->f);
RSTRING 768 io.c RSTRING(str)->len = n;
RSTRING 769 io.c RSTRING(str)->ptr[n] = '\0';
RSTRING 800 io.c last = RSTRING(str)->len;
RSTRING 805 io.c RSTRING(str)->len = len;
RSTRING 808 io.c RSTRING(str)->ptr[last++] = c;
RSTRING 810 io.c fread(RSTRING(str)->ptr + last, 1, pending, f); /* must not fail */
RSTRING 820 io.c RSTRING(str)->ptr[RSTRING(str)->len++] = c;
RSTRING 820 io.c RSTRING(str)->ptr[RSTRING(str)->len++] = c;
RSTRING 945 io.c rslen = RSTRING(rs)->len;
RSTRING 953 io.c return rb_io_getline_fast(fptr, RSTRING(rs)->ptr[0]);
RSTRING 956 io.c rsptr = RSTRING(rs)->ptr;
RSTRING 961 io.c (c != newline || RSTRING(str)->len < rslen ||
RSTRING 962 io.c memcmp(RSTRING(str)->ptr+RSTRING(str)->len-rslen,rsptr,rslen)));
RSTRING 962 io.c memcmp(RSTRING(str)->ptr+RSTRING(str)->len-rslen,rsptr,rslen)));
RSTRING 1445 io.c n = write(fileno(f), RSTRING(str)->ptr, RSTRING(str)->len);
RSTRING 1445 io.c n = write(fileno(f), RSTRING(str)->ptr, RSTRING(str)->len);
RSTRING 1472 io.c n = read(fileno(fptr->f), RSTRING(str)->ptr, RSTRING(str)->len);
RSTRING 1472 io.c n = read(fileno(fptr->f), RSTRING(str)->ptr, RSTRING(str)->len);
RSTRING 1480 io.c RSTRING(str)->len = n;
RSTRING 1481 io.c RSTRING(str)->ptr[n] = '\0';
RSTRING 2091 io.c path = RSTRING(fname)->ptr;
RSTRING 2101 io.c rb_file_open_internal(io, RSTRING(fname)->ptr, mode);
RSTRING 2140 io.c fd = rb_sysopen(RSTRING(fname)->ptr, flags, fmode);
RSTRING 2301 io.c fptr->path = strdup(RSTRING(fname)->ptr);
RSTRING 2304 io.c fptr->f = rb_fopen(RSTRING(fname)->ptr, mode);
RSTRING 2313 io.c if (freopen(RSTRING(fname)->ptr, mode, fptr->f) == 0) {
RSTRING 2318 io.c rb_warn("setvbuf() can't be honered for %s", RSTRING(fname)->ptr);
RSTRING 2322 io.c if (freopen(RSTRING(fname)->ptr, "w", fptr->f2) == 0) {
RSTRING 2519 io.c if (RSTRING(line)->len == 0 ||
RSTRING 2520 io.c RSTRING(line)->ptr[RSTRING(line)->len-1] != '\n') {
RSTRING 2520 io.c RSTRING(line)->ptr[RSTRING(line)->len-1] != '\n') {
RSTRING 2736 io.c flags = rb_io_mode_modenum(RSTRING(mode)->ptr);
RSTRING 2854 io.c (void)unlink(RSTRING(str)->ptr);
RSTRING 2855 io.c (void)rename(fn, RSTRING(str)->ptr);
RSTRING 2856 io.c fr = rb_fopen(RSTRING(str)->ptr, "r");
RSTRING 2858 io.c if (rename(fn, RSTRING(str)->ptr) < 0) {
RSTRING 2860 io.c fn, RSTRING(str)->ptr, strerror(errno));
RSTRING 3037 io.c port = pipe_open(RSTRING(str)->ptr, "r");
RSTRING 3260 io.c if (len <= RSTRING(arg)->len) {
RSTRING 3261 io.c len = RSTRING(arg)->len;
RSTRING 3263 io.c if (RSTRING(arg)->len < len) {
RSTRING 3266 io.c RSTRING(arg)->ptr[len] = 17; /* a little sanity check here */
RSTRING 3267 io.c narg = (long)RSTRING(arg)->ptr;
RSTRING 3271 io.c if (TYPE(arg) == T_STRING && RSTRING(arg)->ptr[len] != 17) {
RSTRING 3349 io.c arg[i] = (unsigned long)RSTRING(v)->ptr;
RSTRING 3475 io.c io = rb_io_open(RSTRING(fname)->ptr, "r");
RSTRING 3503 io.c arg.io = rb_io_open(RSTRING(fname)->ptr, "r");
RSTRING 3528 io.c arg.io = rb_io_open(RSTRING(fname)->ptr, "r");
RSTRING 3634 io.c if (NIL_P(tmp) || RSTRING(tmp)->len == 0) return str;
RSTRING 3640 io.c if (RSTRING(tmp)->len < len) {
RSTRING 3641 io.c len -= RSTRING(tmp)->len;
RSTRING 3800 io.c ruby_inplace_mode = strdup(RSTRING(val)->ptr);
RSTRING 384 marshal.c w_bytes(RSTRING(v)->ptr, RSTRING(v)->len, arg);
RSTRING 384 marshal.c w_bytes(RSTRING(v)->ptr, RSTRING(v)->len, arg);
RSTRING 400 marshal.c if (RSTRING(path)->ptr[0] == '#') {
RSTRING 402 marshal.c RSTRING(path)->ptr);
RSTRING 404 marshal.c w_bytes(RSTRING(path)->ptr, RSTRING(path)->len, arg);
RSTRING 404 marshal.c w_bytes(RSTRING(path)->ptr, RSTRING(path)->len, arg);
RSTRING 412 marshal.c if (RSTRING(path)->ptr[0] == '#') {
RSTRING 414 marshal.c RSTRING(path)->ptr);
RSTRING 416 marshal.c w_bytes(RSTRING(path)->ptr, RSTRING(path)->len, arg);
RSTRING 416 marshal.c w_bytes(RSTRING(path)->ptr, RSTRING(path)->len, arg);
RSTRING 455 marshal.c w_bytes(RSTRING(obj)->ptr, RSTRING(obj)->len, arg);
RSTRING 455 marshal.c w_bytes(RSTRING(obj)->ptr, RSTRING(obj)->len, arg);
RSTRING 727 marshal.c if (rb_io_fread(RSTRING(str)->ptr, len, arg->fp) != len) {
RSTRING 761 marshal.c id = rb_intern(RSTRING(r_bytes(arg))->ptr);
RSTRING 916 marshal.c if (strcmp(RSTRING(str)->ptr, "nan") == 0) {
RSTRING 919 marshal.c else if (strcmp(RSTRING(str)->ptr, "inf") == 0) {
RSTRING 922 marshal.c else if (strcmp(RSTRING(str)->ptr, "-inf") == 0) {
RSTRING 926 marshal.c d = strtod(RSTRING(str)->ptr, 0);
RSTRING 979 marshal.c v = r_regist(rb_reg_new(RSTRING(str)->ptr, RSTRING(str)->len, options), arg);
RSTRING 979 marshal.c v = r_regist(rb_reg_new(RSTRING(str)->ptr, RSTRING(str)->len, options), arg);
RSTRING 1104 marshal.c v = path2module(RSTRING(str)->ptr);
RSTRING 1113 marshal.c v = path2class(RSTRING(str)->ptr);
RSTRING 1122 marshal.c v = path2module(RSTRING(str)->ptr);
RSTRING 1190 marshal.c arg.ptr = RSTRING(port)->ptr;
RSTRING 1191 marshal.c arg.end = arg.ptr + RSTRING(port)->len;
RSTRING 58 numeric.c RSTRING(rb_inspect(x[1]))->ptr:
RSTRING 180 object.c sprintf(RSTRING(str)->ptr, "#<%s:0x%lx>", cname, obj);
RSTRING 181 object.c RSTRING(str)->len = strlen(RSTRING(str)->ptr);
RSTRING 181 object.c RSTRING(str)->len = strlen(RSTRING(str)->ptr);
RSTRING 206 object.c if (RSTRING(str)->ptr[0] == '-') { /* first element */
RSTRING 207 object.c RSTRING(str)->ptr[0] = '#';
RSTRING 229 object.c RSTRING(str)->ptr[0] = '#';
RSTRING 248 object.c sprintf(RSTRING(str)->ptr, "#<%s:0x%lx ...>", c, obj);
RSTRING 249 object.c RSTRING(str)->len = strlen(RSTRING(str)->ptr);
RSTRING 249 object.c RSTRING(str)->len = strlen(RSTRING(str)->ptr);
RSTRING 253 object.c sprintf(RSTRING(str)->ptr, "-<%s:0x%lx", c, obj);
RSTRING 254 object.c RSTRING(str)->len = strlen(RSTRING(str)->ptr);
RSTRING 254 object.c RSTRING(str)->len = strlen(RSTRING(str)->ptr);
RSTRING 415 object.c RSTRING(rb_inspect(y))->ptr,
RSTRING 517 object.c RSTRING(str)->ptr[0] = ':';
RSTRING 518 object.c strcpy(RSTRING(str)->ptr+1, name);
RSTRING 762 object.c return rb_intern(RSTRING(name)->ptr);
RSTRING 773 object.c rb_raise(rb_eTypeError, "%s is not a symbol", RSTRING(rb_inspect(name))->ptr);
RSTRING 1086 object.c s = RSTRING(str)->ptr;
RSTRING 1087 object.c len = RSTRING(str)->len;
RSTRING 1169 object.c if (len) *len = RSTRING(str)->len;
RSTRING 1170 object.c else if (RTEST(ruby_verbose) && RSTRING(str)->len != strlen(RSTRING(str)->ptr)) {
RSTRING 1170 object.c else if (RTEST(ruby_verbose) && RSTRING(str)->len != strlen(RSTRING(str)->ptr)) {
RSTRING 1173 object.c return RSTRING(str)->ptr;
RSTRING 348 pack.c p = RSTRING(fmt)->ptr;
RSTRING 349 pack.c pend = p + RSTRING(fmt)->len;
RSTRING 406 pack.c ptr = RSTRING(from)->ptr;
RSTRING 407 pack.c plen = RSTRING(from)->len;
RSTRING 757 pack.c plen = RSTRING(res)->len;
RSTRING 760 pack.c RSTRING(res)->len = plen - len;
RSTRING 761 pack.c RSTRING(res)->ptr[plen - len] = '\0';
RSTRING 765 pack.c len -= RSTRING(res)->len;
RSTRING 795 pack.c ptr = RSTRING(from)->ptr;
RSTRING 796 pack.c plen = RSTRING(from)->len;
RSTRING 826 pack.c if (RSTRING(from)->len < len) {
RSTRING 828 pack.c RSTRING(from)->len, len);
RSTRING 842 pack.c t = RSTRING(from)->ptr;
RSTRING 880 pack.c if (RSTRING(buf)->len) {
RSTRING 881 pack.c bufs = RSTRING(buf)->ptr;
RSTRING 882 pack.c bufe = bufs + RSTRING(buf)->len - 1;
RSTRING 889 pack.c rb_str_buf_cat(res, RSTRING(buf)->ptr, RSTRING(buf)->len);
RSTRING 889 pack.c rb_str_buf_cat(res, RSTRING(buf)->ptr, RSTRING(buf)->len);
RSTRING 966 pack.c unsigned char *s = (unsigned char*)RSTRING(from)->ptr;
RSTRING 967 pack.c unsigned char *send = s + RSTRING(from)->len;
RSTRING 1083 pack.c s = RSTRING(str)->ptr;
RSTRING 1084 pack.c send = s + RSTRING(str)->len;
RSTRING 1086 pack.c p = RSTRING(fmt)->ptr;
RSTRING 1087 pack.c pend = p + RSTRING(fmt)->len;
RSTRING 1184 pack.c t = RSTRING(bitstr)->ptr;
RSTRING 1204 pack.c t = RSTRING(bitstr)->ptr;
RSTRING 1224 pack.c t = RSTRING(bitstr)->ptr;
RSTRING 1246 pack.c t = RSTRING(bitstr)->ptr;
RSTRING 1499 pack.c char *ptr = RSTRING(buf)->ptr;
RSTRING 1509 pack.c if (total > RSTRING(buf)->len) {
RSTRING 1510 pack.c len -= total - RSTRING(buf)->len;
RSTRING 1511 pack.c total = RSTRING(buf)->len;
RSTRING 1546 pack.c RSTRING(buf)->ptr[total] = '\0';
RSTRING 1547 pack.c RSTRING(buf)->len = total;
RSTRING 1555 pack.c char *ptr = RSTRING(buf)->ptr;
RSTRING 1590 pack.c RSTRING(buf)->len = ptr - RSTRING(buf)->ptr;
RSTRING 1590 pack.c RSTRING(buf)->len = ptr - RSTRING(buf)->ptr;
RSTRING 1598 pack.c char *ptr = RSTRING(buf)->ptr;
RSTRING 1617 pack.c RSTRING(buf)->len = ptr - RSTRING(buf)->ptr;
RSTRING 1617 pack.c RSTRING(buf)->len = ptr - RSTRING(buf)->ptr;
RSTRING 1623 pack.c s = RSTRING(str)->ptr + len;
RSTRING 1627 pack.c if (len > s - RSTRING(str)->ptr)
RSTRING 1655 pack.c if (TYPE(*p) == T_STRING && RSTRING(*p)->ptr == t) {
RSTRING 1656 pack.c if (len > RSTRING(*p)->len) {
RSTRING 1657 pack.c len = RSTRING(*p)->len;
RSTRING 1697 pack.c if (TYPE(*p) == T_STRING && RSTRING(*p)->ptr == t) {
RSTRING 1810 parse.y node->nd_lit = rb_reg_new(RSTRING(src)->ptr,
RSTRING 1811 parse.y RSTRING(src)->len,
RSTRING 2406 parse.y beg = RSTRING(s)->ptr;
RSTRING 2408 parse.y if (RSTRING(s)->len == lex_gets_ptr) return Qnil;
RSTRING 2411 parse.y pend = RSTRING(s)->ptr + RSTRING(s)->len;
RSTRING 2411 parse.y pend = RSTRING(s)->ptr + RSTRING(s)->len;
RSTRING 2416 parse.y lex_gets_ptr = end - RSTRING(s)->ptr;
RSTRING 2483 parse.y lex_pbeg = lex_p = RSTRING(v)->ptr;
RSTRING 2484 parse.y lex_pend = lex_p + RSTRING(v)->len;
RSTRING 2995 parse.y lex_pbeg = RSTRING(line)->ptr;
RSTRING 2996 parse.y lex_pend = lex_pbeg + RSTRING(line)->len;
RSTRING 3030 parse.y eos = RSTRING(here->nd_lit)->ptr;
RSTRING 3031 parse.y len = RSTRING(here->nd_lit)->len - 1;
RSTRING 3050 parse.y rb_str_cat(str, RSTRING(line)->ptr, RSTRING(line)->len);
RSTRING 3050 parse.y rb_str_cat(str, RSTRING(line)->ptr, RSTRING(line)->len);
RSTRING 3052 parse.y str = rb_str_new(RSTRING(line)->ptr, RSTRING(line)->len);
RSTRING 3052 parse.y str = rb_str_new(RSTRING(line)->ptr, RSTRING(line)->len);
RSTRING 507 process.c prog = RSTRING(progv)->ptr;
RSTRING 512 process.c args[i] = RSTRING(argv[i])->ptr;
RSTRING 637 process.c args[i] = RSTRING(argv[i])->ptr;
RSTRING 642 process.c return proc_spawn_v(args, RSTRING(prog)->ptr);
RSTRING 656 process.c str = s = RSTRING(sv)->ptr;
RSTRING 703 process.c rb_proc_exec(RSTRING(cmd)->ptr);
RSTRING 708 process.c rb_sys_fail(RSTRING(argv[0])->ptr);
RSTRING 829 process.c status = do_spawn(RSTRING(cmd)->ptr);
RSTRING 852 process.c status = system(RSTRING(cmd)->ptr);
RSTRING 903 process.c status = system(RSTRING(cmd)->ptr);
RSTRING 938 process.c rb_proc_exec(RSTRING(argv[0])->ptr);
RSTRING 433 re.c rb_compile_error("%s: %s", err, RSTRING(desc)->ptr);
RSTRING 435 re.c rb_raise(rb_eRegexpError, "%s: %s", err, RSTRING(desc)->ptr);
RSTRING 689 re.c range = RSTRING(str)->len - pos;
RSTRING 692 re.c RSTRING(str)->ptr, RSTRING(str)->len,
RSTRING 692 re.c RSTRING(str)->ptr, RSTRING(str)->len,
RSTRING 706 re.c if (pos > RSTRING(str)->len || pos < 0) {
RSTRING 723 re.c range = RSTRING(str)->len - pos;
RSTRING 725 re.c result = re_search(RREGEXP(re)->ptr,RSTRING(str)->ptr,RSTRING(str)->len,
RSTRING 725 re.c result = re_search(RREGEXP(re)->ptr,RSTRING(str)->ptr,RSTRING(str)->len,
RSTRING 798 re.c str = rb_str_new(RSTRING(RMATCH(match)->str)->ptr + start, len);
RSTRING 818 re.c str = rb_str_new(RSTRING(RMATCH(match)->str)->ptr, RMATCH(match)->BEG(0));
RSTRING 831 re.c str = rb_str_new(RSTRING(RMATCH(match)->str)->ptr+RMATCH(match)->END(0),
RSTRING 832 re.c RSTRING(RMATCH(match)->str)->len-RMATCH(match)->END(0));
RSTRING 882 re.c char *ptr = RSTRING(RMATCH(match)->str)->ptr;
RSTRING 922 re.c char *ptr = RSTRING(RMATCH(match)->str)->ptr;
RSTRING 1054 re.c if (reg_cache && RREGEXP(reg_cache)->len == RSTRING(str)->len
RSTRING 1057 re.c && memcmp(RREGEXP(reg_cache)->str, RSTRING(str)->ptr, RSTRING(str)->len) == 0)
RSTRING 1057 re.c && memcmp(RREGEXP(reg_cache)->str, RSTRING(str)->ptr, RSTRING(str)->len) == 0)
RSTRING 1062 re.c return reg_cache = rb_reg_new(RSTRING(str)->ptr, RSTRING(str)->len,
RSTRING 1062 re.c return reg_cache = rb_reg_new(RSTRING(str)->ptr, RSTRING(str)->len,
RSTRING 1186 re.c rb_reg_initialize(self, RSTRING(src)->ptr, RSTRING(src)->len, flags);
RSTRING 1186 re.c rb_reg_initialize(self, RSTRING(src)->ptr, RSTRING(src)->len, flags);
RSTRING 1199 re.c s = RSTRING(str)->ptr;
RSTRING 1200 re.c send = s + RSTRING(str)->len;
RSTRING 1223 re.c tmp = rb_str_new(0, RSTRING(str)->len*2);
RSTRING 1224 re.c t = RSTRING(tmp)->ptr;
RSTRING 1226 re.c memcpy(t, RSTRING(str)->ptr, s - RSTRING(str)->ptr);
RSTRING 1226 re.c memcpy(t, RSTRING(str)->ptr, s - RSTRING(str)->ptr);
RSTRING 1227 re.c t += s - RSTRING(str)->ptr;
RSTRING 1250 re.c rb_str_resize(tmp, t - RSTRING(tmp)->ptr);
RSTRING 1356 re.c p = s = RSTRING(str)->ptr;
RSTRING 1357 re.c e = s + RSTRING(str)->len;
RSTRING 1389 re.c rb_str_buf_cat(val, RSTRING(src)->ptr, BEG(0));
RSTRING 1393 re.c rb_str_buf_cat(val, RSTRING(src)->ptr+END(0), RSTRING(src)->len-END(0));
RSTRING 1393 re.c rb_str_buf_cat(val, RSTRING(src)->ptr+END(0), RSTRING(src)->len-END(0));
RSTRING 1414 re.c rb_str_buf_cat(val, RSTRING(src)->ptr+BEG(no), END(no)-BEG(no));
RSTRING 783 ruby.c if (RSTRING(line)->len > 2
RSTRING 784 ruby.c && RSTRING(line)->ptr[0] == '#'
RSTRING 785 ruby.c && RSTRING(line)->ptr[1] == '!') {
RSTRING 786 ruby.c if (p = strstr(RSTRING(line)->ptr, "ruby")) {
RSTRING 800 ruby.c if (RSTRING(line)->len > 2 && RSTRING(line)->ptr[0] == '!') {
RSTRING 800 ruby.c if (RSTRING(line)->len > 2 && RSTRING(line)->ptr[0] == '!') {
RSTRING 801 ruby.c if ((p = strstr(RSTRING(line)->ptr, "ruby")) == 0) {
RSTRING 805 ruby.c char *pend = RSTRING(line)->ptr + RSTRING(line)->len;
RSTRING 805 ruby.c char *pend = RSTRING(line)->ptr + RSTRING(line)->len;
RSTRING 807 ruby.c p = RSTRING(line)->ptr + 1; /* skip `#!' */
RSTRING 835 ruby.c RSTRING(line)->ptr[RSTRING(line)->len-1] = '\0';
RSTRING 835 ruby.c RSTRING(line)->ptr[RSTRING(line)->len-1] = '\0';
RSTRING 836 ruby.c if (RSTRING(line)->ptr[RSTRING(line)->len-2] == '\r')
RSTRING 836 ruby.c if (RSTRING(line)->ptr[RSTRING(line)->len-2] == '\r')
RSTRING 837 ruby.c RSTRING(line)->ptr[RSTRING(line)->len-2] = '\0';
RSTRING 837 ruby.c RSTRING(line)->ptr[RSTRING(line)->len-2] = '\0';
RSTRING 894 ruby.c s = RSTRING(val)->ptr;
RSTRING 895 ruby.c i = RSTRING(val)->len;
RSTRING 901 ruby.c RSTRING(val)->len = i;
RSTRING 269 ruby.h #define NUM2CHR(x) (((TYPE(x) == T_STRING)&&(RSTRING(x)->len>=1))?\
RSTRING 270 ruby.h RSTRING(x)->ptr[0]:(char)(NUM2INT(x)&0xff))
RSTRING 218 signal.c s = RSTRING(argv[0])->ptr;
RSTRING 239 signal.c s = RSTRING(str)->ptr;
RSTRING 496 signal.c if (RSTRING(command)->len == 0) {
RSTRING 499 signal.c else if (RSTRING(command)->len == 7) {
RSTRING 500 signal.c if (strncmp(RSTRING(command)->ptr, "SIG_IGN", 7) == 0) {
RSTRING 503 signal.c else if (strncmp(RSTRING(command)->ptr, "SIG_DFL", 7) == 0) {
RSTRING 506 signal.c else if (strncmp(RSTRING(command)->ptr, "DEFAULT", 7) == 0) {
RSTRING 510 signal.c else if (RSTRING(command)->len == 6) {
RSTRING 511 signal.c if (strncmp(RSTRING(command)->ptr, "IGNORE", 6) == 0) {
RSTRING 515 signal.c else if (RSTRING(command)->len == 4) {
RSTRING 516 signal.c if (strncmp(RSTRING(command)->ptr, "EXIT", 4) == 0) {
RSTRING 536 signal.c s = RSTRING(arg->sig)->ptr;
RSTRING 121 sprintf.c p = RSTRING(fmt)->ptr;
RSTRING 122 sprintf.c end = p + RSTRING(fmt)->len;
RSTRING 263 sprintf.c len = RSTRING(str)->len;
RSTRING 278 sprintf.c memcpy(&buf[blen], RSTRING(str)->ptr, len);
RSTRING 288 sprintf.c PUSH(RSTRING(str)->ptr, len);
RSTRING 419 sprintf.c s = RSTRING(val)->ptr;
RSTRING 440 sprintf.c s = RSTRING(val)->ptr;
RSTRING 449 sprintf.c t = RSTRING(val)->ptr;
RSTRING 464 sprintf.c s = RSTRING(val)->ptr;
RSTRING 33 string.c REALLOC_N(RSTRING(str)->ptr, char, (capacity)+1);\
RSTRING 34 string.c RSTRING(str)->aux.capa = (capacity);\
RSTRING 66 string.c RSTRING(str)->len = len;
RSTRING 67 string.c RSTRING(str)->aux.capa = len;
RSTRING 68 string.c RSTRING(str)->ptr = ALLOC_N(char,len+1);
RSTRING 70 string.c memcpy(RSTRING(str)->ptr, ptr, len);
RSTRING 73 string.c MEMZERO(RSTRING(str)->ptr, char, len);
RSTRING 75 string.c RSTRING(str)->ptr[len] = '\0';
RSTRING 124 string.c RSTRING(str2)->len = RSTRING(str)->len;
RSTRING 124 string.c RSTRING(str2)->len = RSTRING(str)->len;
RSTRING 125 string.c RSTRING(str2)->ptr = RSTRING(str)->ptr;
RSTRING 125 string.c RSTRING(str2)->ptr = RSTRING(str)->ptr;
RSTRING 126 string.c RSTRING(str2)->aux.shared = str;
RSTRING 148 string.c str = str_new3(klass, RSTRING(orig)->aux.shared);
RSTRING 151 string.c str = str_new(klass, RSTRING(orig)->ptr, RSTRING(orig)->len);
RSTRING 151 string.c str = str_new(klass, RSTRING(orig)->ptr, RSTRING(orig)->len);
RSTRING 156 string.c RSTRING(str)->len = RSTRING(orig)->len;
RSTRING 156 string.c RSTRING(str)->len = RSTRING(orig)->len;
RSTRING 157 string.c RSTRING(str)->ptr = RSTRING(orig)->ptr;
RSTRING 157 string.c RSTRING(str)->ptr = RSTRING(orig)->ptr;
RSTRING 158 string.c RSTRING(orig)->aux.shared = str;
RSTRING 186 string.c RSTRING(str)->ptr = 0;
RSTRING 187 string.c RSTRING(str)->len = 0;
RSTRING 188 string.c RSTRING(str)->aux.capa = capa;
RSTRING 189 string.c RSTRING(str)->ptr = ALLOC_N(char, capa+1);
RSTRING 190 string.c RSTRING(str)->ptr[0] = '\0';
RSTRING 220 string.c if (!FL_TEST(str, ELTS_SHARED)) free(RSTRING(str)->ptr);
RSTRING 222 string.c RSTRING(str)->ptr = 0;
RSTRING 223 string.c RSTRING(str)->len = 0;
RSTRING 224 string.c RSTRING(str)->aux.capa = 0;
RSTRING 227 string.c RSTRING(str)->ptr = RSTRING(str2)->ptr;
RSTRING 227 string.c RSTRING(str)->ptr = RSTRING(str2)->ptr;
RSTRING 228 string.c RSTRING(str)->len = RSTRING(str2)->len;
RSTRING 228 string.c RSTRING(str)->len = RSTRING(str2)->len;
RSTRING 231 string.c RSTRING(str)->aux.shared = RSTRING(str2)->aux.shared;
RSTRING 231 string.c RSTRING(str)->aux.shared = RSTRING(str2)->aux.shared;
RSTRING 234 string.c RSTRING(str)->aux.capa = RSTRING(str2)->aux.capa;
RSTRING 234 string.c RSTRING(str)->aux.capa = RSTRING(str2)->aux.capa;
RSTRING 236 string.c RSTRING(str2)->ptr = 0; /* abandon str2 */
RSTRING 237 string.c RSTRING(str2)->len = 0;
RSTRING 238 string.c RSTRING(str2)->aux.capa = 0;
RSTRING 249 string.c rb_ary_concat(RSTRING(str)->aux.shared, add);
RSTRING 255 string.c else if (RSTRING(str)->aux.shared) {
RSTRING 257 string.c if (RSTRING(str)->aux.capa != RSTRING(str)->len) {
RSTRING 257 string.c if (RSTRING(str)->aux.capa != RSTRING(str)->len) {
RSTRING 258 string.c RESIZE_CAPA(str, RSTRING(str)->len);
RSTRING 261 string.c RSTRING(str)->aux.shared = add;
RSTRING 272 string.c return RSTRING(str)->aux.shared;
RSTRING 323 string.c return LONG2NUM(RSTRING(str)->len);
RSTRING 330 string.c if (RSTRING(str)->len == 0)
RSTRING 342 string.c str3 = rb_str_new(0, RSTRING(str1)->len+RSTRING(str2)->len);
RSTRING 342 string.c str3 = rb_str_new(0, RSTRING(str1)->len+RSTRING(str2)->len);
RSTRING 343 string.c memcpy(RSTRING(str3)->ptr, RSTRING(str1)->ptr, RSTRING(str1)->len);
RSTRING 343 string.c memcpy(RSTRING(str3)->ptr, RSTRING(str1)->ptr, RSTRING(str1)->len);
RSTRING 343 string.c memcpy(RSTRING(str3)->ptr, RSTRING(str1)->ptr, RSTRING(str1)->len);
RSTRING 344 string.c memcpy(RSTRING(str3)->ptr + RSTRING(str1)->len,
RSTRING 344 string.c memcpy(RSTRING(str3)->ptr + RSTRING(str1)->len,
RSTRING 345 string.c RSTRING(str2)->ptr, RSTRING(str2)->len);
RSTRING 345 string.c RSTRING(str2)->ptr, RSTRING(str2)->len);
RSTRING 346 string.c RSTRING(str3)->ptr[RSTRING(str3)->len] = '\0';
RSTRING 346 string.c RSTRING(str3)->ptr[RSTRING(str3)->len] = '\0';
RSTRING 366 string.c if (LONG_MAX/len < RSTRING(str)->len) {
RSTRING 370 string.c str2 = rb_str_new5(str,0, RSTRING(str)->len*len);
RSTRING 372 string.c memcpy(RSTRING(str2)->ptr+(i*RSTRING(str)->len),
RSTRING 372 string.c memcpy(RSTRING(str2)->ptr+(i*RSTRING(str)->len),
RSTRING 373 string.c RSTRING(str)->ptr, RSTRING(str)->len);
RSTRING 373 string.c RSTRING(str)->ptr, RSTRING(str)->len);
RSTRING 375 string.c RSTRING(str2)->ptr[RSTRING(str2)->len] = '\0';
RSTRING 375 string.c RSTRING(str2)->ptr[RSTRING(str2)->len] = '\0';
RSTRING 418 string.c ptr = ALLOC_N(char, RSTRING(str)->len+1);
RSTRING 419 string.c if (RSTRING(str)->ptr) {
RSTRING 420 string.c memcpy(ptr, RSTRING(str)->ptr, RSTRING(str)->len);
RSTRING 420 string.c memcpy(ptr, RSTRING(str)->ptr, RSTRING(str)->len);
RSTRING 422 string.c ptr[RSTRING(str)->len] = 0;
RSTRING 423 string.c RSTRING(str)->ptr = ptr;
RSTRING 424 string.c RSTRING(str)->aux.capa = RSTRING(str)->len;
RSTRING 424 string.c RSTRING(str)->aux.capa = RSTRING(str)->len;
RSTRING 452 string.c if (!RSTRING(s)->ptr) {
RSTRING 455 string.c return RSTRING(s)->ptr;
RSTRING 466 string.c if (beg > RSTRING(str)->len) return Qnil;
RSTRING 468 string.c beg += RSTRING(str)->len;
RSTRING 471 string.c if (beg + len > RSTRING(str)->len) {
RSTRING 472 string.c len = RSTRING(str)->len - beg;
RSTRING 479 string.c str2 = rb_str_new5(str,RSTRING(str)->ptr+beg, len);
RSTRING 497 string.c OBJ_FREEZE(RSTRING(str)->aux.shared);
RSTRING 498 string.c return RSTRING(str)->aux.shared;
RSTRING 515 string.c if (len != RSTRING(str)->len) {
RSTRING 518 string.c if (RSTRING(str)->len < len || RSTRING(str)->len - len > 1024) {
RSTRING 518 string.c if (RSTRING(str)->len < len || RSTRING(str)->len - len > 1024) {
RSTRING 521 string.c RSTRING(str)->len = len;
RSTRING 522 string.c RSTRING(str)->ptr[len] = '\0'; /* sentinel */
RSTRING 538 string.c capa = RSTRING(str)->aux.capa;
RSTRING 539 string.c total = RSTRING(str)->len+len;
RSTRING 546 string.c memcpy(RSTRING(str)->ptr + RSTRING(str)->len, ptr, len);
RSTRING 546 string.c memcpy(RSTRING(str)->ptr + RSTRING(str)->len, ptr, len);
RSTRING 547 string.c RSTRING(str)->len = total;
RSTRING 548 string.c RSTRING(str)->ptr[total] = '\0'; /* sentinel */
RSTRING 572 string.c RESIZE_CAPA(str, RSTRING(str)->len + len);
RSTRING 574 string.c memcpy(RSTRING(str)->ptr + RSTRING(str)->len, ptr, len);
RSTRING 574 string.c memcpy(RSTRING(str)->ptr + RSTRING(str)->len, ptr, len);
RSTRING 577 string.c MEMZERO(RSTRING(str)->ptr + RSTRING(str)->len, char, len);
RSTRING 577 string.c MEMZERO(RSTRING(str)->ptr + RSTRING(str)->len, char, len);
RSTRING 579 string.c RSTRING(str)->len += len;
RSTRING 580 string.c RSTRING(str)->ptr[RSTRING(str)->len] = '\0'; /* sentinel */
RSTRING 580 string.c RSTRING(str)->ptr[RSTRING(str)->len] = '\0'; /* sentinel */
RSTRING 603 string.c capa = RSTRING(str)->aux.capa;
RSTRING 605 string.c len = RSTRING(str)->len+RSTRING(str2)->len;
RSTRING 605 string.c len = RSTRING(str)->len+RSTRING(str2)->len;
RSTRING 612 string.c memcpy(RSTRING(str)->ptr + RSTRING(str)->len,
RSTRING 612 string.c memcpy(RSTRING(str)->ptr + RSTRING(str)->len,
RSTRING 613 string.c RSTRING(str2)->ptr, RSTRING(str2)->len);
RSTRING 613 string.c RSTRING(str2)->ptr, RSTRING(str2)->len);
RSTRING 614 string.c RSTRING(str)->len += RSTRING(str2)->len;
RSTRING 614 string.c RSTRING(str)->len += RSTRING(str2)->len;
RSTRING 615 string.c RSTRING(str)->ptr[RSTRING(str)->len] = '\0'; /* sentinel */
RSTRING 615 string.c RSTRING(str)->ptr[RSTRING(str)->len] = '\0'; /* sentinel */
RSTRING 628 string.c if (RSTRING(str2)->len > 0) {
RSTRING 629 string.c len = RSTRING(str)->len+RSTRING(str2)->len;
RSTRING 629 string.c len = RSTRING(str)->len+RSTRING(str2)->len;
RSTRING 636 string.c memcpy(RSTRING(str)->ptr + RSTRING(str)->len,
RSTRING 636 string.c memcpy(RSTRING(str)->ptr + RSTRING(str)->len,
RSTRING 637 string.c RSTRING(str2)->ptr, RSTRING(str2)->len);
RSTRING 637 string.c RSTRING(str2)->ptr, RSTRING(str2)->len);
RSTRING 638 string.c RSTRING(str)->len += RSTRING(str2)->len;
RSTRING 638 string.c RSTRING(str)->len += RSTRING(str2)->len;
RSTRING 639 string.c RSTRING(str)->ptr[RSTRING(str)->len] = '\0'; /* sentinel */
RSTRING 639 string.c RSTRING(str)->ptr[RSTRING(str)->len] = '\0'; /* sentinel */
RSTRING 666 string.c register long len = RSTRING(str)->len;
RSTRING 667 string.c register char *p = RSTRING(str)->ptr;
RSTRING 711 string.c len = lesser(RSTRING(str1)->len, RSTRING(str2)->len);
RSTRING 711 string.c len = lesser(RSTRING(str1)->len, RSTRING(str2)->len);
RSTRING 712 string.c retval = rb_memcmp(RSTRING(str1)->ptr, RSTRING(str2)->ptr, len);
RSTRING 712 string.c retval = rb_memcmp(RSTRING(str1)->ptr, RSTRING(str2)->ptr, len);
RSTRING 714 string.c if (RSTRING(str1)->len == RSTRING(str2)->len) return 0;
RSTRING 714 string.c if (RSTRING(str1)->len == RSTRING(str2)->len) return 0;
RSTRING 715 string.c if (RSTRING(str1)->len > RSTRING(str2)->len) return 1;
RSTRING 715 string.c if (RSTRING(str1)->len > RSTRING(str2)->len) return 1;
RSTRING 732 string.c if (RSTRING(str1)->len == RSTRING(str2)->len
RSTRING 732 string.c if (RSTRING(str1)->len == RSTRING(str2)->len
RSTRING 743 string.c if (TYPE(str2) != T_STRING || RSTRING(str1)->len != RSTRING(str2)->len)
RSTRING 743 string.c if (TYPE(str2) != T_STRING || RSTRING(str1)->len != RSTRING(str2)->len)
RSTRING 746 string.c if (memcmp(RSTRING(str1)->ptr, RSTRING(str2)->ptr,
RSTRING 746 string.c if (memcmp(RSTRING(str1)->ptr, RSTRING(str2)->ptr,
RSTRING 747 string.c lesser(RSTRING(str1)->len, RSTRING(str2)->len)) == 0)
RSTRING 747 string.c lesser(RSTRING(str1)->len, RSTRING(str2)->len)) == 0)
RSTRING 772 string.c len = lesser(RSTRING(str1)->len, RSTRING(str2)->len);
RSTRING 772 string.c len = lesser(RSTRING(str1)->len, RSTRING(str2)->len);
RSTRING 773 string.c retval = rb_memcicmp(RSTRING(str1)->ptr, RSTRING(str2)->ptr, len);
RSTRING 773 string.c retval = rb_memcicmp(RSTRING(str1)->ptr, RSTRING(str2)->ptr, len);
RSTRING 775 string.c if (RSTRING(str1)->len == RSTRING(str2)->len) return INT2FIX(0);
RSTRING 775 string.c if (RSTRING(str1)->len == RSTRING(str2)->len) return INT2FIX(0);
RSTRING 776 string.c if (RSTRING(str1)->len > RSTRING(str2)->len) return INT2FIX(1);
RSTRING 776 string.c if (RSTRING(str1)->len > RSTRING(str2)->len) return INT2FIX(1);
RSTRING 793 string.c offset += RSTRING(str)->len;
RSTRING 796 string.c if (RSTRING(str)->len - offset < RSTRING(sub)->len) return -1;
RSTRING 796 string.c if (RSTRING(str)->len - offset < RSTRING(sub)->len) return -1;
RSTRING 797 string.c s = RSTRING(str)->ptr+offset;
RSTRING 798 string.c p = RSTRING(sub)->ptr;
RSTRING 799 string.c len = RSTRING(sub)->len;
RSTRING 801 string.c e = RSTRING(str)->ptr + RSTRING(str)->len - len + 1;
RSTRING 801 string.c e = RSTRING(str)->ptr + RSTRING(str)->len - len + 1;
RSTRING 804 string.c return (s-(RSTRING(str)->ptr));
RSTRING 828 string.c pos += RSTRING(str)->len;
RSTRING 850 string.c long len = RSTRING(str)->len;
RSTRING 851 string.c char *p = RSTRING(str)->ptr;
RSTRING 873 string.c long len = RSTRING(sub)->len;
RSTRING 877 string.c if (RSTRING(str)->len < len) return -1;
RSTRING 878 string.c if (RSTRING(str)->len - pos < len) {
RSTRING 879 string.c pos = RSTRING(str)->len - len;
RSTRING 881 string.c sbeg = RSTRING(str)->ptr;
RSTRING 882 string.c s = RSTRING(str)->ptr + pos;
RSTRING 883 string.c t = RSTRING(sub)->ptr;
RSTRING 887 string.c return s - RSTRING(str)->ptr;
RSTRING 911 string.c pos += RSTRING(str)->len;
RSTRING 919 string.c if (pos > RSTRING(str)->len) pos = RSTRING(str)->len;
RSTRING 919 string.c if (pos > RSTRING(str)->len) pos = RSTRING(str)->len;
RSTRING 922 string.c pos = RSTRING(str)->len;
RSTRING 942 string.c char *p = RSTRING(str)->ptr + pos;
RSTRING 943 string.c char *pbeg = RSTRING(str)->ptr;
RSTRING 946 string.c if (*p == c) return LONG2NUM(p - RSTRING(str)->ptr);
RSTRING 1032 string.c str = rb_str_new5(orig,RSTRING(orig)->ptr, RSTRING(orig)->len);
RSTRING 1032 string.c str = rb_str_new5(orig,RSTRING(orig)->ptr, RSTRING(orig)->len);
RSTRING 1034 string.c if (RSTRING(str)->len == 0) return str;
RSTRING 1036 string.c sbeg = RSTRING(str)->ptr; s = sbeg + RSTRING(str)->len - 1;
RSTRING 1036 string.c sbeg = RSTRING(str)->ptr; s = sbeg + RSTRING(str)->len - 1;
RSTRING 1046 string.c sbeg = RSTRING(str)->ptr; s = sbeg + RSTRING(str)->len - 1;
RSTRING 1046 string.c sbeg = RSTRING(str)->ptr; s = sbeg + RSTRING(str)->len - 1;
RSTRING 1054 string.c RESIZE_CAPA(str, RSTRING(str)->len + 1);
RSTRING 1055 string.c s = RSTRING(str)->ptr + n;
RSTRING 1056 string.c memmove(s+1, s, RSTRING(str)->len - n);
RSTRING 1058 string.c RSTRING(str)->len += 1;
RSTRING 1059 string.c RSTRING(str)->ptr[RSTRING(str)->len] = '\0';
RSTRING 1059 string.c RSTRING(str)->ptr[RSTRING(str)->len] = '\0';
RSTRING 1090 string.c if (RSTRING(current)->len > RSTRING(end)->len)
RSTRING 1090 string.c if (RSTRING(current)->len > RSTRING(end)->len)
RSTRING 1128 string.c idx = RSTRING(str)->len + idx;
RSTRING 1130 string.c if (idx < 0 || RSTRING(str)->len <= idx) {
RSTRING 1133 string.c return INT2FIX(RSTRING(str)->ptr[idx] & 0xff);
RSTRING 1147 string.c switch (rb_range_beg_len(indx, &beg, &len, RSTRING(str)->len, 0)) {
RSTRING 1187 string.c if (RSTRING(str)->len < beg) {
RSTRING 1192 string.c if (-beg > RSTRING(str)->len) {
RSTRING 1195 string.c beg += RSTRING(str)->len;
RSTRING 1197 string.c if (RSTRING(str)->len < beg + len) {
RSTRING 1198 string.c len = RSTRING(str)->len - beg;
RSTRING 1202 string.c if (len < RSTRING(val)->len) {
RSTRING 1204 string.c RESIZE_CAPA(str, RSTRING(str)->len + RSTRING(val)->len - len);
RSTRING 1204 string.c RESIZE_CAPA(str, RSTRING(str)->len + RSTRING(val)->len - len);
RSTRING 1207 string.c if (RSTRING(val)->len != len) {
RSTRING 1208 string.c memmove(RSTRING(str)->ptr + beg + RSTRING(val)->len,
RSTRING 1208 string.c memmove(RSTRING(str)->ptr + beg + RSTRING(val)->len,
RSTRING 1209 string.c RSTRING(str)->ptr + beg + len,
RSTRING 1210 string.c RSTRING(str)->len - (beg + len));
RSTRING 1212 string.c if (RSTRING(str)->len < beg && len < 0) {
RSTRING 1213 string.c MEMZERO(RSTRING(str)->ptr + RSTRING(str)->len, char, -len);
RSTRING 1213 string.c MEMZERO(RSTRING(str)->ptr + RSTRING(str)->len, char, -len);
RSTRING 1215 string.c if (RSTRING(val)->len > 0) {
RSTRING 1216 string.c memmove(RSTRING(str)->ptr+beg, RSTRING(val)->ptr, RSTRING(val)->len);
RSTRING 1216 string.c memmove(RSTRING(str)->ptr+beg, RSTRING(val)->ptr, RSTRING(val)->len);
RSTRING 1216 string.c memmove(RSTRING(str)->ptr+beg, RSTRING(val)->ptr, RSTRING(val)->len);
RSTRING 1218 string.c RSTRING(str)->len += RSTRING(val)->len - len;
RSTRING 1218 string.c RSTRING(str)->len += RSTRING(val)->len - len;
RSTRING 1219 string.c RSTRING(str)->ptr[RSTRING(str)->len] = '\0';
RSTRING 1219 string.c RSTRING(str)->ptr[RSTRING(str)->len] = '\0';
RSTRING 1268 string.c if (RSTRING(str)->len <= idx) {
RSTRING 1273 string.c if (-idx > RSTRING(str)->len)
RSTRING 1275 string.c idx += RSTRING(str)->len;
RSTRING 1278 string.c if (RSTRING(str)->len == idx) {
RSTRING 1279 string.c RSTRING(str)->len += 1;
RSTRING 1280 string.c RESIZE_CAPA(str, RSTRING(str)->len);
RSTRING 1282 string.c RSTRING(str)->ptr[idx] = NUM2INT(val) & 0xff;
RSTRING 1298 string.c rb_str_update(str, beg, RSTRING(indx)->len, val);
RSTRING 1305 string.c if (rb_range_beg_len(indx, &beg, &len, RSTRING(str)->len, 2)) {
RSTRING 1345 string.c pos = RSTRING(str)->len;
RSTRING 1453 string.c if (RSTRING(repl)->len > plen) {
RSTRING 1454 string.c RESIZE_CAPA(str, RSTRING(str)->len + RSTRING(repl)->len - plen);
RSTRING 1454 string.c RESIZE_CAPA(str, RSTRING(str)->len + RSTRING(repl)->len - plen);
RSTRING 1456 string.c if (RSTRING(repl)->len != plen) {
RSTRING 1457 string.c memmove(RSTRING(str)->ptr + BEG(0) + RSTRING(repl)->len,
RSTRING 1457 string.c memmove(RSTRING(str)->ptr + BEG(0) + RSTRING(repl)->len,
RSTRING 1458 string.c RSTRING(str)->ptr + BEG(0) + plen,
RSTRING 1459 string.c RSTRING(str)->len - BEG(0) - plen);
RSTRING 1461 string.c memcpy(RSTRING(str)->ptr + BEG(0),
RSTRING 1462 string.c RSTRING(repl)->ptr, RSTRING(repl)->len);
RSTRING 1462 string.c RSTRING(repl)->ptr, RSTRING(repl)->len);
RSTRING 1463 string.c RSTRING(str)->len += RSTRING(repl)->len - plen;
RSTRING 1463 string.c RSTRING(str)->len += RSTRING(repl)->len - plen;
RSTRING 1464 string.c RSTRING(str)->ptr[RSTRING(str)->len] = '\0';
RSTRING 1464 string.c RSTRING(str)->ptr[RSTRING(str)->len] = '\0';
RSTRING 1518 string.c blen = RSTRING(str)->len + 30; /* len + margin */
RSTRING 1521 string.c cp = RSTRING(str)->ptr;
RSTRING 1536 string.c len = (bp - buf) + (beg - offset) + RSTRING(val)->len + 3;
RSTRING 1546 string.c memcpy(bp, RSTRING(val)->ptr, RSTRING(val)->len);
RSTRING 1546 string.c memcpy(bp, RSTRING(val)->ptr, RSTRING(val)->len);
RSTRING 1547 string.c bp += RSTRING(val)->len;
RSTRING 1553 string.c len = mbclen2(RSTRING(str)->ptr[END(0)], pat);
RSTRING 1554 string.c if (RSTRING(str)->len > END(0)) {
RSTRING 1555 string.c memcpy(bp, RSTRING(str)->ptr+END(0), len);
RSTRING 1563 string.c cp = RSTRING(str)->ptr + offset;
RSTRING 1564 string.c if (offset > RSTRING(str)->len) break;
RSTRING 1567 string.c if (RSTRING(str)->len > offset) {
RSTRING 1569 string.c if (blen - len < RSTRING(str)->len - offset + 1) {
RSTRING 1570 string.c REALLOC_N(buf, char, len + RSTRING(str)->len - offset + 1);
RSTRING 1573 string.c memcpy(bp, cp, RSTRING(str)->len - offset);
RSTRING 1574 string.c bp += RSTRING(str)->len - offset;
RSTRING 1579 string.c free(RSTRING(str)->ptr);
RSTRING 1589 string.c RSTRING(str)->ptr = buf;
RSTRING 1590 string.c RSTRING(str)->len = len = bp - buf;
RSTRING 1591 string.c RSTRING(str)->ptr[len] = '\0';
RSTRING 1592 string.c RSTRING(str)->aux.capa = len;
RSTRING 1625 string.c free(RSTRING(str)->ptr);
RSTRING 1627 string.c RSTRING(str)->len = RSTRING(str2)->len;
RSTRING 1627 string.c RSTRING(str)->len = RSTRING(str2)->len;
RSTRING 1628 string.c RSTRING(str)->ptr = RSTRING(str2)->ptr;
RSTRING 1628 string.c RSTRING(str)->ptr = RSTRING(str2)->ptr;
RSTRING 1630 string.c RSTRING(str)->aux.shared = RSTRING(str2)->aux.shared;
RSTRING 1630 string.c RSTRING(str)->aux.shared = RSTRING(str2)->aux.shared;
RSTRING 1634 string.c rb_str_resize(str, RSTRING(str2)->len);
RSTRING 1635 string.c memcpy(RSTRING(str)->ptr, RSTRING(str2)->ptr, RSTRING(str2)->len);
RSTRING 1635 string.c memcpy(RSTRING(str)->ptr, RSTRING(str2)->ptr, RSTRING(str2)->len);
RSTRING 1635 string.c memcpy(RSTRING(str)->ptr, RSTRING(str2)->ptr, RSTRING(str2)->len);
RSTRING 1638 string.c RSTRING(str)->aux.shared = RSTRING(str2)->aux.shared;
RSTRING 1638 string.c RSTRING(str)->aux.shared = RSTRING(str2)->aux.shared;
RSTRING 1709 string.c s = RSTRING(str)->ptr;
RSTRING 1710 string.c e = s + RSTRING(str)->len - 1;
RSTRING 1727 string.c if (RSTRING(str)->len <= 1) return rb_str_dup(str);
RSTRING 1729 string.c obj = rb_str_new5(str, 0, RSTRING(str)->len);
RSTRING 1730 string.c s = RSTRING(str)->ptr; e = s + RSTRING(str)->len - 1;
RSTRING 1730 string.c s = RSTRING(str)->ptr; e = s + RSTRING(str)->len - 1;
RSTRING 1731 string.c p = RSTRING(obj)->ptr;
RSTRING 1749 string.c long len = RSTRING(str)->len;
RSTRING 1750 string.c char *p = RSTRING(str)->ptr;
RSTRING 1811 string.c p = RSTRING(str)->ptr; pend = p + RSTRING(str)->len;
RSTRING 1811 string.c p = RSTRING(str)->ptr; pend = p + RSTRING(str)->len;
RSTRING 1876 string.c p = RSTRING(str)->ptr; pend = p + RSTRING(str)->len;
RSTRING 1876 string.c p = RSTRING(str)->ptr; pend = p + RSTRING(str)->len;
RSTRING 1899 string.c p = RSTRING(str)->ptr; pend = p + RSTRING(str)->len;
RSTRING 1899 string.c p = RSTRING(str)->ptr; pend = p + RSTRING(str)->len;
RSTRING 1900 string.c q = RSTRING(result)->ptr; qend = q + len;
RSTRING 1965 string.c s = RSTRING(str)->ptr; send = s + RSTRING(str)->len;
RSTRING 1965 string.c s = RSTRING(str)->ptr; send = s + RSTRING(str)->len;
RSTRING 1998 string.c s = RSTRING(str)->ptr; send = s + RSTRING(str)->len;
RSTRING 1998 string.c s = RSTRING(str)->ptr; send = s + RSTRING(str)->len;
RSTRING 2031 string.c s = RSTRING(str)->ptr; send = s + RSTRING(str)->len;
RSTRING 2031 string.c s = RSTRING(str)->ptr; send = s + RSTRING(str)->len;
RSTRING 2066 string.c s = RSTRING(str)->ptr; send = s + RSTRING(str)->len;
RSTRING 2066 string.c s = RSTRING(str)->ptr; send = s + RSTRING(str)->len;
RSTRING 2152 string.c if (RSTRING(str)->len == 0 || !RSTRING(str)->ptr) return Qnil;
RSTRING 2152 string.c if (RSTRING(str)->len == 0 || !RSTRING(str)->ptr) return Qnil;
RSTRING 2153 string.c trsrc.p = RSTRING(src)->ptr; trsrc.pend = trsrc.p + RSTRING(src)->len;
RSTRING 2153 string.c trsrc.p = RSTRING(src)->ptr; trsrc.pend = trsrc.p + RSTRING(src)->len;
RSTRING 2154 string.c if (RSTRING(src)->len >= 2 && RSTRING(src)->ptr[0] == '^') {
RSTRING 2154 string.c if (RSTRING(src)->len >= 2 && RSTRING(src)->ptr[0] == '^') {
RSTRING 2158 string.c if (RSTRING(repl)->len == 0) {
RSTRING 2161 string.c trrepl.p = RSTRING(repl)->ptr;
RSTRING 2162 string.c trrepl.pend = trrepl.p + RSTRING(repl)->len;
RSTRING 2195 string.c s = RSTRING(str)->ptr; send = s + RSTRING(str)->len;
RSTRING 2195 string.c s = RSTRING(str)->ptr; send = s + RSTRING(str)->len;
RSTRING 2213 string.c if (RSTRING(str)->len > (t - RSTRING(str)->ptr)) {
RSTRING 2213 string.c if (RSTRING(str)->len > (t - RSTRING(str)->ptr)) {
RSTRING 2214 string.c RSTRING(str)->len = (t - RSTRING(str)->ptr);
RSTRING 2214 string.c RSTRING(str)->len = (t - RSTRING(str)->ptr);
RSTRING 2260 string.c tr.p = RSTRING(str)->ptr; tr.pend = tr.p + RSTRING(str)->len;
RSTRING 2260 string.c tr.p = RSTRING(str)->ptr; tr.pend = tr.p + RSTRING(str)->len;
RSTRING 2262 string.c if (RSTRING(str)->len > 1 && RSTRING(str)->ptr[0] == '^') {
RSTRING 2262 string.c if (RSTRING(str)->len > 1 && RSTRING(str)->ptr[0] == '^') {
RSTRING 2307 string.c s = t = RSTRING(str)->ptr;
RSTRING 2308 string.c if (!s || RSTRING(str)->len == 0) return Qnil;
RSTRING 2309 string.c send = s + RSTRING(str)->len;
RSTRING 2318 string.c RSTRING(str)->len = t - RSTRING(str)->ptr;
RSTRING 2318 string.c RSTRING(str)->len = t - RSTRING(str)->ptr;
RSTRING 2363 string.c s = t = RSTRING(str)->ptr;
RSTRING 2364 string.c if (!s || RSTRING(str)->len == 0) return Qnil;
RSTRING 2365 string.c send = s + RSTRING(str)->len;
RSTRING 2374 string.c if (t - RSTRING(str)->ptr != RSTRING(str)->len) {
RSTRING 2374 string.c if (t - RSTRING(str)->ptr != RSTRING(str)->len) {
RSTRING 2375 string.c RSTRING(str)->len = t - RSTRING(str)->ptr;
RSTRING 2375 string.c RSTRING(str)->len = t - RSTRING(str)->ptr;
RSTRING 2432 string.c s = RSTRING(str)->ptr;
RSTRING 2433 string.c if (!s || RSTRING(str)->len == 0) return Qnil;
RSTRING 2434 string.c send = s + RSTRING(str)->len;
RSTRING 2473 string.c if (TYPE(spat) == T_STRING && RSTRING(spat)->len == 1) {
RSTRING 2474 string.c if (RSTRING(spat)->ptr[0] == ' ') {
RSTRING 2489 string.c char *ptr = RSTRING(str)->ptr;
RSTRING 2490 string.c long len = RSTRING(str)->len;
RSTRING 2527 string.c rb_ary_push(result, rb_str_substr(str, beg, mbclen2(RSTRING(str)->ptr[beg],spat)));
RSTRING 2531 string.c start += mbclen2(RSTRING(str)->ptr[start],spat);
RSTRING 2553 string.c if (!NIL_P(limit) || RSTRING(str)->len > beg || lim < 0) {
RSTRING 2554 string.c if (RSTRING(str)->len == beg)
RSTRING 2557 string.c tmp = rb_str_substr(str, beg, RSTRING(str)->len-beg);
RSTRING 2562 string.c RSTRING(RARRAY(result)->ptr[RARRAY(result)->len-1])->len == 0)
RSTRING 2597 string.c char *p = RSTRING(str)->ptr, *pend = p + RSTRING(str)->len, *s;
RSTRING 2597 string.c char *p = RSTRING(str)->ptr, *pend = p + RSTRING(str)->len, *s;
RSTRING 2599 string.c long len = RSTRING(str)->len, rslen;
RSTRING 2611 string.c rslen = RSTRING(rs)->len;
RSTRING 2616 string.c newline = RSTRING(rs)->ptr[rslen-1];
RSTRING 2626 string.c rb_memcmp(RSTRING(rs)->ptr, p-rslen, rslen) == 0)) {
RSTRING 2630 string.c if (RSTRING(str)->ptr != ptr || RSTRING(str)->len != len)
RSTRING 2630 string.c if (RSTRING(str)->ptr != ptr || RSTRING(str)->len != len)
RSTRING 2652 string.c for (i=0; i<RSTRING(str)->len; i++) {
RSTRING 2653 string.c rb_yield(INT2FIX(RSTRING(str)->ptr[i] & 0xff));
RSTRING 2662 string.c if (RSTRING(str)->len > 0) {
RSTRING 2664 string.c RSTRING(str)->len--;
RSTRING 2665 string.c if (RSTRING(str)->ptr[RSTRING(str)->len] == '\n') {
RSTRING 2665 string.c if (RSTRING(str)->ptr[RSTRING(str)->len] == '\n') {
RSTRING 2666 string.c if (RSTRING(str)->len > 0 &&
RSTRING 2667 string.c RSTRING(str)->ptr[RSTRING(str)->len-1] == '\r') {
RSTRING 2667 string.c RSTRING(str)->ptr[RSTRING(str)->len-1] == '\r') {
RSTRING 2668 string.c RSTRING(str)->len--;
RSTRING 2671 string.c RSTRING(str)->ptr[RSTRING(str)->len] = '\0';
RSTRING 2671 string.c RSTRING(str)->ptr[RSTRING(str)->len] = '\0';
RSTRING 2698 string.c if (RSTRING(str)->len > 0) {
RSTRING 2714 string.c char *p = RSTRING(str)->ptr;
RSTRING 2715 string.c long len = RSTRING(str)->len, rslen;
RSTRING 2723 string.c if (RSTRING(str)->ptr[len-1] == '\n') {
RSTRING 2724 string.c RSTRING(str)->len--;
RSTRING 2725 string.c if (RSTRING(str)->len > 0 &&
RSTRING 2726 string.c RSTRING(str)->ptr[RSTRING(str)->len-1] == '\r') {
RSTRING 2726 string.c RSTRING(str)->ptr[RSTRING(str)->len-1] == '\r') {
RSTRING 2727 string.c RSTRING(str)->len--;
RSTRING 2730 string.c else if (RSTRING(str)->ptr[len-1] == '\r') {
RSTRING 2731 string.c RSTRING(str)->len--;
RSTRING 2736 string.c RSTRING(str)->ptr[RSTRING(str)->len] = '\0';
RSTRING 2736 string.c RSTRING(str)->ptr[RSTRING(str)->len] = '\0';
RSTRING 2745 string.c rslen = RSTRING(rs)->len;
RSTRING 2752 string.c if (len < RSTRING(str)->len) {
RSTRING 2754 string.c RSTRING(str)->len = len;
RSTRING 2755 string.c RSTRING(str)->ptr[len] = '\0';
RSTRING 2761 string.c newline = RSTRING(rs)->ptr[rslen-1];
RSTRING 2767 string.c rb_memcmp(RSTRING(rs)->ptr, p+len-rslen, rslen) == 0)) {
RSTRING 2769 string.c RSTRING(str)->len -= rslen;
RSTRING 2770 string.c RSTRING(str)->ptr[RSTRING(str)->len] = '\0';
RSTRING 2770 string.c RSTRING(str)->ptr[RSTRING(str)->len] = '\0';
RSTRING 2816 string.c s = RSTRING(str)->ptr;
RSTRING 2817 string.c if (!s || RSTRING(str)->len == 0) return Qnil;
RSTRING 2818 string.c e = t = s + RSTRING(str)->len;
RSTRING 2822 string.c RSTRING(str)->len = t-s;
RSTRING 2823 string.c if (s > RSTRING(str)->ptr) {
RSTRING 2824 string.c memmove(RSTRING(str)->ptr, s, RSTRING(str)->len);
RSTRING 2824 string.c memmove(RSTRING(str)->ptr, s, RSTRING(str)->len);
RSTRING 2825 string.c RSTRING(str)->ptr[RSTRING(str)->len] = '\0';
RSTRING 2825 string.c RSTRING(str)->ptr[RSTRING(str)->len] = '\0';
RSTRING 2847 string.c s = RSTRING(str)->ptr;
RSTRING 2848 string.c if (!s || RSTRING(str)->len == 0) return Qnil;
RSTRING 2849 string.c e = t = s + RSTRING(str)->len;
RSTRING 2854 string.c RSTRING(str)->len = t-s;
RSTRING 2856 string.c RSTRING(str)->ptr[RSTRING(str)->len] = '\0';
RSTRING 2856 string.c RSTRING(str)->ptr[RSTRING(str)->len] = '\0';
RSTRING 2907 string.c *start = END(0)+mbclen2(RSTRING(str)->ptr[END(0)],pat);
RSTRING 2985 string.c if (RSTRING(salt)->len < 2)
RSTRING 2988 string.c if (RSTRING(str)->ptr) s = RSTRING(str)->ptr;
RSTRING 2988 string.c if (RSTRING(str)->ptr) s = RSTRING(str)->ptr;
RSTRING 2990 string.c result = rb_str_new2(crypt(s, RSTRING(salt)->ptr));
RSTRING 3002 string.c if (!RSTRING(str)->ptr || RSTRING(str)->len == 0) {
RSTRING 3002 string.c if (!RSTRING(str)->ptr || RSTRING(str)->len == 0) {
RSTRING 3005 string.c if (strlen(RSTRING(str)->ptr) != RSTRING(str)->len)
RSTRING 3005 string.c if (strlen(RSTRING(str)->ptr) != RSTRING(str)->len)
RSTRING 3007 string.c id = rb_intern(RSTRING(str)->ptr);
RSTRING 3026 string.c p = RSTRING(str)->ptr; pend = p + RSTRING(str)->len;
RSTRING 3026 string.c p = RSTRING(str)->ptr; pend = p + RSTRING(str)->len;
RSTRING 3066 string.c if (width < 0 || RSTRING(str)->len >= width) return rb_str_dup(str);
RSTRING 3068 string.c memcpy(RSTRING(res)->ptr, RSTRING(str)->ptr, RSTRING(str)->len);
RSTRING 3068 string.c memcpy(RSTRING(res)->ptr, RSTRING(str)->ptr, RSTRING(str)->len);
RSTRING 3068 string.c memcpy(RSTRING(res)->ptr, RSTRING(str)->ptr, RSTRING(str)->len);
RSTRING 3069 string.c p = RSTRING(res)->ptr + RSTRING(str)->len; pend = RSTRING(res)->ptr + width;
RSTRING 3069 string.c p = RSTRING(res)->ptr + RSTRING(str)->len; pend = RSTRING(res)->ptr + width;
RSTRING 3069 string.c p = RSTRING(res)->ptr + RSTRING(str)->len; pend = RSTRING(res)->ptr + width;
RSTRING 3086 string.c if (width < 0 || RSTRING(str)->len >= width) return rb_str_dup(str);
RSTRING 3088 string.c p = RSTRING(res)->ptr; pend = p + width - RSTRING(str)->len;
RSTRING 3088 string.c p = RSTRING(res)->ptr; pend = p + width - RSTRING(str)->len;
RSTRING 3092 string.c memcpy(pend, RSTRING(str)->ptr, RSTRING(str)->len);
RSTRING 3092 string.c memcpy(pend, RSTRING(str)->ptr, RSTRING(str)->len);
RSTRING 3107 string.c if (width < 0 || RSTRING(str)->len >= width) return rb_str_dup(str);
RSTRING 3109 string.c n = (width - RSTRING(str)->len)/2;
RSTRING 3110 string.c p = RSTRING(res)->ptr; pend = p + n;
RSTRING 3114 string.c memcpy(pend, RSTRING(str)->ptr, RSTRING(str)->len);
RSTRING 3114 string.c memcpy(pend, RSTRING(str)->ptr, RSTRING(str)->len);
RSTRING 3115 string.c p = pend + RSTRING(str)->len; pend = RSTRING(res)->ptr + width;
RSTRING 3115 string.c p = pend + RSTRING(str)->len; pend = RSTRING(res)->ptr + width;
RSTRING 360 struct.c sprintf(RSTRING(str)->ptr, "#<%s>", cname);
RSTRING 361 struct.c RSTRING(str)->len = strlen(RSTRING(str)->ptr);
RSTRING 361 struct.c RSTRING(str)->len = strlen(RSTRING(str)->ptr);
RSTRING 409 struct.c sprintf(RSTRING(str)->ptr, "#<%s:...>", cname);
RSTRING 410 struct.c RSTRING(str)->len = strlen(RSTRING(str)->ptr);
RSTRING 410 struct.c RSTRING(str)->len = strlen(RSTRING(str)->ptr);
RSTRING 291 time.c if (RSTRING(v[1])->len == 3 &&
RSTRING 292 time.c strcasecmp(months[i], RSTRING(v[1])->ptr) == 0) {
RSTRING 298 time.c char c = RSTRING(v[1])->ptr[0];
RSTRING 1294 time.c fmt = RSTRING(format)->ptr;
RSTRING 1295 time.c len = RSTRING(format)->len;
RSTRING 1317 time.c len = rb_strftime(&buf, RSTRING(format)->ptr, &tobj->tm);
RSTRING 1386 time.c buf = (unsigned char *)RSTRING(str)->ptr;
RSTRING 1387 time.c if (RSTRING(str)->len != 8) {
RSTRING 172 util.c if (RSTRING(str)->len > 1000)
RSTRING 174 util.c RSTRING(str)->len);
RSTRING 178 util.c slen = RSTRING(str)->len;
RSTRING 183 util.c if (valid_filename(RSTRING(str)->ptr)) return;
RSTRING 187 util.c RSTRING(str)->ptr[RSTRING(str)->len = slen] = '\0';
RSTRING 187 util.c RSTRING(str)->ptr[RSTRING(str)->len = slen] = '\0';
RSTRING 191 util.c t = buf; baselen = 0; s = RSTRING(str)->ptr;
RSTRING 229 util.c memcpy(RSTRING(str)->ptr, buf, RSTRING(str)->len);
RSTRING 229 util.c memcpy(RSTRING(str)->ptr, buf, RSTRING(str)->len);
RSTRING 203 variable.c sprintf(RSTRING(str)->ptr, "#<%s:0x%lx>", s, klass);
RSTRING 204 variable.c RSTRING(str)->len = strlen(RSTRING(str)->ptr);
RSTRING 204 variable.c RSTRING(str)->len = strlen(RSTRING(str)->ptr);
RSTRING 245 variable.c id = rb_intern(RSTRING(str)->ptr);
RSTRING 314 variable.c return RSTRING(rb_class_path(klass))->ptr;
RSTRING 1133 variable.c RSTRING(rb_class_path(klass))->ptr,
RSTRING 1183 variable.c RSTRING(rb_class_path(klass))->ptr);
RSTRING 1421 variable.c RSTRING(rb_class_path(klass))->ptr,