Lines Matching defs:attribute
189 checkFiles(Disk &disk,BPlusTree &tree,char *attribute)
209 bool sizeIndex = !strcmp(attribute,"size");
210 bool nameIndex = !strcmp(attribute,"name");
211 bool modifiedIndex = !strcmp(attribute,"last_modified");
264 if (!strcmp(name,attribute))
365 checkIndex(Disk &disk,char *attribute,block_run &run,bool collect)
371 fprintf(stderr," Could not get index directory for \"%s\": %s!\n",attribute,index ? strerror(status) : "not found/corrupted");
375 printf("\nCheck \"%s\" index's on-disk structure...\n",attribute);
381 fprintf(stderr," B+Tree of index \"%s\" seems to be corrupt!\n",attribute);
390 printf("Check for non-existing files in index \"%s\"...\n",attribute);
396 printf("Check for files not in index \"%s\" (this may take even more time)...\n",attribute);
397 checkFiles(disk,*tree,attribute);
452 char *attribute = argv[0];
453 if (!gCheckAll && attribute == NULL)
513 else if (indices->FindEntry(attribute,&run) == B_OK)
514 checkIndex(disk,attribute,run,true);
516 fprintf(stderr," Could not find index directory for \"%s\"!\n",attribute);