Lines Matching defs:query
0 // query.cpp
70 " -a\t\tperform the query on all volumes\n"
71 " -v <file>\tperform the query on just one volume; <file> can be any\n"
82 TFilteredQuery query;
84 // Set up the volume and predicate for the query.
85 query.SetVolume(&volume);
86 query.SetPredicate(predicate);
91 query.AddFilter(FilterByFolder, &options);
94 status_t status = query.Fetch();
100 query.SetPredicate(string.String());
101 status = query.Fetch();
104 printf("query: bad query expression\n");
110 while (query.GetNextEntry(&entry) == B_OK) {
130 // Which volume do we make the query on?
171 // Find the volume that the query should be performed on,
172 // and set the query to it.
175 printf("query: %s is not a valid file\n", volumePath);
186 printf("query: volume containing %s is not query-enabled\n", volumePath);
190 // Okay, we want to query all the disks -- so iterate over
191 // them, one by one, running the query.