HomeSort by: relevance | last modified time | path
    Searched defs:query (Results 1 - 25 of 31) sorted by relevancy

1 2

  /src/games/robots/
query.c 1 /* $NetBSD: query.c,v 1.9 2009/07/20 06:39:06 dholland Exp $ */
35 static char sccsid[] = "@(#)query.c 8.1 (Berkeley) 5/31/93";
37 __RCSID("$NetBSD: query.c,v 1.9 2009/07/20 06:39:06 dholland Exp $");
45 * query:
49 query(const char *prompt) function in typeref:typename:int
  /src/usr.bin/make/unit-tests/
opt-query.mk 1 # $NetBSD: opt-query.mk,v 1.7 2022/08/18 05:37:05 rillig Exp $
24 _!= touch -f opt-query-file.up-to-date
31 && echo "${target}: query status $$?" \
32 || echo "${target}: query status $$?"
37 . for target in opt-query-file.out-of-date opt-query-file.up-to-date phony
40 && echo "${target} in ${mode} mode: query status $$?" \
41 || echo "${target} in ${mode} mode: query status $$?"
49 # expect: opt-query-file.out-of-date in compat mode: query status
    [all...]
  /src/lib/libc/arch/arm/misc/
arm_initfini.c 69 struct sysctlnode query, md[64]; local in function:_libc_aapcs_init
76 memset(&query, 0, sizeof(query));
77 query.sysctl_flags = SYSCTL_VERSION;
79 if (sysctl(mib, 2, md, &len, &query, sizeof(query)) == -1)
  /src/usr.sbin/btdevctl/
btdevctl.c 67 int ch, query, verbose, attach, detach, set, none; local in function:main
73 query = false;
123 query = true;
154 if (dev == NULL || query == true) {
156 printf("Performing SDP query for service '%s'..\n", service);
212 "\t-q force SDP query\n"
  /src/lib/libc/locale/
setlocale_local.h 60 char query[_LOCALENAME_LEN_MAX * (_LC_LAST - 1)]; member in struct:_locale
  /src/sys/kern/
subr_hash.c 190 bool fill, query; local in function:hashstat_sysctl
213 /* Can't QUERY one hash without supplying the hash name. */
216 query = true;
222 query = false;
228 if (query && (strcmp(hash->hs_name, queryname) != 0)) {
246 if (query && written == 0) /* query not found? */
subr_thmap.c 361 hashval_init(thmap_query_t *query, const uint8_t seed[static HASHVAL_SEEDLEN],
366 query->seed = seed;
367 query->rslot = ((hashval >> ROOT_MSBITS) ^ len) & ROOT_MASK;
368 query->level = 0;
369 query->hashval = hashval;
370 query->hashidx = 0;
378 hashval_getslot(thmap_query_t *query, const void * restrict key, size_t len)
380 const unsigned offset = query->level * LEVEL_BITS;
384 if (query->hashidx != i) {
386 query->hashval = hash(query->seed, key, len, i)
696 thmap_query_t query; local in function:thmap_get
725 thmap_query_t query; local in function:thmap_put
855 thmap_query_t query; local in function:thmap_del
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/amd/display/amdgpu_dm/
amdgpu_dm_hdcp.c 107 struct mod_hdcp_display_query query; local in function:hdcp_update_display
112 query.display = NULL;
113 mod_hdcp_query_display(&hdcp_w->hdcp, aconnector->base.index, &query);
115 if (query.display != NULL) {
116 memcpy(display, query.display, sizeof(struct mod_hdcp_display));
246 struct mod_hdcp_display_query query; local in function:event_property_validate
254 query.encryption_status = MOD_HDCP_ENCRYPTION_STATUS_HDCP_OFF;
255 mod_hdcp_query_display(&hdcp_work->hdcp, aconnector->base.index, &query);
257 if (query.encryption_status != hdcp_work->encryption_status) {
258 hdcp_work->encryption_status = query.encryption_status
    [all...]
  /src/usr.bin/audiocfg/
audiodev.c 58 audio_format_query_t query; local in function:audiodev_getinfo
78 memset(&query, 0, sizeof(query));
79 query.index = i;
80 if (ioctl(adev->ctlfd, AUDIO_QUERYFORMAT, &query) == -1) {
92 f->fmt = query.fmt;
  /src/usr.bin/error/
main.c 56 FILE *queryfile; /* input for the query responses from the user */
74 bool query = false; /* query the operator if touch files */ variable in typeref:typename:bool
114 query = true;
154 if (query)
155 err(1, "Cannot open `%s' to query the user", im_on);
205 if (query) {
  /src/common/lib/libc/gen/
rpst.c 563 query(uint64_t max_y, uint64_t min_x, uint64_t max_x) function in typeref:typename:unsigned int
677 assert(min_y == 0 || 0 == query(min_y - 1, 0, UINT64_MAX));
679 0 == query(UINT64_MAX, max_x + 1, UINT64_MAX));
680 assert(min_x == 0 || 0 == query(UINT64_MAX, 0, min_x - 1));
682 done = query(max_y, min_x, max_x);
685 done = query(UINT64_MAX, 0, UINT64_MAX);
689 query(max_y / 2, min_x, max_x);
690 query(max_y, min_x + w / 2, max_x);
691 query(max_y / 2, min_x + w / 2, max_x);
692 query(max_y / 2, min_x, max_x - w / 2)
    [all...]
  /src/libexec/httpd/
lua-bozo.c 248 /* decode query string */
291 lua_decode_query(lua_State *L, char *query)
295 s = strtok(query, "&");
311 char *s, *query, *uri, *file, *command, *info, *content; local in function:bozo_process_lua
320 query = NULL;
338 query = bozostrdup(httpd, request, request->hr_query);
387 if (query && *query)
388 lua_env(map->L, "QUERY_STRING", query);
411 /* Pass the query variables *
    [all...]
cgi-bozo.c 214 parse_search_string(bozo_httpreq_t *request, const char *query, size_t *args_len)
223 if (strchr(query, '='))
226 str = bozostrdup(httpd, request, query);
229 * there's no more arguments than '+' chars in the query string as it's
378 char *query, *s, *t, *path, *env, *command, *file, *url; local in function:bozo_process_cgi
407 query = bozostrdup(httpd, request, request->hr_query);
409 query = NULL;
413 query ? "?" : "",
414 query ? query : "")
    [all...]
bozohttpd.c 283 * we allocate into file and query, but return pointers into
288 char **query, char **proto)
295 *method = *file = *query = *proto = NULL;
314 *query = strchr(*file, '?');
315 if (*query)
316 *(*query)++ = '\0';
328 if (*query)
329 *query = bozostrdup(httpd, NULL, *query);
332 "url: method: \"%s\" file: \"%s\" query: \"%s\" proto: \"%s\""
612 char *str, *val, *method, *file, *proto, *query; local in function:bozo_read_request
1067 const char *scheme, *query, *quest; local in function:handle_redirect
    [all...]
  /src/sbin/dump/
optr.c 73 * Query the operator; This previously-fascist piece of code
87 query(const char *question) function in typeref:typename:int
107 quit("excessive operator query failures");
179 if (query("Do you want to abort dump?"))
  /src/sys/external/bsd/drm2/dist/drm/i915/
i915_query.c 109 struct drm_i915_query_engine_info query; local in function:query_engine_info
124 ret = copy_query_item(&query, sizeof(query), len, query_item);
128 if (query.num_engines || query.rsvd[0] || query.rsvd[1] ||
129 query.rsvd[2])
142 query.num_engines++;
146 if (__copy_to_user(query_ptr, &query, sizeof(query)))
    [all...]
  /src/sys/arch/xen/xen/
xengnt.c 101 struct gnttab_query_size query; local in function:xengnt_init
116 query.dom = DOMID_SELF;
117 rc = HYPERVISOR_grant_table_op(GNTTABOP_query_size, &query, 1);
118 if ((rc < 0) || (query.status != GNTST_okay))
121 gnt_max_grant_frames = query.max_nr_frames;
  /src/usr.sbin/makemandb/
apropos.c 158 char *query = NULL; // the user query local in function:main
208 query = remove_stopwords(lower(str));
211 * If the query consisted only of stopwords and we removed all of
212 * them, use the original query.
214 if (query == NULL)
215 query = str;
238 args.search_str = query;
252 "collapse;\" border=\"1\">\n", query);
260 free(query);
    [all...]
apropos-utils.c 418 warnx("Unable to query schema version: %s",
424 warnx("Unable to query schema version: %s",
463 * For each phrase of the query, it computes the tf and idf and adds them over.
540 * generates sql query for matching the user entered query
549 char *query = NULL; local in function:generate_search_query
565 /* We want to build a query of the form: "select x,y,z from mandb where
566 * mandb match :query [AND (section IN ('1', '2')]
597 query = sqlite3_mprintf("SELECT section, name, name_desc, machine"
608 * If it's a single word query, we want to search in th
748 char *query; local in function:run_query_internal
    [all...]
  /src/usr.sbin/altq/libaltq/
quip_server.c 67 w[REQ_MAXSIZE], *cp, *query; local in function:quip_input
97 if ((query = strchr(w, '?')) != NULL) {
98 /* request has a query string */
99 *query = '\0';
100 query++;
104 n = query_list(w, query, body, BODY_MAXSIZE);
106 n = query_handle2name(w, query, body, BODY_MAXSIZE);
108 n = query_qdisc(w, query, body, BODY_MAXSIZE);
110 n = query_filterspec(w, query, body, BODY_MAXSIZE);
  /src/libexec/ld.elf_so/
paths.c 417 struct sysctlnode query, *result, *newresult; local in function:_rtld_sysctl
437 memset(&query, 0, sizeof(query));
438 query.sysctl_flags = SYSCTL_VERSION;
441 if (__sysctl(mib, miblen + 1, result, &n, &query,
442 sizeof(query)) == -1) {
451 if (__sysctl(mib, miblen + 1, result, &n, &query,
452 sizeof(query)) == -1)
  /src/usr.bin/rdist/
server.c 77 static void query(char *);
92 * Qname - Query if file exists. Return mtime & size if it does.
174 case 'Q': /* Query. Does the file/directory exist? */
175 query(cp);
701 * Query. Check to see if file exists. Return one of the following:
708 query(char *name) function in typeref:typename:void
1169 case 'Q': /* Query if file should be removed */
1171 * Return the following codes to remove query.
  /src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
amdgpu_pm.c 2435 u32 query = 0; local in function:amdgpu_hwmon_show_power_avg
2445 (void *)&query, &size);
2454 uw = (query >> 8) * 1000000 + (query & 0xff) * 1000;
2854 attr == &sensor_dev_attr_pwm1.dev_attr.attr) || /* can't query fan */
2856 attr == &sensor_dev_attr_pwm1_enable.dev_attr.attr)) /* can't query state */
2876 /* hide max/min values if we can't both query and manage the fan */
3545 uint32_t query = 0; local in function:amdgpu_debugfs_pm_info_pp
3564 if (!amdgpu_dpm_read_sensor(adev, AMDGPU_PP_SENSOR_GPU_POWER, (void *)&query, &size))
3565 seq_printf(m, "\t%u.%u W (average GPU)\n", query >> 8, query & 0xff)
    [all...]
  /src/usr.sbin/mtrace/
mtrace.c 80 #define MULTICAST_TTL1 64 /* Default TTL for multicast query/response */
85 u_long qtime; /* Time query was issued */
91 struct tr_query q; /* Query/response header */
123 * Query/response parameters, all initialized to zero and set later
126 u_int32_t qsrc = 0; /* Source address in the query */
127 u_int32_t qgrp = 0; /* Group address in the query */
128 u_int32_t qdst = 0; /* Destination (receiver) address in query */
129 u_char qno = 0; /* Max number of hops to query */
131 int qttl = 0; /* TTL for the query packet */
397 struct tr_query *query, *rquery local in function:send_recv
    [all...]
  /src/sys/dev/
video.c 562 struct v4l2_queryctrl *query)
572 v4l2id_to_control_id(query->id);
582 query->type = control_type_to_v4l2type(desc.type);
583 memcpy(query->name, desc.name, 32);
584 query->minimum = desc.min;
585 query->maximum = desc.max;
586 query->step = desc.step;
587 query->default_value = desc.def;
588 query->flags = control_flags_to_v4l2flags(desc.flags);
1991 struct v4l2_queryctrl *query; local in function:videoioctl
    [all...]

Completed in 27 milliseconds

1 2