query
TS_REQ *query = NULL;
query = d2i_TS_REQ_bio(in_bio, NULL);
query = create_query(data_bio, digest, md,
if (query == NULL)
if (!TS_REQ_print_bio(out_bio, query))
if (!i2d_TS_REQ_bio(out_bio, query))
TS_REQ_free(query);
int (*query)(void *ctx, char **name, char **infotxt,
if (kbdintctxt->device->query(kbdintctxt->ctxt,
ret = (sshpam_device.query)(sshpam_ctxt, &name, &info,
u_int16_t query;
if (recvfrom(fd, &query, sizeof query, 0, &fromaddr, &fromlen) == -1)
fprintf(stderr, "query %d (%s) from %s:%d\n", query,
query == C_MESSAGE ? "C_MESSAGE" :
query == C_SCORES ? "C_SCORES" :
query == C_PLAYER ? "C_PLAYER" :
query == C_MONITOR ? "C_MONITOR" : "?",
query = ntohs(query);
switch (query) {
if (query == C_MONITOR && Nplayer <= 0)
logit(LOG_INFO, "unknown udp query %d", query);
if (query("Another game?")) {
if (query("Really quit?"))
int query(const char *);
# define DprintQ(cond, args, query, size) /*empty*/
# define DprintQ(cond, args, query, size) if (cond) {\
res_pquery(statp, query, size, stdout);\
tre_config(int query, void *result);
int query(const char *);
if (query("Do you want to abort dump?"))
if (!query("Do you want to restart?"))
while (!query("Is the new volume mounted and ready to go?"))
if (query("Do you want to abort?")) {
if (!query("Do you want to retry the open?"))
if (!query("Do you want to attempt to continue?")){
query->type = sub_info->v4l2_type;
strlcpy(query->name, sub_info->v4l2_name, sizeof(query->name));
query->flags = 0;
query->minimum = 0;
query->maximum = 1;
query->step = 1;
query->minimum = 0;
query->maximum = 0;
query->step = 0;
query->minimum = 0;
query->maximum = menu_item_num - 1;
query->step = 1;
if (menu_items[i].value == query->default_value) {
query->default_value = i;
uvc_query_v4l2_ctrl(struct uvc_drv_video *video, struct v4l2_queryctrl *query)
ctrl = uvc_search_control(video->ctrl, query->id);
ret = uvc_query_v4l2_ctrl_sub(ctrl, query);
uvc_query_v4l2_ctrl_sub(struct uvc_control *ctrl, struct v4l2_queryctrl *query)
memset(query, 0, sizeof(*query));
query->id = sub_info->v4l2_id;
uvc_drv_do_request(struct usb_device *udev, uint8_t query, uint8_t unit,
req.bRequest = query;
type |= (query & 0x80) ? UT_READ : UT_WRITE;
kprintf("%s-%d-%s\n", __func__, query, usbd_errstr(err));
struct uvc_data_request *req, int probe, uint8_t query)
ret = uvc_drv_do_request(video->sc->udev, query, 0,
if (query != GET_MIN && query != GET_MAX)
__func__, q->query, q->unit, q->selector, q->size);
if (!(q->query & 0x80))
ret = uvc_drv_do_request(v->sc->udev, q->query, q->unit, 0, q->selector,
if (q->query & 0x80)
int32_t (*get)(struct uvc_ctrl_sub_info *this, uint8_t query,
uint8_t query;
switch (info->query) {
DRM_DEBUG_KMS("Invalid request %d\n", info->query);
u32 query = 0;
(void *)&query, &size);
uw = (query >> 8) * 1000000 + (query & 0xff) * 1000;
uint32_t query = 0;
if (!amdgpu_dpm_read_sensor(adev, AMDGPU_PP_SENSOR_GPU_POWER, (void *)&query, &size))
seq_printf(m, "\t%u.%u W (average GPU)\n", query >> 8, query & 0xff);
static int smu7_get_gpu_power(struct pp_hwmgr *hwmgr, u32 *query)
if (!query)
*query = tmp;
*query = tmp;
uint32_t *query)
if (!query)
*query = value << 8;
static int vega12_get_gpu_power(struct pp_hwmgr *hwmgr, uint32_t *query)
*query = value << 8;
uint32_t *query)
*query = metrics_table.CurrSocketPower << 8;
__u32 query;
uint32_t query;
int query;
if (dsp_cdevs[i].query == DSP_CDEV_TYPE_WRONLY) {
} else if (dsp_cdevs[i].query == DSP_CDEV_TYPE_RDONLY) {
query = argv + optind;
for (; (name = *query) != NULL; query++) {
static char **query;
whois(const char *query, const char *hostname, int flags)
fprintf(sfo, "-T dn,ace -C US-ASCII %s\r\n", query);
fprintf(sfo, "%s\r\n", query);
whois(query, nhost, 0);