Lines Matching refs:quoteBuf
279 * the quoteBuf to rule, make one final call with isLiteral == TRUE.
289 * @param quoteBuf a buffer which is used to build up quoted
299 UnicodeString& quoteBuf) {
305 if (quoteBuf.length() > 0) {
311 // If the first thing in the quoteBuf is APOSTROPHE
313 while (quoteBuf.length() >= 2 &&
314 quoteBuf.charAt(0) == APOSTROPHE &&
315 quoteBuf.charAt(1) == APOSTROPHE) {
317 quoteBuf.remove(0, 2);
319 // If the last thing in the quoteBuf is APOSTROPHE
322 while (quoteBuf.length() >= 2 &&
323 quoteBuf.charAt(quoteBuf.length()-2) == APOSTROPHE &&
324 quoteBuf.charAt(quoteBuf.length()-1) == APOSTROPHE) {
325 quoteBuf.truncate(quoteBuf.length()-2);
328 if (quoteBuf.length() > 0) {
330 rule.append(quoteBuf);
332 quoteBuf.truncate(0);
356 else if (quoteBuf.length() == 0 &&
365 else if (quoteBuf.length() > 0 ||
371 quoteBuf.append(c);
374 quoteBuf.append(c);
388 UnicodeString& quoteBuf) {
390 appendToRule(rule, text[i], isLiteral, escapeUnprintable, quoteBuf);
401 UnicodeString& quoteBuf) {
405 TRUE, escapeUnprintable, quoteBuf);