Lines Matching refs:nFormat
756 XMLError XMLNode::writeToFile(XMLCSTR filename, const char *encoding, char nFormat) const {
792 XMLSTR t = createXMLString(nFormat, &i);
2101 int nFormat) {
2103 int cb = nFormat < 0 ? 0 : nFormat;
2108 if ((nFormat >= 0) && (nElementI == 1) && (pEntry->nText == 1) &&
2110 nFormat = -2;
2170 if (nFormat != -1) {
2178 if (nFormat >= 0) {
2187 if (nFormat != -1) {
2188 if (cbElement && (!pEntry->isDeclaration)) nChildFormat = nFormat + 1;
2189 else nChildFormat = nFormat;
2202 if (nFormat >= 0) {
2205 nFormat + 1);
2207 &lpszMarker[nResult+nFormat+1], pChild);
2208 lpszMarker[nResult+nFormat+1+cb] = _CXML('\n');
2210 nResult += cb + nFormat + 2;
2228 if (nFormat != -1) {
2231 nFormat + 1);
2232 xstrcpy(&lpszMarker[nResult+nFormat+1],
2235 nResult += cb + nFormat + 1;
2262 if (nFormat != -1) {
2288 if (nFormat >= 0) {
2289 charmemset(&lpszMarker[nResult], INDENTCHAR, nFormat);
2290 nResult += nFormat;
2300 if (nFormat == -1) nResult++;
2306 if (nFormat >= 0) nResult += cbElement + 4 + nFormat;
2307 else if (nFormat == -1) nResult += cbElement + 3;
2317 if (nFormat != -1) lpszMarker[nResult+2] = _CXML('\n');
2319 nResult += nFormat == -1 ? 2 : 3;
2329 // @param int nFormat - 0 if no formatting is required
2337 XMLSTR XMLNode::createXMLString(int nFormat, int *pnSize) const {
2347 if (!dropWhiteSpace) nFormat = 0;
2348 nFormat = nFormat ? 0 : -1;
2349 cbStr = CreateXMLStringR(d, 0, nFormat);
2353 CreateXMLStringR(d, lpszResult, nFormat);