Searched defs:query (Results 1 - 25 of 40) sorted by relevance

12

/osnet-11/usr/src/lib/libslp/javalib/com/sun/slp/
H A DLocator.java40 * The Locator interface allows clients to query SLP for existing
41 * services, scopes, and service instances, and to query about attributes
82 * the query. The services are returned from the locale of the
87 * @param query A string with the SLP query.
98 String query)
96 findServices(ServiceType type, Vector scopes, String query) argument
H A DSSrvMsg.java52 String query = ""; // the query field in class:SSrvMsg
125 // Get the query.
129 query = buf.toString();
140 " query=``" +
141 query + "''\n" +
H A DCSrvMsg.java116 String query)
119 this.initialize(locale, serviceType, scopes, query);
129 String query)
166 // Write out query.
168 hdr.putString(query, baos);
113 CSrvMsg(Locale locale, ServiceType serviceType, Vector scopes, String query) argument
126 initialize(Locale locale, ServiceType serviceType, Vector scopes, String query) argument
H A DSunServerDATable.java250 String query = "(" + ADDRESS_ID + "=" + address.getHostAddress() + ")";
261 Hashtable das = returnMatchingDAs(query);
287 * URL's as keys, scopes as values) for DAs matching the query.
289 * @param query Query for DA attributes.
292 public synchronized Hashtable returnMatchingDAs(String query) argument
296 // Get DA records matching the query.
303 query,
329 // Formulate a query for the DAs.
H A DServerDATable.java152 * URL's as keys, scopes as values) for DAs matching the query.
154 * @param query Query for DA attributes.
157 abstract Hashtable returnMatchingDAs(String query) argument
H A DServiceStore.java288 * returned service URLs will match the service type, scope, query,
296 * @param query The query, with any escaped characters as yet unprocessed.
297 * @param locale The locale in which to lowercase query and search.
306 * during query parsing or if any
314 String query,
361 * @return A Vector of ServiceLocationAttribute objects matching the query.
312 findServices(String serviceType, Vector scopes, String query, Locale locale) argument
H A DUARequester.java143 * the query. The services are returned from the locale of the
148 * @param query A string with the SLP query.
158 findServices(ServiceType type, Vector scopes, String query) argument
163 Assert.nonNullParameter(query, "query");
169 query,
450 // Get query. If an attribute request, then the user
453 String query = "";
456 query
[all...]
H A DParser.java41 * The Parser class implements LDAP query parsing for ServiceStoreInMemory.
82 * The QueryEvaluator interface evaluates a term in a query, given
86 * class to perform query parsing must provide this.
94 * Evaluate the query, storing away the services that match.
117 * Parse a query and incrementally evaluate.
121 * @param query The query. Escapes have not yet been processed.
123 * @param locale Locale in which to interpret query strings.
128 parseAndEvaluateQuery(String query, argument
136 StreamTokenizer tk = new StreamTokenizer(new StringReader(query));
[all...]
H A DSLPV1SSrvMsg.java131 // Now get the raw query.
137 // Parse the raw query to pull out the service type, scope,
138 // and query.
188 // Parsing the query is complicated by opaques having slashes.
207 query = q.substring(0, q.length()-1);
213 // Convert the query into a V2 query.
217 // If the query is for "service:directory-agent", then we
232 " query=``" +
233 query
337 rewriteQueryJoin(String query) argument
[all...]
/osnet-11/usr/src/lib/libdns_sd/java/com/apple/dnssd/
H A DQueryListener.java41 /** Called when a record query has been completed.<P>
43 @param query
44 The active query object.
50 The interface on which the query was resolved. (The index for a given
68 void queryAnswered( DNSSDService query, int flags, int ifIndex, String fullName, argument
/osnet-11/usr/src/lib/libdhcpsvc/modules/templates/
H A Ddhcp_network.c70 * Searches DHCP network container for instances that match the query
71 * described by the combination of query and targetp. If the partial
74 * query argument consists of 2 fields, each 16 bits long. The lower
77 * considered in the query. The upper 16 bits identifies whether a
87 * that no records matched the query.
90 lookup_dn(void *handle, boolean_t partial, uint_t query, int count, argument
H A Ddhcptab.c68 * Searches the dhcptab container for instances that match the query
69 * described by the combination of query and targetp. If the partial
72 * query argument consists of 2 fields, each 16 bits long. The lower
74 * considered in the query. The upper 16 bits identifies whether a
84 * means that no records matched the query.
87 lookup_dt(void *handle, boolean_t partial, uint_t query, int count, argument
/osnet-11/usr/src/lib/libdhcpsvc/tests/
H A Dtest_private.c58 uint32_t query; local
184 DSVC_QINIT(query);
185 DSVC_QEQ(query, DT_QKEY);
186 DSVC_QEQ(query, DT_QTYPE);
193 error = lookup_dd(handle, B_FALSE, query, -1, &dt, (void **)&resdtp,
223 DSVC_QINIT(query);
224 DSVC_QEQ(query, DT_QKEY);
230 error = lookup_dd(handle, B_FALSE, query, 1, &dt, (void **)&resdtp,
262 DSVC_QINIT(query);
265 error = lookup_dd(handle, B_FALSE, query,
[all...]
/osnet-11/usr/src/lib/libdns_sd/java/com/apple/dnssd/docs/examples/src/
H A DSwingQueryListener.java65 public void queryAnswered( DNSSDService query, int flags, int ifIndex, String fullName, argument
68 fQuery = query;
/osnet-11/usr/src/lib/libslp/clib/
H A Dslp_da_cache.c43 * table. Associated with each query is a reply (in the format of an
85 const char *query; member in struct:cache_entry
98 * Searches the cache for the reply to 'query'. Returns the reply if
102 char *slp_find_das_cached(const char *query) { argument
114 ce->query = query;
145 * Adds 'reply' to the cache under the index 'query'. Both parameters
149 void slp_put_das_cached(const char *query, const char *reply, argument
166 if (!(ce->query = strdup(query))) {
[all...]
H A Dslp_targets.c148 char *query, *reply; local
194 if (!(query = malloc(strlen(scopes) -
208 format_query(query, scopes);
210 if ((err = slp_find_das(query, &reply)) != SLP_OK &&
216 free(query);
219 free(query);
/osnet-11/usr/src/lib/libpower/common/
H A Dlibpower.c89 * property values from the kernel. The query may include an
93 * A valid query list consists of 2 name value pairs:
97 * PM_PROP_AUTHORITY The data source to query as a string.
98 * May include PM_AUTHORITY_ANY to query
101 * in the array is the property to query.
116 pm_getprop(nvlist_t **result, nvlist_t *query) argument
129 nvlist_lookup_string(query, PM_PROP_AUTHORITY, &authname) != 0 ||
130 nvlist_lookup_string_array(query, PM_PROP_QUERY, &propv,
140 /* Validate the authority given in the query */
145 "%s invalid authority %s in query\
[all...]
/osnet-11/usr/src/lib/libsasl/lib/
H A Dcheckpw.c504 char query[8192]; local
505 char *query_end = query;
543 if (u_len + p_len + s_len + r_len + 30 > (unsigned short) sizeof(query)) {
578 arg.data_ptr = query;
579 arg.data_size = query_end - query;
620 iov[0].iov_len = query_end - query;
621 iov[0].iov_base = query;
/osnet-11/usr/src/lib/libdhcpsvc/modules/binfiles/
H A Ddhcptab.c173 lookup_dt(void *handle, boolean_t partial, uint_t query, int count, argument
189 retval = find_dt(fd, partial ? FIND_PARTIAL : 0, query, count, targetp,
203 find_dt(int fd, uint_t flags, uint_t query, int count, argument
233 if (!record_match(&rec.rec_dt, targetp, query))
314 * Compares `dtp' to the target `targetp', using `query' to decide what
319 record_match(const dt_rec_t *dtp, const dt_rec_t *targetp, uint_t query) argument
321 if (DSVC_QISEQ(query, DT_QTYPE) && targetp->dt_type != dtp->dt_type)
323 if (DSVC_QISNEQ(query, DT_QTYPE) && targetp->dt_type == dtp->dt_type)
326 if (DSVC_QISEQ(query, DT_QKEY) &&
330 if (DSVC_QISNEQ(query, DT_QKE
341 int query; local
429 int query; local
549 int query; local
[all...]
/osnet-11/usr/src/lib/libdhcpsvc/modules/files/
H A Ddhcptab.c146 find_dt(FILE *fp, uint_t flags, uint_t query, int count, argument
193 if (DSVC_QISEQ(query, DT_QTYPE) &&
196 else if (DSVC_QISNEQ(query, DT_QTYPE) &&
201 if (DSVC_QISEQ(query, DT_QKEY) &&
204 else if (DSVC_QISNEQ(query, DT_QKEY) &&
283 lookup_dt(void *handle, boolean_t partial, uint_t query, int count, argument
299 retval = find_dt(fp, partial ? FIND_PARTIAL : 0, query, count, targetp,
322 int query; local
346 DSVC_QINIT(query);
347 DSVC_QEQ(query, DT_QKE
[all...]
H A Ddhcp_network.c168 find_dn(int fd, uint_t flags, uint_t query, int count, const dn_rec_t *targetp, argument
204 if (DSVC_QISEQ(query, DN_QCIP)) {
225 if (DSVC_QISEQ(query, DN_QCIP)) {
270 if (!record_match(fields, &dn, targetp, query))
339 lookup_dn(void *handle, boolean_t partial, uint_t query, int count, argument
355 retval = find_dn(fd, partial ? FIND_PARTIAL : 0, query, count, targetp,
364 * using `query' to decide what fields to compare. Returns B_TRUE if `dnp'
370 uint_t query)
380 if (DSVC_QISEQ(query, DN_QCIP) &&
383 if (DSVC_QISNEQ(query, DN_QCI
369 record_match(char *fields[], dn_rec_t *dnp, const dn_rec_t *targetp, uint_t query) argument
462 int query; local
[all...]
/osnet-11/usr/src/lib/libdhcpsvc/modules/files0/
H A Ddhcptab.c112 find_dt(FILE *fp, uint_t flags, uint_t query, int count, argument
158 if (DSVC_QISEQ(query, DT_QTYPE) &&
161 else if (DSVC_QISNEQ(query, DT_QTYPE) &&
165 if (DSVC_QISEQ(query, DT_QKEY) &&
168 else if (DSVC_QISNEQ(query, DT_QKEY) &&
248 lookup_dt(void *handle, boolean_t partial, uint_t query, int count, argument
264 retval = find_dt(fp, partial ? FIND_PARTIAL : 0, query, count, targetp,
287 int query; local
311 DSVC_QINIT(query);
312 DSVC_QEQ(query, DT_QKE
[all...]
/osnet-11/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)
/osnet-11/usr/src/lib/libnisdb/
H A Ddb.cc170 db::exec_action(db_action action, db_query *query, argument
191 res->status = internal_db.lookup(query, &num_answers, &ans);
197 res->status = internal_db.add(query, content);
201 res->status = internal_db.remove(query);
205 if (query == NULL) {
210 res->status = internal_db.first(query,
325 db::log_action(db_action action, db_query *query, entry_object *content) argument
329 db_log_entry le(action, v, query, content);
378 res = exec_action(action, query, content, NULL);
394 db::execute(db_action action, db_query *query, argument
[all...]
H A Dldap_nisdbquery.c279 * There's a twist here: the input query
389 db_query **query = 0; local
518 newq = realloc(query, ntq * sizeof (query[0]));
523 myself, ntq * sizeof (query[0]));
526 freeQueries(query, nq);
532 query = newq;
547 query[(nq*i)+j] = cloneQuery(query[j],
549 if (query[(n
[all...]

Completed in 103 milliseconds

12