/external/python/cpython2/Modules/cjkcodecs/ |
cjkcodecs.h | 66 #define CODEC_INIT(encoding) \ 67 static int encoding##_codec_init(const void *config) 69 #define ENCODER_INIT(encoding) \ 70 static int encoding##_encode_init( \ 72 #define ENCODER(encoding) \ 73 static Py_ssize_t encoding##_encode( \ 77 #define ENCODER_RESET(encoding) \ 78 static Py_ssize_t encoding##_encode_reset( \ 82 #define DECODER_INIT(encoding) \ 83 static int encoding##_decode_init( [all...] |
/external/python/cpython2/Python/ |
codecs.c | 79 /* Lookup the given encoding and return a tuple providing the codec 82 The encoding string is looked up converted to all lower-case 94 PyObject *_PyCodec_Lookup(const char *encoding) 100 if (encoding == NULL) { 109 /* Convert the encoding to a normalized Python string: all 112 v = normalizestring(encoding); 137 "can't find encoding"); 165 "unknown encoding: %s", encoding); 206 PyObject *codec_getitem(const char *encoding, int index [all...] |
/frameworks/base/core/java/android/util/ |
Xml.java | 78 public static void parse(InputStream in, Encoding encoding, 83 source.setEncoding(encoding.expatName); 129 public enum Encoding { 138 Encoding(String expatName) { 144 * Finds an encoding by name. Returns UTF-8 if you pass {@code null}. 146 public static Encoding findEncodingByName(String encodingName) 149 return Encoding.UTF_8; 152 for (Encoding encoding : Encoding.values()) [all...] |
/external/libxml2/ |
xmlsave.c | 83 const xmlChar *encoding; member in struct:_xmlSaveCtxt 135 msg = "unknown encoding %s\n"; 200 * encoding specified. 337 if ((ctxt->encoding == NULL) && (ctxt->escape == NULL)) 365 if (ctxt->encoding != NULL) 366 xmlFree((char *) ctxt->encoding); 380 xmlNewSaveCtxt(const char *encoding, int options) 391 if (encoding != NULL) { 392 ret->handler = xmlFindCharEncodingHandler(encoding); 394 xmlSaveErr(XML_SAVE_UNKNOWN_ENCODING, NULL, encoding); 844 const xmlChar *encoding = ctxt->encoding; local 1109 const xmlChar *encoding = ctxt->encoding; local 2547 const char * encoding; local [all...] |
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
EncodingInfo.java | 25 * Holds information about a given encoding, which is the Java name for the 26 * encoding, the equivalent ISO name. 40 * will answer if a character is in the encoding, and do so for a given 49 * Actually figuring out if a code point is in the encoding is expensive. So the 64 * Not all characters in an encoding are in on contiguous group, 69 * definately in the encoding, although for chars 70 * above this point they might be in the encoding. 73 * are in the encoding. 79 * The ISO encoding name. 92 * is in this encoding [all...] |
/external/google-breakpad/src/common/dwarf/ |
cfi_assembler.cc | 101 // The FDE length in an .eh_frame section uses the same encoding as the 103 // nybble of the encoding), as it's a length, not an address that can be 121 DwarfPointerEncoding encoding, 124 if (encoding == dwarf2reader::DW_EH_PE_omit) 127 // If (encoding & dwarf2reader::DW_EH_PE_indirect) != 0, then we assume 130 encoding = DwarfPointerEncoding(encoding & ~dwarf2reader::DW_EH_PE_indirect); 133 // nybble of the encoding specifies this. 135 switch (encoding & 0xf0) { 150 if ((encoding & 0xf0) == dwarf2reader::DW_EH_PE_aligned [all...] |
/external/llvm/test/MC/MachO/ARM/ |
compact-unwind-armv7k.s | 10 @ CHECK: compact encoding: 0x01000007 27 @ CHECK: compact encoding: 0x01000063 45 @ CHECK: compact encoding: 0x02000000 60 @ CHECK: compact encoding: 0x02000300 80 @ CHECK: compact encoding: 0x01c00001 97 @ CHECK: compact encoding: 0x04000000 109 @ CHECK: compact encoding: 0x04000000
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/output/ |
LockableFileWriter.java | 40 * The encoding may also be specified, and defaults to the platform default. 137 * Constructs a LockableFileWriter with a file encoding. 140 * @param encoding the encoding to use, null means platform default 144 public LockableFileWriter(File file, String encoding) throws IOException { 145 this(file, encoding, false, null); 149 * Constructs a LockableFileWriter with a file encoding. 152 * @param encoding the encoding to use, null means platform default 158 public LockableFileWriter(File file, String encoding, boolean append [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/ |
codecs.c | 79 /* Lookup the given encoding and return a tuple providing the codec
82 The encoding string is looked up converted to all lower-case
94 PyObject *_PyCodec_Lookup(const char *encoding)
100 if (encoding == NULL) {
109 /* Convert the encoding to a normalized Python string: all
112 v = normalizestring(encoding);
137 "can't find encoding");
165 "unknown encoding: %s", encoding);
206 PyObject *codec_getitem(const char *encoding, int index) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
codecs.c | 79 /* Lookup the given encoding and return a tuple providing the codec
82 The encoding string is looked up converted to all lower-case
94 PyObject *_PyCodec_Lookup(const char *encoding)
100 if (encoding == NULL) {
109 /* Convert the encoding to a normalized Python string: all
112 v = normalizestring(encoding);
137 "can't find encoding");
165 "unknown encoding: %s", encoding);
206 PyObject *codec_getitem(const char *encoding, int index) [all...] |
/art/compiler/debug/ |
elf_debug_line_writer.h | 103 const CodeInfoEncoding encoding = code_info.ExtractEncoding(); local 104 pc2dex_map.reserve(code_info.GetNumberOfStackMaps(encoding)); 105 for (uint32_t s = 0; s < code_info.GetNumberOfStackMaps(encoding); s++) { 106 StackMap stack_map = code_info.GetStackMapAt(s, encoding); 108 const uint32_t pc = stack_map.GetNativePcOffset(encoding.stack_map.encoding, isa); 109 const int32_t dex = stack_map.GetDexPc(encoding.stack_map.encoding); 111 if (stack_map.HasDexRegisterMap(encoding.stack_map.encoding)) { [all...] |
/external/conscrypt/common/src/main/java/org/conscrypt/ |
OpenSSLX509CertPath.java | 48 * Supported encoding types for CerthPath. Used by the various APIs that 51 private enum Encoding { 57 Encoding(String apiName) { 61 static Encoding findByApiName(String apiName) throws CertificateEncodingException { 62 for (Encoding element : values()) { 75 Encoding.PKI_PATH.apiName, 76 Encoding.PKCS7.apiName, 79 private static final Encoding DEFAULT_ENCODING = Encoding.PKI_PATH; 98 private byte[] getEncoded(Encoding encoding) throws CertificateEncodingException [all...] |
/external/jline/src/src/main/java/jline/ |
UnixTerminal.java | 48 String encoding = System.getProperty("input.encoding", "UTF-8"); field in class:UnixTerminal 49 ReplayPrefixOneCharInputStream replayStream = new ReplayPrefixOneCharInputStream(encoding); 54 replayReader = new InputStreamReader(replayStream, encoding); 165 // replayReader = new InputStreamReader(replayStream, encoding); 376 final String encoding; field in class:UnixTerminal.ReplayPrefixOneCharInputStream 378 public ReplayPrefixOneCharInputStream(String encoding) { 379 this.encoding = encoding; 388 if (encoding.equalsIgnoreCase("UTF-8") [all...] |
WindowsTerminal.java | 192 String encoding = System.getProperty("jline.WindowsTerminal.input.encoding", System.getProperty("file.encoding")); field in class:WindowsTerminal 193 ReplayPrefixOneCharInputStream replayStream = new ReplayPrefixOneCharInputStream(encoding); 206 replayReader = new InputStreamReader(replayStream, encoding); 365 // replayReader = new InputStreamReader(replayStream, encoding); 462 final String encoding; field in class:WindowsTerminal.ReplayPrefixOneCharInputStream 464 public ReplayPrefixOneCharInputStream(String encoding) { 465 this.encoding = encoding; [all...] |
/prebuilts/go/darwin-x86/src/encoding/gob/ |
example_encdec_test.go | 9 "encoding/gob" 17 // defined in the "encoding" package. 25 // A simple encoding: plain text. 33 // A simple encoding: plain text. 39 // This example transmits a value that implements the custom encoding and decoding methods.
|
/prebuilts/go/linux-x86/src/encoding/gob/ |
example_encdec_test.go | 9 "encoding/gob" 17 // defined in the "encoding" package. 25 // A simple encoding: plain text. 33 // A simple encoding: plain text. 39 // This example transmits a value that implements the custom encoding and decoding methods.
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
codecs.py | 96 return "<%s.%s object for encoding %s at 0x%x>" % (self.__class__.__module__, self.__class__.__name__, self.name, id(self))
111 decoding and '?' on encoding.
113 character reference (only for encoding).
115 (only for encoding).
130 make encoding/decoding efficient.
153 make encoding/decoding efficient.
166 the state of the Encoding process between calls to encode().
321 # interfaces which can be used to implement new encoding submodules
345 sequences (only for encoding).
454 definition of the encoding and the given size, e.g. if 652 encoding = 'unknown' variable in class:StreamReaderWriter [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
codecs.py | 90 return "<%s.%s object for encoding %s at 0x%x>" % (self.__class__.__module__, self.__class__.__name__, self.name, id(self))
105 decoding and '?' on encoding.
107 character reference (only for encoding).
109 (only for encoding).
124 make encoding/decoding efficient.
147 make encoding/decoding efficient.
160 the state of the Encoding process between calls to encode().
315 # interfaces which can be used to implement new encoding submodules
339 sequences (only for encoding).
448 definition of the encoding and the given size, e.g. if 649 encoding = 'unknown' variable in class:StreamReaderWriter [all...] |
/external/python/cpython2/Lib/ |
codecs.py | 108 return "<%s.%s object for encoding %s at 0x%x>" % (self.__class__.__module__, self.__class__.__name__, self.name, id(self)) 123 decoding and '?' on encoding. 125 character reference (only for encoding). 127 (only for encoding). 142 make encoding efficient. 178 the state of the Encoding process between calls to encode(). 333 # interfaces which can be used to implement new encoding submodules 357 sequences (only for encoding). 466 definition of the encoding and the given size, e.g. if 467 optional encoding endings or state markers are availabl 664 encoding = 'unknown' variable in class:StreamReaderWriter [all...] |
/external/python/cpython3/Lib/ |
codecs.py | 109 return "<%s.%s object for encoding %s at %#x>" % \ 126 decoding and '?' on encoding. 129 character reference (only for encoding). 132 (only for encoding). 147 make encoding efficient. 183 remembers the state of the encoding process between calls to encode(). 340 # interfaces which can be used to implement new encoding submodules 473 definition of the encoding and the given size, e.g. if 474 optional encoding endings or state markers are available 676 encoding = 'unknown variable in class:StreamReaderWriter [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
codecs.py | 90 return "<%s.%s object for encoding %s at 0x%x>" % (self.__class__.__module__, self.__class__.__name__, self.name, id(self)) 105 decoding and '?' on encoding. 107 character reference (only for encoding). 109 (only for encoding). 124 make encoding/decoding efficient. 147 make encoding/decoding efficient. 160 the state of the Encoding process between calls to encode(). 315 # interfaces which can be used to implement new encoding submodules 339 sequences (only for encoding). 448 definition of the encoding and the given size, e.g. i 649 encoding = 'unknown' variable in class:StreamReaderWriter [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
codecs.py | 90 return "<%s.%s object for encoding %s at 0x%x>" % (self.__class__.__module__, self.__class__.__name__, self.name, id(self)) 105 decoding and '?' on encoding. 107 character reference (only for encoding). 109 (only for encoding). 124 make encoding/decoding efficient. 147 make encoding/decoding efficient. 160 the state of the Encoding process between calls to encode(). 315 # interfaces which can be used to implement new encoding submodules 339 sequences (only for encoding). 448 definition of the encoding and the given size, e.g. i 649 encoding = 'unknown' variable in class:StreamReaderWriter [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
codecs.py | 90 return "<%s.%s object for encoding %s at 0x%x>" % (self.__class__.__module__, self.__class__.__name__, self.name, id(self)) 105 decoding and '?' on encoding. 107 character reference (only for encoding). 109 (only for encoding). 124 make encoding/decoding efficient. 147 make encoding/decoding efficient. 160 the state of the Encoding process between calls to encode(). 315 # interfaces which can be used to implement new encoding submodules 339 sequences (only for encoding). 448 definition of the encoding and the given size, e.g. i 649 encoding = 'unknown' variable in class:StreamReaderWriter [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
codecs.py | 90 return "<%s.%s object for encoding %s at 0x%x>" % (self.__class__.__module__, self.__class__.__name__, self.name, id(self)) 105 decoding and '?' on encoding. 107 character reference (only for encoding). 109 (only for encoding). 124 make encoding/decoding efficient. 147 make encoding/decoding efficient. 160 the state of the Encoding process between calls to encode(). 315 # interfaces which can be used to implement new encoding submodules 339 sequences (only for encoding). 448 definition of the encoding and the given size, e.g. i 649 encoding = 'unknown' variable in class:StreamReaderWriter [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/xml/etree/ |
ElementTree.py | 779 # @keyparam encoding Optional output encoding (default is US-ASCII).
789 encoding=None,
804 if not encoding:
806 encoding = "utf-8"
808 encoding = "us-ascii"
810 encoding not in ("utf-8", "us-ascii")):
812 write("<?xml version='1.0' encoding='%s'?>\n" % encoding)
814 _serialize_text(write, self._root, encoding)
[all...] |