RSTRING_PTR 5411 array.c int *counters = (int*)RSTRING_PTR(t1); /* The current position in each one */ RSTRING_PTR 4674 bignum.c b2s->ptr = RSTRING_PTR(b2s->result); RSTRING_PTR 4853 bignum.c ptr = RSTRING_PTR(result); RSTRING_PTR 4860 bignum.c ptr = RSTRING_PTR(result); RSTRING_PTR 4949 bignum.c rb_str_resize(b2s_data.result, (long)(b2s_data.ptr - RSTRING_PTR(b2s_data.result))); RSTRING_PTR 4984 bignum.c mpz_get_str(RSTRING_PTR(str), base, mx); RSTRING_PTR 4987 bignum.c if (RSTRING_PTR(str)[RSTRING_LEN(str)-1] == '\0') { RSTRING_PTR 523 compile.c #define ruby_sourcefile RSTRING_PTR(iseq->body->location.path) RSTRING_PTR 6203 compile.c obj = rb_str_new_cstr(RSTRING_PTR(obj)); RSTRING_PTR 7072 compile.c char *ptr = RSTRING_PTR(str); RSTRING_PTR 7830 compile.c const char *ptr = RSTRING_PTR(obj); RSTRING_PTR 7852 compile.c encindex = rb_enc_find_index(RSTRING_PTR(enc_name_str)); RSTRING_PTR 1281 complex.c if (!rb_isdigit(RSTRING_PTR(s)[RSTRING_LEN(s) - 1])) RSTRING_PTR 1830 complex.c s = RSTRING_PTR(self); RSTRING_PTR 1837 complex.c s = RSTRING_PTR(self); RSTRING_PTR 1883 complex.c s = RSTRING_PTR(self); RSTRING_PTR 1887 complex.c s = RSTRING_PTR(self); RSTRING_PTR 521 dir.c path = RSTRING_PTR(dirname); RSTRING_PTR 785 dir.c IF_NORMALIZE_UTF8PATH(norm_p = need_normalization(dirp->dir, RSTRING_PTR(dirp->path))); RSTRING_PTR 933 dir.c if (chdir(RSTRING_PTR(path)) < 0) RSTRING_PTR 1116 dir.c if (chroot(RSTRING_PTR(path)) == -1) RSTRING_PTR 1154 dir.c if (mkdir(RSTRING_PTR(path), mode) == -1) RSTRING_PTR 1173 dir.c if (rmdir(RSTRING_PTR(dir)) < 0) RSTRING_PTR 1273 dir.c path = RSTRING_PTR(tmp); RSTRING_PTR 1584 dir.c plainname = RSTRING_PTR(tmp); RSTRING_PTR 1618 dir.c memcpy(path + base, RSTRING_PTR(tmp), wlen); RSTRING_PTR 2191 dir.c return ruby_brace_expand(RSTRING_PTR(str), flags, RSTRING_PTR 2207 dir.c p = RSTRING_PTR(str) + offset; RSTRING_PTR 2213 dir.c pend = RSTRING_PTR(str) + RSTRING_LEN(str); RSTRING_PTR 2216 dir.c offset = p - RSTRING_PTR(str); RSTRING_PTR 2449 dir.c return (fnmatch(pattern, enc, RSTRING_PTR(path), arg->flags) == 0); RSTRING_PTR 2565 dir.c if (ruby_brace_expand(RSTRING_PTR(pattern), flags, fnmatch_brace, RSTRING_PTR 2572 dir.c if (fnmatch(RSTRING_PTR(pattern), enc, RSTRING_PTR(path), flags) == 0) RSTRING_PTR 2656 dir.c path = RSTRING_PTR(dirname); RSTRING_PTR 653 encoding.c char *s = RSTRING_PTR(enclib) + 4, *e = RSTRING_END(enclib) - 3; RSTRING_PTR 2870 enum.c else if (SYMBOL_P(v) && (s = rb_sym2str(v), RSTRING_PTR(s)[0] == '_')) { RSTRING_PTR 100 error.c const char *fn = NIL_P(file) ? NULL : RSTRING_PTR(file); RSTRING_PTR 194 error.c NIL_P(file) ? NULL : RSTRING_PTR(file), line, RSTRING_PTR 462 error.c report_bug_valist(RSTRING_PTR(file), line, fmt, NULL, args); RSTRING_PTR 1289 error.c singleton = (RSTRING_LEN(d) > 0 && RSTRING_PTR(d)[0] == '#'); RSTRING_PTR 2146 error.c const char *s = !NIL_P(mesg) ? RSTRING_PTR(mesg) : ""; RSTRING_PTR 2207 error.c const char *s = !NIL_P(path) ? RSTRING_PTR(path) : ""; RSTRING_PTR 132 eval_error.c einfo = RSTRING_PTR(e); RSTRING_PTR 155 eval_error.c if (RSTRING_PTR(epath)[0] == '#') RSTRING_PTR 13 ext/-test-/bignum/intpack.c RSTRING_PTR(buf), NUM2SIZET(numwords_arg), RSTRING_PTR 16 ext/-test-/bignum/intpack.c return rb_ary_new_from_args(2, INT2NUM(sign), rb_str_new(RSTRING_PTR(buf), wordsize * numwords)); RSTRING_PTR 31 ext/-test-/bignum/intpack.c RSTRING_PTR(buf), numwords, RSTRING_PTR 42 ext/-test-/bignum/intpack.c return rb_integer_unpack(RSTRING_PTR(buf), RSTRING_PTR 10 ext/-test-/fatal/rb_fatal.c cmsg = RSTRING_PTR(msg); RSTRING_PTR 17 ext/-test-/file/stat.c if (stat(RSTRING_PTR(path), &st)) rb_sys_fail(0); RSTRING_PTR 45 ext/-test-/printf/printf.c switch (cnv = RSTRING_PTR(type)[0]) { RSTRING_PTR 26 ext/-test-/string/cstr.c RSTRING_PTR(str)[len] = NUM2CHR(c); RSTRING_PTR 112 ext/-test-/string/cstr.c memcpy(buf, RSTRING_PTR(str), capacity); RSTRING_PTR 7 ext/-test-/string/enc_str_buf_cat.c return rb_enc_str_buf_cat(str, RSTRING_PTR(str2), RSTRING_LEN(str2), rb_enc_get(str2)); RSTRING_PTR 7 ext/-test-/string/normalize.c return rb_str_normalize_ospath(RSTRING_PTR(str), RSTRING_LEN(str)); RSTRING_PTR 52 ext/-test-/string/qsort.c ruby_qsort(RSTRING_PTR(str) + b, n, s, RSTRING_PTR 289 ext/bigdecimal/bigdecimal.c return VpCreateRbObject(strlen(RSTRING_PTR(v)) + VpBaseFig() + 1, RSTRING_PTR 290 ext/bigdecimal/bigdecimal.c RSTRING_PTR(v)); RSTRING_PTR 295 ext/bigdecimal/bigdecimal.c return VpCreateRbObject(strlen(RSTRING_PTR(bg)) + VpBaseFig() + 1, RSTRING_PTR 296 ext/bigdecimal/bigdecimal.c RSTRING_PTR(bg)); RSTRING_PTR 406 ext/bigdecimal/bigdecimal.c psz = RSTRING_PTR(dump); RSTRING_PTR 426 ext/bigdecimal/bigdecimal.c pch = (unsigned char *)RSTRING_PTR(str); RSTRING_PTR 756 ext/bigdecimal/bigdecimal.c buf = RSTRING_PTR(str); RSTRING_PTR 1956 ext/bigdecimal/bigdecimal.c psz = RSTRING_PTR(f); RSTRING_PTR 1993 ext/bigdecimal/bigdecimal.c psz = RSTRING_PTR(str); RSTRING_PTR 2040 ext/bigdecimal/bigdecimal.c psz1 = RSTRING_PTR(str); RSTRING_PTR 2097 ext/bigdecimal/bigdecimal.c psz = RSTRING_PTR(obj); RSTRING_PTR 2595 ext/bigdecimal/bigdecimal.c return VpAlloc(mf, RSTRING_PTR(iniValue)); RSTRING_PTR 3945 ext/bigdecimal/bigdecimal.c psz = RSTRING_PTR(buf); RSTRING_PTR 51 ext/cgi/escape/escape.c cstr = RSTRING_PTR(str); RSTRING_PTR 98 ext/cgi/escape/escape.c cstr = RSTRING_PTR(str); RSTRING_PTR 217 ext/cgi/escape/escape.c cstr = RSTRING_PTR(str); RSTRING_PTR 259 ext/cgi/escape/escape.c cstr = RSTRING_PTR(str); RSTRING_PTR 4191 ext/date/date_core.c str = RSTRING_PTR(vstr); RSTRING_PTR 4202 ext/date/date_core.c fmt = RSTRING_PTR(vfmt); RSTRING_PTR 6600 ext/date/date_core.c return RSTRING_PTR(m_zone(x)); RSTRING_PTR 6655 ext/date/date_core.c fmt = RSTRING_PTR(vfmt); RSTRING_PTR 92 ext/date/date_parse.c if (!NIL_P(d) && *RSTRING_PTR(d) == '\'') { RSTRING_PTR 102 ext/date/date_parse.c s = RSTRING_PTR(y); RSTRING_PTR 119 ext/date/date_parse.c s = RSTRING_PTR(m); RSTRING_PTR 135 ext/date/date_parse.c s = RSTRING_PTR(d); RSTRING_PTR 151 ext/date/date_parse.c s = RSTRING_PTR(y); RSTRING_PTR 185 ext/date/date_parse.c s = RSTRING_PTR(m); RSTRING_PTR 208 ext/date/date_parse.c s = RSTRING_PTR(d); RSTRING_PTR 353 ext/date/date_parse.c s = RSTRING_PTR(str); RSTRING_PTR 385 ext/date/date_parse.c ss = RSTRING_PTR(str) + sl; RSTRING_PTR 387 ext/date/date_parse.c ds = RSTRING_PTR(str) + dl; RSTRING_PTR 390 ext/date/date_parse.c str = rb_str_new(RSTRING_PTR(str), sl); RSTRING_PTR 393 ext/date/date_parse.c str = rb_str_new(RSTRING_PTR(str), dl); RSTRING_PTR 404 ext/date/date_parse.c ds = RSTRING_PTR(str) + dl; RSTRING_PTR 407 ext/date/date_parse.c str = rb_str_new(RSTRING_PTR(str), dl); RSTRING_PTR 413 ext/date/date_parse.c const struct zone *z = zonetab(RSTRING_PTR(str), (unsigned int)RSTRING_LEN(str)); RSTRING_PTR 428 ext/date/date_parse.c s = RSTRING_PTR(str); RSTRING_PTR 457 ext/date/date_parse.c if (strpbrk(RSTRING_PTR(str), ",.")) { RSTRING_PTR 462 ext/date/date_parse.c strcpy(a, RSTRING_PTR(str)); RSTRING_PTR 477 ext/date/date_parse.c const char *cs = RSTRING_PTR(str); RSTRING_PTR 515 ext/date/date_parse.c *RSTRING_PTR(sign) == '-') RSTRING_PTR 532 ext/date/date_parse.c if (strncasecmp(abbr_days[i], RSTRING_PTR(s), 3) == 0) RSTRING_PTR 543 ext/date/date_parse.c if (strncasecmp(abbr_months[i], RSTRING_PTR(s), 3) == 0) RSTRING_PTR 605 ext/date/date_parse.c if (*RSTRING_PTR(p) == 'P' || *RSTRING_PTR(p) == 'p') RSTRING_PTR 722 ext/date/date_parse.c if (*RSTRING_PTR(b) == 'B' || RSTRING_PTR 723 ext/date/date_parse.c *RSTRING_PTR(b) == 'b') RSTRING_PTR 759 ext/date/date_parse.c s = RSTRING_PTR(y); RSTRING_PTR 773 ext/date/date_parse.c if (!NIL_P(a) && *RSTRING_PTR(a) == '\'') { RSTRING_PTR 778 ext/date/date_parse.c if (!NIL_P(b) && *RSTRING_PTR(b) == '\'') { RSTRING_PTR 785 ext/date/date_parse.c if (!NIL_P(c) && *RSTRING_PTR(c) == '\'') { RSTRING_PTR 810 ext/date/date_parse.c (*RSTRING_PTR(b) == 'B' || RSTRING_PTR 811 ext/date/date_parse.c *RSTRING_PTR(b) == 'b')); RSTRING_PTR 888 ext/date/date_parse.c (*RSTRING_PTR(b) == 'B' || RSTRING_PTR 889 ext/date/date_parse.c *RSTRING_PTR(b) == 'b')); RSTRING_PTR 1272 ext/date/date_parse.c ep = gengo(*RSTRING_PTR(e)); RSTRING_PTR 1732 ext/date/date_parse.c cs2 = RSTRING_PTR(s2); RSTRING_PTR 1760 ext/date/date_parse.c if (!NIL_P(s1) && *RSTRING_PTR(s1) == '-') RSTRING_PTR 1780 ext/date/date_parse.c if (!NIL_P(s1) && *RSTRING_PTR(s1) == '-') RSTRING_PTR 1786 ext/date/date_parse.c if (!NIL_P(s1) && *RSTRING_PTR(s1) == '-') RSTRING_PTR 1794 ext/date/date_parse.c if (!NIL_P(s1) && *RSTRING_PTR(s1) == '-') RSTRING_PTR 1824 ext/date/date_parse.c if (!NIL_P(s1) && *RSTRING_PTR(s1) == '-') RSTRING_PTR 1839 ext/date/date_parse.c if (!NIL_P(s1) && *RSTRING_PTR(s1) == '-') RSTRING_PTR 1848 ext/date/date_parse.c cs3 = RSTRING_PTR(s3); RSTRING_PTR 1887 ext/date/date_parse.c cs5 = RSTRING_PTR(s5); RSTRING_PTR 2054 ext/date/date_parse.c if (iscntrl((unsigned char)RSTRING_PTR(s)[i]) && RSTRING_PTR 2055 ext/date/date_parse.c !isspace((unsigned char)RSTRING_PTR(s)[i])) RSTRING_PTR 2075 ext/date/date_parse.c if (isalpha((unsigned char)RSTRING_PTR(s)[i])) RSTRING_PTR 2077 ext/date/date_parse.c if (isdigit((unsigned char)RSTRING_PTR(s)[i])) RSTRING_PTR 2079 ext/date/date_parse.c if (RSTRING_PTR(s)[i] == '-') RSTRING_PTR 2081 ext/date/date_parse.c if (RSTRING_PTR(s)[i] == '.') RSTRING_PTR 2083 ext/date/date_parse.c if (RSTRING_PTR(s)[i] == '/') RSTRING_PTR 2301 ext/date/date_parse.c if (strcmp(RSTRING_PTR(s[1]), "-") != 0) { RSTRING_PTR 2308 ext/date/date_parse.c if (strcmp(RSTRING_PTR(s[1]), "-") != 0) RSTRING_PTR 2387 ext/date/date_parse.c if (strcmp(RSTRING_PTR(s[1]), "--") != 0) { RSTRING_PTR 2393 ext/date/date_parse.c if (*RSTRING_PTR(s[2]) == '-') { RSTRING_PTR 2394 ext/date/date_parse.c if (strcmp(RSTRING_PTR(s[1]), "--") != 0) RSTRING_PTR 2988 ext/date/date_parse.c ep = gengo(NIL_P(s[1]) ? 'h' : *RSTRING_PTR(s[1])); RSTRING_PTR 178 ext/dbm/dbm.c dbm = dbm_open(RSTRING_PTR(file), flags|O_CLOEXEC, mode); RSTRING_PTR 183 ext/dbm/dbm.c dbm = dbm_open(RSTRING_PTR(file), O_RDWR|O_CREAT|O_CLOEXEC, mode); RSTRING_PTR 186 ext/dbm/dbm.c dbm = dbm_open(RSTRING_PTR(file), O_RDWR|O_CLOEXEC, 0); RSTRING_PTR 189 ext/dbm/dbm.c dbm = dbm_open(RSTRING_PTR(file), O_RDONLY|O_CLOEXEC, 0); RSTRING_PTR 274 ext/dbm/dbm.c key.dptr = RSTRING_PTR(keystr); RSTRING_PTR 342 ext/dbm/dbm.c val.dptr = RSTRING_PTR(valstr); RSTRING_PTR 349 ext/dbm/dbm.c memcmp(val.dptr, RSTRING_PTR(valstr), val.dsize) == 0) { RSTRING_PTR 439 ext/dbm/dbm.c key.dptr = RSTRING_PTR(keystr); RSTRING_PTR 531 ext/dbm/dbm.c key.dptr = RSTRING_PTR(keystr); RSTRING_PTR 661 ext/dbm/dbm.c key.dptr = RSTRING_PTR(keystr); RSTRING_PTR 664 ext/dbm/dbm.c val.dptr = RSTRING_PTR(valstr); RSTRING_PTR 877 ext/dbm/dbm.c key.dptr = RSTRING_PTR(keystr); RSTRING_PTR 905 ext/dbm/dbm.c val.dptr = RSTRING_PTR(valstr); RSTRING_PTR 912 ext/dbm/dbm.c memcmp(val.dptr, RSTRING_PTR(valstr), val.dsize) == 0) RSTRING_PTR 36 ext/digest/bubblebabble/bubblebabble.c digest = RSTRING_PTR(str_digest); RSTRING_PTR 44 ext/digest/bubblebabble/bubblebabble.c p = RSTRING_PTR(str); RSTRING_PTR 111 ext/digest/digest.c digest = RSTRING_PTR(str_digest); RSTRING_PTR 120 ext/digest/digest.c for (i = 0, p = RSTRING_PTR(str); i < digest_len; i++) { RSTRING_PTR 627 ext/digest/digest.c algo->update_func(pctx, (unsigned char *)RSTRING_PTR(str), RSTRING_LEN(str)); RSTRING_PTR 646 ext/digest/digest.c algo->finish_func(pctx, (unsigned char *)RSTRING_PTR(str)); RSTRING_PTR 220 ext/etc/etc.c pwd = getpwnam(RSTRING_PTR(nam)); RSTRING_PTR 463 ext/etc/etc.c grp = getgrnam(RSTRING_PTR(nam)); RSTRING_PTR 673 ext/etc/etc.c confstr(_CS_DARWIN_USER_TEMP_DIR, RSTRING_PTR(tmpdir), len); RSTRING_PTR 240 ext/gdbm/gdbm.c dbm = gdbm_open(RSTRING_PTR(file), MY_BLOCK_SIZE, RSTRING_PTR 246 ext/gdbm/gdbm.c dbm = gdbm_open(RSTRING_PTR(file), MY_BLOCK_SIZE, RSTRING_PTR 249 ext/gdbm/gdbm.c dbm = gdbm_open(RSTRING_PTR(file), MY_BLOCK_SIZE, RSTRING_PTR 252 ext/gdbm/gdbm.c dbm = gdbm_open(RSTRING_PTR(file), MY_BLOCK_SIZE, RSTRING_PTR 340 ext/gdbm/gdbm.c key.dptr = RSTRING_PTR(keystr); RSTRING_PTR 381 ext/gdbm/gdbm.c key.dptr = RSTRING_PTR(keystr); RSTRING_PTR 461 ext/gdbm/gdbm.c memcmp(RSTRING_PTR(valstr), RSTRING_PTR(valstr2), RSTRING_PTR 544 ext/gdbm/gdbm.c key.dptr = RSTRING_PTR(keystr); RSTRING_PTR 731 ext/gdbm/gdbm.c key.dptr = RSTRING_PTR(keystr); RSTRING_PTR 734 ext/gdbm/gdbm.c val.dptr = RSTRING_PTR(valstr); RSTRING_PTR 997 ext/gdbm/gdbm.c key.dptr = RSTRING_PTR(keystr); RSTRING_PTR 1030 ext/gdbm/gdbm.c memcmp(RSTRING_PTR(valstr), RSTRING_PTR(valstr2), RSTRING_PTR 734 ext/io/console/console.c kn = RSTRING_PTR(k); RSTRING_PTR 49 ext/nkf/nkf.c output = (unsigned char *)RSTRING_PTR(result); RSTRING_PTR 141 ext/nkf/nkf.c nkf_split_options(RSTRING_PTR(opt)); RSTRING_PTR 157 ext/nkf/nkf.c input = (unsigned char *)RSTRING_PTR(src); RSTRING_PTR 162 ext/nkf/nkf.c output = (unsigned char *)RSTRING_PTR(tmp); RSTRING_PTR 199 ext/nkf/nkf.c input = (unsigned char *)RSTRING_PTR(src); RSTRING_PTR 82 ext/objspace/object_tracing.c const char *path_cstr = RTEST(path) ? make_unique_str(arg->str_table, RSTRING_PTR(path), RSTRING_LEN(path)) : 0; RSTRING_PTR 84 ext/objspace/object_tracing.c const char *class_path_cstr = RTEST(class_path) ? make_unique_str(arg->str_table, RSTRING_PTR(class_path), RSTRING_LEN(class_path)) : 0; RSTRING_PTR 291 ext/objspace/object_tracing.c fprintf(out, " (%s)", RSTRING_PTR(m)); RSTRING_PTR 60 ext/objspace/objspace_dump.c for (i = 0, value = RSTRING_PTR(obj); i < RSTRING_LEN(obj); i++) { RSTRING_PTR 303 ext/objspace/objspace_dump.c dump_append(dc, ", \"method\":\"%s\"", RSTRING_PTR(m)); RSTRING_PTR 140 ext/openssl/ossl.c if(!NIL_P(str)) memcpy(RSTRING_PTR(str), buf, len); RSTRING_PTR 199 ext/openssl/ossl.c memcpy(buf, RSTRING_PTR(pass), len); RSTRING_PTR 233 ext/openssl/ossl.c memcpy(buf, RSTRING_PTR(pass), len); RSTRING_PTR 117 ext/openssl/ossl.h long newlen = (long)((p) - (unsigned char*)RSTRING_PTR(str));\ RSTRING_PTR 258 ext/openssl/ossl_asn1.c ASN1_BIT_STRING_set(bstr, (unsigned char *)RSTRING_PTR(obj), RSTRING_LENINT(obj)); RSTRING_PTR 273 ext/openssl/ossl_asn1.c ASN1_STRING_set(str, RSTRING_PTR(obj), RSTRING_LENINT(obj)); RSTRING_PTR 297 ext/openssl/ossl_asn1.c a1obj = OBJ_txt2obj(RSTRING_PTR(obj), 0); RSTRING_PTR 298 ext/openssl/ossl_asn1.c if(!a1obj) a1obj = OBJ_txt2obj(RSTRING_PTR(obj), 1); RSTRING_PTR 353 ext/openssl/ossl_asn1.c ASN1_STRING_set(a1str, RSTRING_PTR(str), RSTRING_LENINT(str)); RSTRING_PTR 799 ext/openssl/ossl_asn1.c p = (unsigned char *)RSTRING_PTR(der); RSTRING_PTR 801 ext/openssl/ossl_asn1.c memcpy(p, RSTRING_PTR(value), RSTRING_LEN(value)); RSTRING_PTR 1051 ext/openssl/ossl_asn1.c p = (unsigned char *)RSTRING_PTR(tmp); RSTRING_PTR 1081 ext/openssl/ossl_asn1.c p = (unsigned char *)RSTRING_PTR(tmp); RSTRING_PTR 1112 ext/openssl/ossl_asn1.c p = (unsigned char *)RSTRING_PTR(tmp); RSTRING_PTR 1306 ext/openssl/ossl_asn1.c p = (unsigned char *)RSTRING_PTR(str); RSTRING_PTR 1318 ext/openssl/ossl_asn1.c memcpy(p, RSTRING_PTR(value), RSTRING_LEN(value)); RSTRING_PTR 1372 ext/openssl/ossl_asn1.c if(!OBJ_create(RSTRING_PTR(oid), RSTRING_PTR(sn), RSTRING_PTR(ln))) RSTRING_PTR 43 ext/openssl/ossl_bio.c bio = BIO_new_mem_buf(RSTRING_PTR(obj), RSTRING_LENINT(obj)); RSTRING_PTR 264 ext/openssl/ossl_bn.c if (BN_bn2mpi(bn, (unsigned char *)RSTRING_PTR(str)) != len) RSTRING_PTR 270 ext/openssl/ossl_bn.c if (BN_bn2bin(bn, (unsigned char *)RSTRING_PTR(str)) != len) RSTRING_PTR 224 ext/openssl/ossl_cipher.c memcpy(iv, RSTRING_PTR(init_v), RSTRING_LEN(init_v)); RSTRING_PTR 226 ext/openssl/ossl_cipher.c else memcpy(iv, RSTRING_PTR(init_v), sizeof(iv)); RSTRING_PTR 229 ext/openssl/ossl_cipher.c (unsigned char *)RSTRING_PTR(pass), RSTRING_LENINT(pass), 1, key, NULL); RSTRING_PTR 314 ext/openssl/ossl_cipher.c salt = (unsigned char *)RSTRING_PTR(vsalt); RSTRING_PTR 320 ext/openssl/ossl_cipher.c (unsigned char *)RSTRING_PTR(vpass), RSTRING_LENINT(vpass), iter, key, iv); RSTRING_PTR 380 ext/openssl/ossl_cipher.c in = (unsigned char *)RSTRING_PTR(data); RSTRING_PTR 397 ext/openssl/ossl_cipher.c if (!ossl_cipher_update_long(ctx, (unsigned char *)RSTRING_PTR(str), &out_len, in, in_len)) RSTRING_PTR 428 ext/openssl/ossl_cipher.c if (!EVP_CipherFinal_ex(ctx, (unsigned char *)RSTRING_PTR(str), &out_len)) RSTRING_PTR 477 ext/openssl/ossl_cipher.c if (EVP_CipherInit_ex(ctx, NULL, NULL, (unsigned char *)RSTRING_PTR(key), NULL, -1) != 1) RSTRING_PTR 511 ext/openssl/ossl_cipher.c if (EVP_CipherInit_ex(ctx, NULL, NULL, NULL, (unsigned char *)RSTRING_PTR(iv), -1) != 1) RSTRING_PTR 545 ext/openssl/ossl_cipher.c in = (unsigned char *) RSTRING_PTR(data); RSTRING_PTR 586 ext/openssl/ossl_cipher.c if (!EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_GET_TAG, tag_len, RSTRING_PTR(ret))) RSTRING_PTR 612 ext/openssl/ossl_cipher.c tag = (unsigned char *) RSTRING_PTR(vtag); RSTRING_PTR 206 ext/openssl/ossl_digest.c EVP_DigestUpdate(ctx, RSTRING_PTR(data), RSTRING_LEN(data)); RSTRING_PTR 233 ext/openssl/ossl_digest.c EVP_DigestFinal_ex(ctx, (unsigned char *)RSTRING_PTR(str), NULL); RSTRING_PTR 55 ext/openssl/ossl_engine.c if(!strcmp(#x, RSTRING_PTR(name))){\ RSTRING_PTR 219 ext/openssl/ossl_engine.c if(!(e = ENGINE_by_id(RSTRING_PTR(id)))) RSTRING_PTR 112 ext/openssl/ossl_hmac.c HMAC_Init_ex(ctx, RSTRING_PTR(key), RSTRING_LENINT(key), RSTRING_PTR 159 ext/openssl/ossl_hmac.c HMAC_Update(ctx, (unsigned char *)RSTRING_PTR(data), RSTRING_LEN(data)); RSTRING_PTR 300 ext/openssl/ossl_hmac.c buf = HMAC(GetDigestPtr(digest), RSTRING_PTR(key), RSTRING_LENINT(key), RSTRING_PTR 301 ext/openssl/ossl_hmac.c (unsigned char *)RSTRING_PTR(data), RSTRING_LEN(data), NULL, &buf_len); RSTRING_PTR 334 ext/openssl/ossl_hmac.c buf = HMAC(GetDigestPtr(digest), RSTRING_PTR(key), RSTRING_LENINT(key), RSTRING_PTR 335 ext/openssl/ossl_hmac.c (unsigned char *)RSTRING_PTR(data), RSTRING_LEN(data), NULL, &buf_len); RSTRING_PTR 89 ext/openssl/ossl_ns_spki.c if (!(spki = NETSCAPE_SPKI_b64_decode(RSTRING_PTR(buffer), RSTRING_LENINT(buffer)))) { RSTRING_PTR 91 ext/openssl/ossl_ns_spki.c p = (unsigned char *)RSTRING_PTR(buffer); RSTRING_PTR 120 ext/openssl/ossl_ns_spki.c p = (unsigned char *)RSTRING_PTR(str); RSTRING_PTR 263 ext/openssl/ossl_ns_spki.c if (!ASN1_STRING_set(spki->spkac->challenge, RSTRING_PTR(str), RSTRING_PTR 187 ext/openssl/ossl_ocsp.c p = (unsigned char *)RSTRING_PTR(arg); RSTRING_PTR 221 ext/openssl/ossl_ocsp.c ret = OCSP_request_add1_nonce(req, (unsigned char *)RSTRING_PTR(val), RSTRING_LENINT(val)); RSTRING_PTR 408 ext/openssl/ossl_ocsp.c p = (unsigned char *)RSTRING_PTR(str); RSTRING_PTR 479 ext/openssl/ossl_ocsp.c p = (unsigned char *)RSTRING_PTR(arg); RSTRING_PTR 567 ext/openssl/ossl_ocsp.c p = (unsigned char *)RSTRING_PTR(str); RSTRING_PTR 612 ext/openssl/ossl_ocsp.c p = (unsigned char *)RSTRING_PTR(arg); RSTRING_PTR 665 ext/openssl/ossl_ocsp.c ret = OCSP_basic_add1_nonce(bs, (unsigned char *)RSTRING_PTR(val), RSTRING_LENINT(val)); RSTRING_PTR 905 ext/openssl/ossl_ocsp.c p = (unsigned char *)RSTRING_PTR(str); RSTRING_PTR 958 ext/openssl/ossl_ocsp.c p = (unsigned char *)RSTRING_PTR(arg); RSTRING_PTR 1133 ext/openssl/ossl_ocsp.c p = (unsigned char *)RSTRING_PTR(str); RSTRING_PTR 208 ext/openssl/ossl_pkcs12.c p = (unsigned char *)RSTRING_PTR(str); RSTRING_PTR 38 ext/openssl/ossl_pkcs5.c if (PKCS5_PBKDF2_HMAC(RSTRING_PTR(pass), RSTRING_LENINT(pass), RSTRING_PTR 39 ext/openssl/ossl_pkcs5.c (unsigned char *)RSTRING_PTR(salt), RSTRING_LENINT(salt), RSTRING_PTR 41 ext/openssl/ossl_pkcs5.c (unsigned char *)RSTRING_PTR(str)) != 1) RSTRING_PTR 76 ext/openssl/ossl_pkcs5.c if (PKCS5_PBKDF2_HMAC_SHA1(RSTRING_PTR(pass), RSTRING_LENINT(pass), RSTRING_PTR 77 ext/openssl/ossl_pkcs5.c (const unsigned char *)RSTRING_PTR(salt), RSTRING_LENINT(salt), NUM2INT(iter), RSTRING_PTR 78 ext/openssl/ossl_pkcs5.c len, (unsigned char *)RSTRING_PTR(str)) != 1) RSTRING_PTR 880 ext/openssl/ossl_pkcs7.c p = (unsigned char *)RSTRING_PTR(str); RSTRING_PTR 285 ext/openssl/ossl_pkey.c EVP_SignUpdate(ctx, RSTRING_PTR(data), RSTRING_LEN(data)); RSTRING_PTR 286 ext/openssl/ossl_pkey.c result = EVP_SignFinal(ctx, (unsigned char *)RSTRING_PTR(str), &buf_len, pkey); RSTRING_PTR 334 ext/openssl/ossl_pkey.c EVP_VerifyUpdate(ctx, RSTRING_PTR(data), RSTRING_LEN(data)); RSTRING_PTR 335 ext/openssl/ossl_pkey.c result = EVP_VerifyFinal(ctx, (unsigned char *)RSTRING_PTR(sig), RSTRING_LENINT(sig), pkey); RSTRING_PTR 334 ext/openssl/ossl_pkey_dh.c p = (unsigned char *)RSTRING_PTR(str); RSTRING_PTR 512 ext/openssl/ossl_pkey_dh.c if ((len = DH_compute_key((unsigned char *)RSTRING_PTR(str), pub_key, dh)) < 0) { RSTRING_PTR 383 ext/openssl/ossl_pkey_dsa.c p = (unsigned char *)RSTRING_PTR(str); RSTRING_PTR 524 ext/openssl/ossl_pkey_dsa.c if (!DSA_sign(0, (unsigned char *)RSTRING_PTR(data), RSTRING_LENINT(data), RSTRING_PTR 525 ext/openssl/ossl_pkey_dsa.c (unsigned char *)RSTRING_PTR(str), RSTRING_PTR 563 ext/openssl/ossl_pkey_dsa.c ret = DSA_verify(0, (unsigned char *)RSTRING_PTR(digest), RSTRING_LENINT(digest), RSTRING_PTR 564 ext/openssl/ossl_pkey_dsa.c (unsigned char *)RSTRING_PTR(sig), RSTRING_LENINT(sig), dsa); RSTRING_PTR 695 ext/openssl/ossl_pkey_ec.c buf_len = ECDH_compute_key(RSTRING_PTR(str), buf_len, point, ec, NULL); RSTRING_PTR 725 ext/openssl/ossl_pkey_ec.c if (ECDSA_sign(0, (unsigned char *) RSTRING_PTR(data), RSTRING_LENINT(data), (unsigned char *) RSTRING_PTR(str), &buf_len, ec) != 1) RSTRING_PTR 747 ext/openssl/ossl_pkey_ec.c switch (ECDSA_verify(0, (unsigned char *) RSTRING_PTR(data), RSTRING_LENINT(data), (unsigned char *) RSTRING_PTR(sig), (int)RSTRING_LEN(sig), ec)) { RSTRING_PTR 1178 ext/openssl/ossl_pkey_ec.c if (EC_GROUP_set_seed(group, (unsigned char *)RSTRING_PTR(seed), RSTRING_LEN(seed)) != (size_t)RSTRING_LEN(seed)) RSTRING_PTR 379 ext/openssl/ossl_pkey_rsa.c p = (unsigned char *)RSTRING_PTR(str); RSTRING_PTR 413 ext/openssl/ossl_pkey_rsa.c buf_len = RSA_public_encrypt(RSTRING_LENINT(buffer), (unsigned char *)RSTRING_PTR(buffer), RSTRING_PTR 414 ext/openssl/ossl_pkey_rsa.c (unsigned char *)RSTRING_PTR(str), rsa, pad); RSTRING_PTR 445 ext/openssl/ossl_pkey_rsa.c buf_len = RSA_public_decrypt(RSTRING_LENINT(buffer), (unsigned char *)RSTRING_PTR(buffer), RSTRING_PTR 446 ext/openssl/ossl_pkey_rsa.c (unsigned char *)RSTRING_PTR(str), rsa, pad); RSTRING_PTR 479 ext/openssl/ossl_pkey_rsa.c buf_len = RSA_private_encrypt(RSTRING_LENINT(buffer), (unsigned char *)RSTRING_PTR(buffer), RSTRING_PTR 480 ext/openssl/ossl_pkey_rsa.c (unsigned char *)RSTRING_PTR(str), rsa, pad); RSTRING_PTR 513 ext/openssl/ossl_pkey_rsa.c buf_len = RSA_private_decrypt(RSTRING_LENINT(buffer), (unsigned char *)RSTRING_PTR(buffer), RSTRING_PTR 514 ext/openssl/ossl_pkey_rsa.c (unsigned char *)RSTRING_PTR(str), rsa, pad); RSTRING_PTR 25 ext/openssl/ossl_rand.c RAND_seed(RSTRING_PTR(str), RSTRING_LENINT(str)); RSTRING_PTR 56 ext/openssl/ossl_rand.c RAND_add(RSTRING_PTR(str), RSTRING_LENINT(str), NUM2DBL(entropy)); RSTRING_PTR 117 ext/openssl/ossl_rand.c ret = RAND_bytes((unsigned char *)RSTRING_PTR(str), n); RSTRING_PTR 149 ext/openssl/ossl_rand.c if (RAND_pseudo_bytes((unsigned char *)RSTRING_PTR(str), n) < 1) { RSTRING_PTR 582 ext/openssl/ossl_ssl.c rb_str_buf_cat(encoded, RSTRING_PTR(cur), len); RSTRING_PTR 617 ext/openssl/ossl_ssl.c *out = (unsigned char *)RSTRING_PTR(selected); RSTRING_PTR 630 ext/openssl/ossl_ssl.c *out = (const unsigned char *) RSTRING_PTR(protocols); RSTRING_PTR 852 ext/openssl/ossl_ssl.c SSL_CTX_set_alpn_protos(ctx, (unsigned char *)RSTRING_PTR(rprotos), RSTRING_LENINT(rprotos)); RSTRING_PTR 866 ext/openssl/ossl_ssl.c if (!SSL_CTX_set_session_id_context(ctx, (unsigned char *)RSTRING_PTR(val), RSTRING_PTR 1032 ext/openssl/ossl_ssl.c if (!SSL_CTX_set1_curves_list(ctx, RSTRING_PTR(arg))) RSTRING_PTR 1049 ext/openssl/ossl_ssl.c nid = EC_curve_nist2nid(RSTRING_PTR(curve)); RSTRING_PTR 1051 ext/openssl/ossl_ssl.c nid = OBJ_txt2nid(RSTRING_PTR(curve)); RSTRING_PTR 1655 ext/openssl/ossl_ssl.c nread = SSL_read(ssl, RSTRING_PTR(str), RSTRING_LENINT(str)); RSTRING_PTR 1747 ext/openssl/ossl_ssl.c nwrite = SSL_write(ssl, RSTRING_PTR(str), RSTRING_LENINT(str)); RSTRING_PTR 237 ext/openssl/ossl_ssl_session.c p = (unsigned char *)RSTRING_PTR(str); RSTRING_PTR 119 ext/openssl/ossl_x509attr.c p = (unsigned char *)RSTRING_PTR(oid); RSTRING_PTR 251 ext/openssl/ossl_x509attr.c p = (unsigned char *)RSTRING_PTR(str); RSTRING_PTR 278 ext/openssl/ossl_x509attr.c p = (unsigned char *)RSTRING_PTR(str); RSTRING_PTR 214 ext/openssl/ossl_x509cert.c p = (unsigned char *)RSTRING_PTR(str); RSTRING_PTR 250 ext/openssl/ossl_x509ext.c nid = OBJ_ln2nid(RSTRING_PTR(oid)); RSTRING_PTR 251 ext/openssl/ossl_x509ext.c if(!nid) nid = OBJ_sn2nid(RSTRING_PTR(oid)); RSTRING_PTR 262 ext/openssl/ossl_x509ext.c ext = X509V3_EXT_nconf_nid(conf, ctx, nid, RSTRING_PTR(valstr)); RSTRING_PTR 312 ext/openssl/ossl_x509ext.c p = (unsigned char *)RSTRING_PTR(oid); RSTRING_PTR 354 ext/openssl/ossl_x509ext.c if(!ASN1_STRING_set((ASN1_STRING *)asn1s, (unsigned char *)RSTRING_PTR(data), RSTRING_LENINT(data))){ RSTRING_PTR 436 ext/openssl/ossl_x509ext.c p = (unsigned char *)RSTRING_PTR(str); RSTRING_PTR 172 ext/openssl/ossl_x509name.c p = (unsigned char *)RSTRING_PTR(str); RSTRING_PTR 211 ext/openssl/ossl_x509name.c (const unsigned char *)RSTRING_PTR(value), RSTRING_LENINT(value), -1, 0)) { RSTRING_PTR 426 ext/openssl/ossl_x509name.c p = (unsigned char *)RSTRING_PTR(str); RSTRING_PTR 193 ext/openssl/ossl_x509req.c p = (unsigned char *)RSTRING_PTR(str); RSTRING_PTR 40 ext/pathname/pathname.c if (memchr(RSTRING_PTR(str), '\0', RSTRING_LEN(str))) RSTRING_PTR 134 ext/pathname/pathname.c p1 = RSTRING_PTR(s1); RSTRING_PTR 135 ext/pathname/pathname.c p2 = RSTRING_PTR(s2); RSTRING_PTR 228 ext/pathname/pathname.c p = RSTRING_PTR(str); RSTRING_PTR 201 ext/psych/psych_emitter.c tail->handle = (yaml_char_t *)RSTRING_PTR(name); RSTRING_PTR 202 ext/psych/psych_emitter.c tail->prefix = (yaml_char_t *)RSTRING_PTR(value); RSTRING_PTR 291 ext/psych/psych_parser.c (const unsigned char *)RSTRING_PTR(yaml), RSTRING_PTR 271 ext/readline/readline.c s = s0 = RSTRING_PTR(prompt); RSTRING_PTR 487 ext/readline/readline.c prompt = RSTRING_PTR(tmp); RSTRING_PTR 672 ext/readline/readline.c rl_insert_text(RSTRING_PTR(str)); RSTRING_PTR 971 ext/readline/readline.c strcpy(result[i + 1], RSTRING_PTR(temp)); RSTRING_PTR 1182 ext/readline/readline.c rl_completion_append_character = RSTRING_PTR(str)[0]; RSTRING_PTR 1241 ext/readline/readline.c RSTRING_PTR(str), RSTRING_LEN(str)); RSTRING_PTR 1296 ext/readline/readline.c RSTRING_PTR(str), RSTRING_LEN(str)); RSTRING_PTR 1354 ext/readline/readline.c rl_special_prefixes = RSTRING_PTR(str); RSTRING_PTR 1411 ext/readline/readline.c RSTRING_PTR(str), RSTRING_LEN(str)); RSTRING_PTR 1466 ext/readline/readline.c strncpy(completer_quote_characters, RSTRING_PTR(str), RSTRING_LEN(str)); RSTRING_PTR 1520 ext/readline/readline.c strncpy(filename_quote_characters, RSTRING_PTR(str), RSTRING_LEN(str)); RSTRING_PTR 1619 ext/readline/readline.c entry = replace_history_entry(history_replace_offset_func(i), RSTRING_PTR(str), NULL); RSTRING_PTR 1634 ext/readline/readline.c add_history(RSTRING_PTR(str)); RSTRING_PTR 1646 ext/readline/readline.c add_history(RSTRING_PTR(str)); RSTRING_PTR 11325 ext/ripper/ripper.c ruby_sourcefile = RSTRING_PTR(fname); RSTRING_PTR 11347 ext/ripper/ripper.c beg = RSTRING_PTR(s); RSTRING_PTR 11556 ext/ripper/ripper.c lex_pbeg = lex_p = RSTRING_PTR(v); RSTRING_PTR 12369 ext/ripper/ripper.c lex_pbeg = RSTRING_PTR(line); RSTRING_PTR 12567 ext/ripper/ripper.c eos = RSTRING_PTR(here->nd_lit); RSTRING_PTR 12610 ext/ripper/ripper.c p = RSTRING_PTR(lex_lastline); RSTRING_PTR 12933 ext/ripper/ripper.c MEMCPY(RSTRING_PTR(_s), (_p), char, (_n)), (_s)) \ RSTRING_PTR 13005 ext/ripper/ripper.c s = RSTRING_PTR(name); RSTRING_PTR 13016 ext/ripper/ripper.c (*p->func)(parser, p->name, RSTRING_PTR(val)); RSTRING_PTR 13068 ext/ripper/ripper.c parser_set_encode(parser, RSTRING_PTR(s)); RSTRING_PTR 15106 ext/ripper/ripper.c return RSTRING_PTR(s)[0] == '_'; RSTRING_PTR 17130 ext/ripper/ripper.c ruby_sourcefile = RSTRING_PTR(fname); RSTRING_PTR 5576 ext/ripper/ripper.y ruby_sourcefile = RSTRING_PTR(fname); RSTRING_PTR 5598 ext/ripper/ripper.y beg = RSTRING_PTR(s); RSTRING_PTR 5807 ext/ripper/ripper.y lex_pbeg = lex_p = RSTRING_PTR(v); RSTRING_PTR 6620 ext/ripper/ripper.y lex_pbeg = RSTRING_PTR(line); RSTRING_PTR 6818 ext/ripper/ripper.y eos = RSTRING_PTR(here->nd_lit); RSTRING_PTR 6861 ext/ripper/ripper.y p = RSTRING_PTR(lex_lastline); RSTRING_PTR 7184 ext/ripper/ripper.y MEMCPY(RSTRING_PTR(_s), (_p), char, (_n)), (_s)) \ RSTRING_PTR 7256 ext/ripper/ripper.y s = RSTRING_PTR(name); RSTRING_PTR 7267 ext/ripper/ripper.y (*p->func)(parser, p->name, RSTRING_PTR(val)); RSTRING_PTR 7319 ext/ripper/ripper.y parser_set_encode(parser, RSTRING_PTR(s)); RSTRING_PTR 9357 ext/ripper/ripper.y return RSTRING_PTR(s)[0] == '_'; RSTRING_PTR 11381 ext/ripper/ripper.y ruby_sourcefile = RSTRING_PTR(fname); RSTRING_PTR 200 ext/sdbm/init.c dbm = sdbm_open(RSTRING_PTR(file), O_RDWR|O_CREAT, mode); RSTRING_PTR 202 ext/sdbm/init.c dbm = sdbm_open(RSTRING_PTR(file), O_RDWR, 0); RSTRING_PTR 204 ext/sdbm/init.c dbm = sdbm_open(RSTRING_PTR(file), O_RDONLY, 0); RSTRING_PTR 261 ext/sdbm/init.c key.dptr = RSTRING_PTR(keystr); RSTRING_PTR 331 ext/sdbm/init.c val.dptr = RSTRING_PTR(valstr); RSTRING_PTR 338 ext/sdbm/init.c memcmp(val.dptr, RSTRING_PTR(valstr), val.dsize) == 0) RSTRING_PTR 443 ext/sdbm/init.c key.dptr = RSTRING_PTR(keystr); RSTRING_PTR 534 ext/sdbm/init.c key.dptr = RSTRING_PTR(keystr); RSTRING_PTR 635 ext/sdbm/init.c key.dptr = RSTRING_PTR(keystr); RSTRING_PTR 638 ext/sdbm/init.c val.dptr = RSTRING_PTR(valstr); RSTRING_PTR 904 ext/sdbm/init.c key.dptr = RSTRING_PTR(keystr); RSTRING_PTR 928 ext/sdbm/init.c val.dptr = RSTRING_PTR(valstr); RSTRING_PTR 935 ext/sdbm/init.c memcmp(val.dptr, RSTRING_PTR(valstr), val.dsize) == 0) RSTRING_PTR 315 ext/socket/ancdata.c memcpy((char*)&tv, RSTRING_PTR(data), sizeof(tv)); RSTRING_PTR 324 ext/socket/ancdata.c memcpy((char*)&ts, RSTRING_PTR(data), sizeof(ts)); RSTRING_PTR 338 ext/socket/ancdata.c memcpy((char*)&bt, RSTRING_PTR(data), sizeof(bt)); RSTRING_PTR 395 ext/socket/ancdata.c memcpy((char*)&i, RSTRING_PTR(data), sizeof(int)); RSTRING_PTR 442 ext/socket/ancdata.c memcpy(&sa, RSTRING_PTR(v_addr), sizeof(sa)); RSTRING_PTR 452 ext/socket/ancdata.c memcpy(&sa, RSTRING_PTR(v_spec_dst), sizeof(sa)); RSTRING_PTR 501 ext/socket/ancdata.c memcpy(&pktinfo, RSTRING_PTR(data), sizeof(struct in_pktinfo)); RSTRING_PTR 548 ext/socket/ancdata.c memcpy(&sa, RSTRING_PTR(v_addr), sizeof(sa)); RSTRING_PTR 577 ext/socket/ancdata.c memcpy(pktinfo_ptr, RSTRING_PTR(data), sizeof(*pktinfo_ptr)); RSTRING_PTR 679 ext/socket/ancdata.c memcpy((char*)&fd, RSTRING_PTR(data)+off, sizeof(int)); RSTRING_PTR 697 ext/socket/ancdata.c memcpy(&cred, RSTRING_PTR(data), sizeof(struct ucred)); RSTRING_PTR 730 ext/socket/ancdata.c memcpy(&cred, RSTRING_PTR(data), sizeof(struct cmsgcred)); RSTRING_PTR 750 ext/socket/ancdata.c memcpy(&cred0, RSTRING_PTR(data), SOCKCREDSIZE(0)); RSTRING_PTR 753 ext/socket/ancdata.c memcpy(cred, RSTRING_PTR(data), SOCKCREDSIZE(cred0.sc_ngroups)); RSTRING_PTR 783 ext/socket/ancdata.c memcpy(&addr, RSTRING_PTR(data), sizeof(addr)); RSTRING_PTR 804 ext/socket/ancdata.c memcpy(&pktinfo, RSTRING_PTR(data), sizeof(pktinfo)); RSTRING_PTR 831 ext/socket/ancdata.c struct in6_pktinfo *pktinfo = (struct in6_pktinfo *)RSTRING_PTR(data); RSTRING_PTR 862 ext/socket/ancdata.c memcpy((char*)&tv, RSTRING_PTR(data), sizeof(tv)); RSTRING_PTR 883 ext/socket/ancdata.c memcpy((char*)&ts, RSTRING_PTR(data), sizeof(ts)); RSTRING_PTR 907 ext/socket/ancdata.c memcpy((char*)&bt, RSTRING_PTR(data), sizeof(bt)); RSTRING_PTR 1197 ext/socket/ancdata.c cmsg = RSTRING_PTR(controls_str)+oldlen; RSTRING_PTR 1204 ext/socket/ancdata.c MEMCPY(cmsg+((char*)CMSG_DATA(&cmh)-(char*)&cmh), RSTRING_PTR(cdata), char, RSTRING_LEN(cdata)); RSTRING_PTR 1257 ext/socket/ancdata.c mh.msg_name = RSTRING_PTR(dest_sockaddr); RSTRING_PTR 1262 ext/socket/ancdata.c iov.iov_base = RSTRING_PTR(data); RSTRING_PTR 1266 ext/socket/ancdata.c mh.msg_control = RSTRING_PTR(controls_str); RSTRING_PTR 1516 ext/socket/ancdata.c datbuf = RSTRING_PTR(dat_str); RSTRING_PTR 1523 ext/socket/ancdata.c ctlbuf = RSTRING_PTR(ctl_str); RSTRING_PTR 235 ext/socket/basicsocket.c v = RSTRING_PTR(val); RSTRING_PTR 542 ext/socket/basicsocket.c arg.to = (struct sockaddr *)RSTRING_PTR(to); RSTRING_PTR 32 ext/socket/constants.c ptr = RSTRING_PTR(arg); RSTRING_PTR 86 ext/socket/init.c return (VALUE)sendto(arg->fd, RSTRING_PTR(mesg), RSTRING_LEN(mesg), RSTRING_PTR 95 ext/socket/init.c return (VALUE)send(arg->fd, RSTRING_PTR(mesg), RSTRING_LEN(mesg), RSTRING_PTR 112 ext/socket/init.c ret = recvfrom(arg->fd, RSTRING_PTR(arg->str), RSTRING_LEN(arg->str), RSTRING_PTR 243 ext/socket/init.c slen = recvfrom(fd, RSTRING_PTR(str), buflen, flags, &buf.addr, &alen); RSTRING_PTR 223 ext/socket/option.c return CHR2FIX(*RSTRING_PTR(data)); RSTRING_PTR 264 ext/socket/option.c memcpy((char*)&i, RSTRING_PTR(data), sizeof(int)); RSTRING_PTR 310 ext/socket/option.c return *RSTRING_PTR(data) == 0 ? Qfalse : Qtrue; RSTRING_PTR 313 ext/socket/option.c memcpy((char*)&i, RSTRING_PTR(data), len); RSTRING_PTR 366 ext/socket/option.c memcpy((char*)&l, RSTRING_PTR(data), sizeof(struct linger)); RSTRING_PTR 487 ext/socket/option.c memcpy((char*)&i, RSTRING_PTR(data), sizeof(int)); RSTRING_PTR 501 ext/socket/option.c rb_str_catf(ret, " %d", (unsigned char)*RSTRING_PTR(data)); RSTRING_PTR 516 ext/socket/option.c memcpy((char*)&i, RSTRING_PTR(data), sizeof(int)); RSTRING_PTR 532 ext/socket/option.c memcpy((char*)&i, RSTRING_PTR(data), sizeof(unsigned int)); RSTRING_PTR 548 ext/socket/option.c memcpy((char*)&s, RSTRING_PTR(data), sizeof(s)); RSTRING_PTR 570 ext/socket/option.c memcpy((char*)&i, RSTRING_PTR(data), sizeof(int)); RSTRING_PTR 589 ext/socket/option.c memcpy((char*)&s, RSTRING_PTR(data), sizeof(s)); RSTRING_PTR 694 ext/socket/option.c memcpy((char*)&s, RSTRING_PTR(data), sizeof(s)); RSTRING_PTR 718 ext/socket/option.c memcpy((char*)&s, RSTRING_PTR(data), sizeof(s)); RSTRING_PTR 759 ext/socket/option.c memcpy((char*)&s, RSTRING_PTR(data), sizeof(s)); RSTRING_PTR 782 ext/socket/option.c memcpy((char*)&ifindex, RSTRING_PTR(data), sizeof(unsigned int)); RSTRING_PTR 800 ext/socket/option.c memcpy((char*)&s, RSTRING_PTR(data), sizeof(s)); RSTRING_PTR 969 ext/socket/option.c memcpy((char*)&s, RSTRING_PTR(data), sizeof(s)); RSTRING_PTR 1153 ext/socket/option.c memcpy(&cred, RSTRING_PTR(data), sizeof(RUBY_SOCK_PEERCRED)); RSTRING_PTR 1171 ext/socket/option.c memcpy(&cred, RSTRING_PTR(data), sizeof(struct xucred)); RSTRING_PTR 629 ext/socket/raddrinfo.c else if (RSTRING_PTR(path)[0] == '\0') { RSTRING_PTR 877 ext/socket/raddrinfo.c if (RB_TYPE_P(node, T_STRING) && strcmp(hbuf, RSTRING_PTR(node)) == 0) RSTRING_PTR 879 ext/socket/raddrinfo.c if (RB_TYPE_P(service, T_STRING) && strcmp(pbuf, RSTRING_PTR(service)) == 0) RSTRING_PTR 984 ext/socket/raddrinfo.c memcpy((void*)&un.sun_path, RSTRING_PTR(path), RSTRING_LEN(path)); RSTRING_PTR 1063 ext/socket/raddrinfo.c if (rsock_family_to_int(RSTRING_PTR(afamily), RSTRING_LEN(afamily), &af) == -1) RSTRING_PTR 1108 ext/socket/raddrinfo.c sockaddr_ptr = (struct sockaddr *)RSTRING_PTR(sockaddr_arg); RSTRING_PTR 1619 ext/socket/raddrinfo.c if (rsock_family_to_int(RSTRING_PTR(v), RSTRING_LEN(v), &afamily) == -1) RSTRING_PTR 1624 ext/socket/raddrinfo.c if (rsock_family_to_int(RSTRING_PTR(v), RSTRING_LEN(v), &pfamily) == -1) RSTRING_PTR 1632 ext/socket/raddrinfo.c if (rsock_socktype_to_int(RSTRING_PTR(v), RSTRING_LEN(v), &socktype) == -1) RSTRING_PTR 1642 ext/socket/raddrinfo.c if (rsock_ipproto_to_int(RSTRING_PTR(v), RSTRING_LEN(v), &protocol) == -1) RSTRING_PTR 1679 ext/socket/raddrinfo.c memcpy(uaddr.sun_path, RSTRING_PTR(v), RSTRING_LEN(v)); RSTRING_PTR 2505 ext/socket/raddrinfo.c return RSTRING_PTR(*v); RSTRING_PTR 100 ext/socket/socket.c (struct sockaddr *)RSTRING_PTR(addr), RSTRING_PTR 433 ext/socket/socket.c n = rsock_connect(fd, (struct sockaddr*)RSTRING_PTR(addr), RSTRING_SOCKLEN(addr), 0); RSTRING_PTR 453 ext/socket/socket.c n = connect(fptr->fd, (struct sockaddr*)RSTRING_PTR(addr), RSTRING_SOCKLEN(addr)); RSTRING_PTR 567 ext/socket/socket.c if (bind(fptr->fd, (struct sockaddr*)RSTRING_PTR(addr), RSTRING_SOCKLEN(addr)) < 0) RSTRING_PTR 900 ext/socket/socket.c while (gethostname(RSTRING_PTR(name), len) < 0) { RSTRING_PTR 915 ext/socket/socket.c rb_str_resize(name, strlen(RSTRING_PTR(name))); RSTRING_PTR 1027 ext/socket/socket.c h = gethostbyaddr(RSTRING_PTR(addr), RSTRING_SOCKLEN(addr), t); RSTRING_PTR 1247 ext/socket/socket.c memcpy(&ss, RSTRING_PTR(sa), RSTRING_LEN(sa)); RSTRING_PTR 1449 ext/socket/socket.c memcpy(sockaddr.sun_path, RSTRING_PTR(path), RSTRING_LEN(path)); RSTRING_PTR 43 ext/socket/unixsocket.c memcpy(sockaddr.sun_path, RSTRING_PTR(path), RSTRING_LEN(path)); RSTRING_PTR 671 ext/stringio/stringio.c char c = RSTRING_PTR(ptr->string)[ptr->pos++]; RSTRING_PTR 708 ext/stringio/stringio.c p = RSTRING_PTR(str)+pos; RSTRING_PTR 728 ext/stringio/stringio.c c = RSTRING_PTR(ptr->string)[ptr->pos++]; RSTRING_PTR 742 ext/stringio/stringio.c MEMZERO(RSTRING_PTR(ptr->string) + olen, char, pos - olen); RSTRING_PTR 781 ext/stringio/stringio.c strio_unget_bytes(ptr, RSTRING_PTR(c), RSTRING_LEN(c)); RSTRING_PTR 808 ext/stringio/stringio.c cp = RSTRING_PTR(c); RSTRING_PTR 830 ext/stringio/stringio.c s = RSTRING_PTR(str); RSTRING_PTR 839 ext/stringio/stringio.c s = RSTRING_PTR(str); RSTRING_PTR 932 ext/stringio/stringio.c c = rb_enc_codepoint_len(RSTRING_PTR(ptr->string)+ptr->pos, RSTRING_PTR 1021 ext/stringio/stringio.c s = RSTRING_PTR(ptr->string); RSTRING_PTR 1044 ext/stringio/stringio.c str = strio_substr(ptr, s - RSTRING_PTR(ptr->string), e - s); RSTRING_PTR 1047 ext/stringio/stringio.c if ((p = memchr(s, RSTRING_PTR(str)[0], e - s)) != 0) { RSTRING_PTR 1056 ext/stringio/stringio.c if (MEMCMP(p, RSTRING_PTR(str), char, n) == 0) { RSTRING_PTR 1064 ext/stringio/stringio.c p = RSTRING_PTR(str); RSTRING_PTR 1073 ext/stringio/stringio.c ptr->pos = e - RSTRING_PTR(ptr->string); RSTRING_PTR 1216 ext/stringio/stringio.c rb_enc_str_buf_cat(ptr->string, RSTRING_PTR(str), len, enc); RSTRING_PTR 1225 ext/stringio/stringio.c memmove(RSTRING_PTR(ptr->string)+ptr->pos, RSTRING_PTR(str), len); RSTRING_PTR 1351 ext/stringio/stringio.c MEMCPY(RSTRING_PTR(str), RSTRING_PTR(ptr->string) + ptr->pos, char, len); RSTRING_PTR 1461 ext/stringio/stringio.c MEMZERO(RSTRING_PTR(string) + plen, char, l - plen); RSTRING_PTR 50 ext/strscan/strscan.c #define S_PBEG(s) (RSTRING_PTR((s)->str)) RSTRING_PTR 50 ext/syslog/syslog.c syslog(pri, "%s", RSTRING_PTR(str)); RSTRING_PTR 164 ext/syslog/syslog.c syslog_ident = strdup(RSTRING_PTR(ident)); RSTRING_PTR 10 ext/tk/stubs.c #if !defined(RSTRING_PTR) RSTRING_PTR 167 ext/tk/stubs.c int ret = ruby_open_tcl_dll(rb_argv0 ? RSTRING_PTR(rb_argv0) : 0); RSTRING_PTR 247 ext/tk/stubs.c int ret = ruby_open_tcl_dll(rb_argv0 ? RSTRING_PTR(rb_argv0) : 0); RSTRING_PTR 406 ext/tk/stubs.c st = ruby_open_tcltk_dll(rb_argv0 ? RSTRING_PTR(rb_argv0) : 0); RSTRING_PTR 474 ext/tk/stubs.c ruby_open_tcl_dll(rb_argv0 ? RSTRING_PTR(rb_argv0) : 0); RSTRING_PTR 515 ext/tk/stubs.c ruby_open_tcl_dll(rb_argv0 ? RSTRING_PTR(rb_argv0) : 0); RSTRING_PTR 588 ext/tk/stubs.c Tcl_FindExecutable(rb_argv0 ? RSTRING_PTR(rb_argv0) : 0); RSTRING_PTR 34 ext/tk/tcltklib.c #if !defined(RSTRING_PTR) RSTRING_PTR 1262 ext/tk/tcltklib.c set_rubytk_kitpath(RSTRING_PTR(pathobj)); RSTRING_PTR 1280 ext/tk/tcltklib.c rbtk_win32_SetHINSTANCE(RSTRING_PTR(basename)); RSTRING_PTR 1603 ext/tk/tcltklib.c argv[1] = RSTRING_PTR(rb_fix2str(INT2NUM(state), 10)); RSTRING_PTR 3133 ext/tk/tcltklib.c encoding = Tcl_GetEncoding((Tcl_Interp*)NULL, RSTRING_PTR(enc)); RSTRING_PTR 3137 ext/tk/tcltklib.c encoding = Tcl_GetEncoding((Tcl_Interp*)NULL, RSTRING_PTR(enc)); RSTRING_PTR 3146 ext/tk/tcltklib.c memcpy(buf, RSTRING_PTR(msg), RSTRING_LEN(msg)); RSTRING_PTR 3160 ext/tk/tcltklib.c Tcl_AppendResult(interp, RSTRING_PTR(msg), (char*)NULL); RSTRING_PTR 3364 ext/tk/tcltklib.c Tcl_AppendResult(interp, RSTRING_PTR(ret), (char *)NULL); RSTRING_PTR 3369 ext/tk/tcltklib.c DUMP2("(result) %s", NIL_P(ret) ? "nil" : RSTRING_PTR(ret)); RSTRING_PTR 6914 ext/tk/tcltklib.c if (strcmp(RSTRING_PTR(enc), "binary") == 0) { RSTRING_PTR 7602 ext/tk/tcltklib.c result = ip_eval_real(self, RSTRING_PTR(str), RSTRING_LENINT(str)); RSTRING_PTR 7627 ext/tk/tcltklib.c memcpy(eval_str, RSTRING_PTR(str), RSTRING_LEN(str)); RSTRING_PTR 7976 ext/tk/tcltklib.c RSTRING_PTR(enc)); RSTRING_PTR 7978 ext/tk/tcltklib.c rb_warning("Tk-interp has unknown encoding information (@encoding:'%s')", RSTRING_PTR(enc)); RSTRING_PTR 7985 ext/tk/tcltklib.c if (strcmp(RSTRING_PTR(enc), "binary") == 0) { RSTRING_PTR 7995 ext/tk/tcltklib.c RSTRING_PTR(enc)); RSTRING_PTR 7997 ext/tk/tcltklib.c rb_warning("string has unknown encoding information (@encoding:'%s')", RSTRING_PTR(enc)); RSTRING_PTR 8005 ext/tk/tcltklib.c if (strcmp(RSTRING_PTR(encodename), "binary") == 0) { RSTRING_PTR 8014 ext/tk/tcltklib.c encoding = Tcl_GetEncoding((Tcl_Interp*)NULL, RSTRING_PTR(encodename)); RSTRING_PTR 8021 ext/tk/tcltklib.c RSTRING_PTR(encodename)); RSTRING_PTR 8032 ext/tk/tcltklib.c memcpy(buf, RSTRING_PTR(str), RSTRING_LEN(str)); RSTRING_PTR 8135 ext/tk/tcltklib.c if (strcmp(RSTRING_PTR(enc), "binary") == 0) { RSTRING_PTR 8167 ext/tk/tcltklib.c RSTRING_PTR(enc)); RSTRING_PTR 8169 ext/tk/tcltklib.c rb_warning("Tk-interp has unknown encoding information (@encoding:'%s')", RSTRING_PTR(enc)); RSTRING_PTR 8180 ext/tk/tcltklib.c if (strcmp(RSTRING_PTR(encodename), "binary") == 0) { RSTRING_PTR 8186 ext/tk/tcltklib.c tclstr = Tcl_NewStringObj(RSTRING_PTR(str), RSTRING_LENINT(str)); RSTRING_PTR 8202 ext/tk/tcltklib.c encoding = Tcl_GetEncoding((Tcl_Interp*)NULL, RSTRING_PTR(encodename)); RSTRING_PTR 8210 ext/tk/tcltklib.c RSTRING_PTR(encodename)); RSTRING_PTR 8223 ext/tk/tcltklib.c memcpy(buf, RSTRING_PTR(str), RSTRING_LEN(str)); RSTRING_PTR 8244 ext/tk/tcltklib.c rb_enc_associate_index(str, rb_enc_find_index(RSTRING_PTR(encodename))); RSTRING_PTR 8322 ext/tk/tcltklib.c memcpy(src_buf, RSTRING_PTR(str), RSTRING_LEN(str)); RSTRING_PTR 8420 ext/tk/tcltklib.c RSTRING_PTR(enc_name)); RSTRING_PTR 9307 ext/tk/tcltklib.c ret = Tcl_GetVar2Ex(ptr->ip, RSTRING_PTR(varname), RSTRING_PTR 9308 ext/tk/tcltklib.c NIL_P(index) ? NULL : RSTRING_PTR(index), RSTRING_PTR 9345 ext/tk/tcltklib.c ret = Tcl_GetVar2(ptr->ip, RSTRING_PTR(varname), RSTRING_PTR 9346 ext/tk/tcltklib.c NIL_P(index) ? NULL : RSTRING_PTR(index), RSTRING_PTR 9444 ext/tk/tcltklib.c ret = Tcl_SetVar2Ex(ptr->ip, RSTRING_PTR(varname), RSTRING_PTR 9445 ext/tk/tcltklib.c NIL_P(index) ? NULL : RSTRING_PTR(index), RSTRING_PTR 9485 ext/tk/tcltklib.c ret = Tcl_SetVar2(ptr->ip, RSTRING_PTR(varname), RSTRING_PTR 9486 ext/tk/tcltklib.c NIL_P(index) ? NULL : RSTRING_PTR(index), RSTRING_PTR 9487 ext/tk/tcltklib.c RSTRING_PTR(value), FIX2INT(flag)); RSTRING_PTR 9567 ext/tk/tcltklib.c ptr->return_value = Tcl_UnsetVar2(ptr->ip, RSTRING_PTR(varname), RSTRING_PTR 9568 ext/tk/tcltklib.c NIL_P(index) ? NULL : RSTRING_PTR(index), RSTRING_PTR 9780 ext/tk/tcltklib.c if (Tcl_SplitList(interp, RSTRING_PTR(list_str), RSTRING_PTR 9881 ext/tk/tcltklib.c len = Tcl_ConvertCountedElement(RSTRING_PTR(argv[num]), RSTRING_PTR 9885 ext/tk/tcltklib.c len = Tcl_ConvertElement(RSTRING_PTR(argv[num]), dst, flagPtr[num]); RSTRING_PTR 9946 ext/tk/tcltklib.c len = Tcl_ScanCountedElement(RSTRING_PTR(src), RSTRING_LENINT(src), RSTRING_PTR 9949 ext/tk/tcltklib.c len = Tcl_ConvertCountedElement(RSTRING_PTR(src), RSTRING_LENINT(src), RSTRING_PTR 9950 ext/tk/tcltklib.c RSTRING_PTR(dst), scan_flag); RSTRING_PTR 9952 ext/tk/tcltklib.c len = Tcl_ScanElement(RSTRING_PTR(src), &scan_flag); RSTRING_PTR 9954 ext/tk/tcltklib.c len = Tcl_ConvertElement(RSTRING_PTR(src), RSTRING_PTR(dst), scan_flag); RSTRING_PTR 10075 ext/tk/tcltklib.c if (Tcl_GetEncoding((Tcl_Interp*)NULL, RSTRING_PTR(name)) == (Tcl_Encoding)NULL) { RSTRING_PTR 10078 ext/tk/tcltklib.c RSTRING_PTR(name)); RSTRING_PTR 10086 ext/tk/tcltklib.c if (RTEST(rb_define_dummy_encoding(RSTRING_PTR(name)))) { RSTRING_PTR 10092 ext/tk/tcltklib.c RSTRING_PTR(name)); RSTRING_PTR 10273 ext/tk/tcltklib.c rb_raise(rb_eArgError, "unsupported Tk encoding '%s'", RSTRING_PTR(enc)); RSTRING_PTR 10371 ext/tk/tcltklib.c rb_raise(rb_eArgError, "unsupported Tk encoding '%s'", RSTRING_PTR(enc)); RSTRING_PTR 10467 ext/tk/tcltklib.c if (strcmp(RSTRING_PTR(encname), "identity") == 0) { RSTRING_PTR 10471 ext/tk/tcltklib.c } else if (strcmp(RSTRING_PTR(encname), "shiftjis") == 0) { RSTRING_PTR 10475 ext/tk/tcltklib.c } else if (strcmp(RSTRING_PTR(encname), "unicode") == 0) { RSTRING_PTR 10479 ext/tk/tcltklib.c } else if (strcmp(RSTRING_PTR(encname), "symbol") == 0) { RSTRING_PTR 10497 ext/tk/tcltklib.c DUMP2("create_encoding_table: name2obj: %s", RSTRING_PTR(encname)); RSTRING_PTR 10501 ext/tk/tcltklib.c DUMP2("create_encoding_table: obj2name: %s", RSTRING_PTR(encname)); RSTRING_PTR 10660 ext/tk/tcltklib.c menuRefPtr = TkFindMenuReferences(ptr->ip, RSTRING_PTR(menu_path)); RSTRING_PTR 10666 ext/tk/tcltklib.c = Tcl_FindHashEntry(menuTablePtr, RSTRING_PTR(menu_path))) RSTRING_PTR 11048 ext/tk/tcltklib.c ret = ruby_open_tcl_dll(rb_argv0 ? RSTRING_PTR(rb_argv0) : 0); RSTRING_PTR 32 ext/tk/tkutil/tkutil.c #if !defined(RSTRING_PTR) RSTRING_PTR 260 ext/tk/tkutil/tkutil.c if (strncmp(cmd_id_head, RSTRING_PTR(cmd_id), head_len) != 0) { RSTRING_PTR 264 ext/tk/tkutil/tkutil.c RSTRING_PTR(cmd_id) + head_len, prefix_len) != 0) { RSTRING_PTR 269 ext/tk/tkutil/tkutil.c rb_str_new2(RSTRING_PTR(cmd_id) + head_len)); RSTRING_PTR 1047 ext/tk/tkutil/tkutil.c if (RSTRING_PTR(value) == (char*)NULL) return Qnil; RSTRING_PTR 1049 ext/tk/tkutil/tkutil.c if (RSTRING_PTR(value)[0] == '\0' RSTRING_PTR 1050 ext/tk/tkutil/tkutil.c || strcmp(RSTRING_PTR(value), "0") == 0 RSTRING_PTR 1051 ext/tk/tkutil/tkutil.c || strcmp(RSTRING_PTR(value), "no") == 0 RSTRING_PTR 1052 ext/tk/tkutil/tkutil.c || strcmp(RSTRING_PTR(value), "off") == 0 RSTRING_PTR 1053 ext/tk/tkutil/tkutil.c || strcmp(RSTRING_PTR(value), "false") == 0) { RSTRING_PTR 1065 ext/tk/tkutil/tkutil.c return rb_cstr_to_inum(RSTRING_PTR(value), 10, 1); RSTRING_PTR 1073 ext/tk/tkutil/tkutil.c return rb_cstr_to_inum(RSTRING_PTR(value), 0, 1); RSTRING_PTR 1080 ext/tk/tkutil/tkutil.c return rb_float_new(rb_cstr_to_dbl(RSTRING_PTR(value), 1)); RSTRING_PTR 1088 ext/tk/tkutil/tkutil.c "invalid value for Number: '%s'", RSTRING_PTR(value)); RSTRING_PTR 1107 ext/tk/tkutil/tkutil.c if (RSTRING_PTR(value) == (char*)NULL) return INT2FIX(0); RSTRING_PTR 1129 ext/tk/tkutil/tkutil.c ptr = RSTRING_PTR(value); RSTRING_PTR 1145 ext/tk/tkutil/tkutil.c if (RSTRING_PTR(value) == (char*)NULL) return rb_tainted_str_new2(""); RSTRING_PTR 1157 ext/tk/tkutil/tkutil.c if (RSTRING_PTR(value) == (char*)NULL) return rb_tainted_str_new2(""); RSTRING_PTR 1376 ext/tk/tkutil/tkutil.c buf = RSTRING_PTR(str); RSTRING_PTR 1500 ext/tk/tkutil/tkutil.c ptr = buf = RSTRING_PTR(ret); RSTRING_PTR 1546 ext/tk/tkutil/tkutil.c keys_ptr = keys_buf = RSTRING_PTR(keys_str); RSTRING_PTR 1640 ext/tk/tkutil/tkutil.c subst_inf->key[chr] = strndup(RSTRING_PTR(name), RSTRING_PTR 1665 ext/tk/tkutil/tkutil.c type = INT2FIX(*(RSTRING_PTR(type))); RSTRING_PTR 891 ext/win32ole/win32ole.c pw = ole_mb2wc(RSTRING_PTR(vstr), RSTRING_LENINT(vstr), cp); RSTRING_PTR 933 ext/win32ole/win32ole.c return RSTRING_PTR(str); RSTRING_PTR 941 ext/win32ole/win32ole.c rb_str_set_len(vstr, (long)strlen(RSTRING_PTR(vstr))); RSTRING_PTR 415 ext/win32ole/win32ole_record.c p = RSTRING_PTR(name); RSTRING_PTR 62 ext/win32ole/win32ole_variant.c memcpy(pdest, RSTRING_PTR(val), len); RSTRING_PTR 410 ext/zlib/zlib.c sum = checksum_long(func, sum, (Bytef*)RSTRING_PTR(str), RSTRING_LEN(str)); RSTRING_PTR 663 ext/zlib/zlib.c z->stream.next_out = (Bytef*)RSTRING_PTR(z->buf) + z->buf_filled; RSTRING_PTR 675 ext/zlib/zlib.c z->stream.next_out = (Bytef*)RSTRING_PTR(z->buf); RSTRING_PTR 681 ext/zlib/zlib.c z->stream.next_out = (Bytef*)RSTRING_PTR(z->buf) + z->buf_filled; RSTRING_PTR 725 ext/zlib/zlib.c z->stream.next_out = (Bytef*)RSTRING_PTR(z->buf) + z->buf_filled; RSTRING_PTR 737 ext/zlib/zlib.c z->stream.next_out = (Bytef*)RSTRING_PTR(z->buf); RSTRING_PTR 755 ext/zlib/zlib.c memcpy(RSTRING_PTR(z->buf) + z->buf_filled, src, len); RSTRING_PTR 757 ext/zlib/zlib.c z->stream.next_out = (Bytef*)RSTRING_PTR(z->buf) + z->buf_filled; RSTRING_PTR 761 ext/zlib/zlib.c zstream_append_buffer((z),(Bytef*)RSTRING_PTR(v),RSTRING_LEN(v)) RSTRING_PTR 809 ext/zlib/zlib.c dst = rb_str_new(RSTRING_PTR(z->buf), len); RSTRING_PTR 811 ext/zlib/zlib.c memmove(RSTRING_PTR(z->buf), RSTRING_PTR(z->buf) + len, RSTRING_PTR 813 ext/zlib/zlib.c z->stream.next_out = (Bytef*)RSTRING_PTR(z->buf) + z->buf_filled; RSTRING_PTR 830 ext/zlib/zlib.c memmove(RSTRING_PTR(z->buf) + len, RSTRING_PTR(z->buf), z->buf_filled); RSTRING_PTR 831 ext/zlib/zlib.c memmove(RSTRING_PTR(z->buf), b, len); RSTRING_PTR 847 ext/zlib/zlib.c memmove(RSTRING_PTR(z->buf) + 1, RSTRING_PTR(z->buf), z->buf_filled); RSTRING_PTR 848 ext/zlib/zlib.c RSTRING_PTR(z->buf)[0] = (char)c; RSTRING_PTR 873 ext/zlib/zlib.c zstream_append_input((z), (Bytef*)RSTRING_PTR(v), RSTRING_LEN(v)) RSTRING_PTR 882 ext/zlib/zlib.c memmove(RSTRING_PTR(z->input), RSTRING_PTR(z->input) + len, RSTRING_PTR 1044 ext/zlib/zlib.c z->stream.next_in = (Bytef*)RSTRING_PTR(z->input); RSTRING_PTR 1101 ext/zlib/zlib.c z->stream.next_in = (Bytef*)RSTRING_PTR(z->input); RSTRING_PTR 1594 ext/zlib/zlib.c zstream_run(z, (Bytef*)RSTRING_PTR(src), RSTRING_LEN(src), Z_FINISH); RSTRING_PTR 1656 ext/zlib/zlib.c zstream_run(z, (Bytef*)RSTRING_PTR(src), RSTRING_LEN(src), flush); RSTRING_PTR 1811 ext/zlib/zlib.c (Bytef*)RSTRING_PTR(src), RSTRING_LENINT(src)); RSTRING_PTR 1908 ext/zlib/zlib.c zstream_run(z, (Bytef*)RSTRING_PTR(src), RSTRING_LEN(src), Z_SYNC_FLUSH); RSTRING_PTR 1968 ext/zlib/zlib.c zstream_run(z, (Bytef*)RSTRING_PTR(src), RSTRING_LEN(src), Z_SYNC_FLUSH); RSTRING_PTR 2104 ext/zlib/zlib.c return zstream_sync(z, (Bytef*)RSTRING_PTR(src), RSTRING_LEN(src)); RSTRING_PTR 2147 ext/zlib/zlib.c (Bytef*)RSTRING_PTR(src), RSTRING_LENINT(src)); RSTRING_PTR 2422 ext/zlib/zlib.c p = memchr(RSTRING_PTR(gz->z.input) + offset, '\0', RSTRING_PTR 2560 ext/zlib/zlib.c head = (unsigned char*)RSTRING_PTR(gz->z.input); RSTRING_PTR 2598 ext/zlib/zlib.c len = gzfile_get16((Bytef*)RSTRING_PTR(gz->z.input)); RSTRING_PTR 2609 ext/zlib/zlib.c len = p - RSTRING_PTR(gz->z.input); RSTRING_PTR 2610 ext/zlib/zlib.c gz->orig_name = rb_str_new(RSTRING_PTR(gz->z.input), len); RSTRING_PTR 2619 ext/zlib/zlib.c len = p - RSTRING_PTR(gz->z.input); RSTRING_PTR 2620 ext/zlib/zlib.c gz->comment = rb_str_new(RSTRING_PTR(gz->z.input), len); RSTRING_PTR 2641 ext/zlib/zlib.c crc = gzfile_get32((Bytef*)RSTRING_PTR(gz->z.input)); RSTRING_PTR 2642 ext/zlib/zlib.c length = gzfile_get32((Bytef*)RSTRING_PTR(gz->z.input) + 4); RSTRING_PTR 2684 ext/zlib/zlib.c zstream_run(&gz->z, (Bytef*)RSTRING_PTR(str), RSTRING_LEN(str), RSTRING_PTR 2700 ext/zlib/zlib.c gz->crc = checksum_long(crc32, gz->crc, (Bytef*)RSTRING_PTR(str) + gz->ungetc, RSTRING_PTR 2792 ext/zlib/zlib.c memcpy(RSTRING_PTR(outbuf), RSTRING_PTR(dst), RSTRING_LEN(dst)); RSTRING_PTR 2846 ext/zlib/zlib.c ss = sp = (const unsigned char*)RSTRING_PTR(gz->z.buf); RSTRING_PTR 2861 ext/zlib/zlib.c len = rb_enc_mbclen(RSTRING_PTR(buf), RSTRING_END(buf), gz->enc); RSTRING_PTR 3269 ext/zlib/zlib.c p = memchr(RSTRING_PTR(s), '\0', RSTRING_LEN(s)); RSTRING_PTR 3271 ext/zlib/zlib.c rb_str_resize(s, p - RSTRING_PTR(s)); RSTRING_PTR 3293 ext/zlib/zlib.c p = memchr(RSTRING_PTR(s), '\0', RSTRING_LEN(s)); RSTRING_PTR 3295 ext/zlib/zlib.c rb_str_resize(s, p - RSTRING_PTR(s)); RSTRING_PTR 3596 ext/zlib/zlib.c gzfile_write(gz, (Bytef*)RSTRING_PTR(str), RSTRING_LEN(str)); RSTRING_PTR 3882 ext/zlib/zlib.c dst = INT2FIX((unsigned int)(RSTRING_PTR(dst)[0]) & 0xff); RSTRING_PTR 3970 ext/zlib/zlib.c gzfile_ungets(gz, (const Bytef*)RSTRING_PTR(s), RSTRING_LEN(s)); RSTRING_PTR 4000 ext/zlib/zlib.c p = RSTRING_PTR(gz->z.buf); RSTRING_PTR 4011 ext/zlib/zlib.c p = RSTRING_PTR(gz->z.buf); RSTRING_PTR 4022 ext/zlib/zlib.c if (RSTRING_PTR(rs) != rsptr && RSTRING_LEN(rs) != rslen) RSTRING_PTR 4029 ext/zlib/zlib.c char *s = RSTRING_PTR(gz->z.buf); RSTRING_PTR 4116 ext/zlib/zlib.c rsptr = RSTRING_PTR(rs); RSTRING_PTR 4133 ext/zlib/zlib.c p = RSTRING_PTR(gz->z.buf); RSTRING_PTR 4140 ext/zlib/zlib.c p = RSTRING_PTR(gz->z.buf) + n - rslen; RSTRING_PTR 256 file.c (UInt8 *)(RSTRING_PTR(str) + oldlen), buflen, &buflen); RSTRING_PTR 354 file.c s = RSTRING_PTR(path); RSTRING_PTR 1043 file.c len = MultiByteToWideChar(CP_UTF8, 0, RSTRING_PTR(tmp), -1, NULL, 0); RSTRING_PTR 1045 file.c MultiByteToWideChar(CP_UTF8, 0, RSTRING_PTR(tmp), -1, ptr, len); RSTRING_PTR 1188 file.c if (lstat(RSTRING_PTR(path), &st) == -1) { RSTRING_PTR 2347 file.c if (chmod(RSTRING_PTR(path), mode) == -1) RSTRING_PTR 2475 file.c if (chown(RSTRING_PTR(path), o, g) == -1) RSTRING_PTR 2778 file.c while ((rv = readlink(RSTRING_PTR(path), RSTRING_PTR(v), size)) == size RSTRING_PTR 2981 file.c const char *p = RSTRING_PTR(path); RSTRING_PTR 3122 file.c buf = RSTRING_PTR(result);\ RSTRING_PTR 3129 file.c p = buf = RSTRING_PTR(result),\ RSTRING_PTR 3167 file.c memcpy(buf = RSTRING_PTR(result), dir, dirlen); RSTRING_PTR 3184 file.c const char *dir, *username = RSTRING_PTR(user); RSTRING_PTR 3249 file.c buf = RSTRING_PTR(result); RSTRING_PTR 3295 file.c if (!rb_is_absolute_path(RSTRING_PTR(result))) { RSTRING_PTR 3558 file.c len = MultiByteToWideChar(CP_UTF8, 0, RSTRING_PTR(tmp), -1, NULL, 0); RSTRING_PTR 3560 file.c MultiByteToWideChar(CP_UTF8, 0, RSTRING_PTR(tmp), -1, wstr, len); RSTRING_PTR 3585 file.c WideCharToMultiByte(CP_UTF8, 0, wfd.cFileName, wlen, RSTRING_PTR(tmp), len + 1, NULL, NULL); RSTRING_PTR 3586 file.c rb_str_cat_conv_enc_opts(result, bdiff, RSTRING_PTR(tmp), len, RSTRING_PTR 3725 file.c const char *resolved_str = RSTRING_PTR(*resolvedp); RSTRING_PTR 3739 file.c const char *prefix = RSTRING_PTR(testpath); RSTRING_PTR 3759 file.c ret = stat(RSTRING_PTR(testpath2), &sbuf); RSTRING_PTR 3761 file.c ret = lstat(RSTRING_PTR(testpath2), &sbuf); RSTRING_PTR 3783 file.c link_prefix = RSTRING_PTR(link); RSTRING_PTR 4079 file.c if ((n = RSTRING_LEN(fname)) == 0 || !*(name = RSTRING_PTR(fname))) RSTRING_PTR 4376 file.c if (RSTRING_PTR(tmp) && isdirsep(RSTRING_PTR(tmp)[0])) { RSTRING_PTR 5519 file.c if (mkfifo(RSTRING_PTR(path), mode)) { RSTRING_PTR 5579 file.c p0 = RSTRING_PTR(path); RSTRING_PTR 5731 file.c f = RSTRING_PTR(fname); RSTRING_PTR 5744 file.c if (rb_file_load_ok(RSTRING_PTR(fname))) { RSTRING_PTR 5769 file.c if (rb_file_load_ok(RSTRING_PTR(tmp))) { RSTRING_PTR 5801 file.c f = RSTRING_PTR(path); RSTRING_PTR 5826 file.c f = RSTRING_PTR(tmp); RSTRING_PTR 8216 gc.c if (RSTRING_PTR(str)[0] == '#') { RSTRING_PTR 8221 gc.c RSTRING_PTR(str)[0] = '#'; RSTRING_PTR 8246 gc.c RSTRING_PTR(str)[0] = '#'; RSTRING_PTR 9173 gc.c snprintf(buff, buff_size, "%s (%s)", buff, RSTRING_PTR(class_path)); RSTRING_PTR 9193 gc.c snprintf(buff, buff_size, "%s %s", buff, RSTRING_PTR(obj)); RSTRING_PTR 9199 gc.c snprintf(buff, buff_size, "%s %s", buff, RSTRING_PTR(class_path)); RSTRING_PTR 9243 gc.c RSTRING_PTR(iseq->body->location.label), RSTRING_PTR 9244 gc.c RSTRING_PTR(iseq->body->location.path), RSTRING_PTR 2970 hash.c var = RSTRING_PTR(str); RSTRING_PTR 3902 hash.c if (RSTRING_LEN(obj) == len && strncmp(s, RSTRING_PTR(obj), len) == 0) { RSTRING_PTR 3933 hash.c if (RSTRING_LEN(obj) == len && strncmp(s, RSTRING_PTR(obj), len) == 0) { RSTRING_PTR 3964 hash.c if (RSTRING_LEN(value) == len && strncmp(s, RSTRING_PTR(value), len) == 0) { RSTRING_PTR 4049 hash.c VALUE val = env_str_new2(getenv(RSTRING_PTR(key))); RSTRING_PTR 1043 include/ruby/ruby.h #define RREGEXP_SRC_PTR(r) RSTRING_PTR(RREGEXP(r)->src) RSTRING_PTR 1566 include/ruby/ruby.h return RSTRING_PTR(x)[0]; RSTRING_PTR 1293 internal.h #define ARGVSTR2ARGV(argv_str) ((char **)RSTRING_PTR(argv_str) + 1) RSTRING_PTR 771 io.c MEMMOVE(fptr->rbuf.ptr+fptr->rbuf.off, RSTRING_PTR(str), char, len); RSTRING_PTR 1437 io.c return io_binwrite(str, RSTRING_PTR(str), RSTRING_LEN(str), RSTRING_PTR 2153 io.c arg.str_ptr = RSTRING_PTR(str) + offset; RSTRING_PTR 2434 io.c pos += rb_str_coderange_scan_restartable(RSTRING_PTR(str) + pos, RSTRING_PTR(str) + bytes, enc, &cr); RSTRING_PTR 2519 io.c n = read_buffered_data(RSTRING_PTR(str), len, fptr); RSTRING_PTR 2527 io.c arg.str_ptr = RSTRING_PTR(str); RSTRING_PTR 2652 io.c n = read_buffered_data(RSTRING_PTR(str), len, fptr); RSTRING_PTR 2657 io.c arg.str_ptr = RSTRING_PTR(str); RSTRING_PTR 2699 io.c n = write(fptr->fd, RSTRING_PTR(str), RSTRING_LEN(str)); RSTRING_PTR 2835 io.c if (RSTRING_PTR(rs) != rsptr && RSTRING_LEN(rs) != rslen) RSTRING_PTR 2879 io.c return (unsigned char)RSTRING_PTR(str)[RSTRING_LEN(str)-1]; RSTRING_PTR 2908 io.c read_buffered_data(RSTRING_PTR(str) + last, pending, fptr); /* must not fail */ RSTRING_PTR 2913 io.c return (unsigned char)RSTRING_PTR(str)[RSTRING_LEN(str)-1]; RSTRING_PTR 2996 io.c read_buffered_data(RSTRING_PTR(str)+len, pending, fptr); RSTRING_PTR 3000 io.c pos += rb_str_coderange_scan_restartable(RSTRING_PTR(str) + pos, RSTRING_PTR(str) + len, enc, &cr); RSTRING_PTR 3102 io.c rsptr = RSTRING_PTR(rs); RSTRING_PTR 3107 io.c rsptr = RSTRING_PTR(rs); RSTRING_PTR 3118 io.c s = RSTRING_PTR(str); RSTRING_PTR 3127 io.c s = RSTRING_PTR(str); RSTRING_PTR 3522 io.c ISASCII(RSTRING_PTR(str)[0])) { RSTRING_PTR 3558 io.c r = rb_enc_precise_mbclen(RSTRING_PTR(str), RSTRING_PTR(str)+RSTRING_LEN(str), enc); RSTRING_PTR 3948 io.c MEMMOVE(fptr->cbuf.ptr+fptr->cbuf.off, RSTRING_PTR(c), char, len); RSTRING_PTR 4082 io.c #define PREP_STDIO_NAME(f) (RSTRING_PTR((f)->pathv)) RSTRING_PTR 4430 io.c memcmp(RSTRING_PTR(mesg), closed_stream, mesg_len)) { RSTRING_PTR 4667 io.c n = rb_write_internal(fptr->fd, RSTRING_PTR(str), RSTRING_LEN(str)); RSTRING_PTR 4728 io.c arg.str_ptr = RSTRING_PTR(str); RSTRING_PTR 5409 io.c const char *fname = RSTRING_PTR(data->fname); RSTRING_PTR 6000 io.c if (eargp->envp_str) envp = (char **)RSTRING_PTR(eargp->envp_str); RSTRING_PTR 6126 io.c if (RSTRING_LEN(prog) == 1 && RSTRING_PTR(prog)[0] == '-') { RSTRING_PTR 6440 io.c char *s = RSTRING_PTR(filename_or_command); RSTRING_PTR 6718 io.c if (!freopen(RSTRING_PTR(fname), mode, fp)) { RSTRING_PTR 7059 io.c const char *ptr = RSTRING_PTR(str); RSTRING_PTR 7301 io.c if (fwrite(RSTRING_PTR(mesg), sizeof(char), len, stderr) < len) { RSTRING_PTR 7990 io.c (void)unlink(RSTRING_PTR(str)); RSTRING_PTR 7991 io.c if (rename(fn, RSTRING_PTR(str)) < 0) { RSTRING_PTR 7998 io.c if (rename(fn, RSTRING_PTR(str)) < 0) { RSTRING_PTR 8034 io.c const char *wkfn = RSTRING_PTR(filename); RSTRING_PTR 9137 io.c MEMZERO(RSTRING_PTR(arg)+slen, char, len-slen); RSTRING_PTR 9141 io.c ptr = RSTRING_PTR(arg); RSTRING_PTR 9441 io.c if (RSTRING_LEN(tmp) == 1 && RSTRING_PTR(tmp)[0] == '-') { RSTRING_PTR 9473 io.c parse_mode_enc(RSTRING_PTR(tmp), enc, &enc, &enc2, NULL); RSTRING_PTR 10527 io.c ss = maygvl_copy_stream_read(1, stp, RSTRING_PTR(buf), l, off); RSTRING_PTR 10649 io.c read_buffered_data(RSTRING_PTR(str), len, src_fptr); RSTRING_PTR 10651 io.c if (io_binwrite(str, RSTRING_PTR(str), RSTRING_LEN(str), dst_fptr, 0) < 0) RSTRING_PTR 11876 io.c ARGF.inplace = strdup(RSTRING_PTR(val)); RSTRING_PTR 110 iseq.c RUBY_GC_INFO("%s @ %s\n", RSTRING_PTR(iseq->body->location.label), RSTRING_PTR(iseq->body->location.path)); RSTRING_PTR 951 iseq.c RSTRING_PTR(iseq->body->location.label), RSTRING_PTR(iseq->body->location.path)); RSTRING_PTR 1431 iseq.c printf("%s\n", RSTRING_PTR(str)); RSTRING_PTR 1465 iseq.c return rb_sprintf("#<ISeq:%s@%s>", RSTRING_PTR(iseq->body->location.label), RSTRING_PTR(iseq->body->location.path)); RSTRING_PTR 1491 iseq.c memset(RSTRING_PTR(str) + l, '=', header_minlen - l); RSTRING_PTR 65 iseq.h if (RTEST(str)) return (VALUE *)RSTRING_PTR(str); RSTRING_PTR 74 iseq.h return (VALUE *)RSTRING_PTR(str); RSTRING_PTR 67 load.c as_cstr = RSTRING_PTR(as_str); RSTRING_PTR 498 load.c buf = RSTRING_PTR(bufstr); RSTRING_PTR 536 load.c feature = RSTRING_PTR(fullpath); RSTRING_PTR 710 load.c if (!rb_file_load_ok(RSTRING_PTR(fname))) RSTRING_PTR 852 load.c ext = strrchr(ftptr = RSTRING_PTR(fname), '.'); RSTRING_PTR 860 load.c ext = strrchr(ftptr = RSTRING_PTR(tmp), '.'); RSTRING_PTR 872 load.c tmp = rb_str_subseq(fname, 0, ext - RSTRING_PTR(fname)); RSTRING_PTR 876 load.c ext = strrchr(ftptr = RSTRING_PTR(tmp), '.'); RSTRING_PTR 885 load.c ext = strrchr(ftptr = RSTRING_PTR(tmp), '.'); RSTRING_PTR 898 load.c ext = strrchr(ftptr = RSTRING_PTR(tmp), '.'); RSTRING_PTR 915 load.c ftptr = RSTRING_PTR(tmp); RSTRING_PTR 925 load.c ext = strrchr(ftptr = RSTRING_PTR(tmp), '.'); RSTRING_PTR 943 load.c return (VALUE)dln_load(RSTRING_PTR(path)); RSTRING_PTR 985 load.c if (!path || !(ftptr = load_lock(RSTRING_PTR(path)))) { RSTRING_PTR 222 marshal.c char *n = RSTRING_PTR(path); RSTRING_PTR 457 marshal.c w_bytes(RSTRING_PTR(sym), RSTRING_LEN(sym), arg); RSTRING_PTR 740 marshal.c w_bytes(RSTRING_PTR(v), RSTRING_LEN(v), arg); RSTRING_PTR 777 marshal.c w_bytes(RSTRING_PTR(path), RSTRING_LEN(path), arg); RSTRING_PTR 786 marshal.c w_bytes(RSTRING_PTR(path), RSTRING_LEN(path), arg); RSTRING_PTR 832 marshal.c w_bytes(RSTRING_PTR(obj), RSTRING_LEN(obj), arg); RSTRING_PTR 1136 marshal.c memcpy(arg->buf, RSTRING_PTR(str), RSTRING_LEN(str)); RSTRING_PTR 1151 marshal.c c = (unsigned char)RSTRING_PTR(arg->src)[arg->offset++]; RSTRING_PTR 1253 marshal.c rb_str_cat(str, RSTRING_PTR(tmp), need_len); RSTRING_PTR 1257 marshal.c memcpy(arg->buf, RSTRING_PTR(tmp)+need_len, buflen); RSTRING_PTR 1279 marshal.c str = rb_str_new(RSTRING_PTR(arg->src)+arg->offset, len); RSTRING_PTR 1659 marshal.c const char *ptr = RSTRING_PTR(str); RSTRING_PTR 1690 marshal.c v = rb_integer_unpack(RSTRING_PTR(data), len, 2, 0, RSTRING_PTR 1716 marshal.c char *ptr = RSTRING_PTR(str), *dst = ptr, *src = ptr; RSTRING_PTR 260 nacl/pepper_main.c return var_interface->VarFromUtf8(module_id, RSTRING_PTR(str), RSTRING_LEN(str)); RSTRING_PTR 263 nacl/pepper_main.c return var_interface->VarFromUtf8(RSTRING_PTR(str), RSTRING_LEN(str)); RSTRING_PTR 458 nacl/pepper_main.c RSTRING_PTR(src), "(pepper-ruby)", &state); RSTRING_PTR 797 numeric.c ptr = RSTRING_PTR(s) + len; RSTRING_PTR 813 numeric.c ptr = RSTRING_PTR(s); RSTRING_PTR 3014 numeric.c rb_enc_mbcput(code, RSTRING_PTR(str), enc); RSTRING_PTR 3015 numeric.c if (rb_enc_precise_mbclen(RSTRING_PTR(str), RSTRING_END(str), enc) != n) { RSTRING_PTR 501 object.c if (RSTRING_PTR(str)[0] == '-') { /* first element */ RSTRING_PTR 502 object.c RSTRING_PTR(str)[0] = '#'; RSTRING_PTR 524 object.c RSTRING_PTR(str)[0] = '#'; RSTRING_PTR 2842 object.c s = RSTRING_PTR(str); RSTRING_PTR 371 pack.c p = RSTRING_PTR(fmt); RSTRING_PTR 384 pack.c if (RSTRING_PTR(fmt) + RSTRING_LEN(fmt) != pend) { RSTRING_PTR 470 pack.c ptr = RSTRING_PTR(from); RSTRING_PTR 837 pack.c ptr = RSTRING_PTR(from); RSTRING_PTR 915 pack.c sign = rb_integer_pack(from, RSTRING_PTR(buf), RSTRING_LEN(buf), 1, 1, INTEGER_PACK_BIG_ENDIAN); RSTRING_PTR 922 pack.c cp = RSTRING_PTR(buf); RSTRING_PTR 929 pack.c rb_str_buf_cat(res, RSTRING_PTR(buf), RSTRING_LEN(buf)); RSTRING_PTR 1028 pack.c unsigned char *s = (unsigned char*)RSTRING_PTR(from); RSTRING_PTR 1261 pack.c s = RSTRING_PTR(str); RSTRING_PTR 1263 pack.c p = RSTRING_PTR(fmt); RSTRING_PTR 1380 pack.c t = RSTRING_PTR(bitstr); RSTRING_PTR 1400 pack.c t = RSTRING_PTR(bitstr); RSTRING_PTR 1420 pack.c t = RSTRING_PTR(bitstr); RSTRING_PTR 1442 pack.c t = RSTRING_PTR(bitstr); RSTRING_PTR 1661 pack.c char *ptr = RSTRING_PTR(buf); RSTRING_PTR 1716 pack.c char *ptr = RSTRING_PTR(buf); RSTRING_PTR 1789 pack.c rb_str_set_len(buf, ptr - RSTRING_PTR(buf)); RSTRING_PTR 1797 pack.c char *ptr = RSTRING_PTR(buf), *ss = s; RSTRING_PTR 1818 pack.c rb_str_set_len(buf, ptr - RSTRING_PTR(buf)); RSTRING_PTR 1828 pack.c s = RSTRING_PTR(str) + len; RSTRING_PTR 1832 pack.c if (len > s - RSTRING_PTR(str)) RSTRING_PTR 1861 pack.c if (RB_TYPE_P(*p, T_STRING) && RSTRING_PTR(*p) == t) { RSTRING_PTR 1904 pack.c if (RB_TYPE_P(*p, T_STRING) && RSTRING_PTR(*p) == t) { RSTRING_PTR 1938 pack.c type, RSTRING_PTR(fmt)); RSTRING_PTR 11249 parse.c ruby_sourcefile = RSTRING_PTR(fname); RSTRING_PTR 11271 parse.c beg = RSTRING_PTR(s); RSTRING_PTR 11480 parse.c lex_pbeg = lex_p = RSTRING_PTR(v); RSTRING_PTR 12293 parse.c lex_pbeg = RSTRING_PTR(line); RSTRING_PTR 12491 parse.c eos = RSTRING_PTR(here->nd_lit); RSTRING_PTR 12534 parse.c p = RSTRING_PTR(lex_lastline); RSTRING_PTR 12857 parse.c MEMCPY(RSTRING_PTR(_s), (_p), char, (_n)), (_s)) \ RSTRING_PTR 12929 parse.c s = RSTRING_PTR(name); RSTRING_PTR 12940 parse.c (*p->func)(parser, p->name, RSTRING_PTR(val)); RSTRING_PTR 12992 parse.c parser_set_encode(parser, RSTRING_PTR(s)); RSTRING_PTR 15030 parse.c return RSTRING_PTR(s)[0] == '_'; RSTRING_PTR 17054 parse.c ruby_sourcefile = RSTRING_PTR(fname); RSTRING_PTR 5576 parse.y ruby_sourcefile = RSTRING_PTR(fname); RSTRING_PTR 5598 parse.y beg = RSTRING_PTR(s); RSTRING_PTR 5807 parse.y lex_pbeg = lex_p = RSTRING_PTR(v); RSTRING_PTR 6620 parse.y lex_pbeg = RSTRING_PTR(line); RSTRING_PTR 6818 parse.y eos = RSTRING_PTR(here->nd_lit); RSTRING_PTR 6861 parse.y p = RSTRING_PTR(lex_lastline); RSTRING_PTR 7184 parse.y MEMCPY(RSTRING_PTR(_s), (_p), char, (_n)), (_s)) \ RSTRING_PTR 7256 parse.y s = RSTRING_PTR(name); RSTRING_PTR 7267 parse.y (*p->func)(parser, p->name, RSTRING_PTR(val)); RSTRING_PTR 7319 parse.y parser_set_encode(parser, RSTRING_PTR(s)); RSTRING_PTR 9357 parse.y return RSTRING_PTR(s)[0] == '_'; RSTRING_PTR 11381 parse.y ruby_sourcefile = RSTRING_PTR(fname); RSTRING_PTR 1256 process.c envp = envp_str ? (char **)RSTRING_PTR(envp_str) : NULL; RSTRING_PTR 1303 process.c execle("/bin/sh", "sh", "-c", str, (char *)NULL, (char **)RSTRING_PTR(envp_str)); /* async-signal-safe */ RSTRING_PTR 1427 process.c pid = rb_w32_uaspawn_flags(P_NOWAIT, prog ? RSTRING_PTR(prog) : 0, argv, flags); RSTRING_PTR 1429 process.c pid = proc_spawn_cmd_internal(argv, prog ? RSTRING_PTR(prog) : 0); RSTRING_PTR 1977 process.c name = RSTRING_PTR(prog); RSTRING_PTR 1984 process.c security(name ? name : RSTRING_PTR(argv[0])); RSTRING_PTR 2131 process.c for (p = RSTRING_PTR(prog); *p; p++) { RSTRING_PTR 2164 process.c p = RSTRING_PTR(prog); RSTRING_PTR 2177 process.c eargp->invoke.cmd.command_name = hide_obj(rb_str_new_cstr(RSTRING_PTR(argv_buf))); RSTRING_PTR 2184 process.c abspath = dln_find_exe_r(RSTRING_PTR(eargp->invoke.cmd.command_name), 0, fbuf, sizeof(fbuf)); RSTRING_PTR 2201 process.c s = RSTRING_PTR(arg); RSTRING_PTR 2213 process.c p = RSTRING_PTR(eargp->invoke.cmd.argv_buf); RSTRING_PTR 2299 process.c const char *fname = RSTRING_PTR(data->fname); RSTRING_PTR 2401 process.c p = RSTRING_PTR(envp_buf); RSTRING_PTR 2730 process.c pairs = (struct run_exec_dup2_fd_pair *)RSTRING_PTR(tmpbuf); RSTRING_PTR 3081 process.c if (chdir(RSTRING_PTR(eargp->chdir_dir)) == -1) { /* async-signal-safe */ RSTRING_PTR 3132 process.c proc_exec_sh(RSTRING_PTR(eargp->invoke.sh.shell_script), eargp->envp_str); /* async-signal-safe */ RSTRING_PTR 3137 process.c abspath = RSTRING_PTR(eargp->invoke.cmd.command_abspath); RSTRING_PTR 3915 process.c const char *start = RSTRING_PTR(buf); RSTRING_PTR 3917 process.c p = RSTRING_PTR(cmd); RSTRING_PTR 3951 process.c argv[0] = RSTRING_PTR(prog); RSTRING_PTR 3955 process.c pid = proc_spawn_sh(RSTRING_PTR(prog)); RSTRING_PTR 4822 process.c name = RSTRING_PTR(v); RSTRING_PTR 4858 process.c name = RSTRING_PTR(v); RSTRING_PTR 5058 process.c getpw_buf = RSTRING_PTR(*getpw_tmp); RSTRING_PTR 5070 process.c getpw_buf = RSTRING_PTR(*getpw_tmp); RSTRING_PTR 5137 process.c getgr_buf = RSTRING_PTR(*getgr_tmp); RSTRING_PTR 5149 process.c getgr_buf = RSTRING_PTR(*getgr_tmp); RSTRING_PTR 618 random.c if (fill_random_bytes(RSTRING_PTR(buf), n, FALSE)) return Qnil; RSTRING_PTR 910 random.c if (p) memcpy(p, RSTRING_PTR(v), n); RSTRING_PTR 1089 random.c ptr = RSTRING_PTR(bytes); RSTRING_PTR 2312 rational.c s = RSTRING_PTR(self); RSTRING_PTR 2319 rational.c s = RSTRING_PTR(self); RSTRING_PTR 2367 rational.c s = RSTRING_PTR(self); RSTRING_PTR 2371 rational.c s = RSTRING_PTR(self); RSTRING_PTR 643 re.c s = RSTRING_PTR(str); RSTRING_PTR 694 re.c return rb_enc_reg_error_desc(RSTRING_PTR(str), RSTRING_LEN(str), RSTRING_PTR 980 re.c s = p = RSTRING_PTR(RMATCH(match)->str); RSTRING_PTR 1448 re.c r = onig_new(®, (UChar* )RSTRING_PTR(unescaped), RSTRING_PTR 1449 re.c (UChar* )(RSTRING_PTR(unescaped) + RSTRING_LEN(unescaped)), RSTRING_PTR 1485 re.c string = (UChar*)RSTRING_PTR(str); RSTRING_PTR 1506 re.c char *range = RSTRING_PTR(str); RSTRING_PTR 1536 re.c (UChar*)(RSTRING_PTR(str)), RSTRING_PTR 1537 re.c ((UChar*)(RSTRING_PTR(str)) + RSTRING_LEN(str)), RSTRING_PTR 1538 re.c ((UChar*)(RSTRING_PTR(str)) + pos), RSTRING_PTR 1845 re.c RSTRING_PTR(name), RSTRING_END(name))) < 1) { RSTRING_PTR 2612 re.c p = RSTRING_PTR(str); RSTRING_PTR 2655 re.c p = RSTRING_PTR(str); RSTRING_PTR 2732 re.c re->ptr = make_regexp(RSTRING_PTR(unescaped), RSTRING_LEN(unescaped), enc, RSTRING_PTR 2766 re.c ret = rb_reg_initialize(obj, RSTRING_PTR(str), RSTRING_LEN(str), enc, RSTRING_PTR 2814 re.c if (rb_reg_initialize(re, RSTRING_PTR(s), RSTRING_LEN(s), RSTRING_PTR 2871 re.c && memcmp(RREGEXP_SRC_PTR(reg_cache), RSTRING_PTR(str), RSTRING_LEN(str)) == 0) RSTRING_PTR 3246 re.c pos = beg - RSTRING_PTR(str); RSTRING_PTR 3252 re.c start = ((UChar*)RSTRING_PTR(str)); RSTRING_PTR 3357 re.c s = RSTRING_PTR(str); RSTRING_PTR 3390 re.c t = RSTRING_PTR(tmp); RSTRING_PTR 3392 re.c memcpy(t, RSTRING_PTR(str), s - RSTRING_PTR(str)); RSTRING_PTR 3393 re.c t += s - RSTRING_PTR(str); RSTRING_PTR 3440 re.c rb_str_resize(tmp, t - RSTRING_PTR(tmp)); RSTRING_PTR 3673 re.c p = s = RSTRING_PTR(str); RSTRING_PTR 3726 re.c VALUE n = rb_str_subseq(str, (long)(name - RSTRING_PTR(str)), RSTRING_PTR 3749 re.c rb_enc_str_buf_cat(val, RSTRING_PTR(src), BEG(0), src_enc); RSTRING_PTR 3753 re.c rb_enc_str_buf_cat(val, RSTRING_PTR(src)+END(0), RSTRING_LEN(src)-END(0), src_enc); RSTRING_PTR 3774 re.c rb_enc_str_buf_cat(val, RSTRING_PTR(src)+BEG(no), END(no)-BEG(no), src_enc); RSTRING_PTR 305 ruby.c p = RSTRING_PTR(buf); RSTRING_PTR 309 ruby.c p = strncpy(RSTRING_PTR(buf), p, len); RSTRING_PTR 358 ruby.c char *p = RSTRING_PTR(path); RSTRING_PTR 485 ruby.c while (wlibpath = (WCHAR *)RSTRING_PTR(wsopath), RSTRING_PTR 501 ruby.c libpath = RSTRING_PTR(sopath); RSTRING_PTR 507 ruby.c libpath = RSTRING_PTR(sopath); RSTRING_PTR 521 ruby.c p = RSTRING_PTR(rubylib); RSTRING_PTR 577 ruby.c libpath = RSTRING_PTR(sopath); RSTRING_PTR 730 ruby.c p = RSTRING_PTR(argstr); RSTRING_PTR 746 ruby.c argv = (char **)RSTRING_PTR(argary); RSTRING_PTR 1317 ruby.c const char *s = RSTRING_PTR(enc_name); RSTRING_PTR 1518 ruby.c opt->script = RSTRING_PTR(opt->script_name); RSTRING_PTR 1521 ruby.c translit_char_bin(RSTRING_PTR(opt->script_name), '\\', '/'); RSTRING_PTR 1523 ruby.c translit_char(RSTRING_PTR(opt->script_name), '\\', '/'); RSTRING_PTR 1602 ruby.c opt->script = RSTRING_PTR(opt->script_name); RSTRING_PTR 2036 ruby.c setproctitle("%.*s", RSTRING_LENINT(title), RSTRING_PTR(title)); RSTRING_PTR 316 signal.c signm = RSTRING_PTR(sig); RSTRING_PTR 431 signal.c s = RSTRING_PTR(str); RSTRING_PTR 439 signal.c long ofs = s - RSTRING_PTR(str); RSTRING_PTR 1179 signal.c s = RSTRING_PTR(vsig); RSTRING_PTR 1190 signal.c long ofs = s - RSTRING_PTR(vsig); RSTRING_PTR 63 sprintf.c buf = RSTRING_PTR(result);\ RSTRING_PTR 502 sprintf.c p = RSTRING_PTR(fmt); RSTRING_PTR 508 sprintf.c buf = RSTRING_PTR(result); RSTRING_PTR 686 sprintf.c if (rb_enc_strlen(RSTRING_PTR(tmp),RSTRING_END(tmp),enc) != 1) { RSTRING_PTR 689 sprintf.c c = rb_enc_codepoint_len(RSTRING_PTR(tmp), RSTRING_END(tmp), &n, enc); RSTRING_PTR 744 sprintf.c slen = rb_enc_strlen(RSTRING_PTR(str),RSTRING_END(str),enc); RSTRING_PTR 749 sprintf.c char *p = rb_enc_nth(RSTRING_PTR(str), RSTRING_END(str), RSTRING_PTR 752 sprintf.c len = p - RSTRING_PTR(str); RSTRING_PTR 764 sprintf.c memcpy(&buf[blen], RSTRING_PTR(str), len); RSTRING_PTR 777 sprintf.c PUSH(RSTRING_PTR(str), len); RSTRING_PTR 882 sprintf.c valsign = rb_integer_pack(val, RSTRING_PTR(tmp), RSTRING_LEN(tmp), RSTRING_PTR 885 sprintf.c RSTRING_PTR(tmp)[i] = ruby_digitmap[((unsigned char *)RSTRING_PTR(tmp))[i]]; RSTRING_PTR 886 sprintf.c s = RSTRING_PTR(tmp); RSTRING_PTR 916 sprintf.c valsign = rb_integer_pack(val, RSTRING_PTR(tmp), RSTRING_LEN(tmp), RSTRING_PTR 919 sprintf.c RSTRING_PTR(tmp)[i] = ruby_digitmap[((unsigned char *)RSTRING_PTR(tmp))[i]]; RSTRING_PTR 920 sprintf.c s = RSTRING_PTR(tmp); RSTRING_PTR 947 sprintf.c s = RSTRING_PTR(tmp); RSTRING_PTR 1095 sprintf.c t = RSTRING_PTR(val); RSTRING_PTR 1313 sprintf.c size_t blen = buf - RSTRING_PTR(result), bsiz = fp->_w; RSTRING_PTR 1329 sprintf.c rb_str_set_len(result, buf - RSTRING_PTR(result)); RSTRING_PTR 1410 sprintf.c f._p = (unsigned char *)RSTRING_PTR(result); RSTRING_PTR 1417 sprintf.c rb_str_resize(result, (char *)f._p - RSTRING_PTR(result)); RSTRING_PTR 1476 sprintf.c rb_str_resize(str, (char *)f._p - RSTRING_PTR(str)); RSTRING_PTR 175 strftime.c s = RSTRING_PTR(ftime); RSTRING_PTR 233 strftime.c char *s = RSTRING_PTR(ftime); RSTRING_PTR 322 strftime.c s = RSTRING_PTR(ftime); \ RSTRING_PTR 630 strftime.c i = strlcpy(tbuf, RSTRING_PTR(str), TBUFSIZE); RSTRING_PTR 133 string.c memcpy(tmp, RSTRING_PTR(str), tlen);\ RSTRING_PTR 194 string.c q = (const unsigned char *)RSTRING_PTR(str); RSTRING_PTR 204 string.c q = (const unsigned char *)RSTRING_PTR(str); RSTRING_PTR 592 string.c search_nonascii(RSTRING_PTR(dest), RSTRING_END(dest))) RSTRING_PTR 621 string.c cr = coderange_scan(RSTRING_PTR(str), RSTRING_LEN(str), RSTRING_PTR 644 string.c if (RSTRING_PTR(s) != p || RSTRING_LEN(s) != len){ RSTRING_PTR 706 string.c memcpy(RSTRING_PTR(str), ptr, len); RSTRING_PTR 709 string.c TERM_FILL(RSTRING_PTR(str) + len, termlen); RSTRING_PTR 931 string.c while ((dest = (unsigned char*)RSTRING_PTR(newstr)), RSTRING_PTR 955 string.c len = dp - (unsigned char*)RSTRING_PTR(newstr); RSTRING_PTR 1058 string.c memcpy(ptr2, RSTRING_PTR(str), len); RSTRING_PTR 1114 string.c str = str_new(klass, RSTRING_PTR(orig), RSTRING_LEN(orig)); RSTRING_PTR 1139 string.c memcpy(RSTRING_PTR(str), RSTRING_PTR(orig), RSTRING_LEN(orig)); RSTRING_PTR 1147 string.c RSTRING(str)->as.heap.ptr = RSTRING_PTR(orig); RSTRING_PTR 1264 string.c memcpy(RSTRING_PTR(str), RSTRING_PTR(str2), RSTRING_LEN(str2)+1); RSTRING_PTR 1272 string.c RSTRING(str)->as.heap.ptr = RSTRING_PTR(str2); RSTRING_PTR 1285 string.c RSTRING_PTR(str2)[0] = 0; RSTRING_PTR 1320 string.c RSTRING(str)->as.heap.ptr = RSTRING_PTR(str2); RSTRING_PTR 1442 string.c memcpy(RSTRING(str)->as.heap.ptr, RSTRING_PTR(orig), len); RSTRING_PTR 1647 string.c p = RSTRING_PTR(str); RSTRING_PTR 1739 string.c ptr3 = RSTRING_PTR(str3); RSTRING_PTR 1791 string.c ptr2 = RSTRING_PTR(str2); RSTRING_PTR 1794 string.c memcpy(ptr2, RSTRING_PTR(str), n); RSTRING_PTR 1889 string.c oldptr = RSTRING_PTR(str); RSTRING_PTR 1984 string.c return RSTRING_PTR(str); RSTRING_PTR 2024 string.c return RSTRING_PTR(str); RSTRING_PTR 2031 string.c char *s = RSTRING_PTR(str); RSTRING_PTR 2054 string.c char *s = RSTRING_PTR(str); RSTRING_PTR 2164 string.c return str_offset(RSTRING_PTR(str), RSTRING_END(str), pos, RSTRING_PTR 2214 string.c char *p = RSTRING_PTR(str); RSTRING_PTR 2232 string.c str2 = rb_str_new_with_class(str, RSTRING_PTR(str)+beg, len); RSTRING_PTR 2249 string.c char *p, *s = RSTRING_PTR(str), *e = s + blen; RSTRING_PTR 2343 string.c long ofs = p - RSTRING_PTR(str); RSTRING_PTR 2452 string.c TERM_FILL(&RSTRING_PTR(str)[len], termlen); RSTRING_PTR 2548 string.c sptr = RSTRING_PTR(str); RSTRING_PTR 2707 string.c rb_enc_cr_str_buf_cat(str, RSTRING_PTR(str2), RSTRING_LEN(str2), RSTRING_PTR 2735 string.c rb_enc_cr_str_buf_cat(str, RSTRING_PTR(v), RSTRING_LEN(v), RSTRING_PTR 2818 string.c memcpy(RSTRING_PTR(str1) + pos, buf, len); RSTRING_PTR 2853 string.c return rb_memhash((const void *)RSTRING_PTR(str), RSTRING_LEN(str)) ^ e; RSTRING_PTR 2946 string.c if ((ptr1 = RSTRING_PTR(str1)) == (ptr2 = RSTRING_PTR(str2))) RSTRING_PTR 3067 string.c p1 = RSTRING_PTR(str1); p1end = RSTRING_END(str1); RSTRING_PTR 3068 string.c p2 = RSTRING_PTR(str2); p2end = RSTRING_END(str2); RSTRING_PTR 3133 string.c s = RSTRING_PTR(str); RSTRING_PTR 3141 string.c sptr = RSTRING_PTR(sub); RSTRING_PTR 3204 string.c pos = str_offset(RSTRING_PTR(str), RSTRING_END(str), pos, RSTRING_PTR 3244 string.c sbeg = RSTRING_PTR(str); RSTRING_PTR 3246 string.c t = RSTRING_PTR(sub); RSTRING_PTR 3272 string.c sbeg = RSTRING_PTR(str); RSTRING_PTR 3274 string.c t = RSTRING_PTR(sub); RSTRING_PTR 3309 string.c sbeg = RSTRING_PTR(str); RSTRING_PTR 3312 string.c if (memcmp(sbeg, RSTRING_PTR(sub), RSTRING_LEN(sub)) == 0) RSTRING_PTR 3370 string.c pos = str_offset(RSTRING_PTR(str), RSTRING_END(str), pos, RSTRING_PTR 3697 string.c str = rb_str_new_with_class(orig, RSTRING_PTR(orig), RSTRING_LEN(orig)); RSTRING_PTR 3718 string.c sbeg = RSTRING_PTR(str); RSTRING_PTR 3779 string.c sbeg = RSTRING_PTR(str); RSTRING_PTR 3883 string.c char c = RSTRING_PTR(beg)[0]; RSTRING_PTR 3884 string.c char e = RSTRING_PTR(end)[0]; RSTRING_PTR 3896 string.c if (ascii && ISDIGIT(RSTRING_PTR(beg)[0]) && ISDIGIT(RSTRING_PTR(end)[0]) && RSTRING_PTR 3897 string.c all_digits_p(RSTRING_PTR(beg), RSTRING_LEN(beg)) && RSTRING_PTR 3898 string.c all_digits_p(RSTRING_PTR(end), RSTRING_LEN(end))) { RSTRING_PTR 3972 string.c const char *bp = RSTRING_PTR(beg); RSTRING_PTR 3973 string.c const char *ep = RSTRING_PTR(end); RSTRING_PTR 3974 string.c const char *vp = RSTRING_PTR(val); RSTRING_PTR 4138 string.c char *ptr = RSTRING_PTR(str); RSTRING_PTR 4180 string.c sptr = RSTRING_PTR(str); RSTRING_PTR 4192 string.c memmove(sptr + beg, RSTRING_PTR(val), vlen); RSTRING_PTR 4229 string.c p = str_nth(RSTRING_PTR(str), RSTRING_END(str), beg, enc, singlebyte); RSTRING_PTR 4234 string.c beg = p - RSTRING_PTR(str); /* physical position */ RSTRING_PTR 4576 string.c p = RSTRING_PTR(str); len = RSTRING_LEN(str); RSTRING_PTR 4595 string.c p = RSTRING_PTR(str); len = RSTRING_LEN(str); RSTRING_PTR 4616 string.c rp = RSTRING_PTR(repl); rlen = RSTRING_LEN(repl); RSTRING_PTR 4621 string.c p = RSTRING_PTR(str); RSTRING_PTR 4628 string.c TERM_FILL(&RSTRING_PTR(str)[len], TERM_LEN(str)); RSTRING_PTR 4731 string.c sp = RSTRING_PTR(str); RSTRING_PTR 4792 string.c len = rb_enc_fast_mbclen(RSTRING_PTR(str)+end0, RSTRING_END(str), str_enc); RSTRING_PTR 4793 string.c rb_enc_str_buf_cat(dest, RSTRING_PTR(str)+end0, len, str_enc); RSTRING_PTR 4796 string.c cp = RSTRING_PTR(str) + offset; RSTRING_PTR 4926 string.c RSTRING_PTR(str)[0] = 0; RSTRING_PTR 4966 string.c return INT2FIX((unsigned char)RSTRING_PTR(str)[pos]); RSTRING_PTR 4993 string.c head = RSTRING_PTR(str); RSTRING_PTR 5030 string.c char *p, *s = RSTRING_PTR(str); RSTRING_PTR 5163 string.c s = RSTRING_PTR(str); e = RSTRING_END(str); RSTRING_PTR 5219 string.c s = RSTRING_PTR(str); RSTRING_PTR 5395 string.c const char *p = RSTRING_PTR(str); RSTRING_PTR 5483 string.c p = RSTRING_PTR(str); pend = RSTRING_END(str); RSTRING_PTR 5586 string.c p = RSTRING_PTR(str); pend = p + RSTRING_LEN(str); RSTRING_PTR 5627 string.c p = RSTRING_PTR(str); pend = p + RSTRING_LEN(str); RSTRING_PTR 5628 string.c q = RSTRING_PTR(result); qend = q + len + 1; RSTRING_PTR 5781 string.c source_current = (OnigUChar*)RSTRING_PTR(source); RSTRING_PTR 5815 string.c char *target_current = RSTRING_PTR(target = rb_str_new_with_class(source, 0, target_length)); RSTRING_PTR 5845 string.c source_current = (OnigUChar*)RSTRING_PTR(source); RSTRING_PTR 5882 string.c char *s = RSTRING_PTR(str), *send = RSTRING_END(str); RSTRING_PTR 5948 string.c char *s = RSTRING_PTR(str), *send = RSTRING_END(str); RSTRING_PTR 6055 string.c if (RSTRING_LEN(str) == 0 || !RSTRING_PTR(str)) return Qnil; RSTRING_PTR 6228 string.c if (RSTRING_LEN(str) == 0 || !RSTRING_PTR(str)) return Qnil; RSTRING_PTR 6242 string.c trsrc.p = RSTRING_PTR(src); trsrc.pend = trsrc.p + RSTRING_LEN(src); RSTRING_PTR 6249 string.c trrepl.p = RSTRING_PTR(repl); RSTRING_PTR 6300 string.c s = RSTRING_PTR(str); send = RSTRING_END(str); RSTRING_PTR 6523 string.c tr.p = RSTRING_PTR(str); tr.pend = tr.p + RSTRING_LEN(str); RSTRING_PTR 6616 string.c if (RSTRING_LEN(str) == 0 || !RSTRING_PTR(str)) return Qnil; RSTRING_PTR 6628 string.c s = t = RSTRING_PTR(str); RSTRING_PTR 6660 string.c STR_SET_LEN(str, t - RSTRING_PTR(str)); RSTRING_PTR 6726 string.c s = t = RSTRING_PTR(str); RSTRING_PTR 6765 string.c if (t - RSTRING_PTR(str) != RSTRING_LEN(str)) { RSTRING_PTR 6766 string.c STR_SET_LEN(str, t - RSTRING_PTR(str)); RSTRING_PTR 6881 string.c (ptstr = RSTRING_PTR(tstr), RSTRING_PTR 6888 string.c s = RSTRING_PTR(str); RSTRING_PTR 6906 string.c s = RSTRING_PTR(str); RSTRING_PTR 7040 string.c if (RSTRING_LEN(spat) == 1 && RSTRING_PTR(spat)[0] == ' '){ RSTRING_PTR 7046 string.c if (rb_enc_ascget(RSTRING_PTR(spat), RSTRING_END(spat), &l, enc2) == ' ' && RSTRING_PTR 7060 string.c char *ptr = RSTRING_PTR(str); RSTRING_PTR 7120 string.c char *ptr = RSTRING_PTR(str); RSTRING_PTR 7123 string.c char *sptr = RSTRING_PTR(spat); RSTRING_PTR 7143 string.c char *ptr = RSTRING_PTR(str); RSTRING_PTR 7264 string.c ptr = subptr = RSTRING_PTR(str); RSTRING_PTR 7281 string.c rsptr = RSTRING_PTR(rs); RSTRING_PTR 7287 string.c rsptr = RSTRING_PTR(rs); RSTRING_PTR 7423 string.c rb_ary_push(ary, INT2FIX(RSTRING_PTR(str)[i] & 0xff)); RSTRING_PTR 7425 string.c rb_yield(INT2FIX(RSTRING_PTR(str)[i] & 0xff)); RSTRING_PTR 7488 string.c ptr = RSTRING_PTR(str); RSTRING_PTR 7590 string.c ptr = RSTRING_PTR(str); RSTRING_PTR 7676 string.c beg = RSTRING_PTR(str); RSTRING_PTR 7705 string.c TERM_FILL(&RSTRING_PTR(str)[len], TERM_LEN(str)); RSTRING_PTR 7746 string.c char *const p = RSTRING_PTR(str); RSTRING_PTR 7871 string.c TERM_FILL(&RSTRING_PTR(str)[len], TERM_LEN(str)); RSTRING_PTR 8171 string.c *start = END(0)+rb_enc_fast_mbclen(RSTRING_PTR(str)+END(0), RSTRING_PTR 8230 string.c char *p = RSTRING_PTR(str); long len = RSTRING_LEN(str); RSTRING_PTR 8343 string.c saltp = RSTRING_PTR(salt); RSTRING_PTR 8384 string.c c = rb_enc_codepoint(RSTRING_PTR(s), RSTRING_END(s), STR_ENC_GET(s)); RSTRING_PTR 8417 string.c ptr = p = RSTRING_PTR(str); RSTRING_PTR 8477 string.c f = RSTRING_PTR(pad); RSTRING_PTR 8503 string.c p = RSTRING_PTR(res); RSTRING_PTR 8519 string.c memcpy(p, RSTRING_PTR(str), size); RSTRING_PTR 8537 string.c STR_SET_LEN(res, p-RSTRING_PTR(res)); RSTRING_PTR 8725 string.c if (memcmp(RSTRING_PTR(str), RSTRING_PTR(tmp), RSTRING_LEN(tmp)) == 0) RSTRING_PTR 8756 string.c p = RSTRING_PTR(str); RSTRING_PTR 8761 string.c if (memcmp(s, RSTRING_PTR(tmp), RSTRING_LEN(tmp)) == 0) RSTRING_PTR 8868 string.c const char *const p = RSTRING_PTR(str), *e = p + blen; RSTRING_PTR 8957 string.c const char *p = RSTRING_PTR(str); RSTRING_PTR 8967 string.c rep = RSTRING_PTR(repl); RSTRING_PTR 9027 string.c rb_str_buf_cat(buf, RSTRING_PTR(repl), RSTRING_LEN(repl)); RSTRING_PTR 9062 string.c rb_str_buf_cat(buf, RSTRING_PTR(repl), RSTRING_LEN(repl)); RSTRING_PTR 9070 string.c const char *p = RSTRING_PTR(str); RSTRING_PTR 9075 string.c rep = RSTRING_PTR(repl); RSTRING_PTR 9128 string.c rb_str_buf_cat(buf, RSTRING_PTR(repl), RSTRING_LEN(repl)); RSTRING_PTR 9155 string.c rb_str_buf_cat(buf, RSTRING_PTR(repl), RSTRING_LEN(repl)); RSTRING_PTR 9280 string.c ptr = RSTRING_PTR(sym); RSTRING_PTR 9301 string.c ptr = RSTRING_PTR(str); RSTRING_PTR 9337 string.c dest = RSTRING_PTR(str); RSTRING_PTR 9344 string.c dest = RSTRING_PTR(str); RSTRING_PTR 709 struct.c char first = RSTRING_PTR(cname)[0]; RSTRING_PTR 399 symbol.c rb_bug("%p can't remove str from str_id (%s)", (void *)sym, RSTRING_PTR(str)); RSTRING_PTR 419 symbol.c RUBY_DTRACE_CREATE_HOOK(SYMBOL, RSTRING_PTR(str)); RSTRING_PTR 456 symbol.c rb_bug("wrong argument: %s (inappropriate Symbol)", RSTRING_PTR(str)); RSTRING_PTR 487 symbol.c RUBY_DTRACE_CREATE_HOOK(SYMBOL, RSTRING_PTR(RSYMBOL(dsym)->fstr)); RSTRING_PTR 764 symbol.c return RSTRING_PTR(str); RSTRING_PTR 784 symbol.c rb_bug("invalid symbol: %s", RSTRING_PTR((VALUE)key)); RSTRING_PTR 1062 symbol.c RSTRING_PTR(name), RSTRING_LEN(name) - 1, RSTRING_PTR 2928 thread.c s = RSTRING_PTR(name); RSTRING_PTR 1512 thread_pthread.c SET_CURRENT_THREAD_NAME(RSTRING_PTR(loc)); RSTRING_PTR 1521 thread_pthread.c name = RSTRING_PTR(ptr[0]); RSTRING_PTR 1937 time.c char *s = RSTRING_PTR(tmp); RSTRING_PTR 2480 time.c STRNCASECMP(months[i], RSTRING_PTR(s), 3) == 0) { RSTRING_PTR 2486 time.c char c = RSTRING_PTR(s)[0]; RSTRING_PTR 4441 time.c fmt = RSTRING_PTR(format); RSTRING_PTR 4603 time.c buf = (unsigned char *)RSTRING_PTR(str); RSTRING_PTR 370 transcode.c char *const path = RSTRING_PTR(fn); RSTRING_PTR 1838 transcode.c ds = (unsigned char *)RSTRING_PTR(dst); RSTRING_PTR 1855 transcode.c dst = rb_econv_append(ec, RSTRING_PTR(src) + off, len, dst, flags); RSTRING_PTR 2314 transcode.c ret = rb_econv_insert_output(ec, (const unsigned char *)RSTRING_PTR(rep), RSTRING_PTR 2421 transcode.c return (unsigned char *)RSTRING_PTR(destination); RSTRING_PTR 2598 transcode.c (const unsigned char *)RSTRING_PTR(replacement), RSTRING_PTR 2726 transcode.c fromp = sp = (unsigned char *)RSTRING_PTR(str); RSTRING_PTR 2730 transcode.c bp = (unsigned char *)RSTRING_PTR(dest); RSTRING_PTR 2736 transcode.c buf = (unsigned char *)RSTRING_PTR(dest); RSTRING_PTR 2774 transcode.c rb_str_coderange_scan_restartable(RSTRING_PTR(str), RSTRING_END(str), 0, &cr); RSTRING_PTR 3777 transcode.c ip = (const unsigned char *)RSTRING_PTR(input); RSTRING_PTR 3781 transcode.c op = (unsigned char *)RSTRING_PTR(output) + output_byteoffset; RSTRING_PTR 3785 transcode.c rb_str_set_len(output, op-(unsigned char *)RSTRING_PTR(output)); RSTRING_PTR 3788 transcode.c rb_str_drop_bytes(input, ip - (unsigned char *)RSTRING_PTR(input)); RSTRING_PTR 4069 transcode.c ret = rb_econv_insert_output(ec, (const unsigned char *)RSTRING_PTR(string), RSTRING_LEN(string), insert_enc); RSTRING_PTR 4121 transcode.c rb_econv_putback(ec, (unsigned char *)RSTRING_PTR(str), n); RSTRING_PTR 4212 transcode.c (const unsigned char *)RSTRING_PTR(string), RSTRING_PTR 391 variable.c const char *pbeg, *p, *path = RSTRING_PTR(pathname); RSTRING_PTR 451 variable.c return RSTRING_PTR(path); RSTRING_PTR 2031 variable.c if (!RSTRING_LEN(file) || !*RSTRING_PTR(file)) { RSTRING_PTR 2034 variable.c loading = RSTRING_PTR(file); RSTRING_PTR 2642 variable.c rb_compile_warn(RSTRING_PTR(ce->file), ce->line, RSTRING_PTR 179 vm.c fprintf(stderr, "= cref| klass: %s\n", RSTRING_PTR(rb_class_path(CREF_CLASS(cref)))); RSTRING_PTR 1167 vm.c return RSTRING_PTR(cfp->iseq->body->location.path); RSTRING_PTR 1209 vm.c return RSTRING_PTR(path); RSTRING_PTR 3259 vm.c RUBY_DTRACE_INSN_OPERAND(RSTRING_PTR(valstr), rb_insns_name(insn)); RSTRING_PTR 296 vm_backtrace.c VALUE s = rb_enc_sprintf(rb_enc_compatible(file, name), "%s", RSTRING_PTR(file)); RSTRING_PTR 305 vm_backtrace.c rb_str_catf(s, "`%s'", RSTRING_PTR(name)); RSTRING_PTR 721 vm_backtrace.c RSTRING_PTR(file), lineno); RSTRING_PTR 725 vm_backtrace.c RSTRING_PTR(file), lineno, RSTRING_PTR(name)); RSTRING_PTR 746 vm_backtrace.c const char *filename = NIL_P(file) ? "ruby" : RSTRING_PTR(file); RSTRING_PTR 756 vm_backtrace.c fprintf(stderr, "%s:%d:in `%s'\n", filename, line, RSTRING_PTR(method)); RSTRING_PTR 1433 vm_backtrace.c return rb_sprintf("%.*s%"PRIsVALUE, prefix_len, RSTRING_PTR(label), qualified_method_name); RSTRING_PTR 103 vm_dump.c iseq_name = RSTRING_PTR(tmp); RSTRING_PTR 109 vm_dump.c iseq_name = RSTRING_PTR(cfp->iseq->body->location.label); RSTRING_PTR 112 vm_dump.c snprintf(posbuf, MAX_POSBUF, "%s:%d", RSTRING_PTR(cfp->iseq->body->location.path), line); RSTRING_PTR 1017 vm_dump.c LIMITED_NAME_LENGTH(name), RSTRING_PTR(name)); RSTRING_PTR 1024 vm_dump.c LIMITED_NAME_LENGTH(name), RSTRING_PTR(name)); RSTRING_PTR 1035 vm_dump.c LIMITED_NAME_LENGTH(name), RSTRING_PTR(name)); RSTRING_PTR 1045 vm_dump.c LIMITED_NAME_LENGTH(klass), RSTRING_PTR(klass), RSTRING_PTR 563 vm_method.c rb_compile_warning(RSTRING_PTR(iseq->body->location.path), line, RSTRING_PTR 1951 vm_method.c rb_compile_warn(RSTRING_PTR(path), NUM2INT(line), RSTRING_PTR 298 win32/file.c WideCharToMultiByte(cp, 0, ws, len, RSTRING_PTR(dst) + olen, nlen, NULL, NULL); RSTRING_PTR 361 win32/file.c wpath = mbstr_to_wstr(cp, RSTRING_PTR(path), path_len, &wpath_len); RSTRING_PTR 444 win32/file.c wdir = mbstr_to_wstr(cp, RSTRING_PTR(dir), dir_len, &wdir_len); RSTRING_PTR 677 win32/file.c len = MultiByteToWideChar(cp, 0, RSTRING_PTR(path), RSTRING_LEN(path), NULL, 0); RSTRING_PTR 679 win32/file.c MultiByteToWideChar(cp, 0, RSTRING_PTR(path), RSTRING_LEN(path), wpath, len); RSTRING_PTR 617 win32/win32.c rb_write_error2(RSTRING_PTR(str), RSTRING_LEN(str)); RSTRING_PTR 2116 win32/win32.c WideCharToMultiByte(CP_UTF8, 0, wstr, clen, RSTRING_PTR(src), len, NULL, NULL); RSTRING_PTR 2139 win32/win32.c memcpy(ptr = malloc(len + 1), RSTRING_PTR(str), len); RSTRING_PTR 7070 win32/win32.c ptr = wbuffer = mbstr_to_wstr(CP_UTF8, RSTRING_PTR(str), RSTRING_LEN(str), &len); RSTRING_PTR 7074 win32/win32.c ptr = (const WCHAR *)RSTRING_PTR(str);