Lines Matching refs:quoteBuf
283 * the quoteBuf to rule, make one final call with isLiteral == TRUE.
293 * @param quoteBuf a buffer which is used to build up quoted
303 UnicodeString& quoteBuf) {
309 if (quoteBuf.length() > 0) {
315 // If the first thing in the quoteBuf is APOSTROPHE
317 while (quoteBuf.length() >= 2 &&
318 quoteBuf.charAt(0) == APOSTROPHE &&
319 quoteBuf.charAt(1) == APOSTROPHE) {
321 quoteBuf.remove(0, 2);
323 // If the last thing in the quoteBuf is APOSTROPHE
326 while (quoteBuf.length() >= 2 &&
327 quoteBuf.charAt(quoteBuf.length()-2) == APOSTROPHE &&
328 quoteBuf.charAt(quoteBuf.length()-1) == APOSTROPHE) {
329 quoteBuf.truncate(quoteBuf.length()-2);
332 if (quoteBuf.length() > 0) {
334 rule.append(quoteBuf);
336 quoteBuf.truncate(0);
360 else if (quoteBuf.length() == 0 &&
369 else if (quoteBuf.length() > 0 ||
375 quoteBuf.append(c);
378 quoteBuf.append(c);
392 UnicodeString& quoteBuf) {
394 appendToRule(rule, text[i], isLiteral, escapeUnprintable, quoteBuf);
405 UnicodeString& quoteBuf) {
409 TRUE, escapeUnprintable, quoteBuf);