Lines Matching refs:ncol
522 callback(void *udata, int ncol, char **data, char **cols) in callback() argument
539 arr = (*env)->NewObjectArray(env, ncol, C_java_lang_String, 0); in callback()
540 for (i = 0; i < ncol; i++) { in callback()
569 arr = (*env)->NewObjectArray(env, ncol, in callback()
571 for (i = 0; i < ncol; i++) { in callback()
615 if (h->ver >= 0x020506 && cols[ncol]) { in callback()
620 arr = (*env)->NewObjectArray(env, ncol, in callback()
622 for (i = 0; i < ncol; i++) { in callback()
623 if (cols[i + ncol]) { in callback()
627 cols[i + ncol], &ty); in callback()
650 if (h->ver >= 0x020506 && cols[ncol]) { in callback()
655 arr = (*env)->NewObjectArray(env, ncol, in callback()
657 for (i = 0; i < ncol; i++) { in callback()
658 if (cols[i + ncol]) { in callback()
662 cols[i + ncol], &ty); in callback()
688 arr = (*env)->NewObjectArray(env, ncol, in callback()
690 for (i = 0; i < ncol; i++) { in callback()
740 arr = (*env)->NewObjectArray(env, ncol, C_java_lang_String, 0); in callback()
741 for (i = 0; arr && i < ncol; i++) { in callback()
2624 long ncol = 0; in Java_SQLite_Vm_step() local
2636 ncol = sqlite3_column_count((sqlite3_stmt *) v->vm); in Java_SQLite_Vm_step()
2637 if (ncol > 0) { in Java_SQLite_Vm_step()
2638 data = calloc(ncol * 3 + 3 + 1, sizeof (char *)); in Java_SQLite_Vm_step()
2640 data[0] = (const char *) ncol; in Java_SQLite_Vm_step()
2642 cols = data + ncol + 1; in Java_SQLite_Vm_step()
2643 blob = cols + ncol + 1; in Java_SQLite_Vm_step()
2652 for (i = 0; i < ncol; i++) { in Java_SQLite_Vm_step()
2658 ncol = sqlite3_data_count((sqlite3_stmt *) v->vm); in Java_SQLite_Vm_step()
2659 if (ncol > 0) { in Java_SQLite_Vm_step()
2660 data = calloc(ncol * 3 + 3 + 1, sizeof (char *)); in Java_SQLite_Vm_step()
2662 data[0] = (const char *) ncol; in Java_SQLite_Vm_step()
2664 cols = data + ncol + 1; in Java_SQLite_Vm_step()
2665 blob = cols + ncol + 1; in Java_SQLite_Vm_step()
2674 for (i = 0; i < ncol; i++) { in Java_SQLite_Vm_step()
2712 ncol = tmp; in Java_SQLite_Vm_step()
2718 ncol = tmp; in Java_SQLite_Vm_step()
2723 ncol = sqlite3_column_count((sqlite3_stmt *) v->vm); in Java_SQLite_Vm_step()
2724 if (ncol > 0) { in Java_SQLite_Vm_step()
2725 data = calloc(ncol * 3 + 3 + 1, sizeof (char *)); in Java_SQLite_Vm_step()
2727 data[0] = (const char *) ncol; in Java_SQLite_Vm_step()
2729 cols = data + ncol + 1; in Java_SQLite_Vm_step()
2730 blob = cols + ncol + 1; in Java_SQLite_Vm_step()
2739 for (i = 0; i < ncol; i++) { in Java_SQLite_Vm_step()
2745 ncol = sqlite3_data_count((sqlite3_stmt *) v->vm); in Java_SQLite_Vm_step()
2746 if (ncol > 0) { in Java_SQLite_Vm_step()
2747 data = calloc(ncol * 3 + 3 + 1, sizeof (char *)); in Java_SQLite_Vm_step()
2749 data[0] = (const char *) ncol; in Java_SQLite_Vm_step()
2751 cols = data + ncol + 1; in Java_SQLite_Vm_step()
2752 blob = cols + ncol + 1; in Java_SQLite_Vm_step()
2761 for (i = 0; i < ncol; i++) { in Java_SQLite_Vm_step()
2808 callback((void *) &v->hh, ncol, (char **) data, (char **) cols); in Java_SQLite_Vm_step()
2834 callback((void *) &v->hh, ncol, (char **) 0, (char **) cols); in Java_SQLite_Vm_step()
4047 int ncol = sqlite3_data_count((sqlite3_stmt *) v->vm); in Java_SQLite_Stmt_column_1int() local
4049 if (col < 0 || col >= ncol) { in Java_SQLite_Stmt_column_1int()
4069 int ncol = sqlite3_data_count((sqlite3_stmt *) v->vm); in Java_SQLite_Stmt_column_1long() local
4071 if (col < 0 || col >= ncol) { in Java_SQLite_Stmt_column_1long()
4091 int ncol = sqlite3_data_count((sqlite3_stmt *) v->vm); in Java_SQLite_Stmt_column_1double() local
4093 if (col < 0 || col >= ncol) { in Java_SQLite_Stmt_column_1double()
4113 int ncol = sqlite3_data_count((sqlite3_stmt *) v->vm); in Java_SQLite_Stmt_column_1bytes() local
4118 if (col < 0 || col >= ncol) { in Java_SQLite_Stmt_column_1bytes()
4150 int ncol = sqlite3_data_count((sqlite3_stmt *) v->vm); in Java_SQLite_Stmt_column_1string() local
4155 if (col < 0 || col >= ncol) { in Java_SQLite_Stmt_column_1string()
4187 int ncol = sqlite3_data_count((sqlite3_stmt *) v->vm); in Java_SQLite_Stmt_column_1type() local
4189 if (col < 0 || col >= ncol) { in Java_SQLite_Stmt_column_1type()
4225 int ncol = sqlite3_column_count((sqlite3_stmt *) v->vm); in Java_SQLite_Stmt_column_1table_1name() local
4228 if (col < 0 || col >= ncol) { in Java_SQLite_Stmt_column_1table_1name()
4252 int ncol = sqlite3_column_count((sqlite3_stmt *) v->vm); in Java_SQLite_Stmt_column_1database_1name() local
4255 if (col < 0 || col >= ncol) { in Java_SQLite_Stmt_column_1database_1name()
4279 int ncol = sqlite3_column_count((sqlite3_stmt *) v->vm); in Java_SQLite_Stmt_column_1decltype() local
4282 if (col < 0 || col >= ncol) { in Java_SQLite_Stmt_column_1decltype()
4306 int ncol = sqlite3_column_count((sqlite3_stmt *) v->vm); in Java_SQLite_Stmt_column_1origin_1name() local
4309 if (col < 0 || col >= ncol) { in Java_SQLite_Stmt_column_1origin_1name()