Searched refs:query (Results 51 - 75 of 89) sorted by relevance

1234

/haiku/src/bin/
H A Durlwrapper.cpp391 if (proto == "query") {
393 BString qname("/tmp/query-url-temp-");
395 BFile query(qname.String(), O_CREAT|O_EXCL);
405 query.WriteAttr("_trk/qryinitmode", B_INT32_TYPE, 0LL, &v, sizeof(v));
407 query.WriteAttr("_trk/focusedView", B_STRING_TYPE, 0LL, s.String(),
411 query.WriteAttr("_trk/qryinitstr", B_STRING_TYPE, 0LL, s.String(),
413 query.WriteAttr("_trk/qrystr", B_STRING_TYPE, 0LL, s.String(),
415 s = "application/x-vnd.Be-query";
416 query.WriteAttr("BEOS:TYPE", 'MIMS', 0LL, s.String(), s.Length()+1);
454 mquery.AddString("query", pat
[all...]
/haiku/src/servers/mail/
H A DDeskbarView.cpp411 // create the draft query
421 BNodeInfo(&file).SetType("application/x-vnd.Be-query");
428 DeskbarView::_CreateNewMailQuery(BEntry& query) argument
430 BFile file(&query, B_READ_WRITE | B_CREATE_FILE);
441 BNodeInfo(&file).SetType("application/x-vnd.Be-query");
489 && strcmp(mimeString, "application/x-vnd.Be-query")
522 // The New E-mail query
611 BEntry query(path.Path());
612 if (!query.Exists())
613 _CreateNewMailQuery(query);
[all...]
/haiku/src/add-ons/kernel/debugger/qrencode/
H A Dmodule.cpp86 encode_url(const char* query, const char* data, int encodeLength, argument
94 strlcat(sEncodeBuffer, query, encodeLength + 1);
/haiku/src/add-ons/kernel/file_systems/packagefs/volume/
H A DVolume.h81 // query support -- volume must be write-locked
82 void AddQuery(Query* query);
83 void RemoveQuery(Query* query);
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/add-ons/kernel/file_systems/bfs/
H A DVolume.h139 void AddQuery(Query* query);
140 void RemoveQuery(Query* query);
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/add-ons/kernel/file_systems/ramfs/
H A DVolume.h149 void AddQuery(Query *query);
150 void RemoveQuery(Query *query);
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 */
/haiku/src/tools/fs_shell/
H A Dsyscalls.h79 extern int _kern_open_query(fssh_dev_t device, const char* query,
/haiku/src/apps/poorman/libhttpd/
H A Dlibhttpd.h117 char* query; member in struct:__anon19
H A Dlibhttpd.c1187 if ( hc->query[0] != '\0')
1194 strlen( hc->encodedurl ) + 2 + strlen( hc->query ) );
1196 "%s/?%s", hc->encodedurl, hc->query );
1711 httpd_realloc_str( &hc->query, &hc->maxquery, 0 );
1763 hc->query[0] = '\0';
2073 /* Extract query string from encoded URL. */
2078 httpd_realloc_str( &hc->query, &hc->maxquery, strlen( cp ) );
2079 (void) strcpy( hc->query, cp );
2080 /* Remove query from (decoded) origfilename. */
2512 free( (void*) hc->query );
[all...]
/haiku/src/add-ons/kernel/bus_managers/ps2/
H A Dps2_synaptics.cpp134 get_information_query(ps2_dev *dev, uint8 extendedQueries, uint8 query, argument
137 if (query == kTrackpointQuirk) {
138 // Special case: this information query is not reported in the
143 } else if (query > extendedQueries + 8)
146 status_t error = send_touchpad_arg(dev, query);
/haiku/src/add-ons/kernel/file_systems/websearchfs/
H A Dquery.c6 #include "query.h"
103 static const char *parse_qs_r(const char *query, query_exp *tree)
110 status_t query_parse(const char *query, query_exp **tree) argument
H A Dwebsearchfs.c22 #include "query.h"
81 /** Publishes some entries in the root vnode: a query template, the readme file, and a People file of the author.
249 /* query dirs must be removed from the query list too */
669 /* this one returns the created fs_node to caller (for use by query engine) */
1166 /* query stuff */
1168 static int compare_fs_node_by_recent_query_string(fs_node *node, char *query) argument
1173 node->request?node->request->query_string:NULL, query);
1179 return strcmp(node->request->query_string, query);
1182 static status_t websearchfs_open_query(fs_volume *_volume, const char *query, uint3 argument
[all...]
/haiku/src/add-ons/kernel/file_systems/netfs/server/
H A DVolumeManager.cpp805 // allocate a query handler, if this is a live query
819 // iterate through the volumes and create a query for each one
834 // create the query for this volume
836 Query* query = new(std::nothrow) Query; local
837 if (!query)
840 // init the query
841 ObjectDeleter<Query> queryDeleter(query);
842 status_t error = query->SetVolume(&bVolume);
845 error = query
[all...]
/haiku/src/apps/debugger/user_interface/gui/team_window/
H A DTeamWindow.cpp2047 "source file query worker", B_NORMAL_PRIORITY, this);
2121 BQuery query; local
2123 query.PushAttr("name");
2124 query.PushString(filePath.Leaf());
2125 query.PushOp(B_EQ);
2127 error = query.GetPredicate(&predicate);
2137 if (query.SetVolume(&volume) != B_OK)
2140 error = query.SetPredicate(predicate.String());
2144 if (query.Fetch() != B_OK)
2148 while (query
[all...]
/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) {
/haiku/src/apps/mediaplayer/playlist/
H A DPlaylist.cpp587 BQueryFile query(&ref);
588 if (query.InitCheck() != B_OK)
592 while (query.GetNextRef(&foundRef) == B_OK) {
/haiku/src/kits/tracker/
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...]
/haiku/src/kits/app/
H A DRoster.cpp202 returned as a query result.
345 BQuery query; local
346 query.SetVolume(&volume);
347 query.PushAttr("BEOS:APP_SIG");
349 query.PushString(signature);
351 // second pass, create a case insensitive query string
370 query.PushString(string);
372 query.PushOp(B_EQ);
374 query.Fetch();
376 // walk through the query
[all...]
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/beos/
H A Dfs_interface.h175 typedef int beos_op_open_query(void *ns, const char *query, ulong flags,
/haiku/headers/private/userlandfs/legacy/
H A Dfsproto.h159 typedef int op_open_query(void *ns, const char *query, ulong flags,
/haiku/src/bin/unzip/
H A Dextract.c837 int renamed, query; variable
1041 query = FALSE;
1194 query = TRUE;
1212 query = TRUE;
1216 if (query) {
1286 } /* end if (query) */

Completed in 234 milliseconds

1234