tr               6213 string.c           struct tr trsrc, trrepl;
tr               6518 string.c           struct tr tr;
tr               6523 string.c           tr.p = RSTRING_PTR(str); tr.pend = tr.p + RSTRING_LEN(str);
tr               6524 string.c           tr.gen = tr.now = tr.max = 0;
tr               6526 string.c           if (RSTRING_LEN(str) > 1 && rb_enc_ascget(tr.p, tr.pend, &l, enc) == '^') {
tr               6528 string.c       	tr.p += l;
tr               6543 string.c           while ((c = trnext(&tr, enc)) != errc) {
tr                205 transcode.c        const char *const sname = tr->src_encoding;
tr                206 transcode.c        const char *const dname = tr->dst_encoding;
tr                216 transcode.c        entry->transcoder = tr;
tr                432 transcode.c        const rb_transcoder *tr = tc->transcoder;
tr                433 transcode.c        int unitlen = tr->input_unit_length;
tr                518 transcode.c    	next_table = tr->conv_tree_start;
tr                529 transcode.c    #define BYTE_ADDR(index) (tr->byte_array + (index))
tr                530 transcode.c    #define WORD_ADDR(index) (tr->word_array + INFO2WORDINDEX(index))
tr                607 transcode.c    	    next_info = (VALUE)(*tr->func_ii)(TRANSCODING_STATE(tc), next_info);
tr                614 transcode.c                    next_info = (VALUE)(*tr->func_si)(TRANSCODING_STATE(tc), char_start, (size_t)char_len);
tr                619 transcode.c                if (tr->max_output <= out_stop - out_p)
tr                620 transcode.c                    out_p += tr->func_io(TRANSCODING_STATE(tc),
tr                623 transcode.c                    writebuf_len = tr->func_io(TRANSCODING_STATE(tc),
tr                638 transcode.c                    if (tr->max_output <= out_stop - out_p) {
tr                640 transcode.c                        out_p += tr->func_so(TRANSCODING_STATE(tc),
tr                646 transcode.c                        writebuf_len = tr->func_so(TRANSCODING_STATE(tc),
tr                662 transcode.c                    if (tr->max_output <= out_stop - out_p) {
tr                664 transcode.c                        out_p += tr->func_sio(TRANSCODING_STATE(tc),
tr                670 transcode.c                        writebuf_len = tr->func_sio(TRANSCODING_STATE(tc),
tr                725 transcode.c        if (tr->finish_func) {
tr                727 transcode.c            if (tr->max_output <= out_stop - out_p) {
tr                728 transcode.c                out_p += tr->finish_func(TRANSCODING_STATE(tc),
tr                732 transcode.c                writebuf_len = tr->finish_func(TRANSCODING_STATE(tc),
tr                783 transcode.c        tc->transcoder = tr;
tr                785 transcode.c        if (TRANSCODING_STATE_EMBED_MAX < tr->state_size)
tr                786 transcode.c            tc->state.ptr = xmalloc(tr->state_size);
tr                787 transcode.c        if (tr->state_init_func) {
tr                788 transcode.c            (tr->state_init_func)(TRANSCODING_STATE(tc)); /* xxx: check return value */
tr                795 transcode.c        if ((int)sizeof(tc->readbuf.ary) < tr->max_input) {
tr                796 transcode.c            tc->readbuf.ptr = xmalloc(tr->max_input);
tr                798 transcode.c        if ((int)sizeof(tc->writebuf.ary) < tr->max_output) {
tr                799 transcode.c            tc->writebuf.ptr = xmalloc(tr->max_output);
tr                819 transcode.c        const rb_transcoder *tr = tc->transcoder;
tr                820 transcode.c        if (tr->state_fini_func) {
tr                821 transcode.c            (tr->state_fini_func)(TRANSCODING_STATE(tc)); /* check return value? */
tr                823 transcode.c        if (TRANSCODING_STATE_EMBED_MAX < tr->state_size)
tr                825 transcode.c        if ((int)sizeof(tc->readbuf.ary) < tr->max_input)
tr                827 transcode.c        if ((int)sizeof(tc->writebuf.ary) < tr->max_output)
tr                836 transcode.c        const rb_transcoder *tr = tc->transcoder;
tr                838 transcode.c        if (TRANSCODING_STATE_EMBED_MAX < tr->state_size) {
tr                839 transcode.c    	size += tr->state_size;
tr                841 transcode.c        if ((int)sizeof(tc->readbuf.ary) < tr->max_input) {
tr                842 transcode.c    	size += tr->max_input;
tr                844 transcode.c        if ((int)sizeof(tc->writebuf.ary) < tr->max_output) {
tr                845 transcode.c    	size += tr->max_output;
tr                905 transcode.c        ec->elems[i].tc = rb_transcoding_open_by_transcoder(tr, 0);
tr                914 transcode.c        if (!DECORATOR_P(tr->src_encoding, tr->dst_encoding))
tr                934 transcode.c            const rb_transcoder *tr;
tr                935 transcode.c            tr = load_transcoder_entry(entries[i]);
tr                936 transcode.c            if (!tr)
tr                943 transcode.c            const rb_transcoder *tr = load_transcoder_entry(entries[i]);
tr                944 transcode.c            ret = rb_econv_add_transcoder_at(ec, tr, ec->num_trans);
tr               1502 transcode.c        const rb_transcoder *tr;
tr               1507 transcode.c        tr = tc->transcoder;
tr               1509 transcode.c        if (tr->asciicompat_type == asciicompat_encoder)
tr               1510 transcode.c            return tr->src_encoding;
tr               1511 transcode.c        return tr->dst_encoding;
tr               1769 transcode.c        const rb_transcoder *tr;
tr               1773 transcode.c        tr = load_transcoder_entry(entry);
tr               1774 transcode.c        if (tr && tr->asciicompat_type == asciicompat_decoder) {
tr               1775 transcode.c            data->ascii_compat_name = tr->dst_encoding;
tr               1883 transcode.c        const rb_transcoder *tr;
tr               1892 transcode.c        tr = load_transcoder_entry(entry);
tr               1893 transcode.c        if (!tr) return -1;
tr               1895 transcode.c        return rb_econv_add_transcoder_at(ec, tr, n);
tr               1907 transcode.c        const rb_transcoder *tr;
tr               1912 transcode.c        tr = ec->elems[0].tc->transcoder;
tr               1914 transcode.c        if (!DECORATOR_P(tr->src_encoding, tr->dst_encoding) &&
tr               1915 transcode.c            tr->asciicompat_type == asciicompat_decoder)
tr               1924 transcode.c        const rb_transcoder *tr;
tr               1929 transcode.c        tr = ec->elems[ec->num_trans-1].tc->transcoder;
tr               1931 transcode.c        if (!DECORATOR_P(tr->src_encoding, tr->dst_encoding) &&
tr               1932 transcode.c            tr->asciicompat_type == asciicompat_encoder)
tr               2128 transcode.c                    const rb_transcoder *tr = ec->elems[i].tc->transcoder;
tr               2129 transcode.c                    if (!DECORATOR_P(tr->src_encoding, tr->dst_encoding))
tr               2164 transcode.c        const rb_transcoder *tr;
tr               2177 transcode.c            tr = tc->transcoder;
tr               2178 transcode.c            rb_enc_find(tr->dst_encoding);
tr               3074 transcode.c    	    const rb_transcoder *tr = load_transcoder_entry(entry);
tr               3075 transcode.c    	    if (!tr)
tr               3077 transcode.c    	    if (!DECORATOR_P(tr->src_encoding, tr->dst_encoding) &&
tr               3078 transcode.c    		    tr->asciicompat_type == asciicompat_encoder) {
tr               3535 transcode.c            const rb_transcoder *tr = ec->elems[i].tc->transcoder;
tr               3537 transcode.c            if (DECORATOR_P(tr->src_encoding, tr->dst_encoding))
tr               3538 transcode.c                v = rb_str_new_cstr(tr->dst_encoding);
tr               3540 transcode.c                v = rb_assoc_new(make_encobj(tr->src_encoding), make_encobj(tr->dst_encoding));