Home
last modified time | relevance | path

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

12345678910>>...42

/external/wpa_supplicant_8/wpa_supplicant/
Dgas_query.c77 struct gas_query_pending *query);
132 static void gas_query_free(struct gas_query_pending *query, int del_list) in gas_query_free() argument
134 struct gas_query *gas = query->gas; in gas_query_free()
137 dl_list_del(&query->list); in gas_query_free()
139 if (gas->work && gas->work->ctx == query) { in gas_query_free()
144 wpabuf_free(query->req); in gas_query_free()
145 wpabuf_free(query->adv_proto); in gas_query_free()
146 wpabuf_free(query->resp); in gas_query_free()
147 os_free(query); in gas_query_free()
152 struct gas_query_pending *query, in gas_query_done() argument
[all …]
/external/c-ares/
Dares_send.c44 struct query *query; in ares_send() local
56 query = malloc(sizeof(struct query)); in ares_send()
57 if (!query) in ares_send()
62 query->tcpbuf = malloc(qlen + 2); in ares_send()
63 if (!query->tcpbuf) in ares_send()
65 free(query); in ares_send()
69 query->server_info = malloc(channel->nservers * in ares_send()
70 sizeof(query->server_info[0])); in ares_send()
71 if (!query->server_info) in ares_send()
73 free(query->tcpbuf); in ares_send()
[all …]
Dares_process.c90 static void skip_server(ares_channel channel, struct query *query,
92 static void next_server(ares_channel channel, struct query *query,
99 static void end_query(ares_channel channel, struct query *query, int status,
506 struct query *query; in process_timeouts() local
521 query = list_node->data; in process_timeouts()
523 if (query->timeout.tv_sec && ares__timedout(now, &query->timeout)) in process_timeouts()
525 query->error_status = ARES_ETIMEOUT; in process_timeouts()
526 ++query->timeouts; in process_timeouts()
527 next_server(channel, query, now); in process_timeouts()
541 struct query *query; in process_answer() local
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_queryobj.c88 struct brw_query_object *query) in brw_queryobj_get_results() argument
97 if (query->bo == NULL) in brw_queryobj_get_results()
104 if (drm_intel_bo_references(brw->batch.bo, query->bo)) in brw_queryobj_get_results()
108 if (drm_intel_bo_busy(query->bo)) { in brw_queryobj_get_results()
113 drm_intel_bo_map(query->bo, false); in brw_queryobj_get_results()
114 results = query->bo->virtual; in brw_queryobj_get_results()
115 switch (query->Base.Target) { in brw_queryobj_get_results()
120 query->Base.Result += 1000 * ((results[1] >> 32) - (results[0] >> 32)); in brw_queryobj_get_results()
125 query->Base.Result = 1000 * (results[0] >> 32); in brw_queryobj_get_results()
139 for (i = 0; i < query->last_index; i++) { in brw_queryobj_get_results()
[all …]
Dgen6_queryobj.c43 set_query_availability(struct brw_context *brw, struct brw_query_object *query, in set_query_availability() argument
62 brw_is_query_pipelined(query)) { in set_query_availability()
65 query->bo, 2 * sizeof(uint64_t), in set_query_availability()
160 struct brw_query_object *query) in gen6_queryobj_get_results() argument
164 if (query->bo == NULL) in gen6_queryobj_get_results()
167 brw_bo_map(brw, query->bo, false, "query object"); in gen6_queryobj_get_results()
168 uint64_t *results = query->bo->virtual; in gen6_queryobj_get_results()
169 switch (query->Base.Target) { in gen6_queryobj_get_results()
174 query->Base.Result += 80 * (results[1] - results[0]); in gen6_queryobj_get_results()
196 query->Base.Result = 80 * (results[0] & 0xffffffff); in gen6_queryobj_get_results()
[all …]
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_queryobj.c37 struct radeon_query_object *query = (struct radeon_query_object *)q; in radeonQueryGetResult() local
43 __func__, query->Base.Id, (int) query->Base.Result); in radeonQueryGetResult()
45 radeon_bo_map(query->bo, GL_FALSE); in radeonQueryGetResult()
46 result = query->bo->ptr; in radeonQueryGetResult()
48 query->Base.Result = 0; in radeonQueryGetResult()
49 for (i = 0; i < query->curr_offset/sizeof(uint32_t); ++i) { in radeonQueryGetResult()
50 query->Base.Result += LE32_TO_CPU(result[i]); in radeonQueryGetResult()
54 radeon_bo_unmap(query->bo); in radeonQueryGetResult()
59 struct radeon_query_object *query; in radeonNewQueryObject() local
61 query = calloc(1, sizeof(struct radeon_query_object)); in radeonNewQueryObject()
[all …]
Dradeon_queryobj.h44 radeon->query.queryobj.cmd_size = (SZ); in radeon_init_query_stateobj()
45 radeon->query.queryobj.cmd = calloc(SZ, sizeof(uint32_t)); in radeon_init_query_stateobj()
46 radeon->query.queryobj.name = "queryobj"; in radeon_init_query_stateobj()
47 radeon->query.queryobj.idx = 0; in radeon_init_query_stateobj()
48 radeon->query.queryobj.check = radeon_check_query_active; in radeon_init_query_stateobj()
49 radeon->query.queryobj.dirty = GL_FALSE; in radeon_init_query_stateobj()
50 radeon->query.queryobj.emit = radeon_emit_queryobj; in radeon_init_query_stateobj()
53 insert_at_tail(&radeon->hw.atomlist, &radeon->query.queryobj); in radeon_init_query_stateobj()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_queryobj.c37 struct radeon_query_object *query = (struct radeon_query_object *)q; in radeonQueryGetResult() local
43 __func__, query->Base.Id, (int) query->Base.Result); in radeonQueryGetResult()
45 radeon_bo_map(query->bo, GL_FALSE); in radeonQueryGetResult()
46 result = query->bo->ptr; in radeonQueryGetResult()
48 query->Base.Result = 0; in radeonQueryGetResult()
49 for (i = 0; i < query->curr_offset/sizeof(uint32_t); ++i) { in radeonQueryGetResult()
50 query->Base.Result += LE32_TO_CPU(result[i]); in radeonQueryGetResult()
54 radeon_bo_unmap(query->bo); in radeonQueryGetResult()
59 struct radeon_query_object *query; in radeonNewQueryObject() local
61 query = calloc(1, sizeof(struct radeon_query_object)); in radeonNewQueryObject()
[all …]
Dradeon_queryobj.h44 radeon->query.queryobj.cmd_size = (SZ); in radeon_init_query_stateobj()
45 radeon->query.queryobj.cmd = calloc(SZ, sizeof(uint32_t)); in radeon_init_query_stateobj()
46 radeon->query.queryobj.name = "queryobj"; in radeon_init_query_stateobj()
47 radeon->query.queryobj.idx = 0; in radeon_init_query_stateobj()
48 radeon->query.queryobj.check = radeon_check_query_active; in radeon_init_query_stateobj()
49 radeon->query.queryobj.dirty = GL_FALSE; in radeon_init_query_stateobj()
50 radeon->query.queryobj.emit = radeon_emit_queryobj; in radeon_init_query_stateobj()
53 insert_at_tail(&radeon->hw.atomlist, &radeon->query.queryobj); in radeon_init_query_stateobj()
/external/mesa3d/src/gallium/drivers/radeon/
Dr600_query.c54 struct r600_query_sw *query = (struct r600_query_sw *)rquery; in r600_query_sw_destroy() local
56 screen->fence_reference(screen, &query->fence, NULL); in r600_query_sw_destroy()
57 FREE(query); in r600_query_sw_destroy()
84 struct r600_query_sw *query = (struct r600_query_sw *)rquery; in r600_query_sw_begin() local
86 switch(query->b.type) { in r600_query_sw_begin()
91 query->begin_result = rctx->num_draw_calls; in r600_query_sw_begin()
94 query->begin_result = rctx->num_spill_draw_calls; in r600_query_sw_begin()
97 query->begin_result = rctx->num_compute_calls; in r600_query_sw_begin()
100 query->begin_result = rctx->num_spill_compute_calls; in r600_query_sw_begin()
103 query->begin_result = rctx->num_dma_calls; in r600_query_sw_begin()
[all …]
Dr600_perfcounter.c105 struct r600_query_pc *query = (struct r600_query_pc *)rquery; in r600_pc_query_destroy() local
107 while (query->groups) { in r600_pc_query_destroy()
108 struct r600_pc_group *group = query->groups; in r600_pc_query_destroy()
109 query->groups = group->next; in r600_pc_query_destroy()
113 FREE(query->counters); in r600_pc_query_destroy()
131 struct r600_query_pc *query = (struct r600_query_pc *)hwquery; in r600_pc_query_emit_start() local
136 if (query->shaders) in r600_pc_query_emit_start()
137 pc->emit_shaders(ctx, query->shaders); in r600_pc_query_emit_start()
139 for (group = query->groups; group; group = group->next) { in r600_pc_query_emit_start()
162 struct r600_query_pc *query = (struct r600_query_pc *)hwquery; in r600_pc_query_emit_stop() local
[all …]
/external/mesa3d/src/gallium/drivers/virgl/
Dvirgl_query.c52 struct virgl_query *query = virgl_query(q); in virgl_render_condition() local
55 handle = query->handle; in virgl_render_condition()
63 struct virgl_query *query; in virgl_create_query() local
66 query = CALLOC_STRUCT(virgl_query); in virgl_create_query()
67 if (!query) in virgl_create_query()
70 query->buf = (struct virgl_resource *)pipe_buffer_create(ctx->screen, PIPE_BIND_CUSTOM, in virgl_create_query()
72 if (!query->buf) { in virgl_create_query()
73 FREE(query); in virgl_create_query()
78 query->type = query_type; in virgl_create_query()
79 query->index = index; in virgl_create_query()
[all …]
/external/mesa3d/src/gallium/auxiliary/hud/
Dhud_driver_query.c51 struct pipe_query *query[NUM_QUERIES]; member
66 if (bq->query[bq->head]) in hud_batch_query_update()
67 pipe->end_query(pipe, bq->query[bq->head]); in hud_batch_query_update()
73 struct pipe_query *query = bq->query[idx]; in hud_batch_query_update() local
84 if (!pipe->get_query_result(pipe, query, FALSE, bq->result[idx])) in hud_batch_query_update()
98 assert(bq->query[bq->head]); in hud_batch_query_update()
100 pipe->destroy_query(bq->pipe, bq->query[bq->head]); in hud_batch_query_update()
101 bq->query[bq->head] = NULL; in hud_batch_query_update()
106 if (!bq->query[bq->head]) { in hud_batch_query_update()
107 bq->query[bq->head] = pipe->create_batch_query(pipe, in hud_batch_query_update()
[all …]
/external/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 …]
/external/wpa_supplicant_8/src/ap/
Dieee802_11_auth.c137 static void hostapd_acl_query_free(struct hostapd_acl_query_data *query) in hostapd_acl_query_free() argument
139 if (query == NULL) in hostapd_acl_query_free()
141 os_free(query->auth_msg); in hostapd_acl_query_free()
142 os_free(query); in hostapd_acl_query_free()
148 struct hostapd_acl_query_data *query) in hostapd_radius_acl_query() argument
153 query->radius_id = radius_client_get_id(hapd->radius); in hostapd_radius_acl_query()
154 msg = radius_msg_new(RADIUS_CODE_ACCESS_REQUEST, query->radius_id); in hostapd_radius_acl_query()
282 struct hostapd_acl_query_data *query; in hostapd_allowed_address()
294 query = hapd->acl_queries; in hostapd_allowed_address()
295 while (query) { in hostapd_allowed_address()
[all …]
/external/freetype/src/cache/
Dftcbasic.c73 FTC_BasicQuery query = (FTC_BasicQuery)ftcquery; in ftc_basic_family_compare() local
76 return FTC_BASIC_ATTR_COMPARE( &family->attrs, &query->attrs ); in ftc_basic_family_compare()
86 FTC_BasicQuery query = (FTC_BasicQuery)ftcquery; in ftc_basic_family_init() local
91 family->attrs = query->attrs; in ftc_basic_family_init()
287 FTC_BasicQueryRec query; in FTC_ImageCache_Lookup() local
309 query.attrs.scaler.face_id = type->face_id; in FTC_ImageCache_Lookup()
310 query.attrs.scaler.width = type->width; in FTC_ImageCache_Lookup()
311 query.attrs.scaler.height = type->height; in FTC_ImageCache_Lookup()
312 query.attrs.load_flags = (FT_UInt)type->flags; in FTC_ImageCache_Lookup()
314 query.attrs.scaler.pixel = 1; in FTC_ImageCache_Lookup()
[all …]
/external/ltp/testcases/network/stress/ns-tools/
Dns-igmp_querier.c64 struct igmpv3_query *query; member
158 struct igmpv3_query *query; /* pointer to igmpv3_query structure */ in create_query() local
179 query = (struct igmpv3_query *)calloc(1, query_size); in create_query()
180 if (query == NULL) in create_query()
184 query->type = IGMP_HOST_MEMBERSHIP_QUERY; in create_query()
185 query->code = code; in create_query()
186 query->csum = 0; /* Calculate later */ in create_query()
187 query->resv = 0; in create_query()
188 query->suppress = 0; in create_query()
189 query->qrv = 0; in create_query()
[all …]
/external/autotest/frontend/tko/
Drpc_interface.py47 query = models.TestView.objects.get_query_set_with_joins(filter_data)
49 query = models.TestView.query_objects(filter_data, initial_query=query,
51 count_alias, count_sql = models.TestView.objects.get_count_sql(query)
52 query = query.extra(select={count_alias: count_sql})
54 query = query.extra(select=extra_select_fields)
55 query = models.TestView.apply_presentation(query, filter_data)
57 group_processor = tko_rpc_utils.GroupDataProcessor(query, group_by,
68 query = models.TestView.objects.get_query_set_with_joins(filter_data)
69 query = models.TestView.query_objects(filter_data, initial_query=query)
70 return models.TestView.objects.get_num_groups(query, group_by)
[all …]
/external/webrtc/webrtc/libjingle/xmpp/
Dmucroomlookuptask.cc57 XmlElement* query) in MucRoomLookupTask() argument
58 : IqTask(parent, STR_SET, lookup_server_jid, query) { in MucRoomLookupTask()
69 XmlElement* query = new XmlElement(QN_SEARCH_QUERY, true); in MakeNameQuery() local
70 query->AddElement(name_elem); in MakeNameQuery()
71 query->AddElement(domain_elem); in MakeNameQuery()
72 return query; in MakeNameQuery()
79 XmlElement* query = new XmlElement(QN_SEARCH_QUERY); in MakeJidQuery() local
80 query->AddElement(jid_elem); in MakeJidQuery()
81 return query; in MakeJidQuery()
90 XmlElement* query = new XmlElement(QN_SEARCH_QUERY); in MakeExternalIdQuery() local
[all …]
/external/autotest/scheduler/
Dquery_managers.py89 query=('NOT complete AND NOT active AND status="Queued"'
110 query = '%s AND (%s)' % (query, self.hostless_query)
115 where=query, order_by=sort_order))
193 query = models.HostQueueEntry.objects.filter(
198 for hqe in query:
216 query = models.JobKeyval.objects.filter(
219 return dict((keyval.job_id, int(keyval.value)) for keyval in query)
248 def _get_many2many_dict(self, query, id_list, flip=False): argument
251 query %= self._get_sql_id_list(id_list)
252 rows = self._db.execute(query)
[all …]
/external/mesa3d/src/gallium/drivers/r300/
Dr300_query.c73 struct pipe_query* query) in r300_destroy_query() argument
75 struct r300_query* q = r300_query(query); in r300_destroy_query()
78 FREE(query); in r300_destroy_query()
82 struct r300_query *query) in r300_resume_query() argument
84 r300->query_current = query; in r300_resume_query()
89 struct pipe_query* query) in r300_begin_query() argument
92 struct r300_query* q = r300_query(query); in r300_begin_query()
116 struct pipe_query* query) in r300_end_query() argument
119 struct r300_query *q = r300_query(query); in r300_end_query()
140 struct pipe_query* query, in r300_get_query_result() argument
[all …]
/external/swiftshader/src/D3D9/
DDirect3DQuery9.cpp30 query = new sw::Query(sw::Query::FRAGMENTS_PASSED); in Direct3DQuery9()
34 query = 0; in Direct3DQuery9()
40 if(query) in ~Direct3DQuery9()
42 device->removeQuery(query); in ~Direct3DQuery9()
44 delete query; in ~Direct3DQuery9()
161 query->begin(); in Issue()
162 device->addQuery(query); in Issue()
167 query->end(); in Issue()
168 device->removeQuery(query); in Issue()
200 if(query && query->building) in GetData()
[all …]
/external/mesa3d/src/gallium/state_trackers/clover/core/
Dtimestamp.hpp38 class query { class
40 query(command_queue &q);
41 query(query &&other);
42 ~query();
44 query &operator=(const query &) = delete;
/external/autotest/database/
Ddatabase_connection.py51 def execute(self, query, parameters=None): argument
54 self._cursor.execute(query, parameters)
100 def execute(self, query, parameters=None): argument
103 query = query.replace('%s', '?')
111 query = self._last_insert_id_re.sub(' LAST_INSERT_ROWID()', query)
112 return super(_SqliteBackend, self).execute(query, parameters)
129 def execute(self, query, parameters=None): argument
131 return super(_DjangoBackend, self).execute(query,
295 def execute(self, query, parameters=None, try_reconnecting=None): argument
301 print 'Executing %s, %s' % (query, parameters)
[all …]
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_query.c41 struct vc4_query *query = calloc(1, sizeof(*query)); in vc4_create_query() local
44 return (struct pipe_query *)query; in vc4_create_query()
48 vc4_destroy_query(struct pipe_context *ctx, struct pipe_query *query) in vc4_destroy_query() argument
50 free(query); in vc4_destroy_query()
54 vc4_begin_query(struct pipe_context *ctx, struct pipe_query *query) in vc4_begin_query() argument
60 vc4_end_query(struct pipe_context *ctx, struct pipe_query *query) in vc4_end_query() argument
66 vc4_get_query_result(struct pipe_context *ctx, struct pipe_query *query, in vc4_get_query_result() argument

12345678910>>...42