Lines Matching refs:xmlChar
54 static xmlChar* xmlGetPropNodeValueInternal(xmlAttrPtr prop);
110 const xmlChar xmlStringText[] = { 't', 'e', 'x', 't', 0 };
112 const xmlChar xmlStringTextNoenc[] =
115 const xmlChar xmlStringComment[] = { 'c', 'o', 'm', 'm', 'e', 'n', 't', 0 };
159 xmlGetEntityFromDtd(xmlDtdPtr dtd, const xmlChar *name) {
180 xmlGetParameterEntityFromDtd(xmlDtdPtr dtd, const xmlChar *name) {
212 xmlChar *
213 xmlBuildQName(const xmlChar *ncname, const xmlChar *prefix,
214 xmlChar *memory, int len) {
216 xmlChar *ret;
219 if (prefix == NULL) return((xmlChar *) ncname);
225 ret = (xmlChar *) xmlMallocAtomic(lenn + lenp + 2);
243 * @prefix: a xmlChar **
257 xmlChar *
258 xmlSplitQName2(const xmlChar *name, xmlChar **prefix) {
260 xmlChar *ret = NULL;
317 const xmlChar *
318 xmlSplitQName3(const xmlChar *name, int *len) {
363 xmlValidateNCName(const xmlChar *value, int space) {
364 const xmlChar *cur = value;
437 xmlValidateQName(const xmlChar *value, int space) {
438 const xmlChar *cur = value;
535 xmlValidateName(const xmlChar *value, int space) {
536 const xmlChar *cur = value;
604 xmlValidateNMToken(const xmlChar *value, int space) {
605 const xmlChar *cur = value;
717 xmlNewNs(xmlNodePtr node, const xmlChar *href, const xmlChar *prefix) {
846 xmlNewDtd(xmlDocPtr doc, const xmlChar *name,
847 const xmlChar *ExternalID, const xmlChar *SystemID) {
920 xmlCreateIntSubset(xmlDocPtr doc, const xmlChar *name,
921 const xmlChar *ExternalID, const xmlChar *SystemID) {
1028 (xmlDictOwns(dict, (const xmlChar *)(str)) == 0))) \
1042 if (xmlDictOwns(dict, (const xmlChar *)(str))) \
1043 cpy = (xmlChar *) (str); \
1045 cpy = (xmlChar *) xmlDictLookup((dict), (const xmlChar *)(str), -1); \
1047 cpy = xmlStrdup((const xmlChar *)(str)); }
1059 if (xmlDictOwns(dict, (const xmlChar *)(str))) \
1060 cpy = (const xmlChar *) (str); \
1062 cpy = xmlDictLookup((dict), (const xmlChar *)(str), -1); \
1064 cpy = (const xmlChar *) xmlStrdup((const xmlChar *)(str)); }
1125 * @version: xmlChar string giving the version of XML "1.0"
1132 xmlNewDoc(const xmlChar *version) {
1136 version = (const xmlChar *) "1.0";
1245 xmlStringLenGetNodeList(xmlDocPtr doc, const xmlChar *value, int len) {
1248 xmlChar *val;
1249 const xmlChar *cur = value, *end = cur + len;
1250 const xmlChar *q;
1259 xmlChar tmp;
1374 (const xmlChar*)node->content);
1395 xmlChar buf[10];
1442 xmlStringGetNodeList(xmlDocPtr doc, const xmlChar *value) {
1445 xmlChar *val;
1446 const xmlChar *cur = value;
1447 const xmlChar *q;
1456 xmlChar tmp;
1559 (const xmlChar*)node->content);
1579 xmlChar buf[10];
1628 xmlChar *
1632 xmlChar *ret = NULL;
1644 xmlChar *buffer;
1656 xmlChar *buffer;
1674 xmlChar buf[2];
1710 xmlChar *
1714 xmlChar *ret = NULL;
1726 xmlChar *buffer;
1738 xmlChar *buffer;
1757 xmlChar buf[2];
1783 const xmlChar * name, const xmlChar * value,
1793 xmlFree((xmlChar *) name);
1805 xmlFree((xmlChar *) name);
1821 cur->name = (xmlChar *) xmlDictLookup(doc->dict, name, -1);
1883 xmlNewProp(xmlNodePtr node, const xmlChar *name, const xmlChar *value) {
1908 xmlNewNsProp(xmlNodePtr node, xmlNsPtr ns, const xmlChar *name,
1909 const xmlChar *value) {
1933 xmlNewNsPropEatName(xmlNodePtr node, xmlNsPtr ns, xmlChar *name,
1934 const xmlChar
1957 xmlNewDocProp(xmlDocPtr doc, const xmlChar *name, const xmlChar *value) {
2107 xmlNewDocPI(xmlDocPtr doc, const xmlChar *name, const xmlChar *content) {
2154 xmlNewPI(const xmlChar *name, const xmlChar *content) {
2169 xmlNewNode(xmlNsPtr ns, const xmlChar *name) {
2211 xmlNewNodeEatName(xmlNsPtr ns, xmlChar *name) {
2260 const xmlChar *name, const xmlChar *content) {
2264 cur = xmlNewNodeEatName(ns, (xmlChar *)
2297 xmlChar *name, const xmlChar *content) {
2331 const xmlChar *name, const xmlChar *content) {
2383 xmlNewText(const xmlChar *content) {
2429 const xmlChar *name, const xmlChar *content) {
2498 xmlNewCharRef(xmlDocPtr doc, const xmlChar *name) {
2541 xmlNewReference(xmlDocPtr doc, const xmlChar *name) {
2597 xmlNewDocText(xmlDocPtr doc, const xmlChar
2614 xmlNewTextLen(const xmlChar *content, int len) {
2649 xmlNewDocTextLen(xmlDocPtr doc, const xmlChar *content, int len) {
2665 xmlNewComment(const xmlChar *content) {
2699 xmlNewCDataBlock(xmlDocPtr doc, const xmlChar *content, int len) {
2732 xmlNewDocComment(xmlDocPtr doc, const xmlChar *content) {
2809 const xmlChar *name, const xmlChar *content) {
2967 xmlChar *tmp;
3039 xmlChar *tmp;
3614 (cur->content != (xmlChar *) &(cur->properties))) {
3689 (cur->content != (xmlChar *) &(cur->properties))) {
3994 xmlChar *id;
4518 xmlChar *
4522 xmlChar *buffer = NULL, *temp;
4524 xmlChar *buf;
4534 buffer = (xmlChar *) xmlMallocAtomic(buf_len * sizeof(xmlChar));
4539 buf = (xmlChar *) xmlMallocAtomic(buf_len * sizeof(xmlChar));
4724 temp = (xmlChar *) xmlRealloc(buffer, buf_len);
4732 temp = (xmlChar *) xmlRealloc(buf, buf_len);
4830 xmlNodeSetLang(xmlNodePtr cur, const xmlChar *lang) {
4878 xmlChar *
4880 xmlChar *lang;
4959 xmlChar *space;
4988 xmlNodeSetName(xmlNodePtr cur, const xmlChar *name) {
5028 xmlFree((xmlChar *) cur->name);
5031 if (cur->name != NULL) xmlFree((xmlChar *) cur->name);
5047 xmlNodeSetBase(xmlNodePtr cur, const xmlChar* uri) {
5049 const xmlChar* fixed;
5081 xmlFree((xmlChar *) doc->URL);
5096 xmlFree((xmlChar *)fixed);
5120 xmlChar *
5122 xmlChar *oldbase = NULL;
5123 xmlChar *base, *newbase;
5340 * Returns a new #xmlChar * or NULL if no content is available.
5343 xmlChar *
5352 xmlChar *ret;
5373 xmlChar *ret;
5404 xmlChar *ret;
5418 xmlChar *tmp;
5452 xmlNodeSetContent(xmlNodePtr cur, const xmlChar *content) {
5475 (cur->content != (xmlChar *) &(cur->properties))) {
5529 xmlNodeSetContentLen(xmlNodePtr cur, const xmlChar *content, int len) {
5553 (cur->content != (xmlChar *) &(cur->properties))) {
5603 xmlNodeAddContentLen(xmlNodePtr cur, const xmlChar *content, int len) {
5639 if ((cur->content == (xmlChar *) &(cur->properties)) ||
5678 xmlNodeAddContent(xmlNodePtr cur, const xmlChar *content) {
5805 ns->prefix = xmlStrdup((const xmlChar *)"xml");
5828 xmlSearchNs(xmlDocPtr doc, xmlNodePtr node, const xmlChar *nameSpace) {
5835 (xmlStrEqual(nameSpace, (const xmlChar *)"xml"))) {
5850 cur->prefix = xmlStrdup((const xmlChar *)"xml");
5917 xmlNodePtr ancestor, const xmlChar * prefix)
5957 xmlSearchNsByHref(xmlDocPtr doc, xmlNodePtr node, const xmlChar * href)
5983 cur->prefix = xmlStrdup((const xmlChar *) "xml");
6051 xmlChar prefix[50];
6300 xmlGetPropNodeInternal(xmlNodePtr node, const xmlChar *name,
6301 const xmlChar *nsName, int useDTD)
6346 xmlChar *elemQName, *tmpstr = NULL;
6359 elemQName = (xmlChar *) node->name;
6413 static xmlChar*
6433 xmlChar *ret;
6440 return(xmlStrdup((xmlChar *)""));
6460 xmlHasProp(xmlNodePtr node, const xmlChar *name) {
6515 xmlHasNsProp(xmlNodePtr node, const xmlChar *name, const xmlChar *nameSpace) {
6536 xmlChar *
6537 xmlGetProp(xmlNodePtr node, const xmlChar *name) {
6561 xmlChar *
6562 xmlGetNoNsProp(xmlNodePtr node, const xmlChar *name) {
6586 xmlChar *
6587 xmlGetNsProp(xmlNodePtr node, const xmlChar *name, const xmlChar *nameSpace) {
6607 xmlUnsetProp(xmlNodePtr node, const xmlChar *name) {
6628 xmlUnsetNsProp(xmlNodePtr node, xmlNsPtr ns, const xmlChar *name) {
6656 xmlSetProp(xmlNodePtr node, const xmlChar *name, const xmlChar *value) {
6658 const xmlChar *nqname;
6669 xmlChar *prefix = xmlStrndup(name, len);
6692 xmlSetNsProp(xmlNodePtr node, xmlNsPtr ns, const xmlChar *name,
6693 const xmlChar *value)
6770 const xmlChar *cur;
6798 xmlTextConcat(xmlNodePtr node, const xmlChar *content, int len) {
6812 xmlChar *) &(node->properties)) ||
6849 ret->content = (xmlChar *) xmlMallocAtomic(ret->size * sizeof(xmlChar));
6880 ret->content = (xmlChar *) xmlMallocAtomic(ret->size * sizeof(xmlChar));
6919 ret->content = (xmlChar *) mem;
7003 * @len: the number of xmlChar to remove
7007 * Returns the number of #xmlChar removed, or -1 in case of failure.
7057 xmlChar *newbuf;
7080 newbuf = (xmlChar *) xmlRealloc(buf->contentIO, start_buf + size);
7088 newbuf = (xmlChar *) xmlRealloc(buf->content, size);
7105 * Returns the number of #xmlChar written
7127 ret = fwrite(buf->content, sizeof(xmlChar), buf->use, file);
7140 const xmlChar *
7180 xmlChar* rebuf = NULL;
7224 rebuf = (xmlChar *) xmlRealloc(buf->contentIO, start_buf + newSize);
7234 rebuf = (xmlChar *) xmlMallocAtomic(newSize);
7236 rebuf = (xmlChar *) xmlRealloc(buf->content, newSize);
7243 rebuf = (xmlChar *) xmlMallocAtomic(newSize);
7264 * @str: the #xmlChar string
7265 * @len: the number of #xmlChar to add
7274 xmlBufferAdd(xmlBufferPtr buf, const xmlChar *str, int len) {
7304 memmove(&buf->content[buf->use], str, len*sizeof(xmlChar));
7313 * @str: the #xmlChar string
7314 * @len: the number of #xmlChar to add
7323 xmlBufferAddHead(xmlBufferPtr buf, const xmlChar *str, int len) {
7382 * @str: the #xmlChar string
7390 xmlBufferCat(xmlBufferPtr buf, const xmlChar *str) {
7444 xmlBufferWriteCHAR(xmlBufferPtr buf, const xmlChar *string) {
7474 * a quoted or double quoted #xmlChar string, checking first if it holds
7478 xmlBufferWriteQuotedString(xmlBufferPtr buf, const xmlChar *string) {
7479 const xmlChar *cur, *base;
7743 const xmlChar *nsName,
7744 const xmlChar *prefix)
7823 xmlTreeNSListLookupByPrefix(xmlNsPtr nsList, const xmlChar *prefix)
7909 const xmlChar *old = str; \
7929 cur->content = (xmlChar *) \
8121 const xmlChar* nsName,
8221 const xmlChar* prefix,
8287 const xmlChar *nsName,
8288 const xmlChar *prefix,
8294 const xmlChar *pref;
9508 xmlChar *idVal;