/prebuilts/gdb/darwin-x86/lib/python2.7/idlelib/ |
IOBinding.py | 29 # what encoding to use 36 # Encoding for file names 39 encoding = "ascii" variable 42 # a portable encoding name, we need to find the code page 44 encoding = locale.getdefaultlocale()[1] variable 45 codecs.lookup(encoding) 54 encoding = locale.nl_langinfo(locale.CODESET) variable 55 if encoding is None or encoding is '': 57 encoding = 'ascii variable 64 encoding = locale.getdefaultlocale()[1] variable 67 encoding = 'ascii' variable 72 encoding = encoding.lower() variable [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/idlelib/ |
IOBinding.py | 29 # what encoding to use 36 # Encoding for file names 39 encoding = "ascii" variable 42 # a portable encoding name, we need to find the code page 44 encoding = locale.getdefaultlocale()[1] variable 45 codecs.lookup(encoding) 54 encoding = locale.nl_langinfo(locale.CODESET) variable 55 if encoding is None or encoding is '': 57 encoding = 'ascii variable 64 encoding = locale.getdefaultlocale()[1] variable 67 encoding = 'ascii' variable 72 encoding = encoding.lower() variable [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
IOBinding.py | 29 # what encoding to use 36 # Encoding for file names 39 encoding = "ascii" variable 42 # a portable encoding name, we need to find the code page 44 encoding = locale.getdefaultlocale()[1] variable 45 codecs.lookup(encoding) 54 encoding = locale.nl_langinfo(locale.CODESET) variable 55 if encoding is None or encoding is '': 57 encoding = 'ascii variable 64 encoding = locale.getdefaultlocale()[1] variable 67 encoding = 'ascii' variable 72 encoding = encoding.lower() variable [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
IOBinding.py | 29 # what encoding to use 36 # Encoding for file names 39 encoding = "ascii" variable 42 # a portable encoding name, we need to find the code page 44 encoding = locale.getdefaultlocale()[1] variable 45 codecs.lookup(encoding) 54 encoding = locale.nl_langinfo(locale.CODESET) variable 55 if encoding is None or encoding is '': 57 encoding = 'ascii variable 64 encoding = locale.getdefaultlocale()[1] variable 67 encoding = 'ascii' variable 72 encoding = encoding.lower() variable [all...] |
/external/tinyxml/ |
tinyxml.h | 210 TiXmlEncoding encoding /*= TIXML_ENCODING_UNKNOWN */ ) = 0; 246 static const char* SkipWhiteSpace( const char*, TiXmlEncoding encoding ); 263 static const char* ReadName( const char* p, TIXML_STRING* name, TiXmlEncoding encoding ); 273 TiXmlEncoding encoding ); // the current encoding 276 static const char* GetEntity( const char* in, char* value, int* length, TiXmlEncoding encoding ); 280 inline static const char* GetChar( const char* p, char* _value, int* length, TiXmlEncoding encoding ) 283 if ( encoding == TIXML_ENCODING_UTF8 ) 296 return GetEntity( p, _value, length, encoding ); 328 TiXmlEncoding encoding ); 1176 TIXML_STRING encoding; member in class:TiXmlDeclaration [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
locale.py | 347 def _replace_encoding(code, encoding):
352 # Convert the encoding to a C lib compatible encoding string
353 norm_encoding = encodings.normalize_encoding(encoding)
354 #print('norm encoding: %r' % norm_encoding)
357 #print('aliased encoding: %r' % norm_encoding)
358 encoding = locale_encoding_alias.get(norm_encoding,
360 #print('found encoding %r' % encoding)
361 return langname + '.' + encoding
[all...] |
calendar.py | 464 def formatyearpage(self, theyear, width=3, css='calendar.css', encoding=None):
468 if encoding is None:
469 encoding = sys.getdefaultencoding()
472 a('<?xml version="1.0" encoding="%s"?>\n' % encoding)
476 a('<meta http-equiv="Content-Type" content="text/html; charset=%s" />\n' % encoding)
485 return ''.join(v).encode(encoding, "xmlcharrefreplace")
505 an encoding all strings containing month and weekday names will be returned
516 with TimeEncoding(self.locale) as encoding:
522 if encoding is not None: [all...] |
/external/python/cpython2/Lib/ |
locale.py | 349 def _replace_encoding(code, encoding): 354 # Convert the encoding to a C lib compatible encoding string 355 norm_encoding = encodings.normalize_encoding(encoding) 356 #print('norm encoding: %r' % norm_encoding) 359 #print('aliased encoding: %r' % norm_encoding) 360 encoding = locale_encoding_alias.get(norm_encoding, 362 #print('found encoding %r' % encoding) 363 return langname + '.' + encoding [all...] |
calendar.py | 465 def formatyearpage(self, theyear, width=3, css='calendar.css', encoding=None): 469 if encoding is None: 470 encoding = sys.getdefaultencoding() 473 a('<?xml version="1.0" encoding="%s"?>\n' % encoding) 477 a('<meta http-equiv="Content-Type" content="text/html; charset=%s" />\n' % encoding) 486 return ''.join(v).encode(encoding, "xmlcharrefreplace") 506 an encoding all strings containing month and weekday names will be returned 517 with TimeEncoding(self.locale) as encoding: 523 if encoding is not None [all...] |
/tools/metalava/src/test/java/com/android/tools/metalava/ |
SystemServiceCheckTest.kt | 43 manifest = """<?xml version="1.0" encoding="UTF-8"?> 80 manifest = """<?xml version="1.0" encoding="UTF-8"?> 115 manifest = """<?xml version="1.0" encoding="UTF-8"?> 143 manifest = """<?xml version="1.0" encoding="UTF-8"?> 180 manifest = """<?xml version="1.0" encoding="UTF-8"?> 208 manifest = """<?xml version="1.0" encoding="UTF-8"?> 245 manifest = """<?xml version="1.0" encoding="UTF-8"?> 286 manifest = """<?xml version="1.0" encoding="UTF-8"?> 318 manifest = """<?xml version="1.0" encoding="UTF-8"?> 360 manifest = """<?xml version="1.0" encoding="UTF-8"? [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
calendar.py | 460 def formatyearpage(self, theyear, width=3, css='calendar.css', encoding=None):
464 if encoding is None:
465 encoding = sys.getdefaultencoding()
468 a('<?xml version="1.0" encoding="%s"?>\n' % encoding)
472 a('<meta http-equiv="Content-Type" content="text/html; charset=%s" />\n' % encoding)
481 return ''.join(v).encode(encoding, "xmlcharrefreplace")
500 an encoding all strings containing month and weekday names will be returned
511 with TimeEncoding(self.locale) as encoding:
517 if encoding is not None: [all...] |
/external/antlr/antlr-3.4/runtime/C/src/ |
antlr3filestream.c | 10 * encoding, though this is not a panacea. More information can be 13 * Where a well grounded discussion of the encoding formats available 54 antlr3FileStreamNew(pANTLR3_UINT8 fileName, ANTLR3_UINT32 encoding) 59 // as just straight 8 bit bytes. Then we will work out the encoding and 70 // the encoding scheme we were given by the user. 72 input->encoding = encoding; 89 antlr3StringStreamNew(pANTLR3_UINT8 data, ANTLR3_UINT32 encoding, ANTLR3_UINT32 size, pANTLR3_UINT8 name) 94 // Then we will work out the encoding and byte order and adjust the API functions that are installed for the 108 // the encoding scheme we were given by the user [all...] |
/external/freetype/src/psaux/ |
t1cmap.c | 29 /***** TYPE1 STANDARD (AND EXPERT) ENCODING CMAPS *****/ 184 /***** TYPE1 CUSTOM ENCODING CMAP *****/ 195 T1_Encoding encoding = &face->type1.encoding; local 200 cmap->first = (FT_UInt)encoding->code_first; 201 cmap->count = (FT_UInt)encoding->code_last - cmap->first; 202 cmap->indices = encoding->char_index; 205 FT_ASSERT( encoding->code_first <= encoding->code_last ); 284 /***** TYPE1 SYNTHETIC UNICODE ENCODING CMAP ***** [all...] |
/external/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/mako/ |
exceptions.py | 156 encoding = util.parse_encoding(fp) 159 encoding = None 160 if encoding: 161 line = line.decode(encoding) 199 encoding = util.parse_encoding(fp) 203 if encoding: 204 self.source = self.source.decode(encoding)
|
/external/python/cpython3/Lib/xmlrpc/ |
server.py | 163 def __init__(self, allow_none=False, encoding=None, 168 self.encoding = encoding or 'utf-8' 260 allow_none=self.allow_none, encoding=self.encoding) 263 encoding=self.encoding) 269 encoding=self.encoding, allow_none=self.allow_none, 272 return response.encode(self.encoding, 'xmlcharrefreplace' [all...] |
/external/v8/tools/ |
parser-shell.cc | 63 const char* fname, Encoding encoding, int repeat, v8::Isolate* isolate, 68 switch (encoding) { 135 Encoding encoding = LATIN1; local 141 encoding = LATIN1; 143 encoding = UTF8; 145 encoding = UTF16; 171 RunBaselineParser(fnames[i].c_str(), encoding, repeat, isolate,
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
calendar.py | 464 def formatyearpage(self, theyear, width=3, css='calendar.css', encoding=None): 468 if encoding is None: 469 encoding = sys.getdefaultencoding() 472 a('<?xml version="1.0" encoding="%s"?>\n' % encoding) 476 a('<meta http-equiv="Content-Type" content="text/html; charset=%s" />\n' % encoding) 485 return ''.join(v).encode(encoding, "xmlcharrefreplace") 505 an encoding all strings containing month and weekday names will be returned 516 with TimeEncoding(self.locale) as encoding: 522 if encoding is not None [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
calendar.py | 464 def formatyearpage(self, theyear, width=3, css='calendar.css', encoding=None): 468 if encoding is None: 469 encoding = sys.getdefaultencoding() 472 a('<?xml version="1.0" encoding="%s"?>\n' % encoding) 476 a('<meta http-equiv="Content-Type" content="text/html; charset=%s" />\n' % encoding) 485 return ''.join(v).encode(encoding, "xmlcharrefreplace") 505 an encoding all strings containing month and weekday names will be returned 516 with TimeEncoding(self.locale) as encoding: 522 if encoding is not None [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
calendar.py | 464 def formatyearpage(self, theyear, width=3, css='calendar.css', encoding=None): 468 if encoding is None: 469 encoding = sys.getdefaultencoding() 472 a('<?xml version="1.0" encoding="%s"?>\n' % encoding) 476 a('<meta http-equiv="Content-Type" content="text/html; charset=%s" />\n' % encoding) 485 return ''.join(v).encode(encoding, "xmlcharrefreplace") 505 an encoding all strings containing month and weekday names will be returned 516 with TimeEncoding(self.locale) as encoding: 522 if encoding is not None [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
calendar.py | 464 def formatyearpage(self, theyear, width=3, css='calendar.css', encoding=None): 468 if encoding is None: 469 encoding = sys.getdefaultencoding() 472 a('<?xml version="1.0" encoding="%s"?>\n' % encoding) 476 a('<meta http-equiv="Content-Type" content="text/html; charset=%s" />\n' % encoding) 485 return ''.join(v).encode(encoding, "xmlcharrefreplace") 505 an encoding all strings containing month and weekday names will be returned 516 with TimeEncoding(self.locale) as encoding: 522 if encoding is not None [all...] |
/art/runtime/entrypoints/ |
entrypoint_utils.cc | 206 CodeInfoEncoding encoding = code_info.ExtractEncoding(); local 207 StackMap stack_map = code_info.GetStackMapForNativePcOffset(native_pc_offset, encoding); 209 if (stack_map.HasInlineInfo(encoding.stack_map.encoding)) { 210 InlineInfo inline_info = code_info.GetInlineInfoOf(stack_map, encoding); 214 encoding.inline_info.encoding, 215 inline_info.GetDepth(encoding.inline_info.encoding) - 1);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/json/ |
decoder.py | 75 def py_scanstring(s, end, encoding=None, strict=True,
85 if encoding is None:
86 encoding = DEFAULT_ENCODING
100 content = unicode(content, encoding)
150 def JSONObject(s_and_end, encoding, strict, scan_once, object_hook,
177 key, end = scanstring(s, end, encoding, strict)
304 def __init__(self, encoding=None, object_hook=None, parse_float=None,
307 """``encoding`` determines the encoding used to interpret any ``str``
349 self.encoding = encoding [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/json/ |
decoder.py | 65 def py_scanstring(s, end, encoding=None, strict=True,
75 if encoding is None:
76 encoding = DEFAULT_ENCODING
90 content = unicode(content, encoding)
149 def JSONObject(s_and_end, encoding, strict, scan_once, object_hook,
175 key, end = scanstring(s, end, encoding, strict)
304 def __init__(self, encoding=None, object_hook=None, parse_float=None,
307 """``encoding`` determines the encoding used to interpret any ``str``
349 self.encoding = encoding [all...] |
/external/markdown/ |
test-markdown.py | 163 def test_directory(self, dir, measure_time=False, safe_mode=False, encoding="utf-8", output_format='xhtml1') : 164 self.encoding = encoding 198 self.html_diff_file = codecs.open(html_diff_file_path, "w", encoding=encoding) 238 expected_output = codecs.open(output_file, encoding=self.encoding).read() 239 input = codecs.open(input_file, encoding=self.encoding).read()
|
/external/python/cpython2/Lib/json/ |
decoder.py | 73 def py_scanstring(s, end, encoding=None, strict=True, 83 if encoding is None: 84 encoding = DEFAULT_ENCODING 98 content = unicode(content, encoding) 148 def JSONObject(s_and_end, encoding, strict, scan_once, object_hook, 175 key, end = scanstring(s, end, encoding, strict) 302 def __init__(self, encoding=None, object_hook=None, parse_float=None, 305 """``encoding`` determines the encoding used to interpret any ``str`` 347 self.encoding = encodin [all...] |