/external/chromium_org/third_party/icu/source/tools/genbrk/ |
genbrk.cpp | 228 const char* encoding = ucnv_detectUnicodeSignature( 233 if(encoding!=NULL ){ 242 conv = ucnv_open(encoding, &status);
|
/external/chromium_org/third_party/libxml/src/ |
testHTML.c | 50 static char *encoding = NULL; variable 780 if (encoding) 781 htmlSaveFileEnc("-", doc, encoding); 787 if (encoding) 788 htmlSaveFileEnc("-", doc, encoding); 827 encoding = argv[i]; 867 printf("\t--encode encoding : output in the given encoding\n");
|
/external/chromium_org/tools/grit/grit/node/ |
message.py | 215 def GetDataPackPair(self, lang, encoding): 217 in the specified encoding, where |encoding| is one of the encoding values 225 return id, util.Encode(message, encoding)
|
structure.py | 90 self.attrs['encoding']) 124 return { 'encoding' : 'cp1252', 195 def GetDataPackPair(self, lang, encoding): 205 return id, util.Encode(self._Substitute(text), encoding) 206 return id, self.gatherer.GetData(lang, encoding) 345 def Construct(parent, name, type, file, encoding='cp1252'): 354 node.HandleAttribute('encoding', encoding)
|
/external/expat/lib/ |
xmltok.h | 125 struct encoding; 126 typedef struct encoding ENCODING; 128 typedef int (PTRCALL *SCANNER)(const ENCODING *, 133 struct encoding { struct 136 int (PTRCALL *sameName)(const ENCODING *, 139 int (PTRCALL *nameMatchesAscii)(const ENCODING *, 143 int (PTRFASTCALL *nameLength)(const ENCODING *, const char *); 144 const char *(PTRFASTCALL *skipS)(const ENCODING *, const char *); 145 int (PTRCALL *getAtts)(const ENCODING *enc [all...] |
xmlparse.c | 173 version of the name (in the document encoding) is shared with the 183 const char *rawName; /* tagName in the original encoding */ 185 TAG_NAME name; /* tagName in the API encoding */ 332 doProlog(XML_Parser parser, const ENCODING *enc, const char *s, 339 doContent(XML_Parser parser, int startTagLevel, const ENCODING *enc, 343 doCdataSection(XML_Parser parser, const ENCODING *, const char **startPtr, 347 doIgnoreSection(XML_Parser parser, const ENCODING *, const char **startPtr, 352 storeAtts(XML_Parser parser, const ENCODING *, const char *s, 361 storeAttributeValue(XML_Parser parser, const ENCODING *, XML_Bool isCdata, 364 appendAttributeValue(XML_Parser parser, const ENCODING *, XML_Bool isCdata 599 #define encoding macro [all...] |
/external/icu/icu4c/source/samples/ugrep/ |
ugrep.cpp | 14 // encoding conversions, printing results, etc. 302 const char* encoding = ucnv_detectUnicodeSignature( local 309 if(encoding!=NULL ){ 318 conv = ucnv_open(encoding, &status);
|
/external/icu/icu4c/source/test/letest/ |
cmaps.cpp | 138 const CMAPFormat12Encoding *encoding = (const CMAPFormat12Encoding *) subtable; local 140 return new CMAPGroupMapper(cmap, encoding->groups, SWAPL(encoding->nGroups));
|
/external/icu/icu4c/source/test/perf/leperf/ |
cmaps.cpp | 138 const CMAPFormat12Encoding *encoding = (const CMAPFormat12Encoding *) subtable; local 140 return new CMAPGroupMapper(cmap, encoding->groups, SWAPL(encoding->nGroups));
|
/external/icu/icu4c/source/tools/genbrk/ |
genbrk.cpp | 228 const char* encoding = ucnv_detectUnicodeSignature( 233 if(encoding!=NULL ){ 242 conv = ucnv_open(encoding, &status);
|
/external/chromium_org/third_party/skia/experimental/PdfViewer/ |
SkPdfFont.cpp | 457 SkPdfEncoding* encoding = NULL; local 458 if (!getStandardEncodings().find(name, &encoding)) { 459 encoding = NULL; 463 if (encoding == NULL) { 464 printf("Encoding not found: %s\n", name); 467 return encoding;
|
/external/chromium_org/tools/grit/grit/tool/ |
build.py | 283 encoding = 'cp1252' 286 encoding = 'utf_8' 289 encoding = 'utf-8-sig' 291 # TODO(gfeher) modify here to set utf-8 encoding for admx/adml 292 encoding = 'utf_16' 307 outfile = util.WrapOutputStream(outfile, encoding)
|
/external/lldb/source/Utility/ |
ARM_DWARF_Registers.cpp | 218 reg_info.encoding = eEncodingVector; 225 reg_info.encoding = eEncodingIEEE754; 231 reg_info.encoding = eEncodingIEEE754; 237 reg_info.encoding = eEncodingIEEE754; 243 reg_info.encoding = eEncodingUint;
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
LoggingCanvas.cpp | 754 String LoggingCanvas::textEncodingName(SkPaint::TextEncoding encoding) 756 switch (encoding) { 843 String LoggingCanvas::textEncodingCanonicalName(SkPaint::TextEncoding encoding) 845 String name = textEncodingName(encoding); 846 if (encoding == SkPaint::kUTF16_TextEncoding || encoding == SkPaint::kUTF32_TextEncoding) 851 String LoggingCanvas::stringForUTFText(const void* text, size_t length, SkPaint::TextEncoding encoding) 853 return WTF::TextEncoding(textEncodingCanonicalName(encoding)).decode((const char*)text, length); 858 SkPaint::TextEncoding encoding = paint.getTextEncoding(); local 859 switch (encoding) { [all...] |
/external/llvm/lib/Target/AArch64/MCTargetDesc/ |
AArch64AddressingModes.h | 51 /// getShiftName - Get the string encoding for the shift type. 211 /// size. If so, return true with "encoding" set to the encoded value in 214 uint64_t &encoding) { 268 encoding = (N << 12) | (immr << 6) | (nimms & 0x3f); 279 uint64_t encoding; local 280 return processLogicalImmediate(imm, regSize, encoding); 286 uint64_t encoding = 0; local 287 bool res = processLogicalImmediate(imm, regSize, encoding); 290 return encoding; 302 assert((regSize == 64 || N == 0) && "undefined logical immediate encoding"); [all...] |
/external/chromium_org/third_party/simplejson/ |
_speedups.c | 53 PyObject *encoding; member in struct:_PyScannerObject 64 {"encoding", T_OBJECT, offsetof(PyScannerObject, encoding), READONLY, "encoding"}, 518 scanstring_str(PyObject *pystr, Py_ssize_t end, char *encoding, int strict, Py_ssize_t *next_end_ptr) 522 encoding is the encoding of pystr (must be an ASCII superset) 574 chunk = PyUnicode_FromEncodedObject(strchunk, encoding, NULL); 910 "scanstring(basestring, end, encoding, strict=True) -> (str, end)\n" 929 char *encoding = NULL local 1036 char *encoding = PyString_AS_STRING(s->encoding); local [all...] |
__init__.py | 12 Encoding basic Python object hierarchies:: 31 Compact encoding:: 75 Specializing JSON object encoding:: 136 encoding='utf-8', 147 encoding='utf-8', default=None, use_decimal=True, 184 ``encoding`` is the character encoding for str instances, default is UTF-8. 222 encoding == 'utf-8' and default is None and use_decimal 231 separators=separators, encoding=encoding, [all...] |
encoder.py | 108 indent=None, separators=None, encoding='utf-8', default=None, 115 encoding of keys that are not str, int, long, float or None. If 123 objects will be checked for circular references during encoding to 151 If encoding is not None, then all input strings will be 152 transformed into unicode using that encoding prior to JSON-encoding. 193 self.encoding = encoding 226 _encoding = self.encoding 263 if self.encoding != 'utf-8' [all...] |
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
ToStream.java | 66 * The encoding information associated with this serializer. 67 * Although initially there is no encoding, 69 * that every character is in the encoding. This is useful 71 * no associated encoding. A serializer in final output state 72 * will have an encoding, and will worry about whether 74 * characters in the output encoding. 163 * Flag to quickly tell if the encoding is UTF8. 408 if (OutputKeys.ENCODING.equals(name)) { 411 // if the encoding is being set, try to get the 417 final String oldExplicitEncoding = getOutputPropertyNonDefault(OutputKeys.ENCODING); 715 String encoding = getOutputProperty(OutputKeys.ENCODING); local 1019 final String encoding = getEncoding(); local 2070 String encoding = getEncoding(); local [all...] |
/external/libcxxabi/src/Unwind/ |
UnwindCursor.hpp | 279 uint32_t encoding(uint32_t index) const { function in class:libunwind::UnwindSectionRegularArray 282 arrayoffsetof(unwind_info_regular_second_level_entry, index, encoding)); 817 // If compact encoding table gave offset into dwarf section, go directly there 933 uint32_t encoding = 0; local [all...] |
/external/chromium_org/third_party/cython/src/Cython/Compiler/ |
Code.py | 162 f = Utils.open_source_file(filename, encoding='UTF-8') 758 # py_strings {(identifier, encoding) : PyStringConst} 773 def get_py_string_const(self, encoding, identifier=None, 779 is_unicode = encoding is None and not is_str 781 if encoding is None: 786 encoding = encoding.lower() 787 if encoding in ('utf8', 'utf-8', 'ascii', 'usascii', 'us-ascii'): 788 encoding = None 791 encoding_key = ''.join(find_alphanums(encoding)) [all...] |
/external/chromium_org/third_party/expat/files/lib/ |
xmlparse.c | 173 version of the name (in the document encoding) is shared with the 183 const char *rawName; /* tagName in the original encoding */ 185 TAG_NAME name; /* tagName in the API encoding */ 332 doProlog(XML_Parser parser, const ENCODING *enc, const char *s, 339 doContent(XML_Parser parser, int startTagLevel, const ENCODING *enc, 343 doCdataSection(XML_Parser parser, const ENCODING *, const char **startPtr, 347 doIgnoreSection(XML_Parser parser, const ENCODING *, const char **startPtr, 352 storeAtts(XML_Parser parser, const ENCODING *, const char *s, 361 storeAttributeValue(XML_Parser parser, const ENCODING *, XML_Bool isCdata, 364 appendAttributeValue(XML_Parser parser, const ENCODING *, XML_Bool isCdata 599 #define encoding macro [all...] |
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_HttpServer.java | 246 if (line.startsWith("transfer-encoding")) { 248 Assert.fail("Duplicate Transfer-Encoding: " 252 String encoding = line.substring(line.indexOf(' ') + 1); local 253 if ("chunked".equals(encoding)) { 254 Assert.fail("Unknown Transfer-Encoding: " 255 + encoding); 261 Assert.fail("Found both Content-Length and Transfer-Encoding"); 322 print(os, "Transfer-Encoding: chunked\r\n"); 454 // read chunked-encoding data
|
/external/chromium_org/testing/gtest/test/ |
gtest_xml_output_unittest.py | 60 EXPECTED_NON_EMPTY_XML = """<?xml version="1.0" encoding="UTF-8"?> 86 <failure message="gtest_xml_output_unittest_.cc:*
Failed
XML output: <?xml encoding="utf-8"><top><![CDATA[cdata text]]></top>" type=""><![CDATA[gtest_xml_output_unittest_.cc:* 88 XML output: <?xml encoding="utf-8"><top><![CDATA[cdata text]]>]]><![CDATA[</top>%(stack)s]]></failure> 132 EXPECTED_FILTERED_TEST_XML = """<?xml version="1.0" encoding="UTF-8"?> 141 EXPECTED_EMPTY_XML = """<?xml version="1.0" encoding="UTF-8"?>
|
/external/chromium_org/tools/grit/grit/format/ |
rc_unittest.py | 81 <structure type="menu" name="IDC_KLONKMENU" file="grit\\testdata\klonk.rc" encoding="utf-16" /> 82 <structure type="dialog" name="IDD_ABOUTBOX" file="grit\\testdata\klonk.rc" encoding="utf-16" /> 83 <structure type="version" name="VS_VERSION_INFO" file="grit\\testdata\klonk.rc" encoding="utf-16" /> 291 root = grd_reader.Parse(StringIO.StringIO('''<?xml version="1.0" encoding="UTF-8"?> 319 <structure type="dialog" name="IDD_ABOUTBOX" file="grit\\testdata\klonk.rc" encoding="utf-16" /> 345 root = grd_reader.Parse(StringIO.StringIO('''<?xml version="1.0" encoding="UTF-8"?> 354 file="grit\\testdata\klonk.rc" encoding="utf-16"
|