Searched refs:query (Results 1 - 25 of 89) sorted by last modified time

1234

/haiku/headers/private/file_systems/
H A DQueryParser.h26 // of the code, just read the beginning of the query constructor.
224 the query is run, there are some dependencies that are produced while
227 So you could run more than one query on the same volume, but it might return
388 // Since the equation is the integral part of any query, we're just parsing
615 QUERY_FATAL("query value conversion to 0x%x requested!\n",
719 // first, check if we are matching for a live query and use that value
804 // if we should query attributes without an index, we can just proceed here
920 // query will do something similar (and we don't have
1371 QUERY_INFORM("Could not parse query \"%s\", stopped at: \"%s\"\n",
1378 Query<QueryPolicy>* query
[all...]
/haiku/src/add-ons/kernel/file_systems/ramfs/
H A Dkernel_interface.cpp2040 PRINT("query = \"%s\", flags = %lu, port_id = %" B_PRId32 ", token = %" B_PRId32 "\n",
2050 Query* query; local
2051 status_t error = Query::Create(volume, queryString, flags, port, token, query);
2057 *_cookie = (void *)query;
2085 Query *query = (Query *)_cookie; local
2086 delete query;
2098 Query *query = (Query *)_cookie; local
2106 status_t status = query->GetNextEntry(buffer, bufferSize);
2164 /* query operations */
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;
/haiku/src/tools/fs_shell/
H A Dvfs.cpp4456 /*! ToDo: the query FS API is still the pretty much the same as in R5.
4459 For example, query parsing should be moved into the kernel.
4462 query_open(fssh_dev_t device, const char *query, uint32_t flags, argument
4468 FUNCTION(("query_open(device = %ld, query = \"%s\", kernel = %d)\n", device, query, kernel));
4479 status = FS_MOUNT_CALL(mount, open_query, query, flags, port, token, &cookie);
5740 _kern_open_query(fssh_dev_t device, const char *query, fssh_size_t queryLength, argument
5743 return query_open(device, query, flags, port, token, false);
H A Dfssh.cpp1198 fprintf(stderr, "Usage: %s <query string>\n", argv[0]);
1202 const char* query = argv[1]; local
1209 // open query
1210 int fd = _kern_open_query(volumeID, query, strlen(query), 0, -1, -1);
1212 fprintf(stderr, "Error: Failed to open query: %s\n", fssh_strerror(fd));
1234 fprintf(stderr, "Error: reading query failed: %s\n",
1238 // close query
1241 fprintf(stderr, "Error: Closing query (fd: %d) failed: %s\n",
1360 command_query, "query", "quer
[all...]
/haiku/src/kits/tracker/
H A DContainerWindow.cpp2040 // it is ok to add a global Edit query shortcut here, PoseView will
2041 // filter out cases where selected pose is not a query
2197 // add Edit query if appropriate
2202 // if any queries selected, add an edit query menu item
2217 // if the view is a query pose view, add edit query menu item
2223 // add edit query item after Open
2227 BMenuItem* query = new BMenuItem(B_TRANSLATE("Edit query"), local
2229 item->Menu()->AddItem(query, itemInde
[all...]
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 DFindPanel.h133 // reads in the query name from either a saved name in a template
134 // or form a saved query name
144 // when opening an empty panel, use the default query to set the panel up
150 // save the contents of the find window into the query file
201 // build up a query from by-attribute items
203 // build up a simple query from the name we are searching for
208 // name filled out in the query name text field
211 // populate the recent query menu with query templates and recent queries
252 void PushMimeType(BQuery* query) cons
[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...]
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...]
/haiku/src/system/kernel/fs/
H A Dvfs.cpp7222 /*! TODO: the query FS API is still the pretty much the same as in R5.
7225 For example, query parsing should be moved into the kernel.
7228 query_open(dev_t device, const char* query, uint32 flags, port_id port, argument
7234 FUNCTION(("query_open(device = %" B_PRId32 ", query = \"%s\", kernel = %d)\n",
7235 device, query, kernel));
7246 status = FS_MOUNT_CALL(mount, open_query, query, flags, port, token,
10065 BStackOrHeapArray<char, 128> query(queryLength + 1);
10066 if (!query.IsValid())
10069 if (user_strlcpy(query, userQuery, queryLength + 1) < B_OK)
10072 return query_open(device, query, flag
[all...]
/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/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...]
/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/apps/mail/
H A DMailWindow.cpp244 // rather than merely around 20, since each open draft-monitoring query
248 // don't need a live query since the menu isn't staying up for more than a
588 // Create a query to find this signature
592 BQuery query; local
593 query.SetVolume(&volume);
594 query.PushAttr(INDEX_SIGNATURE);
595 query.PushString(signature.String());
596 query.PushOp(B_EQ);
597 query.Fetch();
599 // If we find the named query, ad
1388 BQuery query; local
1467 BQuery query; local
[all...]
H A DPrefs.cpp696 BQuery query; local
716 query.SetVolume(&vol);
717 query.SetPredicate("_signature = *");
718 query.Fetch();
720 while (query.GetNextEntry(&entry) == B_NO_ERROR) {
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)
/haiku/src/add-ons/kernel/file_systems/packagefs/volume/
H A DVolume.cpp605 Volume::AddQuery(Query* query) argument
607 fQueries.Add(query);
612 Volume::RemoveQuery(Query* query) argument
614 fQueries.Remove(query);
624 Query* query = it.Next();) {
625 query->LiveUpdate(node, attribute, type, oldKey, oldLength, newKey,
/haiku/src/bin/filteredquery/
H A Dquery.cpp0 // 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; local
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
[all...]
H A DFilteredQuery.h28 TFilteredQuery(const BQuery &query);
29 TFilteredQuery(const TFilteredQuery &query);
H A DFilteredQuery.cpp8 // Helper function to copy a query.
12 CopyQuery(const BQuery &query, BQuery *dest) argument
16 BQuery &nonConst = const_cast<BQuery &>(query);
36 TFilteredQuery::TFilteredQuery(const BQuery &query) argument
40 CopyQuery(query, this);
44 TFilteredQuery::TFilteredQuery(const TFilteredQuery &query) argument
48 CopyQuery(query, this);
51 fFilters = query.fFilters;
/haiku/headers/private/system/
H A Dsyscalls.h326 extern int _kern_open_query(dev_t device, const char *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/file_systems/bfs/
H A Dkernel_interface.cpp2276 INFORM(("Could not parse query \"%s\", stopped at: \"%s\"\n",
2283 Query* query = new(std::nothrow) Query(volume, expression, flags); local
2284 if (query == NULL) {
2290 query->SetLiveMode(port, token);
2292 *_cookie = (void*)query;
2311 Query* query = (Query*)cookie; local
2312 Expression* expression = query->GetExpression();
2313 delete query;
2325 Query* query = (Query*)cookie; local
2326 status_t status = query
2343 Query* query = (Query*)cookie; local
[all...]
/haiku/src/kits/network/libnetservices/
H A DGeolocation.cpp80 BString query("{\n\t\"wifiAccessPoints\": [");
93 query += ',';
97 query += "\n\t\t{ \"macAddress\": \"";
98 query += network.address.ToString().ToUpper();
99 query += "\", \"signalStrength\": ";
100 query << (int)network.signal_strength;
101 query += ", \"signalToNoiseRatio\": ";
102 query << (int)network.noise_level;
103 query += " }";
108 query
[all...]

Completed in 248 milliseconds

1234