Lines Matching refs:tr
16 protected SQLite.TableResult tr; field in JDBCResultSet
74 public JDBCResultSet(SQLite.TableResult tr, JDBCStatement s) {
75 this.tr = tr;
92 for (int i = 1; i <= tr.ncolumns; i++) {
104 if (pk.tr.nrows > 0) {
106 pkcols = new String[pk.tr.nrows];
107 pkcoli = new int[pk.tr.nrows];
108 for (int i = 0; i < pk.tr.nrows; i++) {
109 String rd[] = (String []) pk.tr.rows.elementAt(i);
137 rowbuf = new String[tr.ncolumns];
138 System.arraycopy((String []) tr.rows.elementAt(row), 0,
139 rowbuf, 0, tr.ncolumns);
144 if (tr == null) {
148 return row < tr.nrows;
157 if (tr == null) {
164 if (tr == null) {
174 if (tr == null) {
178 row = tr.nrows + 1 + row;
181 if (row < 0 || row > tr.nrows) {
189 if (tr == null) {
192 if (this.row + row < 0 || this.row + row >= tr.nrows) {
220 if (tr == null || columnIndex < 1 || columnIndex > tr.ncolumns) {
223 String rd[] = (String []) tr.rows.elementAt(row);
242 if (tr == null || columnIndex < 1 || columnIndex > tr.ncolumns) {
245 String rd[] = (String []) tr.rows.elementAt(row);
286 if (tr == null || columnIndex < 1 || columnIndex > tr.ncolumns) {
289 String rd[] = (String []) tr.rows.elementAt(row);
311 if (tr == null || columnIndex < 1 || columnIndex > tr.ncolumns) {
314 String rd[] = (String []) tr.rows.elementAt(row);
360 if (tr == null || columnIndex < 1 || columnIndex > tr.ncolumns) {
363 String rd[] = (String []) tr.rows.elementAt(row);
411 if (tr == null || columnIndex < 1 || columnIndex > tr.ncolumns) {
414 String rd[] = (String []) tr.rows.elementAt(row);
461 if (tr == null || columnIndex < 1 || columnIndex > tr.ncolumns) {
464 String rd[] = (String []) tr.rows.elementAt(row);
488 if (tr == null || columnIndex < 1 || columnIndex > tr.ncolumns) {
491 String rd[] = (String []) tr.rows.elementAt(row);
515 if (tr == null || columnIndex < 1 || columnIndex > tr.ncolumns) {
518 String rd[] = (String []) tr.rows.elementAt(row);
608 if (tr == null || columnIndex < 1 || columnIndex > tr.ncolumns) {
612 String rd[] = (String []) tr.rows.elementAt(row);
630 if (tr == null || columnIndex < 1 || columnIndex > tr.ncolumns) {
633 String rd[] = (String []) tr.rows.elementAt(row);
636 if (tr instanceof TableResultX) {
637 switch (((TableResultX) tr).sql_type[columnIndex - 1]) {
752 if (tr == null) {
759 if (tr == null || tr.nrows <= 0) {
766 if (tr == null) {
773 if (tr == null || tr.nrows <= 0) {
781 if (tr == null || tr.nrows <= 0) {
784 return row >= tr.nrows;
788 if (tr == null) {
791 row = tr.nrows;
795 if (tr == null) {
798 return row == tr.nrows - 1;
802 if (tr == null || tr.nrows <= 0) {
805 row = tr.nrows -1;
839 for (int i = 0; i < tr.ncolumns; i++) {
841 if (i < tr.ncolumns - 1) {
846 for (int i = 0; i < tr.ncolumns; i++) {
848 if (i < tr.ncolumns - 1) {
858 tr.newrow(rowbuf);
875 String rd[] = (String []) tr.rows.elementAt(row);
877 String args[] = new String[tr.ncolumns + pkcols.length];
883 for (i = 0; i < tr.ncolumns; i++) {
886 if (i < tr.ncolumns - 1) {
948 String rd[] = (String []) tr.rows.elementAt(row);
951 for (int i = 0; i < tr.ncolumns; i++) {
953 if (i < tr.ncolumns - 1) {
979 tr.rows.setElementAt(trnew.rows.elementAt(0), row);
990 rowbuf = new String[tr.nrows];
1003 if (tr == null || colIndex < 1 || colIndex > tr.ncolumns) {
1020 if (tr == null || colIndex < 1 || colIndex > tr.ncolumns) {
1029 if (tr == null || colIndex < 1 || colIndex > tr.ncolumns) {
1038 if (tr == null || colIndex < 1 || colIndex > tr.ncolumns) {
1047 if (tr == null || colIndex < 1 || colIndex > tr.ncolumns) {
1056 if (tr == null || colIndex < 1 || colIndex > tr.ncolumns) {
1070 if (tr == null || colIndex < 1 || colIndex > tr.ncolumns) {
1079 if (tr == null || colIndex < 1 || colIndex > tr.ncolumns) {
1092 if (tr == null || colIndex < 1 || colIndex > tr.ncolumns) {
1101 if (tr == null || colIndex < 1 || colIndex > tr.ncolumns) {
1111 if (tr == null || colIndex < 1 || colIndex > tr.ncolumns) {
1258 tr = null;
1266 if (tr == null || colIndex < 1 || colIndex > tr.ncolumns) {
1269 String rd[] = (String []) tr.rows.elementAt(row);
1354 return tr == null;