Lines Matching refs:lk
105 static void xmlFreeTextWriterStackEntry(xmlLinkPtr lk);
109 static void xmlFreeTextWriterNsStackEntry(xmlLinkPtr lk);
530 xmlLinkPtr lk; in xmlTextWriterStartDocument() local
539 lk = xmlListFront(writer->nodes); in xmlTextWriterStartDocument()
540 if ((lk != NULL) && (xmlLinkGetData(lk) != NULL)) { in xmlTextWriterStartDocument()
649 xmlLinkPtr lk; in xmlTextWriterEndDocument() local
659 while ((lk = xmlListFront(writer->nodes)) != NULL) { in xmlTextWriterEndDocument()
660 p = (xmlTextWriterStackEntry *) xmlLinkGetData(lk); in xmlTextWriterEndDocument()
735 xmlLinkPtr lk; in xmlTextWriterStartComment() local
745 lk = xmlListFront(writer->nodes); in xmlTextWriterStartComment()
746 if (lk != 0) { in xmlTextWriterStartComment()
747 p = (xmlTextWriterStackEntry *) xmlLinkGetData(lk); in xmlTextWriterStartComment()
819 xmlLinkPtr lk; in xmlTextWriterEndComment() local
828 lk = xmlListFront(writer->nodes); in xmlTextWriterEndComment()
829 if (lk == 0) { in xmlTextWriterEndComment()
835 p = (xmlTextWriterStackEntry *) xmlLinkGetData(lk); in xmlTextWriterEndComment()
966 xmlLinkPtr lk; in xmlTextWriterStartElement() local
973 lk = xmlListFront(writer->nodes); in xmlTextWriterStartElement()
974 if (lk != 0) { in xmlTextWriterStartElement()
975 p = (xmlTextWriterStackEntry *) xmlLinkGetData(lk); in xmlTextWriterStartElement()
1128 xmlLinkPtr lk; in xmlTextWriterEndElement() local
1134 lk = xmlListFront(writer->nodes); in xmlTextWriterEndElement()
1135 if (lk == 0) { in xmlTextWriterEndElement()
1141 p = (xmlTextWriterStackEntry *) xmlLinkGetData(lk); in xmlTextWriterEndElement()
1220 xmlLinkPtr lk; in xmlTextWriterFullEndElement() local
1226 lk = xmlListFront(writer->nodes); in xmlTextWriterFullEndElement()
1227 if (lk == 0) in xmlTextWriterFullEndElement()
1230 p = (xmlTextWriterStackEntry *) xmlLinkGetData(lk); in xmlTextWriterFullEndElement()
1362 xmlLinkPtr lk; in xmlTextWriterWriteRawLen() local
1378 lk = xmlListFront(writer->nodes); in xmlTextWriterWriteRawLen()
1379 if (lk != 0) { in xmlTextWriterWriteRawLen()
1380 p = (xmlTextWriterStackEntry *) xmlLinkGetData(lk); in xmlTextWriterWriteRawLen()
1488 xmlLinkPtr lk; in xmlTextWriterWriteString() local
1497 lk = xmlListFront(writer->nodes); in xmlTextWriterWriteString()
1498 if (lk != 0) { in xmlTextWriterWriteString()
1499 p = (xmlTextWriterStackEntry *) xmlLinkGetData(lk); in xmlTextWriterWriteString()
1634 xmlLinkPtr lk; in xmlTextWriterWriteBase64() local
1641 lk = xmlListFront(writer->nodes); in xmlTextWriterWriteBase64()
1642 if (lk != 0) { in xmlTextWriterWriteBase64()
1643 p = (xmlTextWriterStackEntry *) xmlLinkGetData(lk); in xmlTextWriterWriteBase64()
1727 xmlLinkPtr lk; in xmlTextWriterWriteBinHex() local
1734 lk = xmlListFront(writer->nodes); in xmlTextWriterWriteBinHex()
1735 if (lk != 0) { in xmlTextWriterWriteBinHex()
1736 p = (xmlTextWriterStackEntry *) xmlLinkGetData(lk); in xmlTextWriterWriteBinHex()
1772 xmlLinkPtr lk; in xmlTextWriterStartAttribute() local
1779 lk = xmlListFront(writer->nodes); in xmlTextWriterStartAttribute()
1780 if (lk == 0) in xmlTextWriterStartAttribute()
1783 p = (xmlTextWriterStackEntry *) xmlLinkGetData(lk); in xmlTextWriterStartAttribute()
1927 xmlLinkPtr lk; in xmlTextWriterEndAttribute() local
1933 lk = xmlListFront(writer->nodes); in xmlTextWriterEndAttribute()
1934 if (lk == 0) { in xmlTextWriterEndAttribute()
1938 p = (xmlTextWriterStackEntry *) xmlLinkGetData(lk); in xmlTextWriterEndAttribute()
2384 xmlLinkPtr lk; in xmlTextWriterStartPI() local
2397 lk = xmlListFront(writer->nodes); in xmlTextWriterStartPI()
2398 if (lk != 0) { in xmlTextWriterStartPI()
2399 p = (xmlTextWriterStackEntry *) xmlLinkGetData(lk); in xmlTextWriterStartPI()
2480 xmlLinkPtr lk; in xmlTextWriterEndPI() local
2486 lk = xmlListFront(writer->nodes); in xmlTextWriterEndPI()
2487 if (lk == 0) in xmlTextWriterEndPI()
2490 p = (xmlTextWriterStackEntry *) xmlLinkGetData(lk); in xmlTextWriterEndPI()
2625 xmlLinkPtr lk; in xmlTextWriterStartCDATA() local
2632 lk = xmlListFront(writer->nodes); in xmlTextWriterStartCDATA()
2633 if (lk != 0) { in xmlTextWriterStartCDATA()
2634 p = (xmlTextWriterStackEntry *) xmlLinkGetData(lk); in xmlTextWriterStartCDATA()
2704 xmlLinkPtr lk; in xmlTextWriterEndCDATA() local
2710 lk = xmlListFront(writer->nodes); in xmlTextWriterEndCDATA()
2711 if (lk == 0) in xmlTextWriterEndCDATA()
2714 p = (xmlTextWriterStackEntry *) xmlLinkGetData(lk); in xmlTextWriterEndCDATA()
2841 xmlLinkPtr lk; in xmlTextWriterStartDTD() local
2848 lk = xmlListFront(writer->nodes); in xmlTextWriterStartDTD()
2849 if ((lk != NULL) && (xmlLinkGetData(lk) != NULL)) { in xmlTextWriterStartDTD()
2977 xmlLinkPtr lk; in xmlTextWriterEndDTD() local
2986 lk = xmlListFront(writer->nodes); in xmlTextWriterEndDTD()
2987 if (lk == NULL) in xmlTextWriterEndDTD()
2989 p = (xmlTextWriterStackEntry *) xmlLinkGetData(lk); in xmlTextWriterEndDTD()
3161 xmlLinkPtr lk; in xmlTextWriterStartDTDElement() local
3168 lk = xmlListFront(writer->nodes); in xmlTextWriterStartDTDElement()
3169 if (lk == 0) { in xmlTextWriterStartDTDElement()
3173 p = (xmlTextWriterStackEntry *) xmlLinkGetData(lk); in xmlTextWriterStartDTDElement()
3248 xmlLinkPtr lk; in xmlTextWriterEndDTDElement() local
3255 lk = xmlListFront(writer->nodes); in xmlTextWriterEndDTDElement()
3256 if (lk == 0) in xmlTextWriterEndDTDElement()
3259 p = (xmlTextWriterStackEntry *) xmlLinkGetData(lk); in xmlTextWriterEndDTDElement()
3398 xmlLinkPtr lk; in xmlTextWriterStartDTDAttlist() local
3405 lk = xmlListFront(writer->nodes); in xmlTextWriterStartDTDAttlist()
3406 if (lk == 0) { in xmlTextWriterStartDTDAttlist()
3410 p = (xmlTextWriterStackEntry *) xmlLinkGetData(lk); in xmlTextWriterStartDTDAttlist()
3485 xmlLinkPtr lk; in xmlTextWriterEndDTDAttlist() local
3492 lk = xmlListFront(writer->nodes); in xmlTextWriterEndDTDAttlist()
3493 if (lk == 0) in xmlTextWriterEndDTDAttlist()
3496 p = (xmlTextWriterStackEntry *) xmlLinkGetData(lk); in xmlTextWriterEndDTDAttlist()
3637 xmlLinkPtr lk; in xmlTextWriterStartDTDEntity() local
3644 lk = xmlListFront(writer->nodes); in xmlTextWriterStartDTDEntity()
3645 if (lk != 0) { in xmlTextWriterStartDTDEntity()
3647 p = (xmlTextWriterStackEntry *) xmlLinkGetData(lk); in xmlTextWriterStartDTDEntity()
3736 xmlLinkPtr lk; in xmlTextWriterEndDTDEntity() local
3743 lk = xmlListFront(writer->nodes); in xmlTextWriterEndDTDEntity()
3744 if (lk == 0) in xmlTextWriterEndDTDEntity()
3747 p = (xmlTextWriterStackEntry *) xmlLinkGetData(lk); in xmlTextWriterEndDTDEntity()
3991 xmlLinkPtr lk; in xmlTextWriterWriteDTDExternalEntityContents() local
4001 lk = xmlListFront(writer->nodes); in xmlTextWriterWriteDTDExternalEntityContents()
4002 if (lk == 0) { in xmlTextWriterWriteDTDExternalEntityContents()
4008 p = (xmlTextWriterStackEntry *) xmlLinkGetData(lk); in xmlTextWriterWriteDTDExternalEntityContents()
4122 xmlLinkPtr lk; in xmlTextWriterWriteDTDNotation() local
4129 lk = xmlListFront(writer->nodes); in xmlTextWriterWriteDTDNotation()
4130 if (lk == 0) { in xmlTextWriterWriteDTDNotation()
4134 p = (xmlTextWriterStackEntry *) xmlLinkGetData(lk); in xmlTextWriterWriteDTDNotation()
4262 xmlFreeTextWriterStackEntry(xmlLinkPtr lk) in xmlFreeTextWriterStackEntry() argument
4266 p = (xmlTextWriterStackEntry *) xmlLinkGetData(lk); in xmlFreeTextWriterStackEntry()
4318 xmlLinkPtr lk; in xmlTextWriterOutputNSDecl() local
4328 lk = xmlListFront(writer->nsstack); in xmlTextWriterOutputNSDecl()
4329 np = (xmlTextWriterNsStackEntry *) xmlLinkGetData(lk); in xmlTextWriterOutputNSDecl()
4361 xmlFreeTextWriterNsStackEntry(xmlLinkPtr lk) in xmlFreeTextWriterNsStackEntry() argument
4365 p = (xmlTextWriterNsStackEntry *) xmlLinkGetData(lk); in xmlFreeTextWriterNsStackEntry()