Lines Matching refs:ns
9 NS(XmlGetUtf8InternalEncoding)(void)
11 return &ns(internal_utf8_encoding).enc;
15 NS(XmlGetUtf16InternalEncoding)(void)
18 return &ns(internal_little2_encoding).enc;
20 return &ns(internal_big2_encoding).enc;
24 ? &ns(internal_little2_encoding).enc
25 : &ns(internal_big2_encoding).enc);
29 static const ENCODING * const NS(encodings)[] = {
30 &ns(latin1_encoding).enc,
31 &ns(ascii_encoding).enc,
32 &ns(utf8_encoding).enc,
33 &ns(big2_encoding).enc,
34 &ns(big2_encoding).enc,
35 &ns(little2_encoding).enc,
36 &ns(utf8_encoding).enc /* NO_ENC */
40 NS(initScanProlog)(const ENCODING *enc, const char *ptr, const char *end,
43 return initScan(NS(encodings), (const INIT_ENCODING *)enc,
48 NS(initScanContent)(const ENCODING *enc, const char *ptr, const char *end,
51 return initScan(NS(encodings), (const INIT_ENCODING *)enc,
56 NS(XmlInitEncoding)(INIT_ENCODING *p, const ENCODING **encPtr,
63 p->initEnc.scanners[XML_PROLOG_STATE] = NS(initScanProlog);
64 p->initEnc.scanners[XML_CONTENT_STATE] = NS(initScanContent);
72 NS(findEncoding)(const ENCODING *enc, const char *ptr, const char *end)
87 return NS(encodings)[i];
91 NS(XmlParseXmlDecl)(int isGeneralTextEntity,
102 return doParseXmlDecl(NS(findEncoding),