Searched refs:encoding (Results 1 - 25 of 1075) sorted by relevance

1234567891011>>

/macosx-10.10.1/libiconv-42/libiconv/srclib/
H A Dcjk.h1 /* Test for CJK encoding.
24 static int is_cjk_encoding (const char *encoding);
27 is_cjk_encoding (const char *encoding) argument
31 || STREQ (encoding, "EUC-JP", 'E', 'U', 'C', '-', 'J', 'P', 0, 0, 0)
33 || STREQ (encoding, "GB2312", 'G', 'B', '2', '3', '1', '2', 0, 0, 0)
34 || STREQ (encoding, "GBK", 'G', 'B', 'K', 0, 0, 0, 0, 0, 0)
35 || STREQ (encoding, "EUC-TW", 'E', 'U', 'C', '-', 'T', 'W', 0, 0, 0)
36 || STREQ (encoding, "BIG5", 'B', 'I', 'G', '5', 0, 0, 0, 0, 0)
38 || STREQ (encoding, "EUC-KR", 'E', 'U', 'C', '-', 'K', 'R', 0, 0, 0)
39 || STREQ (encoding, "CP94
[all...]
H A Duniwidth.h34 /* These functions are locale dependent. The encoding argument identifies
35 the encoding (e.g. "ISO-8859-2" for Polish). */
37 /* Return the encoding of the current locale. */
43 uc_width (ucs4_t uc, const char *encoding);
48 u8_width (const uint8_t *s, size_t n, const char *encoding);
50 u16_width (const uint16_t *s, size_t n, const char *encoding);
52 u32_width (const uint32_t *s, size_t n, const char *encoding);
56 u8_strwidth (const uint8_t *s, const char *encoding);
58 u16_strwidth (const uint16_t *s, const char *encoding);
60 u32_strwidth (const uint32_t *s, const char *encoding);
[all...]
/macosx-10.10.1/ruby-106/ruby/lib/rexml/
H A Dencoding.rb5 attr_reader :encoding
6 def encoding=(encoding)
7 encoding = encoding.name if encoding.is_a?(Encoding)
8 if encoding.is_a?(String)
9 original_encoding = encoding
10 encoding = find_encoding(encoding)
[all...]
H A Doutput.rb1 require 'rexml/encoding'
7 attr_reader :encoding
11 self.encoding = encd
13 @to_utf = encoding != 'UTF-8'
15 if encoding == "UTF-16"
17 self.encoding = "UTF-16BE"
26 "Output[#{encoding}]"
/macosx-10.10.1/ruby-106/ruby/ext/tk/sample/demos-en/
H A Dtkencoding.rb12 attr_accessor :encoding
15 if( @encoding )
16 _fromUTF8(__eval(_toUTF8(cmd,@encoding)),@encoding)
23 if( @encoding )
24 cmds = cmds.collect{|cmd| _toUTF8(cmd,@encoding)}
25 _fromUTF8(__invoke(*cmds),@encoding)
35 def encoding=(name)
36 INTERP.encoding = name
39 def encoding method in class:Tk
[all...]
/macosx-10.10.1/vim-55/runtime/keymap/
H A Dpersian.vim1 let encoding = &enc variable
2 if encoding == ''
3 let encoding = 'utf-8' variable
6 if encoding == 'utf-8'
H A Dcroatian.vim1 let s:encoding = &enc
2 if s:encoding == 'latin1'
4 let s:encoding = 'iso-8859-2'
6 let s:encoding = 'cp1250'
10 if s:encoding == 'utf-8'
12 elseif s:encoding == 'cp1250'
H A Dhebrew.vim1 let encoding = &enc variable
2 if encoding == 'latin1'
4 let encoding = 'iso-8859-8' variable
6 let encoding = 'cp1255' variable
10 if encoding == 'utf-8'
12 elseif encoding == 'cp1255'
H A Dhebrewp.vim1 let encoding = &enc variable
2 if encoding == 'latin1'
4 let encoding = 'iso-8859-8' variable
6 let encoding = 'cp1255' variable
10 if encoding == 'utf-8'
12 elseif encoding == 'cp1255'
H A Dslovak.vim1 let encoding = &enc variable
2 if encoding == 'latin1'
4 let encoding = 'iso-8859-2' variable
6 let encoding = 'cp1250' variable
10 if encoding == 'utf-8'
12 elseif encoding == 'cp1250'
H A Dserbian.vim1 let encoding = &enc variable
2 if encoding == 'latin1'
4 let encoding = 'iso-8859-2' variable
6 let encoding = 'cp1250' variable
10 if encoding == 'utf-8'
12 elseif encoding == 'cp1250'
14 elseif encoding == 'cp1251'
16 elseif encoding == 'iso-8859-2'
H A Dpolish-slash.vim10 let encoding = &enc variable
11 if encoding == 'latin1'
13 let encoding = 'iso-8859-2' variable
15 let encoding = 'cp1250' variable
19 if encoding == 'utf-8'
21 elseif encoding == 'cp1250'
23 elseif encoding == 'iso-8859-2'
/macosx-10.10.1/pyobjc-45/2.5/pyobjc/pyobjc-core/Examples/ApplicationPlugins/Colloqui/Colloquy Plugin SDK/Headers/
H A DNSStringAdditions.h4 + (NSString *) mimeCharsetTagFromStringEncoding:(NSStringEncoding) encoding;
8 - (id) initWithBytes:(const void *) bytes encoding:(NSStringEncoding) encoding;
9 + (id) stringWithBytes:(const void *) bytes encoding:(NSStringEncoding) encoding;
11 - (const char *) bytesUsingEncoding:(NSStringEncoding) encoding allowLossyConversion:(BOOL) lossy;
12 - (const char *) bytesUsingEncoding:(NSStringEncoding) encoding;
/macosx-10.10.1/pyobjc-45/2.6/pyobjc/pyobjc-core/Examples/ApplicationPlugins/Colloqui/Colloquy Plugin SDK/Headers/
H A DNSStringAdditions.h4 + (NSString *) mimeCharsetTagFromStringEncoding:(NSStringEncoding) encoding;
8 - (id) initWithBytes:(const void *) bytes encoding:(NSStringEncoding) encoding;
9 + (id) stringWithBytes:(const void *) bytes encoding:(NSStringEncoding) encoding;
11 - (const char *) bytesUsingEncoding:(NSStringEncoding) encoding allowLossyConversion:(BOOL) lossy;
12 - (const char *) bytesUsingEncoding:(NSStringEncoding) encoding;
/macosx-10.10.1/pyobjc-45/pyobjc/pyobjc-core-2.5.1/Examples/ApplicationPlugins/Colloqui/Colloquy Plugin SDK/Headers/
H A DNSStringAdditions.h4 + (NSString *) mimeCharsetTagFromStringEncoding:(NSStringEncoding) encoding;
8 - (id) initWithBytes:(const void *) bytes encoding:(NSStringEncoding) encoding;
9 + (id) stringWithBytes:(const void *) bytes encoding:(NSStringEncoding) encoding;
11 - (const char *) bytesUsingEncoding:(NSStringEncoding) encoding allowLossyConversion:(BOOL) lossy;
12 - (const char *) bytesUsingEncoding:(NSStringEncoding) encoding;
/macosx-10.10.1/pyobjc-45/2.6/pyobjc/pyobjc-core/Modules/objc/
H A Dcorefoundation.h7 extern PyObject* PyObjCCFType_New(char* name, char* encoding, CFTypeID typeID);
8 extern PyObject* PyObjCCF_NewSpecial(char* encoding, void* datum);
/macosx-10.10.1/pyobjc-45/pyobjc/pyobjc-core-2.5.1/Modules/objc/
H A Dcorefoundation.h7 extern PyObject* PyObjCCFType_New(char* name, char* encoding, CFTypeID typeID);
8 extern PyObject* PyObjCCF_NewSpecial(char* encoding, void* datum);
/macosx-10.10.1/ruby-106/ruby/ext/psych/lib/psych/nodes/
H A Dstream.rb11 # Any encoding
14 # UTF-8 encoding
17 # UTF-16LE encoding
20 # UTF-16BE encoding
23 # The encoding used for this stream
24 attr_accessor :encoding
27 # Create a new Psych::Nodes::Stream node with an +encoding+ that
31 def initialize encoding = UTF8
33 @encoding = encoding
[all...]
/macosx-10.10.1/ruby-106/ruby/test/csv/
H A Dtest_encodings.rb2 # encoding: UTF-8
61 each_encoding do |encoding|
64 %w[ ghi jkl ] ], encoding )
66 fail("Failed to support #{encoding.name}.")
72 each_encoding do |encoding|
75 %w[ ghi jkl ] ], encoding, col_sep: "|" )
77 fail("Failed to properly escape #{encoding.name}.")
85 each_encoding do |encoding|
86 File.open(@temp_csv_path, "wb", encoding: encoding) {|
[all...]
/macosx-10.10.1/ruby-106/ruby/ext/-test-/exception/
H A Denc_raise.c2 #include <ruby/encoding.h>
5 enc_raise(VALUE exc, VALUE encoding, VALUE mesg) argument
7 rb_enc_raise(rb_to_encoding(encoding), exc, "%s", StringValueCStr(mesg));
/macosx-10.10.1/ruby-106/ruby/lib/irb/
H A Dmagic-file.rb10 encoding = detect_encoding(line)
11 internal_encoding = encoding
12 encoding ||= default_src_encoding
14 io.set_encoding(encoding, internal_encoding)
33 encoding = $1
34 return encoding.sub(/-(?:mac|dos|unix)/i, '')
/macosx-10.10.1/ruby-106/ruby/enc/
H A Dgb2312.c2 #include <ruby/encoding.h>
/macosx-10.10.1/ruby-106/ruby/lib/rdoc/
H A Dencoding.rb5 # files and convert them to the correct encoding.
10 # Reads the contents of +filename+ and handles any encoding directives in
13 # The content will be converted to the +encoding+. If the file cannot be
17 # unknown character in the target encoding will be replaced with '?'
19 def self.read_file filename, encoding, force_transcode = false
29 encoding ||= Encoding.default_external
30 orig_encoding = content.encoding
34 content.encode! encoding
36 # assume the content is in our output encoding
37 content.force_encoding encoding
[all...]
/macosx-10.10.1/emacs-93/emacs/lisp/gnus/
H A Dmm-encode.el1 ;;; mm-encode.el --- Functions for encoding MIME things
36 (defcustom mm-content-transfer-encoding-defaults
45 If the encoding is `qp-or-base64', then either quoted-printable
52 Note: It affects body encoding only when a part is a raw forwarded
55 type. Even though in those cases, you can use the `encoding' MML tag
56 to specify encoding of non-ASCII MIME parts."
58 (choice :tag "encoding"
66 (defvar mm-use-ultra-safe-encoding nil
78 (defun mm-insert-rfc822-headers (charset encoding)
84 (downcase (symbol-name encoding)) "\
[all...]
/macosx-10.10.1/pyobjc-45/2.5/pyobjc/pyobjc-core/Modules/objc/
H A Dcorefoundation.h7 extern PyObject* PyObjCCFType_New(char* name, char* encoding, CFTypeID typeID);
8 extern PyObject* PyObjCCF_NewSpecial(char* encoding, void* datum);

Completed in 291 milliseconds

1234567891011>>