Lines Matching defs:query
54 void _PerformQuery(BQuery& query);
63 BApplication("application/x-vnd.test-live-query"),
80 // Which volume do we make the query on?
111 // Find the volume that the query should be performed on,
112 // and set the query to it.
128 fprintf(stderr, "%s: volume containing %s is not query-enabled\n",
133 // Okay, we want to query all the disks -- so iterate over
134 // them, one by one, running the query.
167 BQuery* query = new BQuery;
169 // Set up the volume and predicate for the query.
170 query->SetVolume(&volume);
171 query->SetPredicate(predicate);
172 query->SetTarget(this);
174 fQueries.AddItem(query);
175 _PerformQuery(*query);
219 " -a\t\tperform the query on all volumes\n"
220 " -v <file>\tperform the query on just one volume; <file> can be any\n"
241 LiveQuery::_PerformQuery(BQuery& query)
243 status_t status = query.Fetch();
245 fprintf(stderr, "%s: bad query expression\n", kProgramName);
253 while (query.GetNextEntry(&entry) == B_OK) {
279 LiveQuery query;
280 query.Run();