Lines Matching +full:end +full:- +full:of +full:- +full:charge
9 Copyright (c) 1997-2000 Thai Open Source Software Center Ltd
13 Copyright (c) 2002-2006 Karl Waclawek <karl@waclawek.net>
14 Copyright (c) 2017-2021 Sebastian Pipping <sebastian@pipping.org>
17 Permission is hereby granted, free of charge, to any person obtaining
18 a copy of this software and associated documentation files (the
21 distribute, sublicense, and/or sell copies of the Software, and to permit
26 in all copies or substantial portions of the Software.
28 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
29 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
32 DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
33 OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
65 NS(initScanProlog)(const ENCODING *enc, const char *ptr, const char *end, in NS()
68 ptr, end, nextTokPtr); in NS()
72 NS(initScanContent)(const ENCODING *enc, const char *ptr, const char *end, in NS()
75 ptr, end, nextTokPtr); in NS()
85 p->initEnc.scanners[XML_PROLOG_STATE] = NS(initScanProlog); in NS()
86 p->initEnc.scanners[XML_CONTENT_STATE] = NS(initScanContent); in NS()
87 p->initEnc.updatePosition = initUpdatePosition; in NS()
88 p->encPtr = encPtr; in NS()
89 *encPtr = &(p->initEnc); in NS()
94 NS(findEncoding)(const ENCODING *enc, const char *ptr, const char *end) { in NS()
99 XmlUtf8Convert(enc, &ptr, end, &p, p + ENCODING_MAX - 1); in NS()
100 if (ptr != end) in NS()
103 if (streqci(buf, KW_UTF_16) && enc->minBytesPerChar == 2) in NS()
113 const char *ptr, const char *end, const char **badPtr, in NS()
117 return doParseXmlDecl(NS(findEncoding), isGeneralTextEntity, enc, ptr, end, in NS()