RSTRING 47 ext/json/ext/generator/unicode.h #define RSTRING_PTR(string) RSTRING(string)->ptr RSTRING 50 ext/json/ext/generator/unicode.h #define RSTRING_LEN(string) RSTRING(string)->len RSTRING 52 ext/json/ext/parser/unicode.h #define RSTRING_PTR(string) RSTRING(string)->ptr RSTRING 55 ext/json/ext/parser/unicode.h #define RSTRING_LEN(string) RSTRING(string)->len RSTRING 31 ext/openssl/ruby_missing.h RSTRING(str)->ptr[length] = 0; \ RSTRING 32 ext/openssl/ruby_missing.h RSTRING(str)->len = length; \ RSTRING 599 include/ruby/ruby.h RSTRING(str)->as.heap.len) RSTRING 602 include/ruby/ruby.h RSTRING(str)->as.ary : \ RSTRING 603 include/ruby/ruby.h RSTRING(str)->as.heap.ptr) RSTRING 79 string.c RSTRING(str)->as.heap.len = (n);\ RSTRING 90 string.c RSTRING(str)->as.heap.len--;\ RSTRING 99 string.c RSTRING(str)->as.heap.ptr = tmp;\ RSTRING 100 string.c RSTRING(str)->as.heap.len = RSTRING_LEN(str);\ RSTRING 102 string.c RSTRING(str)->as.heap.aux.capa = (capacity);\ RSTRING 106 string.c REALLOC_N(RSTRING(str)->as.heap.ptr, char, (capacity)+1);\ RSTRING 108 string.c RSTRING(str)->as.heap.aux.capa = (capacity);\ RSTRING 365 string.c return RSTRING(str)->as.heap.len; RSTRING 368 string.c return RSTRING(str)->as.heap.aux.capa; RSTRING 396 string.c RSTRING(str)->as.heap.aux.capa = len; RSTRING 397 string.c RSTRING(str)->as.heap.ptr = ALLOC_N(char,len+1); RSTRING 602 string.c RSTRING(str2)->as.heap.len = RSTRING_LEN(str); RSTRING 603 string.c RSTRING(str2)->as.heap.ptr = RSTRING_PTR(str); RSTRING 604 string.c RSTRING(str2)->as.heap.aux.shared = str; RSTRING 643 string.c RSTRING(str2)->as.heap.len = RSTRING_LEN(str); RSTRING 644 string.c RSTRING(str2)->as.heap.ptr = RSTRING_PTR(str); RSTRING 647 string.c RSTRING(str2)->as.heap.aux.shared = RSTRING(str)->as.heap.aux.shared; RSTRING 651 string.c RSTRING(str)->as.heap.aux.shared = str2; RSTRING 665 string.c if (STR_SHARED_P(orig) && (str = RSTRING(orig)->as.heap.aux.shared)) { RSTRING 671 string.c RSTRING(str)->as.heap.ptr += ofs; RSTRING 672 string.c RSTRING(str)->as.heap.len -= ofs; RSTRING 683 string.c VALUE assoc = RSTRING(orig)->as.heap.aux.shared; RSTRING 687 string.c RSTRING(str)->as.heap.aux.shared = assoc; RSTRING 720 string.c RSTRING(str)->as.heap.aux.capa = capa; RSTRING 721 string.c RSTRING(str)->as.heap.ptr = ALLOC_N(char, capa+1); RSTRING 722 string.c RSTRING(str)->as.heap.ptr[0] = '\0'; RSTRING 752 string.c xfree(RSTRING(str)->as.heap.ptr); RSTRING 785 string.c RSTRING(str)->as.heap.ptr = RSTRING_PTR(str2); RSTRING 786 string.c RSTRING(str)->as.heap.len = RSTRING_LEN(str2); RSTRING 789 string.c RSTRING(str)->as.heap.aux.shared = RSTRING(str2)->as.heap.aux.shared; RSTRING 792 string.c RSTRING(str)->as.heap.aux.capa = RSTRING(str2)->as.heap.aux.capa; RSTRING 1168 string.c RSTRING(str)->as.heap.ptr = ptr; RSTRING 1169 string.c RSTRING(str)->as.heap.len = len; RSTRING 1170 string.c RSTRING(str)->as.heap.aux.capa = len; RSTRING 1200 string.c rb_ary_concat(RSTRING(str)->as.heap.aux.shared, add); RSTRING 1204 string.c VALUE assoc = RSTRING(str)->as.heap.aux.shared; RSTRING 1207 string.c assoc = RSTRING(assoc)->as.heap.aux.shared; RSTRING 1215 string.c else if (RSTRING(str)->as.heap.aux.capa != RSTRING_LEN(str)) { RSTRING 1220 string.c RSTRING(str)->as.heap.aux.shared = add; RSTRING 1227 string.c if (STR_SHARED_P(str)) str = RSTRING(str)->as.heap.aux.shared; RSTRING 1229 string.c return RSTRING(str)->as.heap.aux.shared; RSTRING 1501 string.c RSTRING(str2)->as.heap.ptr += RSTRING(str2)->as.heap.len - len; RSTRING 1502 string.c RSTRING(str2)->as.heap.len = len; RSTRING 1517 string.c VALUE ary = RSTRING(str)->as.heap.aux.shared; RSTRING 1569 string.c RSTRING(str)->as.ary[len] = '\0'; RSTRING 1573 string.c MEMCPY(ptr, RSTRING(str)->as.ary, char, slen); RSTRING 1574 string.c RSTRING(str)->as.heap.ptr = ptr; RSTRING 1578 string.c char *ptr = RSTRING(str)->as.heap.ptr; RSTRING 1580 string.c if (slen > 0) MEMCPY(RSTRING(str)->as.ary, ptr, char, len); RSTRING 1581 string.c RSTRING(str)->as.ary[len] = '\0'; RSTRING 1587 string.c REALLOC_N(RSTRING(str)->as.heap.ptr, char, len+1); RSTRING 1590 string.c RSTRING(str)->as.heap.aux.capa = len; RSTRING 1592 string.c RSTRING(str)->as.heap.len = len; RSTRING 1593 string.c RSTRING(str)->as.heap.ptr[len] = '\0'; /* sentinel */ RSTRING 1610 string.c capa = RSTRING(str)->as.heap.aux.capa = RSTRING_LEN(str); RSTRING 1616 string.c capa = RSTRING(str)->as.heap.aux.capa; RSTRING 1667 string.c REALLOC_N(RSTRING(str)->as.heap.ptr, char, RSTRING(str)->as.heap.len+len+1); RSTRING 1668 string.c memcpy(RSTRING(str)->as.heap.ptr + RSTRING(str)->as.heap.len, ptr, len); RSTRING 1669 string.c RSTRING(str)->as.heap.len += len; RSTRING 1670 string.c RSTRING(str)->as.heap.ptr[RSTRING(str)->as.heap.len] = '\0'; /* sentinel */ RSTRING 1830 string.c REALLOC_N(RSTRING(str)->as.heap.ptr, char, len+1); RSTRING 1831 string.c memcpy(RSTRING(str)->as.heap.ptr + RSTRING(str)->as.heap.len, RSTRING 1833 string.c RSTRING(str)->as.heap.len = len; RSTRING 3037 string.c ptr = RSTRING(str)->as.ary; RSTRING 3043 string.c ptr = RSTRING(str)->as.heap.ptr += len; RSTRING 3044 string.c RSTRING(str)->as.heap.len = nlen; RSTRING 3694 string.c RSTRING(str)->as.heap.len = len; RSTRING 3695 string.c RSTRING(str)->as.heap.ptr = RSTRING_PTR(str2); RSTRING 3698 string.c RSTRING(str)->as.heap.aux.shared = RSTRING(str2)->as.heap.aux.shared; RSTRING 4722 string.c RSTRING(str)->as.heap.ptr = buf; RSTRING 4723 string.c RSTRING(str)->as.heap.len = t - buf; RSTRING 4725 string.c RSTRING(str)->as.heap.aux.capa = max; RSTRING 4787 string.c xfree(RSTRING(str)->as.heap.ptr); RSTRING 4790 string.c RSTRING(str)->as.heap.ptr = buf; RSTRING 4791 string.c RSTRING(str)->as.heap.len = t - buf; RSTRING 4793 string.c RSTRING(str)->as.heap.aux.capa = max;