Lines Matching refs:num_ids

37    int num_ids;                       /* ids stored */  member
45 int num_ids; /* ids stored */ member
571 if (lst->num_ids == MAX_ID_LIST_LEN) { in id_list_handler()
574 if (lst->num_ids == lst->max_ids) { in id_list_handler()
583 lst->Id[lst->num_ids++] = str_to_int64(row[0]); in id_list_handler()
592 id_list->num_ids = 0; in make_id_list()
609 for (int i=0; i < id_list->num_ids; i++) { in delete_id_list()
626 if (name->num_ids == MAX_ID_LIST_LEN) { in name_list_handler()
629 if (name->num_ids == name->max_ids) { in name_list_handler()
638 name->name[name->num_ids++] = bstrdup(row[0]); in name_list_handler()
647 name_list->num_ids = 0; in make_name_list()
663 for (int i=0; i < name_list->num_ids; i++) { in print_name_list()
673 for (int i=0; i < name_list->num_ids; i++) { in free_name_list()
676 name_list->num_ids = 0; in free_name_list()
693 printf(_("Found %d duplicate Filename records.\n"), name_list.num_ids); in eliminate_duplicate_filenames()
694 if (name_list.num_ids && verbose && yes_no(_("Print the list? (yes/no): "))) { in eliminate_duplicate_filenames()
702 for (int i=0; i<name_list.num_ids; i++) { in eliminate_duplicate_filenames()
713 printf(_("Found %d for: %s\n"), id_list.num_ids, name_list.name[i]); in eliminate_duplicate_filenames()
716 for (int j=1; j<id_list.num_ids; j++) { in eliminate_duplicate_filenames()
750 printf(_("Found %d duplicate Path records.\n"), name_list.num_ids); in eliminate_duplicate_paths()
751 if (name_list.num_ids && verbose && yes_no(_("Print them? (yes/no): "))) { in eliminate_duplicate_paths()
759 for (int i=0; i<name_list.num_ids; i++) { in eliminate_duplicate_paths()
770 printf(_("Found %d for: %s\n"), id_list.num_ids, name_list.name[i]); in eliminate_duplicate_paths()
773 for (int j=1; j<id_list.num_ids; j++) { in eliminate_duplicate_paths()
803 while (id_list.num_ids != 0) { in eliminate_orphaned_jobmedia_records()
804 printf(_("Found %d orphaned JobMedia records.\n"), id_list.num_ids); in eliminate_orphaned_jobmedia_records()
805 if (id_list.num_ids && verbose && yes_no(_("Print them? (yes/no): "))) { in eliminate_orphaned_jobmedia_records()
806 for (int i=0; i < id_list.num_ids; i++) { in eliminate_orphaned_jobmedia_records()
821 if (fix && id_list.num_ids > 0) { in eliminate_orphaned_jobmedia_records()
822 printf(_("Deleting %d orphaned JobMedia records.\n"), id_list.num_ids); in eliminate_orphaned_jobmedia_records()
847 while (id_list.num_ids != 0) { in eliminate_orphaned_file_records()
848 printf(_("Found %d orphaned File records.\n"), id_list.num_ids); in eliminate_orphaned_file_records()
849 if (name_list.num_ids && verbose && yes_no(_("Print them? (yes/no): "))) { in eliminate_orphaned_file_records()
850 for (int i=0; i < id_list.num_ids; i++) { in eliminate_orphaned_file_records()
864 if (fix && id_list.num_ids > 0) { in eliminate_orphaned_file_records()
865 printf(_("Deleting %d orphaned File records.\n"), id_list.num_ids); in eliminate_orphaned_file_records()
913 while (id_list.num_ids != 0) { in eliminate_orphaned_path_records()
914 printf(_("Found %d orphaned Path records.\n"), id_list.num_ids); in eliminate_orphaned_path_records()
915 if (id_list.num_ids && verbose && yes_no(_("Print them? (yes/no): "))) { in eliminate_orphaned_path_records()
916 for (int i=0; i < id_list.num_ids; i++) { in eliminate_orphaned_path_records()
926 if (fix && id_list.num_ids > 0) { in eliminate_orphaned_path_records()
927 printf(_("Deleting %d orphaned Path records.\n"), id_list.num_ids); in eliminate_orphaned_path_records()
963 while (id_list.num_ids != 0) { in eliminate_orphaned_filename_records()
964 printf(_("Found %d orphaned Filename records.\n"), id_list.num_ids); in eliminate_orphaned_filename_records()
965 if (id_list.num_ids && verbose && yes_no(_("Print them? (yes/no): "))) { in eliminate_orphaned_filename_records()
966 for (int i=0; i < id_list.num_ids; i++) { in eliminate_orphaned_filename_records()
976 if (fix && id_list.num_ids > 0) { in eliminate_orphaned_filename_records()
977 printf(_("Deleting %d orphaned Filename records.\n"), id_list.num_ids); in eliminate_orphaned_filename_records()
1005 printf(_("Found %d orphaned FileSet records.\n"), id_list.num_ids); in eliminate_orphaned_fileset_records()
1006 if (id_list.num_ids && verbose && yes_no(_("Print them? (yes/no): "))) { in eliminate_orphaned_fileset_records()
1007 for (int i=0; i < id_list.num_ids; i++) { in eliminate_orphaned_fileset_records()
1019 if (fix && id_list.num_ids > 0) { in eliminate_orphaned_fileset_records()
1020 printf(_("Deleting %d orphaned FileSet records.\n"), id_list.num_ids); in eliminate_orphaned_fileset_records()
1046 printf(_("Found %d orphaned Client records.\n"), id_list.num_ids); in eliminate_orphaned_client_records()
1047 if (id_list.num_ids && verbose && yes_no(_("Print them? (yes/no): "))) { in eliminate_orphaned_client_records()
1048 for (int i=0; i < id_list.num_ids; i++) { in eliminate_orphaned_client_records()
1060 if (fix && id_list.num_ids > 0) { in eliminate_orphaned_client_records()
1061 printf(_("Deleting %d orphaned Client records.\n"), id_list.num_ids); in eliminate_orphaned_client_records()
1087 printf(_("Found %d orphaned Job records.\n"), id_list.num_ids); in eliminate_orphaned_job_records()
1088 if (id_list.num_ids && verbose && yes_no(_("Print them? (yes/no): "))) { in eliminate_orphaned_job_records()
1089 for (int i=0; i < id_list.num_ids; i++) { in eliminate_orphaned_job_records()
1101 if (fix && id_list.num_ids > 0) { in eliminate_orphaned_job_records()
1102 printf(_("Deleting %d orphaned Job records.\n"), id_list.num_ids); in eliminate_orphaned_job_records()
1124 printf(_("Found %d Admin Job records.\n"), id_list.num_ids); in eliminate_admin_records()
1125 if (id_list.num_ids && verbose && yes_no(_("Print them? (yes/no): "))) { in eliminate_admin_records()
1126 for (int i=0; i < id_list.num_ids; i++) { in eliminate_admin_records()
1138 if (fix && id_list.num_ids > 0) { in eliminate_admin_records()
1139 printf(_("Deleting %d Admin Job records.\n"), id_list.num_ids); in eliminate_admin_records()
1157 printf(_("Found %d Restore Job records.\n"), id_list.num_ids); in eliminate_restore_records()
1158 if (id_list.num_ids && verbose && yes_no(_("Print them? (yes/no): "))) { in eliminate_restore_records()
1159 for (int i=0; i < id_list.num_ids; i++) { in eliminate_restore_records()
1171 if (fix && id_list.num_ids > 0) { in eliminate_restore_records()
1172 printf(_("Deleting %d Restore Job records.\n"), id_list.num_ids); in eliminate_restore_records()
1190 printf(_("Found %d Verify Job records.\n"), id_list.num_ids); in eliminate_verify_records()
1191 if (id_list.num_ids && verbose && yes_no(_("Print them? (yes/no): "))) { in eliminate_verify_records()
1192 for (int i=0; i < id_list.num_ids; i++) { in eliminate_verify_records()
1204 if (fix && id_list.num_ids > 0) { in eliminate_verify_records()
1205 printf(_("Deleting %d Verify Job records.\n"), id_list.num_ids); in eliminate_verify_records()
1224 printf(_("Found %d bad Filename records.\n"), id_list.num_ids); in repair_bad_filenames()
1225 if (id_list.num_ids && verbose && yes_no(_("Print them? (yes/no): "))) { in repair_bad_filenames()
1226 for (i=0; i < id_list.num_ids; i++) { in repair_bad_filenames()
1239 if (fix && id_list.num_ids > 0) { in repair_bad_filenames()
1242 printf(_("Reparing %d bad Filename records.\n"), id_list.num_ids); in repair_bad_filenames()
1243 for (i=0; i < id_list.num_ids; i++) { in repair_bad_filenames()
1289 printf(_("Found %d bad Path records.\n"), id_list.num_ids); in repair_bad_paths()
1290 if (id_list.num_ids && verbose && yes_no(_("Print them? (yes/no): "))) { in repair_bad_paths()
1291 for (i=0; i < id_list.num_ids; i++) { in repair_bad_paths()
1303 if (fix && id_list.num_ids > 0) { in repair_bad_paths()
1306 printf(_("Reparing %d bad Filename records.\n"), id_list.num_ids); in repair_bad_paths()
1307 for (i=0; i < id_list.num_ids; i++) { in repair_bad_paths()