Home
last modified time | relevance | path

Searched refs:query (Results 1 – 25 of 120) sorted by relevance

12345

/titanic_50/usr/src/lib/libslp/javalib/com/sun/slp/
H A DSLPV1SSrvMsg.java207 query = q.substring(0, q.length()-1); in initialize()
233 query + "''"); in initialize()
312 query = query.trim(); in convertQuery()
314 if (query.length() <= 0) { in convertQuery()
321 if (!(query.startsWith("(") && query.endsWith(")"))) { in convertQuery()
325 query = rewriteQueryJoin(query); in convertQuery()
331 query = rewriteQuery(query); in convertQuery()
337 private String rewriteQueryJoin(String query) in rewriteQueryJoin() argument
343 StringTokenizer tk = new StringTokenizer(query, ",", true); in rewriteQueryJoin()
356 new Object[] {query}); in rewriteQueryJoin()
[all …]
H A DCSrvMsg.java116 String query) in CSrvMsg() argument
119 this.initialize(locale, serviceType, scopes, query); in CSrvMsg()
129 String query) in initialize() argument
168 hdr.putString(query, baos); in initialize()
H A DSLPTemplateRegistry.java402 String query = "(" + SERVICE_ATTR_ID + "=" + serviceType + ")"; in findVersionedURL() local
405 query = query + "(" + VERSION_ATTR_ID + "=" + version + ")"; in findVersionedURL()
409 query = "(&" + query + ")"; in findVersionedURL()
430 query); in findVersionedURL()
H A DUARequester.java158 findServices(ServiceType type, Vector scopes, String query) in findServices() argument
163 Assert.nonNullParameter(query, "query"); in findServices()
169 query, in findServices()
453 String query = ""; in createMessages() local
456 query = (String)t2; in createMessages()
460 multiMsg = new CSrvMsg(locale, type, multiCastScopes, query); in createMessages()
/titanic_50/usr/src/cmd/fm/modules/common/fabric-xlate/
H A Dfx_subr.c230 fab_xpath_query(fmd_hdl_t *hdl, const char *query) in fab_xpath_query() argument
236 fmd_hdl_debug(hdl, "xpathObj query %s\n", query); in fab_xpath_query()
238 xpathObj = xmlXPathEvalExpression((const xmlChar *)query, in fab_xpath_query()
270 char *query; in fab_hc2dev() local
273 query = fmd_hdl_alloc(hdl, len, FMD_SLEEP); in fab_hc2dev()
274 (void) snprintf(query, len, "//propval[@name='resource' and contains(" in fab_hc2dev()
279 *dev_path = fab_xpath_query(hdl, query); in fab_hc2dev()
281 fmd_hdl_free(hdl, query, len); in fab_hc2dev()
354 char query[500]; in fab_find_rppath_by_df() local
376 (void) snprintf(query, sizeof (query), "//propval[" in fab_find_rppath_by_df()
[all …]
/titanic_50/usr/src/lib/libslp/clib/
H A Dslp_da_cache.c85 const char *query; member
102 char *slp_find_das_cached(const char *query) { in slp_find_das_cached() argument
114 ce->query = query; in slp_find_das_cached()
149 void slp_put_das_cached(const char *query, const char *reply, in slp_put_das_cached() argument
166 if (!(ce->query = strdup(query))) { in slp_put_das_cached()
173 free((void *) (ce->query)); in slp_put_das_cached()
189 free((void *) ((*ce2)->query)); in slp_put_das_cached()
202 return (strcasecmp(e1->query, e2->query)); in compare_entries()
209 free((void *) (ce->query)); in free_cache_entry()
/titanic_50/usr/src/lib/libnisdb/
H A Dldap_nisdbquery.c690 db_query **query = 0; in createNisPlusEntry() local
819 newq = realloc(query, ntq * sizeof (query[0])); in createNisPlusEntry()
824 myself, ntq * sizeof (query[0])); in createNisPlusEntry()
827 freeQueries(query, nq); in createNisPlusEntry()
833 query = newq; in createNisPlusEntry()
848 query[(nq*i)+j] = cloneQuery(query[j], in createNisPlusEntry()
850 if (query[(nq*i)+j] == 0 && in createNisPlusEntry()
851 query[j] != 0) in createNisPlusEntry()
863 freeQueries(query, ntq); in createNisPlusEntry()
876 (void) memset(query, 0, ntq * sizeof (query[0])); in createNisPlusEntry()
[all …]
H A Ddb_log_entry_c.x57 db_query *query; /* query supplied with action (if any) */ member
71 % db_query *query; /* query supplied with action (if any) */
78 % db_log_entry() { query = NULL, object = NULL; next = NULL; }
96 % db_query *get_query() { return( query ); }
H A Dnis_db.cc349 db_query *query = NULL; in db_first_entry() local
352 query = InUseDictionary->translate_to_query(tbl, in db_first_entry()
354 if (query == NULL) in db_first_entry()
358 res = dbase->execute(DB_FIRST, query, NULL, NULL); in db_first_entry()
359 if (query) delete query; in db_first_entry()
423 db_query *query; in __db_list_entries() local
424 query = InUseDictionary->translate_to_query(tbl, in __db_list_entries()
426 if (query == NULL) in __db_list_entries()
429 res = dbase->execute(DB_LOOKUP, query, in __db_list_entries()
431 delete query; in __db_list_entries()
[all …]
H A Ddb_log_entry.cc48 query = q; in db_log_entry()
79 if (query != NULL) in print()
80 query->print(); in print()
H A Ddb.cc170 db::exec_action(db_action action, db_query *query, in exec_action() argument
191 res->status = internal_db.lookup(query, &num_answers, &ans); in exec_action()
197 res->status = internal_db.add(query, content); in exec_action()
201 res->status = internal_db.remove(query); in exec_action()
205 if (query == NULL) { in exec_action()
210 res->status = internal_db.first(query, in exec_action()
325 db::log_action(db_action action, db_query *query, entry_object *content) in log_action() argument
329 db_log_entry le(action, v, query, content); in log_action()
378 res = exec_action(action, query, content, NULL); in log_action()
394 db::execute(db_action action, db_query *query, in execute() argument
[all …]
/titanic_50/usr/src/lib/print/libpapi-common/common/
H A Duri.c125 char *query, *fragment; in uri_from_string() local
127 query = strrchr(name, '?'); in uri_from_string()
128 if ((query != NULL) && (*query != '\0')) { in uri_from_string()
129 u->query = strdup(query + 1); in uri_from_string()
130 end = query; in uri_from_string()
172 ((uri->query != NULL) && (uri->path == NULL))) { in uri_to_string()
198 (uri->query ? "?" : ""), in uri_to_string()
199 (uri->query ? uri->query : "")); in uri_to_string()
228 if (uri->query != NULL) in uri_free()
229 free(uri->query); in uri_free()
[all …]
/titanic_50/usr/src/cmd/print/printmgr/com/sun/admin/pm/client/
H A DpmHelpIndexPanel.java296 JTextField query; field in pmHelpIndexQueryPanel
327 query = new JTextField(); in pmHelpIndexQueryPanel()
328 query.setEditable(true); in pmHelpIndexQueryPanel()
329 query.setText(""); in pmHelpIndexQueryPanel()
331 promptLabel.setLabelFor(query); in pmHelpIndexQueryPanel()
333 query.addActionListener(new ActionListener() { in pmHelpIndexQueryPanel()
346 this.add(query, c); in pmHelpIndexQueryPanel()
354 handleText(query.getText()); in pmHelpIndexQueryPanel()
358 handleText(query.getText()); in pmHelpIndexQueryPanel()
362 query.getDocument().addDocumentListener(d); in pmHelpIndexQueryPanel()
H A DpmHelpSearchPanel.java299 JTextField query; field in pmHelpSearchQueryPanel
340 String s = query.getText(); in pmHelpSearchQueryPanel()
365 query = new JTextField(); in pmHelpSearchQueryPanel()
366 query.setEditable(true); in pmHelpSearchQueryPanel()
367 query.setText(" "); in pmHelpSearchQueryPanel()
369 promptLabel.setLabelFor(query); in pmHelpSearchQueryPanel()
371 query.addActionListener(new ActionListener() { in pmHelpSearchQueryPanel()
378 query.getDocument().addDocumentListener(new DocumentListener() { in pmHelpSearchQueryPanel()
400 if (query.getText().length() == 0) { in pmHelpSearchQueryPanel()
421 this.add(query, c); in pmHelpSearchQueryPanel()
/titanic_50/usr/src/lib/libresolv2/common/resolv/
H A Dres_debug.h23 # define DprintQ(cond, args, query, size) /*empty*/ argument
28 # define DprintQ(cond, args, query, size) if (cond) {\ argument
30 res_pquery(statp, query, size, stdout);\
/titanic_50/usr/src/cmd/print/selector/
H A Dprint-service271 my ($import_path, $export_path, $svc_name, $query, $migrate) = ();
273 my $res = GetOptions('q|query' => \$query, 's|set=s' => \$service,
280 !defined($query) && !defined($service) && !defined($migrate)) {
283 !defined($query) && !defined($service) && !defined($migrate)) {
286 defined($query) && !defined($service) && !defined($migrate)) {
289 !defined($query) && defined($service)) {
/titanic_50/usr/src/lib/brand/shared/zone/
H A DMakefile26 PROG=query
27 SHARED= common.ksh query uninstall.ksh
35 POFILES= common.po query.po uninstall.po
/titanic_50/usr/src/lib/libsqlite/test/
H A Dprogress.test51 # Test that the query is abandoned when the progress callback returns non-zero
61 # Test that the query is rolled back when the progress callback returns
76 # Now set up the progress callback to abandon the query after the number of
79 # callback abandons the query.
90 # progress query abandons a query.
/titanic_50/usr/src/uts/sun4/os/
H A Dlgrpplat.c198 lgrp_plat_mem_size(lgrp_handle_t plathand, lgrp_mem_query_t query) in lgrp_plat_mem_size() argument
208 return (lgrp_plat_mem_size_default(plathand, query)); in lgrp_plat_mem_size()
213 switch (query) { in lgrp_plat_mem_size()
271 lgrp_plat_mem_size_default(lgrp_handle_t lgrphand, lgrp_mem_query_t query) in lgrp_plat_mem_size_default() argument
278 switch (query) { in lgrp_plat_mem_size_default()
/titanic_50/usr/src/uts/common/io/
H A Ddevpool.c210 pool_query_t query; in pool_ioctl() local
284 query.pq_io_bufsize = query32.pq_io_bufsize; in pool_ioctl()
285 query.pq_io_buf = (char *)(uintptr_t)query32.pq_io_buf; in pool_ioctl()
290 if (ddi_copyin((void *)arg, &query, in pool_ioctl()
312 } else if (query.pq_io_bufsize != 0) { in pool_ioctl()
313 kbufsz = query.pq_io_bufsize; in pool_ioctl()
335 query.pq_io_bufsize = size; in pool_ioctl()
336 if (ddi_copyout(&query, (void *)arg, in pool_ioctl()
340 if (ret == 0 && query.pq_io_buf != NULL && in pool_ioctl()
341 ddi_copyout(kbuf, query.pq_io_buf, size, mode) != 0) in pool_ioctl()
/titanic_50/usr/src/cmd/sgs/error/common/
H A Derrormain.c50 boolean query = FALSE; /* query the operator if touch files */ variable
132 query = TRUE; in main()
182 if (query) { in main()
245 if (query) { in forkvi()
/titanic_50/usr/src/cmd/cmd-inet/usr.bin/
H A Dwhois.c256 whois(const char *query, const char *hostname, int flags) in whois() argument
289 (void) fprintf(sfo, "-T dn,ace -C US-ASCII %s\r\n", query); in whois()
291 (void) fprintf(sfo, "--show-handles %s\r\n", query); in whois()
293 (void) fprintf(sfo, "%s\r\n", query); in whois()
340 whois(query, nhost, 0); in whois()
/titanic_50/usr/src/lib/libcmd/common/
H A Dgrep.c165 unsigned char query; /* return status but no output */ member
329 if (state->query || state->list) in record()
396 if (state->query || state->list) in execute()
417 if (state->query || state->list) in execute()
542 if (!state->query) in execute()
574 if (state->query) in execute()
577 if (!state->query) in execute()
754 state.query = 1; in grep_main()
797 if (state.count || state.list || state.query || (state.options & REG_INVERT)) in grep_main()
823 if (state.query && state.any) in grep_main()
[all …]
/titanic_50/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DmDNS.c2932 mDNSlocal mDNSBool BuildQuestion(mDNS *const m, DNSMessage *query, mDNSu8 **queryptr, DNSQuestion *… in BuildQuestion() argument
2937 const mDNSu8 *const limit = query->data + NormalMaxDNSMessageData; in BuildQuestion()
2939 …mDNSu8 *newptr = putQuestion(query, *queryptr, limit - *answerforecast - anoninfo_space, &q->qname… in BuildQuestion()
2974 if (query->h.numQuestions > 1 && newptr + forecast >= limit) in BuildQuestion()
2976 query->h.numQuestions--; in BuildQuestion()
2978 … q->qname.c, DNSTypeName(q->qtype), newptr + forecast - query->data, query->h.numQuestions); in BuildQuestion()
6765 mDNSlocal mDNSu8 *GenerateUnicastResponse(const DNSMessage *const query, const mDNSu8 *const end, in GenerateUnicastResponse() argument
6770 const mDNSu8 *ptr = query->data; in GenerateUnicastResponse()
6776 InitializeDNSMessage(&response->h, query->h.id, ResponseFlags); in GenerateUnicastResponse()
6784 for (i=0; i<query->h.numQuestions; i++) // For each question... in GenerateUnicastResponse()
[all …]
/titanic_50/usr/src/cmd/sendmail/aux/
H A Deditmap.c82 bool query = false; local
150 query = true;
188 (query && argc != 3) ||
275 if (query)
322 if (query)

12345