Home
last modified time | relevance | path

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

12345678910>>...95

/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/
Dgstglquery.c116 GstGLQuery *query = user_data; in _log_time() local
119 result = gst_gl_query_result (query); in _log_time()
133 gst_gl_query_init (GstGLQuery * query, GstGLContext * context, in gst_gl_query_init() argument
139 g_return_if_fail (query != NULL); in gst_gl_query_init()
145 memset (query, 0, sizeof (*query)); in gst_gl_query_init()
149 query->query_type = gl_query_type; in gst_gl_query_init()
150 query->context = gst_object_ref (context); in gst_gl_query_init()
151 query->supported = _context_supports_query_type (context, query->query_type); in gst_gl_query_init()
153 if (query->supported) in gst_gl_query_init()
154 gl->GenQueries (1, &query->query_id); in gst_gl_query_init()
[all …]
Dgstglquery.h62 void gst_gl_query_init (GstGLQuery * query,
66 void gst_gl_query_unset (GstGLQuery * query);
71 void gst_gl_query_free (GstGLQuery * query);
74 void gst_gl_query_start (GstGLQuery * query);
76 void gst_gl_query_end (GstGLQuery * query);
78 void gst_gl_query_counter (GstGLQuery * query);
80 guint64 gst_gl_query_result (GstGLQuery * query);
82 #define gst_gl_query_start_log_valist(query,cat,level,object,format,varargs) \ argument
84 GST_GL_ASYNC_CAT_LEVEL_LOG_valist (&(query)->debug, cat, level, object, format, varargs); \
85 gst_gl_async_debug_freeze (&(query)->debug); \
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dgas_query.c78 struct gas_query_pending *query);
135 static void gas_query_free(struct gas_query_pending *query, int del_list) in gas_query_free() argument
137 struct gas_query *gas = query->gas; in gas_query_free()
140 dl_list_del(&query->list); in gas_query_free()
142 if (gas->work && gas->work->ctx == query) { in gas_query_free()
147 wpabuf_free(query->req); in gas_query_free()
148 wpabuf_free(query->adv_proto); in gas_query_free()
149 wpabuf_free(query->resp); in gas_query_free()
150 os_free(query); in gas_query_free()
155 struct gas_query_pending *query, in gas_query_done() argument
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dgas_query_ap.c73 struct gas_query_pending *query);
130 static void gas_query_free(struct gas_query_pending *query, int del_list) in gas_query_free() argument
133 dl_list_del(&query->list); in gas_query_free()
135 wpabuf_free(query->req); in gas_query_free()
136 wpabuf_free(query->adv_proto); in gas_query_free()
137 wpabuf_free(query->resp); in gas_query_free()
138 os_free(query); in gas_query_free()
143 struct gas_query_pending *query, in gas_query_done() argument
148 MAC2STR(query->addr), query->dialog_token, query->freq, in gas_query_done()
149 query->status_code, gas_result_txt(result)); in gas_query_done()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dgas_query_ap.c73 struct gas_query_pending *query);
130 static void gas_query_free(struct gas_query_pending *query, int del_list) in gas_query_free() argument
133 dl_list_del(&query->list); in gas_query_free()
135 wpabuf_free(query->req); in gas_query_free()
136 wpabuf_free(query->adv_proto); in gas_query_free()
137 wpabuf_free(query->resp); in gas_query_free()
138 os_free(query); in gas_query_free()
143 struct gas_query_pending *query, in gas_query_done() argument
148 MAC2STR(query->addr), query->dialog_token, query->freq, in gas_query_done()
149 query->status_code, gas_result_txt(result)); in gas_query_done()
[all …]
Dieee802_11_auth.c96 static void hostapd_acl_query_free(struct hostapd_acl_query_data *query) in hostapd_acl_query_free() argument
98 if (query == NULL) in hostapd_acl_query_free()
100 os_free(query->auth_msg); in hostapd_acl_query_free()
101 os_free(query); in hostapd_acl_query_free()
107 struct hostapd_acl_query_data *query) in hostapd_radius_acl_query() argument
112 query->radius_id = radius_client_get_id(hapd->radius); in hostapd_radius_acl_query()
113 msg = radius_msg_new(RADIUS_CODE_ACCESS_REQUEST, query->radius_id); in hostapd_radius_acl_query()
229 struct hostapd_acl_query_data *query; in hostapd_allowed_address()
248 query = hapd->acl_queries; in hostapd_allowed_address()
249 while (query) { in hostapd_allowed_address()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dgas_query.c79 struct gas_query_pending *query);
136 static void gas_query_free(struct gas_query_pending *query, int del_list) in gas_query_free() argument
138 struct gas_query *gas = query->gas; in gas_query_free()
141 dl_list_del(&query->list); in gas_query_free()
143 if (gas->work && gas->work->ctx == query) { in gas_query_free()
148 wpabuf_free(query->req); in gas_query_free()
149 wpabuf_free(query->adv_proto); in gas_query_free()
150 wpabuf_free(query->resp); in gas_query_free()
151 os_free(query); in gas_query_free()
156 struct gas_query_pending *query, in gas_query_done() argument
[all …]
/third_party/mesa3d/src/intel/perf/
Dintel_perf_mdapi.c37 const struct intel_perf_query_info *query, in intel_perf_query_result_write_mdapi() argument
57 mdapi_data->PerfCounter1 = result->accumulator[query->perfcnt_offset + 0]; in intel_perf_query_result_write_mdapi()
58 mdapi_data->PerfCounter2 = result->accumulator[query->perfcnt_offset + 1]; in intel_perf_query_result_write_mdapi()
81 mdapi_data->PerfCounter1 = result->accumulator[query->perfcnt_offset + 0]; in intel_perf_query_result_write_mdapi()
82 mdapi_data->PerfCounter2 = result->accumulator[query->perfcnt_offset + 1]; in intel_perf_query_result_write_mdapi()
115 mdapi_data->PerfCounter1 = result->accumulator[query->perfcnt_offset + 0]; in intel_perf_query_result_write_mdapi()
116 mdapi_data->PerfCounter2 = result->accumulator[query->perfcnt_offset + 1]; in intel_perf_query_result_write_mdapi()
146 struct intel_perf_query_info *query = in intel_perf_register_mdapi_statistic_query() local
149 query->kind = INTEL_PERF_QUERY_TYPE_PIPELINE; in intel_perf_register_mdapi_statistic_query()
150 query->name = "Intel_Raw_Pipeline_Statistics_Query"; in intel_perf_register_mdapi_statistic_query()
[all …]
Dintel_perf_setup.h35 struct intel_perf_query_info *query = rzalloc(perf, struct intel_perf_query_info); in intel_query_alloc() local
36 query->perf = perf; in intel_query_alloc()
37 query->kind = INTEL_PERF_QUERY_TYPE_OA; in intel_query_alloc()
38 query->n_counters = 0; in intel_query_alloc()
39 query->oa_metrics_set_id = 0; /* determined at runtime, via sysfs */ in intel_query_alloc()
40 query->counters = rzalloc_array(query, struct intel_perf_query_counter, ncounters); in intel_query_alloc()
41 return query; in intel_query_alloc()
47 struct intel_perf_query_info *query = intel_query_alloc(perf, ncounters); in hsw_query_alloc() local
48 query->oa_format = I915_OA_FORMAT_A45_B8_C8; in hsw_query_alloc()
50 query->gpu_time_offset = 0; in hsw_query_alloc()
[all …]
Dintel_perf_query.c340 const struct intel_perf_query_info *query) in intel_perf_close() argument
346 if (query && query->kind == INTEL_PERF_QUERY_TYPE_RAW) { in intel_perf_close()
348 (struct intel_perf_query_info *) query; in intel_perf_close()
427 const struct intel_perf_query_info *query) in get_metric_id() argument
432 if (query->kind == INTEL_PERF_QUERY_TYPE_OA) in get_metric_id()
433 return query->oa_metrics_set_id; in get_metric_id()
435 assert(query->kind == INTEL_PERF_QUERY_TYPE_RAW); in get_metric_id()
442 if (query->oa_metrics_set_id != 0) { in get_metric_id()
444 query->name, query->guid, query->oa_metrics_set_id); in get_metric_id()
445 return query->oa_metrics_set_id; in get_metric_id()
[all …]
Dintel_perf_private.h40 intel_perf_query_add_stat_reg(struct intel_perf_query_info *query, uint32_t reg, in intel_perf_query_add_stat_reg() argument
46 assert(query->n_counters < query->max_counters); in intel_perf_query_add_stat_reg()
48 counter = &query->counters[query->n_counters]; in intel_perf_query_add_stat_reg()
53 counter->offset = sizeof(uint64_t) * query->n_counters; in intel_perf_query_add_stat_reg()
58 query->n_counters++; in intel_perf_query_add_stat_reg()
62 intel_perf_query_add_basic_stat_reg(struct intel_perf_query_info *query, in intel_perf_query_add_basic_stat_reg() argument
65 intel_perf_query_add_stat_reg(query, reg, 1, 1, name, name); in intel_perf_query_add_basic_stat_reg()
71 struct intel_perf_query_info *query; in intel_perf_append_query_info() local
76 query = &perf->queries[perf->n_queries - 1]; in intel_perf_append_query_info()
77 memset(query, 0, sizeof(*query)); in intel_perf_append_query_info()
[all …]
/third_party/node/deps/cares/src/lib/
Dares_send.c32 struct query *query; in ares_send() local
48 query = ares_malloc(sizeof(struct query)); in ares_send()
49 if (!query) in ares_send()
54 query->tcpbuf = ares_malloc(qlen + 2); in ares_send()
55 if (!query->tcpbuf) in ares_send()
57 ares_free(query); in ares_send()
61 query->server_info = ares_malloc(channel->nservers * in ares_send()
62 sizeof(query->server_info[0])); in ares_send()
63 if (!query->server_info) in ares_send()
65 ares_free(query->tcpbuf); in ares_send()
[all …]
Dares_process.c75 static void skip_server(ares_channel channel, struct query *query,
77 static void next_server(ares_channel channel, struct query *query,
85 static void end_query(ares_channel channel, struct query *query, int status,
558 struct query *query; in process_timeouts() local
572 query = list_node->data; in process_timeouts()
574 if (query->timeout.tv_sec && ares__timedout(now, &query->timeout)) in process_timeouts()
576 query->error_status = ARES_ETIMEOUT; in process_timeouts()
577 ++query->timeouts; in process_timeouts()
578 next_server(channel, query, now); in process_timeouts()
592 struct query *query; in process_answer() local
[all …]
/third_party/gstreamer/gstreamer/gst/
Dgstquery.c73 GstQuery query; member
188 _gst_query_free (GstQuery * query) in _gst_query_free() argument
192 g_return_if_fail (query != NULL); in _gst_query_free()
194 s = GST_QUERY_STRUCTURE (query); in _gst_query_free()
200 memset (query, 0xff, sizeof (GstQueryImpl)); in _gst_query_free()
203 g_slice_free1 (sizeof (GstQueryImpl), query); in _gst_query_free()
207 _gst_query_copy (GstQuery * query) in _gst_query_copy() argument
212 s = GST_QUERY_STRUCTURE (query); in _gst_query_copy()
216 copy = gst_query_new_custom (query->type, s); in _gst_query_copy()
236 GstQuery *query; in gst_query_new_position() local
[all …]
Dgstquery.h145 #define GST_QUERY_TYPE(query) (((GstQuery*)(query))->type) argument
153 #define GST_QUERY_TYPE_NAME(query) (gst_query_type_get_name(GST_QUERY_TYPE(query))) argument
318 gst_query_get_structure (GstQuery *query);
321 GstStructure * gst_query_writable_structure (GstQuery *query);
329 void gst_query_set_position (GstQuery *query, GstFormat format, gint64 cur);
332 void gst_query_parse_position (GstQuery *query, GstFormat *format, gint64 *cur);
340 void gst_query_set_duration (GstQuery *query, GstFormat format, gint64 duration…
343 void gst_query_parse_duration (GstQuery *query, GstFormat *format, gint64 *durati…
351 void gst_query_set_latency (GstQuery *query, gboolean live, GstClockTime min_l…
355 void gst_query_parse_latency (GstQuery *query, gboolean *live, GstClockTime *min…
[all …]
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_query.c60 struct r600_query_sw *query = (struct r600_query_sw *)rquery; in r600_query_sw_destroy() local
62 rscreen->b.fence_reference(&rscreen->b, &query->fence, NULL); in r600_query_sw_destroy()
63 FREE(query); in r600_query_sw_destroy()
95 struct r600_query_sw *query = (struct r600_query_sw *)rquery; in r600_query_sw_begin() local
98 switch(query->b.type) { in r600_query_sw_begin()
103 query->begin_result = rctx->num_draw_calls; in r600_query_sw_begin()
106 query->begin_result = rctx->num_decompress_calls; in r600_query_sw_begin()
109 query->begin_result = rctx->num_mrt_draw_calls; in r600_query_sw_begin()
112 query->begin_result = rctx->num_prim_restart_calls; in r600_query_sw_begin()
115 query->begin_result = rctx->num_spill_draw_calls; in r600_query_sw_begin()
[all …]
/third_party/gstreamer/gstreamer/tests/check/gst/
Dgstquery.c26 GstQuery *query; in GST_START_TEST() local
33 query = gst_query_new_position (GST_FORMAT_TIME); in GST_START_TEST()
34 fail_if (query == NULL); in GST_START_TEST()
35 fail_unless (GST_QUERY_TYPE (query) == GST_QUERY_POSITION); in GST_START_TEST()
37 gst_query_parse_position (query, &format, NULL); in GST_START_TEST()
40 gst_query_set_position (query, GST_FORMAT_TIME, 0xdeadbeaf); in GST_START_TEST()
42 gst_query_parse_position (query, &format, &position); in GST_START_TEST()
46 gst_query_unref (query); in GST_START_TEST()
53 query = gst_query_new_duration (GST_FORMAT_TIME); in GST_START_TEST()
54 fail_if (query == NULL); in GST_START_TEST()
[all …]
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_query.c63 struct si_query_sw *query = (struct si_query_sw *)squery; in si_query_sw_destroy() local
65 sctx->b.screen->fence_reference(sctx->b.screen, &query->fence, NULL); in si_query_sw_destroy()
66 FREE(query); in si_query_sw_destroy()
121 struct si_query_sw *query = (struct si_query_sw *)squery; in si_query_sw_begin() local
124 switch (query->b.type) { in si_query_sw_begin()
129 query->begin_result = sctx->num_draw_calls; in si_query_sw_begin()
132 query->begin_result = sctx->num_decompress_calls; in si_query_sw_begin()
135 query->begin_result = sctx->num_prim_restart_calls; in si_query_sw_begin()
138 query->begin_result = sctx->num_compute_calls; in si_query_sw_begin()
141 query->begin_result = sctx->num_cp_dma_calls; in si_query_sw_begin()
[all …]
Dgfx10_query.c140 struct gfx10_sh_query *query = (struct gfx10_sh_query *)rquery; in gfx10_sh_query_destroy() local
141 gfx10_release_query_buffers(sctx, query->first, query->last); in gfx10_sh_query_destroy()
142 FREE(query); in gfx10_sh_query_destroy()
147 struct gfx10_sh_query *query = (struct gfx10_sh_query *)rquery; in gfx10_sh_query_begin() local
149 gfx10_release_query_buffers(sctx, query->first, query->last); in gfx10_sh_query_begin()
150 query->first = query->last = NULL; in gfx10_sh_query_begin()
155 query->first = list_last_entry(&sctx->shader_query_buffers, struct gfx10_sh_query_buffer, list); in gfx10_sh_query_begin()
156 query->first_begin = query->first->head; in gfx10_sh_query_begin()
159 query->first->refcount++; in gfx10_sh_query_begin()
166 struct gfx10_sh_query *query = (struct gfx10_sh_query *)rquery; in gfx10_sh_query_end() local
[all …]
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_query.c311 needs_stats_list(struct zink_query *query) in needs_stats_list() argument
313 return is_emulated_primgen(query) || in needs_stats_list()
314 query->type == PIPE_QUERY_SO_OVERFLOW_ANY_PREDICATE || in needs_stats_list()
315 query->type == PIPE_QUERY_SO_OVERFLOW_PREDICATE; in needs_stats_list()
319 is_time_query(struct zink_query *query) in is_time_query() argument
321 return query->type == PIPE_QUERY_TIMESTAMP || query->type == PIPE_QUERY_TIME_ELAPSED; in is_time_query()
325 is_so_overflow_query(struct zink_query *query) in is_so_overflow_query() argument
327 …return query->type == PIPE_QUERY_SO_OVERFLOW_ANY_PREDICATE || query->type == PIPE_QUERY_SO_OVERFLO… in is_so_overflow_query()
331 is_bool_query(struct zink_query *query) in is_bool_query() argument
333 return is_so_overflow_query(query) || in is_bool_query()
[all …]
/third_party/mesa3d/src/gallium/drivers/virgl/
Dvirgl_query.c88 struct virgl_query *query = virgl_query(q); in virgl_render_condition() local
91 handle = query->handle; in virgl_render_condition()
99 struct virgl_query *query; in virgl_create_query() local
101 query = CALLOC_STRUCT(virgl_query); in virgl_create_query()
102 if (!query) in virgl_create_query()
105 query->buf = (struct virgl_resource *) in virgl_create_query()
108 if (!query->buf) { in virgl_create_query()
109 FREE(query); in virgl_create_query()
113 query->handle = virgl_object_assign_handle(); in virgl_create_query()
114 query->result_size = (query_type == PIPE_QUERY_TIMESTAMP || in virgl_create_query()
[all …]
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_query.c121 struct vc4_query *query = calloc(1, sizeof(*query)); in vc4_create_batch_query() local
125 if (!query) in vc4_create_batch_query()
138 return (struct pipe_query *)query; in vc4_create_batch_query()
148 query->hwperfmon = hwperfmon; in vc4_create_batch_query()
149 query->num_queries = num_queries; in vc4_create_batch_query()
152 return (struct pipe_query *)query; in vc4_create_batch_query()
155 free(query); in vc4_create_batch_query()
170 struct vc4_query *query = (struct vc4_query *)pquery; in vc4_destroy_query() local
172 if (query->hwperfmon && query->hwperfmon->id) { in vc4_destroy_query()
173 if (query->hwperfmon->id) { in vc4_destroy_query()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/hud/
Dhud_driver_query.c50 struct pipe_query *query[NUM_QUERIES]; member
62 if (bq->query[bq->head]) in hud_batch_query_update()
63 pipe->end_query(pipe, bq->query[bq->head]); in hud_batch_query_update()
69 struct pipe_query *query = bq->query[idx]; in hud_batch_query_update() local
80 if (!pipe->get_query_result(pipe, query, FALSE, bq->result[idx])) in hud_batch_query_update()
94 assert(bq->query[bq->head]); in hud_batch_query_update()
96 pipe->destroy_query(pipe, bq->query[bq->head]); in hud_batch_query_update()
97 bq->query[bq->head] = NULL; in hud_batch_query_update()
102 if (!bq->query[bq->head]) { in hud_batch_query_update()
103 bq->query[bq->head] = pipe->create_batch_query(pipe, in hud_batch_query_update()
[all …]
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_query.cpp135 struct d3d12_query *query = CALLOC_STRUCT(d3d12_query); in d3d12_create_query() local
138 if (!query) in d3d12_create_query()
141 query->type = (pipe_query_type)query_type; in d3d12_create_query()
144 query->subqueries[i].d3d12qtype = d3d12_query_type(query_type, i, index); in d3d12_create_query()
145 query->subqueries[i].num_queries = 16; in d3d12_create_query()
151 query->subqueries[i].num_queries = 64; in d3d12_create_query()
153 query->subqueries[i].num_queries = 1; in d3d12_create_query()
155 query->subqueries[i].curr_query = 0; in d3d12_create_query()
156 desc.Count = query->subqueries[i].num_queries; in d3d12_create_query()
161 query->subqueries[i].query_size = sizeof(D3D12_QUERY_DATA_PIPELINE_STATISTICS); in d3d12_create_query()
[all …]
/third_party/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_query.c43 struct svga_winsys_gb_query *query; in vmw_svga_winsys_query_create() local
45 query = CALLOC_STRUCT(svga_winsys_gb_query); in vmw_svga_winsys_query_create()
46 if (!query) in vmw_svga_winsys_query_create()
52 query->buf = vmw_svga_winsys_buffer_wrap(pb_buf); in vmw_svga_winsys_query_create()
54 if (!query->buf) { in vmw_svga_winsys_query_create()
56 FREE(query); in vmw_svga_winsys_query_create()
57 query = NULL; in vmw_svga_winsys_query_create()
60 return query; in vmw_svga_winsys_query_create()
67 struct svga_winsys_gb_query *query) in vmw_svga_winsys_query_destroy() argument
69 vmw_svga_winsys_buffer_destroy(sws, query->buf); in vmw_svga_winsys_query_destroy()
[all …]

12345678910>>...95