Searched refs:query (Results 26 - 50 of 89) sorted by relevance

1234

/haiku/src/servers/index/
H A DCatchUpManager.cpp80 BQuery query; local
81 query.SetVolume(&fVolume);
82 query.PushAttr("last_modified");
83 query.PushInt32(fStart);
84 query.PushOp(B_GE);
85 query.PushAttr("last_modified");
86 query.PushInt32(fEnd);
87 query.PushOp(B_LE);
88 query.PushOp(B_AND);
90 query
[all...]
/haiku/src/apps/mail/
H A DStatus.cpp185 BQuery query; local
186 query.SetVolume(&volume);
187 query.PushAttr(INDEX_STATUS);
188 query.PushString(status);
189 query.PushOp(B_EQ);
190 query.Fetch();
193 if (query.GetNextEntry(&entry) == B_NO_ERROR)
H A DQueryList.cpp24 sQueryLooper = new BLooper("query looper");
195 BQuery* query = new BQuery(); local
196 if (query->SetVolume(&volume) != B_OK
197 || query->SetPredicate(predicate) != B_OK
198 || query->SetTarget(this) != B_OK) {
199 delete query;
203 fQueries.push_back(query);
205 fQueryQueue.push_back(query);
208 thread_id thread = spawn_thread(_FetchQuery, "query fetcher",
231 BQuery* query local
[all...]
H A DPeople.cpp106 PersonList::PersonList(QueryList& query) argument
108 fQueryList(query),
149 GroupList::GroupList(QueryList& query) argument
151 fQueryList(query)
H A DPeople.h47 PersonList(QueryList& query);
71 GroupList(QueryList& query);
/haiku/src/system/libroot/posix/
H A Dpwd_query.c3 * This is a reimplementation of the BeOS R5 query-based multi-user system.
262 DIR *query; local
276 query = fs_open_query(boot_device, p->grfile, 0);
277 PRINT(("q: %p\n", query));
278 if (!query)
281 dent = fs_read_query(query);
283 fs_close_query(query);
287 fs_close_query(query);
304 DIR *query; local
322 query
539 DIR *query; local
582 DIR *query; local
[all...]
/haiku/src/add-ons/kernel/network/ppp/pppoe/
H A Dpppoe.cpp54 SendQueryPacket(pppoe_query *query, DiscoveryPacket& discovery) argument
86 send_data_with_timeout(query->receiver, PPPoE_QUERY_REPORT, data,
197 pppoe_query *query; local
208 query = sQueries->ItemAt(index);
210 if (query) {// && query->ethernetIfnet == sourceIfnet) {
221 && *((uint32*)hostTag->data) == query->hostUniq) {
222 SendQueryPacket(query, discovery);
335 pppoe_query query; local
336 query
[all...]
/haiku/src/apps/musiccollection/
H A DQueryMonitor.h19 /*! Handle live query messages, query reader messages, and node monitor messages
37 bool AddQuery(BQuery* query);
/haiku/src/add-ons/kernel/file_systems/websearchfs/
H A Dquery.h59 extern status_t query_parse(const char *query, query_exp **tree);
/haiku/headers/private/shared/
H A DQueryFile.h20 BQueryFile(BQuery& query);
28 status_t SetTo(BQuery& query);
/haiku/src/add-ons/kernel/file_systems/packagefs/indices/
H A DQuery.cpp27 Query* query; member in struct:Query::QueryPolicy::Index
32 query(context)
87 index.index = index.query->fVolume->FindIndex(StringKey(attribute));
249 Query* query = new(std::nothrow) Query(volume); local
250 if (query == NULL)
253 status_t error = query->_Init(queryString, flags, port, token);
255 delete query;
259 _query = query;
/haiku/src/add-ons/kernel/file_systems/ramfs/
H A DQuery.cpp109 Query* query; member in struct:Query::QueryPolicy::Index
114 query(context)
167 index.index = index.query->fVolume->FindIndex(attribute);
304 Query* query = new(std::nothrow) Query(volume); local
305 if (query == NULL)
308 status_t error = query->_Init(queryString, flags, port, token);
310 delete query;
314 _query = query;
H A DVolume.cpp687 Volume::AddQuery(Query *query) argument
691 if (query)
692 fQueries.Insert(query);
697 Volume::RemoveQuery(Query *query) argument
701 if (query)
702 fQueries.Remove(query);
713 for (Query* query = fQueries.First();
714 query;
715 query = fQueries.GetNext(query)) {
[all...]
/haiku/src/kits/tracker/
H A DQueryPoseView.cpp70 // remove an item from the Trash, it doesn't show up in the query result
73 // query results and add/remove appropriately. Right now only moving to
103 // poses have always to be updated for the query view
179 PRINT(("refreshing dynamic date query\n"));
214 // When using dynamic dates, such as "today", need to refresh the query
231 // dynamic date query during a Refresh call
254 // calculate the time to trigger the query refresh - next midnight
414 BQuery query; local
422 // read the actual query string
446 fStatus = query
[all...]
H A DTrackerInitialState.cpp666 BString query(kQueryTemplates);
667 query += "/application_octet-stream";
669 if (!BContainerWindow::DefaultStateSourceNode(query.String(),
671 if (BContainerWindow::DefaultStateSourceNode(query.String(),
685 (query = kQueryTemplates) += "/application_x-vnd.Be-bookmark";
686 if (!BContainerWindow::DefaultStateSourceNode(query.String(),
688 if (BContainerWindow::DefaultStateSourceNode(query.String(),
702 (query = kQueryTemplates) += "/application_x-person";
703 if (!BContainerWindow::DefaultStateSourceNode(query.String(),
705 if (BContainerWindow::DefaultStateSourceNode(query
[all...]
H A DFindPanel.cpp234 // no initial query, fall back on the default query template
242 // no default query template yet
367 BQuery query; local
370 fBackground->GetByNamePredicate(&query);
371 query.GetPredicate(&predicate);
384 fBackground->GetByAttrPredicate(&query, dynamicDate);
385 query.GetPredicate(&predicate);
415 // save date/time info for recent query support and transient query kille
1272 bool query = false; local
1348 BuildAttrQuery(BQuery* query, bool& dynamicDate) const argument
1516 GetByAttrPredicate(BQuery* query, bool& dynamicDate) const argument
1614 BQuery query; local
2006 BQuery query; local
[all...]
/haiku/src/tests/add-ons/kernel/file_systems/bfs/queries/
H A Dtest.cpp111 port_id port = create_port(100, "query port");
116 DIR *query = fs_open_live_query(device, "name=_query_test_*", B_LIVE_QUERY, port, 12345); local
127 fs_close_query(query);
131 waitForMessage(port,"File 2 renamed (should fall out of query):", B_ENTRY_REMOVED, NULL);
137 waitForMessage(port,"File 2 renamed back (should be added to query):",
141 status_t status = waitForMessage(port,"File 2 renamed (should stay in query, time out):",
155 fs_close_query(query);
160 waitForMessage(port, "File 1 renamed (should fall out of query):", B_ENTRY_REMOVED, NULL);
166 fs_close_query(query);
/haiku/src/kits/shared/
H A DQueryFile.cpp19 // TODO: live query support?
44 BQueryFile::BQueryFile(BQuery& query) argument
46 SetTo(query);
108 // add all volumes to query
146 BQueryFile::SetTo(BQuery& query) argument
151 query.GetPredicate(&predicate);
157 return fStatus = AddVolume(query.TargetDevice());
/haiku/src/preferences/filetypes/
H A DApplicationTypesWindow.cpp317 BQuery query; local
318 query.PushAttr("BEOS:APP_SIG");
319 query.PushString(item->Type());
320 query.PushOp(B_EQ);
322 query.SetVolume(&volume);
323 query.Fetch();
326 if (query.GetNextRef(&ref) == B_OK) {
/haiku/src/apps/people/
H A DPersonView.cpp205 BQuery query; local
206 query.SetVolume(&volume);
210 query.SetPredicate(buffer);
211 query.Fetch();
214 while (query.GetNextEntry(&entry) == B_OK) {
/haiku/src/add-ons/kernel/file_systems/netfs/server/
H A DNodeHandle.h139 void AddQuery(Query* query);
140 void RemoveQuery(Query* query);
/haiku/src/tests/kits/net/service/
H A Dproxy.py80 if target.query:
81 target_path = target.path + '?' + target.query
/haiku/src/add-ons/kernel/file_systems/bfs/
H A DVolume.cpp418 Query* query = iterator.Next(); local
419 query->LiveUpdate(inode, attribute, type, oldKey, oldLength, newKey,
436 Query* query = iterator.Next(); local
437 query->LiveUpdateRenameMove(inode, oldDirectoryID, oldName, oldLength,
443 /*! Checks if there is a live query whose results depend on the presence
451 // TODO: check for a live query that depends on the specified attribute
457 Volume::AddQuery(Query* query) argument
460 fQueries.Add(query);
465 Volume::RemoveQuery(Query* query) argument
468 fQueries.Remove(query);
[all...]
/haiku/src/tests/kits/net/netservices2/
H A Dproxy.py80 if target.query:
81 target_path = target.path + '?' + target.query
/haiku/src/add-ons/kernel/file_systems/packagefs/
H A Dkernel_interface.cpp968 // #pragma mark - query operations
977 FUNCTION("volume: %p, query: \"%s\", flags: %#" B_PRIx32 ", port: %"
983 Query* query; local
985 query);
989 *_cookie = query;
1006 Query* query = (Query*)cookie; local
1008 FUNCTION("volume: %p, query: %p\n", volume, query);
1012 delete query;
1023 Query* query local
1045 Query* query = (Query*)cookie; local
[all...]

Completed in 124 milliseconds

1234