rb_enc_str_new 1271 dir.c tmp = rb_enc_str_new(path, strlen(path), enc); rb_enc_str_new 2208 dir.c status = push_glob(ary, rb_enc_str_new(p, strlen(p), rb_enc_get(str)), rb_enc_str_new 102 error.c VALUE mesg = rb_enc_str_new(0, 0, enc); rb_enc_str_new 111 error.c mesg = rb_enc_str_new(0, 0, enc); rb_enc_str_new 152 error.c VALUE str = rb_enc_str_new(0, 0, enc); rb_enc_str_new 14 ext/-test-/string/qsort.c VALUE a = rb_enc_str_new(ap, d->elsize, d->enc); rb_enc_str_new 15 ext/-test-/string/qsort.c VALUE b = rb_enc_str_new(bp, d->elsize, d->enc); rb_enc_str_new 26 ext/psych/psych_emitter.c VALUE str = rb_enc_str_new((const char *)buffer, (long)size, rb_utf8_encoding()); rb_enc_str_new 394 ext/ripper/ripper.c #define STR_NEW(p,n) rb_enc_str_new((p),(n),current_enc) rb_enc_str_new 395 ext/ripper/ripper.c #define STR_NEW0() rb_enc_str_new(0,0,current_enc) rb_enc_str_new 396 ext/ripper/ripper.c #define STR_NEW2(p) rb_enc_str_new((p),strlen(p),current_enc) rb_enc_str_new 11499 ext/ripper/ripper.c str = rb_enc_str_new(p, n, enc); rb_enc_str_new 340 ext/ripper/ripper.y #define STR_NEW(p,n) rb_enc_str_new((p),(n),current_enc) rb_enc_str_new 341 ext/ripper/ripper.y #define STR_NEW0() rb_enc_str_new(0,0,current_enc) rb_enc_str_new 342 ext/ripper/ripper.y #define STR_NEW2(p) rb_enc_str_new((p),strlen(p),current_enc) rb_enc_str_new 5750 ext/ripper/ripper.y str = rb_enc_str_new(p, n, enc); rb_enc_str_new 216 ext/stringio/stringio.c string = rb_enc_str_new("", 0, rb_default_external_encoding()); rb_enc_str_new 931 ext/win32ole/win32ole.c VALUE str = rb_enc_str_new(NULL, size, cWIN32OLE_enc); rb_enc_str_new 2777 file.c v = rb_enc_str_new(0, size, enc); rb_enc_str_new 3225 file.c return rb_enc_str_new(ptr, len, fsenc); rb_enc_str_new 131 include/ruby/encoding.h VALUE rb_enc_str_new(const char*, long, rb_encoding*); rb_enc_str_new 152 include/ruby/encoding.h rb_enc_str_new((str), (len), (enc)) \ rb_enc_str_new 3046 io.c rs = rb_enc_str_new(0, 0, enc_io); rb_enc_str_new 3073 io.c return rb_enc_str_new(0, 0, io_read_encoding(fptr)); rb_enc_str_new 3503 io.c str = rb_enc_str_new(fptr->cbuf.ptr+fptr->cbuf.off, 1, read_enc); rb_enc_str_new 3013 numeric.c str = rb_enc_str_new(0, n, enc); rb_enc_str_new 394 parse.c #define STR_NEW(p,n) rb_enc_str_new((p),(n),current_enc) rb_enc_str_new 395 parse.c #define STR_NEW0() rb_enc_str_new(0,0,current_enc) rb_enc_str_new 396 parse.c #define STR_NEW2(p) rb_enc_str_new((p),strlen(p),current_enc) rb_enc_str_new 11423 parse.c str = rb_enc_str_new(p, n, enc); rb_enc_str_new 340 parse.y #define STR_NEW(p,n) rb_enc_str_new((p),(n),current_enc) rb_enc_str_new 341 parse.y #define STR_NEW0() rb_enc_str_new(0,0,current_enc) rb_enc_str_new 342 parse.y #define STR_NEW2(p) rb_enc_str_new((p),strlen(p),current_enc) rb_enc_str_new 5750 parse.y str = rb_enc_str_new(p, n, enc); rb_enc_str_new 760 re.c rb_ary_push(ary, rb_enc_str_new((const char *)name, name_end-name, regex->enc)); rb_enc_str_new 2034 re.c VALUE key = rb_enc_str_new((const char *)name, name_end-name, regex->enc); rb_enc_str_new 2838 re.c RB_OBJ_WRITE(re, &RREGEXP(re)->src, rb_fstring(rb_enc_str_new(s, len, enc))); rb_enc_str_new 188 strftime.c VALUE fmt = rb_enc_str_new(format, format_len, enc); rb_enc_str_new 916 strftime.c VALUE result = rb_enc_str_new(0, 0, enc); rb_enc_str_new 926 strftime.c VALUE result = rb_enc_str_new(0, 0, enc); rb_enc_str_new 938 strftime.c VALUE result = rb_enc_str_new(0, 0, enc); rb_enc_str_new 783 string.c return rb_enc_str_new(ptr, strlen(ptr), enc); rb_enc_str_new 3888 string.c if ((*each)(rb_enc_str_new(&c, 1, enc), arg)) break; rb_enc_str_new 9024 string.c repl = rb_yield(rb_enc_str_new(p, clen, enc)); rb_enc_str_new 9059 string.c repl = rb_yield(rb_enc_str_new(p, e-p, enc)); rb_enc_str_new 9125 string.c repl = rb_yield(rb_enc_str_new(p, e-p, enc)); rb_enc_str_new 9152 string.c repl = rb_yield(rb_enc_str_new(p, e-p, enc)); rb_enc_str_new 9343 string.c str = rb_enc_str_new(0, len + 1, enc); rb_enc_str_new 406 symbol.c VALUE str = rb_enc_str_new(name, len, enc); rb_enc_str_new 563 symbol.c str = rb_enc_str_new(name, len, enc); /* make true string */ rb_enc_str_new 4446 time.c return rb_enc_str_new(0, 0, enc); rb_enc_str_new 2307 transcode.c VALUE rep = rb_enc_str_new( rb_enc_str_new 4187 transcode.c return rb_enc_str_new((const char *)ec->replacement_str, (long)ec->replacement_len, enc); rb_enc_str_new 699 win32/file.c str = append_wstr(rb_enc_str_new(0, 0, enc), wbuf, len, cp, path_cp, enc); rb_enc_str_new 2107 win32/win32.c return rb_enc_str_new((char *)wstr, len * sizeof(WCHAR), enc); rb_enc_str_new 2115 win32/win32.c src = rb_enc_str_new(0, len, rb_enc_from_index(ENCINDEX_UTF_8));