Lines Matching refs:NS
36 NS(XmlGetUtf8InternalEncoding)(void)
38 return &ns(internal_utf8_encoding).enc;
42 NS(XmlGetUtf16InternalEncoding)(void)
45 return &ns(internal_little2_encoding).enc;
47 return &ns(internal_big2_encoding).enc;
51 ? &ns(internal_little2_encoding).enc
52 : &ns(internal_big2_encoding).enc);
56 static const ENCODING * const NS(encodings)[] = {
57 &ns(latin1_encoding).enc,
58 &ns(ascii_encoding).enc,
59 &ns(utf8_encoding).enc,
60 &ns(big2_encoding).enc,
61 &ns(big2_encoding).enc,
62 &ns(little2_encoding).enc,
63 &ns(utf8_encoding).enc /* NO_ENC */
67 NS(initScanProlog)(const ENCODING *enc, const char *ptr, const char *end,
70 return initScan(NS(encodings), (const INIT_ENCODING *)enc,
75 NS(initScanContent)(const ENCODING *enc, const char *ptr, const char *end,
78 return initScan(NS(encodings), (const INIT_ENCODING *)enc,
83 NS(XmlInitEncoding)(INIT_ENCODING *p, const ENCODING **encPtr,
90 p->initEnc.scanners[XML_PROLOG_STATE] = NS(initScanProlog);
91 p->initEnc.scanners[XML_CONTENT_STATE] = NS(initScanContent);
99 NS(findEncoding)(const ENCODING *enc, const char *ptr, const char *end)
114 return NS(encodings)[i];
118 NS(XmlParseXmlDecl)(int isGeneralTextEntity,
129 return doParseXmlDecl(NS(findEncoding),