Lines Matching refs:tr

555 	SQLite.TableResult tr = new SQLite.TableResult();  in getSchemas()  local
556 tr.columns(cols); in getSchemas()
558 tr.newrow(row); in getSchemas()
559 JDBCResultSet rs = new JDBCResultSet(tr, null); in getSchemas()
565 SQLite.TableResult tr = new SQLite.TableResult(); in getCatalogs() local
566 tr.columns(cols); in getCatalogs()
568 tr.newrow(row); in getCatalogs()
569 JDBCResultSet rs = new JDBCResultSet(tr, null); in getCatalogs()
575 SQLite.TableResult tr = new SQLite.TableResult(); in getTableTypes() local
576 tr.columns(cols); in getTableTypes()
579 tr.newrow(row); in getTableTypes()
582 tr.newrow(row); in getTableTypes()
583 JDBCResultSet rs = new JDBCResultSet(tr, null); in getTableTypes()
612 if (rs0.tr.nrows < 1) { in getColumns()
631 TableResultX tr = new TableResultX(); in getColumns() local
632 tr.columns(cols); in getColumns()
633 tr.sql_types(types); in getColumns()
634 JDBCResultSet rs = new JDBCResultSet((SQLite.TableResult) tr, null); in getColumns()
635 if (rs0 != null && rs0.tr != null && rs0.tr.nrows > 0) { in getColumns()
637 for (int i = 0; i < rs0.tr.ncolumns; i++) { in getColumns()
638 h.put(rs0.tr.column[i], Integer.valueOf(i)); // android-changed in getColumns()
644 for (int i = 0; i < rs0.tr.nrows; i++) { in getColumns()
645 String r0[] = (String [])(rs0.tr.rows.elementAt(i)); in getColumns()
678 tr.newrow(row); in getColumns()
698 TableResultX tr = new TableResultX(); in getColumnPrivileges() local
699 tr.columns(cols); in getColumnPrivileges()
700 tr.sql_types(types); in getColumnPrivileges()
701 JDBCResultSet rs = new JDBCResultSet((SQLite.TableResult) tr, null); in getColumnPrivileges()
718 TableResultX tr = new TableResultX(); in getTablePrivileges() local
719 tr.columns(cols); in getTablePrivileges()
720 tr.sql_types(types); in getTablePrivileges()
721 JDBCResultSet rs = new JDBCResultSet((SQLite.TableResult) tr, null); in getTablePrivileges()
761 TableResultX tr = new TableResultX(); in getBestRowIdentifier() local
762 tr.columns(cols); in getBestRowIdentifier()
763 tr.sql_types(types); in getBestRowIdentifier()
764 JDBCResultSet rs = new JDBCResultSet((SQLite.TableResult) tr, null); in getBestRowIdentifier()
765 if (rs0 != null && rs0.tr != null && rs0.tr.nrows > 0 && in getBestRowIdentifier()
766 rs1 != null && rs1.tr != null && rs1.tr.nrows > 0) { in getBestRowIdentifier()
768 for (int i = 0; i < rs0.tr.ncolumns; i++) { in getBestRowIdentifier()
769 h0.put(rs0.tr.column[i], Integer.valueOf(i)); // android-changed in getBestRowIdentifier()
772 for (int i = 0; i < rs1.tr.ncolumns; i++) { in getBestRowIdentifier()
773 h1.put(rs1.tr.column[i], Integer.valueOf(i)); // android-changed in getBestRowIdentifier()
775 for (int i = 0; i < rs0.tr.nrows; i++) { in getBestRowIdentifier()
776 String r0[] = (String [])(rs0.tr.rows.elementAt(i)); in getBestRowIdentifier()
794 if (rs2 == null || rs2.tr == null || rs2.tr.nrows <= 0) { in getBestRowIdentifier()
799 for (int k = 0; k < rs2.tr.ncolumns; k++) { in getBestRowIdentifier()
800 h2.put(rs2.tr.column[k], Integer.valueOf(k)); // android-changed in getBestRowIdentifier()
802 for (int k = 0; k < rs2.tr.nrows; k++) { in getBestRowIdentifier()
803 String r2[] = (String [])(rs2.tr.rows.elementAt(k)); in getBestRowIdentifier()
806 for (int m = 0; m < rs1.tr.nrows; m++) { in getBestRowIdentifier()
807 String r1[] = (String [])(rs1.tr.rows.elementAt(m)); in getBestRowIdentifier()
819 tr.newrow(row); in getBestRowIdentifier()
825 if (tr.nrows <= 0) { in getBestRowIdentifier()
835 tr.newrow(row); in getBestRowIdentifier()
852 TableResultX tr = new TableResultX(); in getVersionColumns() local
853 tr.columns(cols); in getVersionColumns()
854 tr.sql_types(types); in getVersionColumns()
855 JDBCResultSet rs = new JDBCResultSet((SQLite.TableResult) tr, null); in getVersionColumns()
885 TableResultX tr = new TableResultX(); in getPrimaryKeys() local
886 tr.columns(cols); in getPrimaryKeys()
887 tr.sql_types(types); in getPrimaryKeys()
888 JDBCResultSet rs = new JDBCResultSet((SQLite.TableResult) tr, null); in getPrimaryKeys()
889 if (rs0 != null && rs0.tr != null && rs0.tr.nrows > 0) { in getPrimaryKeys()
891 for (int i = 0; i < rs0.tr.ncolumns; i++) { in getPrimaryKeys()
892 h0.put(rs0.tr.column[i], Integer.valueOf(i)); // android-changed in getPrimaryKeys()
894 for (int i = 0; i < rs0.tr.nrows; i++) { in getPrimaryKeys()
895 String r0[] = (String [])(rs0.tr.rows.elementAt(i)); in getPrimaryKeys()
913 if (rs1 == null || rs1.tr == null || rs1.tr.nrows <= 0) { in getPrimaryKeys()
918 for (int k = 0; k < rs1.tr.ncolumns; k++) { in getPrimaryKeys()
919 h1.put(rs1.tr.column[k], Integer.valueOf(k)); // android-changed in getPrimaryKeys()
921 for (int k = 0; k < rs1.tr.nrows; k++) { in getPrimaryKeys()
922 String r1[] = (String [])(rs1.tr.rows.elementAt(k)); in getPrimaryKeys()
932 tr.newrow(row); in getPrimaryKeys()
936 if (tr.nrows > 0) { in getPrimaryKeys()
949 if (rs0 != null && rs0.tr != null && rs0.tr.nrows > 0) { in getPrimaryKeys()
951 for (int i = 0; i < rs0.tr.ncolumns; i++) { in getPrimaryKeys()
952 h0.put(rs0.tr.column[i], Integer.valueOf(i)); // android-changed in getPrimaryKeys()
954 for (int i = 0; i < rs0.tr.nrows; i++) { in getPrimaryKeys()
955 String r0[] = (String [])(rs0.tr.rows.elementAt(i)); in getPrimaryKeys()
975 tr.newrow(row); in getPrimaryKeys()
984 for (int i = 0; i < in.tr.ncolumns; i++) { in internalImportedKeys()
985 h0.put(in.tr.column[i], Integer.valueOf(i)); // android-changed in internalImportedKeys()
987 for (int i = 0; i < in.tr.nrows; i++) { in internalImportedKeys()
988 String r0[] = (String [])(in.tr.rows.elementAt(i)); in internalImportedKeys()
1054 TableResultX tr = new TableResultX(); in getImportedKeys() local
1055 tr.columns(cols); in getImportedKeys()
1056 tr.sql_types(types); in getImportedKeys()
1057 JDBCResultSet rs = new JDBCResultSet((SQLite.TableResult) tr, null); in getImportedKeys()
1058 if (rs0 != null && rs0.tr != null && rs0.tr.nrows > 0) { in getImportedKeys()
1059 internalImportedKeys(table, null, rs0, tr); in getImportedKeys()
1080 TableResultX tr = new TableResultX(); in getExportedKeys() local
1081 tr.columns(cols); in getExportedKeys()
1082 tr.sql_types(types); in getExportedKeys()
1083 JDBCResultSet rs = new JDBCResultSet(tr, null); in getExportedKeys()
1126 TableResultX tr = new TableResultX(); in getCrossReference() local
1127 tr.columns(cols); in getCrossReference()
1128 tr.sql_types(types); in getCrossReference()
1129 JDBCResultSet rs = new JDBCResultSet(tr, null); in getCrossReference()
1130 if (rs0 != null && rs0.tr != null && rs0.tr.nrows > 0) { in getCrossReference()
1135 internalImportedKeys(foreignTable, pktable, rs0, tr); in getCrossReference()
1157 TableResultX tr = new TableResultX(); in getTypeInfo() local
1158 tr.columns(cols); in getTypeInfo()
1159 tr.sql_types(types); in getTypeInfo()
1160 JDBCResultSet rs = new JDBCResultSet(tr, null); in getTypeInfo()
1169 tr.newrow(row1); in getTypeInfo()
1178 tr.newrow(row2); in getTypeInfo()
1187 tr.newrow(row3); in getTypeInfo()
1196 tr.newrow(row4); in getTypeInfo()
1205 tr.newrow(row5); in getTypeInfo()
1214 tr.newrow(row6); in getTypeInfo()
1223 tr.newrow(row7); in getTypeInfo()
1232 tr.newrow(row8); in getTypeInfo()
1241 tr.newrow(row9); in getTypeInfo()
1250 tr.newrow(row10); in getTypeInfo()
1259 tr.newrow(row11); in getTypeInfo()
1268 tr.newrow(row12); in getTypeInfo()
1305 TableResultX tr = new TableResultX(); in getIndexInfo() local
1306 tr.columns(cols); in getIndexInfo()
1307 tr.sql_types(types); in getIndexInfo()
1308 JDBCResultSet rs = new JDBCResultSet(tr, null); in getIndexInfo()
1309 if (rs0 != null && rs0.tr != null && rs0.tr.nrows > 0) { in getIndexInfo()
1311 for (int i = 0; i < rs0.tr.ncolumns; i++) { in getIndexInfo()
1312 h0.put(rs0.tr.column[i], Integer.valueOf(i)); // android-changed in getIndexInfo()
1314 for (int i = 0; i < rs0.tr.nrows; i++) { in getIndexInfo()
1315 String r0[] = (String [])(rs0.tr.rows.elementAt(i)); in getIndexInfo()
1333 if (rs1 == null || rs1.tr == null || rs1.tr.nrows <= 0) { in getIndexInfo()
1338 for (int k = 0; k < rs1.tr.ncolumns; k++) { in getIndexInfo()
1339 h1.put(rs1.tr.column[k], Integer.valueOf(k)); // android-changed in getIndexInfo()
1341 for (int k = 0; k < rs1.tr.nrows; k++) { in getIndexInfo()
1342 String r1[] = (String [])(rs1.tr.rows.elementAt(k)); in getIndexInfo()
1361 tr.newrow(row); in getIndexInfo()