Lines Matching refs:sb
334 * @param sb the StringBuilder that the SQL string will be appended to
338 public static void appendEscapedSQLString(StringBuilder sb, String sqlString) {
339 sb.append('\'');
345 sb.append('\'');
347 sb.append(c);
350 sb.append(sqlString);
351 sb.append('\'');
498 * @param sb the StringBuilder to print to
500 public static void dumpCursor(Cursor cursor, StringBuilder sb) {
501 sb.append(">>>>> Dumping cursor " + cursor + "\n");
507 dumpCurrentRow(cursor, sb);
511 sb.append("<<<<<\n");
522 StringBuilder sb = new StringBuilder();
523 dumpCursor(cursor, sb);
524 return sb.toString();
564 * @param sb the StringBuilder to print to
566 public static void dumpCurrentRow(Cursor cursor, StringBuilder sb) {
568 sb.append("" + cursor.getPosition() + " {\n");
579 sb.append(" " + cols[i] + '=' + value + "\n");
581 sb.append("}\n");
591 StringBuilder sb = new StringBuilder();
592 dumpCurrentRow(cursor, sb);
593 return sb.toString();
1036 StringBuilder sb = new StringBuilder(128);
1037 sb.append("INSERT INTO ");
1038 sb.append(mTableName);
1039 sb.append(" (");
1054 sb.append("'");
1055 sb.append(columnName);
1056 sb.append("'");
1066 sb.append(i == cur.getCount() ? ") " : ", ");
1074 sb.append(sbv);
1076 mInsertSQL = sb.toString();