Searched refs:ecflags (Results 1 - 6 of 6) sorted by relevance

/macosx-10.10/ruby-106/ruby/
H A Dtranscode.c976 rb_econv_open0(const char *sname, const char *dname, int ecflags) argument
1019 ec->flags = ecflags;
1029 decorator_names(int ecflags, const char **decorators_ret) argument
1033 switch (ecflags & ECONV_NEWLINE_DECORATOR_MASK) {
1043 if ((ecflags & ECONV_XML_TEXT_DECORATOR) &&
1044 (ecflags & ECONV_XML_ATTR_CONTENT_DECORATOR))
1049 if (ecflags & ECONV_XML_TEXT_DECORATOR)
1051 if (ecflags & ECONV_XML_ATTR_CONTENT_DECORATOR)
1053 if (ecflags & ECONV_XML_ATTR_QUOTE_DECORATOR)
1056 if (ecflags
1067 rb_econv_open(const char *sname, const char *dname, int ecflags) argument
1970 econv_description(const char *sname, const char *dname, int ecflags, VALUE mesg) argument
2028 rb_econv_open_exc(const char *sname, const char *dname, int ecflags) argument
2258 transcode_loop(const unsigned char **in_pos, unsigned char **out_pos, const unsigned char *in_stop, unsigned char *out_stop, VALUE destination, unsigned char *(*resize_destination)(VALUE, size_t, size_t), const char *src_encoding, const char *dst_encoding, int ecflags, VALUE ecopts) argument
2337 transcode_loop(const unsigned char **in_pos, unsigned char **out_pos, const unsigned char *in_stop, unsigned char *out_stop, VALUE destination, unsigned char *(*resize_destination)(VALUE, size_t, size_t), const char *src_encoding, const char *dst_encoding, int ecflags, VALUE ecopts) argument
2420 econv_opts(VALUE opt, int ecflags) argument
2519 rb_econv_prepare_options(VALUE opthash, VALUE *opts, int ecflags) argument
2570 rb_econv_open_opts(const char *source_encoding, const char *destination_encoding, int ecflags, VALUE opthash) argument
2656 str_transcode0(int argc, VALUE *argv, VALUE *self, int ecflags, VALUE ecopts) argument
2734 int ecflags = 0; local
2867 rb_str_encode(VALUE str, VALUE to, int ecflags, VALUE ecopts) argument
2989 int ecflags; local
3038 decorate_convpath(VALUE convpath, int ecflags) argument
3126 int ecflags; local
3361 int ecflags; local
[all...]
H A Dio.c426 #define NEED_READCONV(fptr) ((fptr)->encs.enc2 != NULL || (fptr)->encs.ecflags & ~ECONV_CRLF_NEWLINE_DECORATOR)
427 #define NEED_WRITECONV(fptr) (((fptr)->encs.enc != NULL && (fptr)->encs.enc != rb_ascii8bit_encoding()) || ((fptr)->encs.ecflags & ((ECONV_DECORATOR_MASK & ~ECONV_CRLF_NEWLINE_DECORATOR)|ECONV_STATEFUL_DECORATOR_MASK)))
433 !((fptr)->encs.ecflags & ECONV_NEWLINE_DECORATOR_MASK)) {\
442 #define SET_UNIVERSAL_NEWLINE_DECORATOR_IF_ENC2(enc2, ecflags) do {\
443 if ((enc2) && ((ecflags) & ECONV_DEFAULT_NEWLINE_DECORATOR)) {\
444 (ecflags) |= ECONV_UNIVERSAL_NEWLINE_DECORATOR;\
554 #define NEED_WRITECONV(fptr) (((fptr)->encs.enc != NULL && (fptr)->encs.enc != rb_ascii8bit_encoding()) || NEED_NEWLINE_DECORATOR_ON_WRITE(fptr) || ((fptr)->encs.ecflags & (ECONV_DECORATOR_MASK|ECONV_STATEFUL_DECORATOR_MASK)))
557 #define SET_UNIVERSAL_NEWLINE_DECORATOR_IF_ENC2(enc2, ecflags) ((void)(enc2), (void)(ecflags))
1130 int ecflags; local
2107 int ecflags; local
5057 validate_enc_binmode(int *fmode_p, int ecflags, rb_encoding *enc, rb_encoding *enc2) argument
5112 int ecflags; local
9071 int ecflags = fptr->encs.ecflags; local
[all...]
H A Dstring.c491 rb_str_conv_enc_opts(VALUE str, rb_encoding *from, rb_encoding *to, int ecflags, VALUE ecopts) argument
521 ec = rb_econv_open_opts(from->name, to->name, ecflags, ecopts);
/macosx-10.10/ruby-106/ruby/include/ruby/
H A Dencoding.h113 VALUE rb_str_conv_enc_opts(VALUE str, rb_encoding *from, rb_encoding *to, int ecflags, VALUE ecopts);
254 VALUE rb_str_encode(VALUE str, VALUE to, int ecflags, VALUE ecopts);
257 int rb_econv_prepare_options(VALUE opthash, VALUE *ecopts, int ecflags);
260 rb_econv_t *rb_econv_open(const char *source_encoding, const char *destination_encoding, int ecflags);
261 rb_econv_t *rb_econv_open_opts(const char *source_encoding, const char *destination_encoding, int ecflags, VALUE ecopts);
276 VALUE rb_econv_open_exc(const char *senc, const char *denc, int ecflags);
H A Dio.h85 int ecflags; member in struct:rb_io_t::rb_io_enc_t
161 (fp)->encs.ecflags = 0;\
/macosx-10.10/ruby-106/ruby/ext/zlib/
H A Dzlib.c2204 int ecflags; member in struct:gzfile
2274 gz->ecflags = 0;
2295 gz->ecflags, gz->ecopts);
2679 gz->ecflags, gz->ecopts);
3393 gz->ecflags = rb_econv_prepare_opts(opts, &opts);
3395 gz->ecflags, opts);

Completed in 4813 milliseconds