/external/wpa_supplicant_8/wpa_supplicant/ |
D | gas_query.c | 78 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 …]
|
/external/wpa_supplicant_8/src/ap/ |
D | gas_query_ap.c | 73 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 …]
|
D | ieee802_11_auth.c | 137 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() 284 struct hostapd_acl_query_data *query; in hostapd_allowed_address() 305 query = hapd->acl_queries; in hostapd_allowed_address() 306 while (query) { in hostapd_allowed_address() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_queryobj.c | 134 struct brw_query_object *query) in brw_queryobj_get_results() argument 144 if (query->bo == NULL) in brw_queryobj_get_results() 151 if (brw_batch_references(&brw->batch, query->bo)) in brw_queryobj_get_results() 155 if (brw_bo_busy(query->bo)) { in brw_queryobj_get_results() 160 results = brw_bo_map(brw, query->bo, MAP_READ); in brw_queryobj_get_results() 161 switch (query->Base.Target) { in brw_queryobj_get_results() 166 query->Base.Result = brw_raw_timestamp_delta(brw, results[0], results[1]); in brw_queryobj_get_results() 167 query->Base.Result = brw_timebase_scale(brw, query->Base.Result); in brw_queryobj_get_results() 172 query->Base.Result = brw_timebase_scale(brw, results[0]); in brw_queryobj_get_results() 177 query->Base.Result &= (1ull << ctx->Const.QueryCounterBits.Timestamp) - 1; in brw_queryobj_get_results() [all …]
|
D | gen6_queryobj.c | 43 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() 74 query->bo, 2 * sizeof(uint64_t), in set_query_availability() 224 struct brw_query_object *query) in gen6_queryobj_get_results() argument 229 if (query->bo == NULL) in gen6_queryobj_get_results() 232 uint64_t *results = brw_bo_map(brw, query->bo, MAP_READ); in gen6_queryobj_get_results() 233 switch (query->Base.Target) { in gen6_queryobj_get_results() 238 query->Base.Result = brw_raw_timestamp_delta(brw, results[0], results[1]); in gen6_queryobj_get_results() 239 query->Base.Result = brw_timebase_scale(brw, query->Base.Result); in gen6_queryobj_get_results() 244 query->Base.Result = brw_timebase_scale(brw, results[0]); in gen6_queryobj_get_results() [all …]
|
D | brw_performance_query.c | 241 const struct brw_perf_query_info *query; member 327 switch (obj->query->kind) { in dump_perf_query_callback() 425 const struct brw_perf_query_info *query = in brw_get_perf_query_info() local 428 *name = query->name; in brw_get_perf_query_info() 429 *data_size = query->data_size; in brw_get_perf_query_info() 430 *n_counters = query->n_counters; in brw_get_perf_query_info() 432 switch (query->kind) { in brw_get_perf_query_info() 459 const struct brw_perf_query_info *query = in brw_get_perf_counter_info() local 462 &query->counters[counter_index]; in brw_get_perf_counter_info() 484 const struct brw_perf_query_info *query = obj->query; in snapshot_statistics_registers() local [all …]
|
D | brw_conditional_render.c | 52 struct brw_query_object *query, in set_predicate_for_overflow_query() argument 68 hsw_overflow_result_to_gpr0(brw, query, count); in set_predicate_for_overflow_query() 75 struct brw_query_object *query) in set_predicate_for_occlusion_query() argument 90 brw_load_register_mem64(brw, MI_PREDICATE_SRC0, query->bo, 0 /* offset */); in set_predicate_for_occlusion_query() 91 brw_load_register_mem64(brw, MI_PREDICATE_SRC1, query->bo, 8 /* offset */); in set_predicate_for_occlusion_query() 96 struct brw_query_object *query, in set_predicate_for_result() argument 101 assert(query->bo != NULL); in set_predicate_for_result() 103 switch (query->Base.Target) { in set_predicate_for_result() 105 set_predicate_for_overflow_query(brw, query, 0, 1); in set_predicate_for_result() 108 set_predicate_for_overflow_query(brw, query, 0, MAX_VERTEX_STREAMS); in set_predicate_for_result() [all …]
|
/external/mesa3d/src/gallium/drivers/radeon/ |
D | r600_query.c | 61 struct r600_query_sw *query = (struct r600_query_sw *)rquery; in r600_query_sw_destroy() local 63 sscreen->b.fence_reference(&sscreen->b, &query->fence, NULL); in r600_query_sw_destroy() 64 FREE(query); in r600_query_sw_destroy() 97 struct r600_query_sw *query = (struct r600_query_sw *)rquery; in r600_query_sw_begin() local 100 switch(query->b.type) { in r600_query_sw_begin() 105 query->begin_result = rctx->num_draw_calls; in r600_query_sw_begin() 108 query->begin_result = rctx->num_decompress_calls; in r600_query_sw_begin() 111 query->begin_result = rctx->num_mrt_draw_calls; in r600_query_sw_begin() 114 query->begin_result = rctx->num_prim_restart_calls; in r600_query_sw_begin() 117 query->begin_result = rctx->num_spill_draw_calls; in r600_query_sw_begin() [all …]
|
D | r600_perfcounter.c | 101 struct r600_query_pc *query = (struct r600_query_pc *)rquery; in r600_pc_query_destroy() local 103 while (query->groups) { in r600_pc_query_destroy() 104 struct r600_pc_group *group = query->groups; in r600_pc_query_destroy() 105 query->groups = group->next; in r600_pc_query_destroy() 109 FREE(query->counters); in r600_pc_query_destroy() 127 struct r600_query_pc *query = (struct r600_query_pc *)hwquery; in r600_pc_query_emit_start() local 132 if (query->shaders) in r600_pc_query_emit_start() 133 pc->emit_shaders(ctx, query->shaders); in r600_pc_query_emit_start() 135 for (group = query->groups; group; group = group->next) { in r600_pc_query_emit_start() 158 struct r600_query_pc *query = (struct r600_query_pc *)hwquery; in r600_pc_query_emit_stop() local [all …]
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | radeon_queryobj.c | 37 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 …]
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_queryobj.c | 37 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 …]
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_query.c | 60 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 …]
|
D | r600_perfcounter.c | 105 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/perfetto/ui/src/tracks/thread_state/ |
D | controller.ts | 52 await this.query(`create view ${this.tableName('sched_wakeup')} AS 62 await this.query( 67 await this.query(`create view ${this.tableName('start')} as 75 await this.query(`create view ${this.tableName('fill')} AS 85 await this.query(`create view ${this.tableName('full_sched_wakeup')} as 89 await this.query(`create virtual table ${this.tableName('span')} 97 await this.query(`create view ${this.tableName('span_view')} as 110 await this.query(`create view ${this.tableName('long_states')} as 116 await this.query(`create view ${this.tableName('fill_gaps')} as select 122 await this.query(`create virtual table ${this.tableName('summarized')} [all …]
|
/external/mesa3d/src/gallium/drivers/virgl/ |
D | virgl_query.c | 85 struct virgl_query *query = virgl_query(q); in virgl_render_condition() local 88 handle = query->handle; in virgl_render_condition() 96 struct virgl_query *query; in virgl_create_query() local 99 query = CALLOC_STRUCT(virgl_query); in virgl_create_query() 100 if (!query) in virgl_create_query() 103 query->buf = (struct virgl_resource *)pipe_buffer_create(ctx->screen, PIPE_BIND_CUSTOM, in virgl_create_query() 105 if (!query->buf) { in virgl_create_query() 106 FREE(query); in virgl_create_query() 111 query->type = pipe_to_virgl_query(query_type); in virgl_create_query() 112 query->index = index; in virgl_create_query() [all …]
|
/external/mesa3d/src/gallium/auxiliary/hud/ |
D | hud_driver_query.c | 50 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 …]
|
/external/mesa3d/src/gallium/winsys/svga/drm/ |
D | vmw_query.c | 43 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/perfetto/ui/src/tracks/chrome_slices/ |
D | controller.ts | 44 await this.query( 47 await this.query( 57 await this.query(`create virtual table ${this.tableName('span')} using 66 this.query(`update ${this.tableName('window')} set 71 await this.query(`drop view if exists ${this.tableName('small')}`); 72 await this.query(`drop view if exists ${this.tableName('big')}`); 73 await this.query(`drop view if exists ${this.tableName('summary')}`); 75 await this.query( 84 await this.query( 93 await this.query(`create view ${this.tableName('summary')} as select [all …]
|
/external/perfetto/ui/src/tracks/cpu_freq/ |
D | controller.ts | 47 const result = await this.query(` 53 await this.query( 56 await this.query(`create view ${this.tableName('freq')} 69 await this.query(`create view ${this.tableName('idle')} 82 await this.query(`create virtual table ${this.tableName('freq_idle')} 86 await this.query(`create virtual table ${this.tableName('span_activity')} 91 await this.query(`create view ${this.tableName('activity')} 117 this.query(`update ${this.tableName('window')} set 124 let query = `select ts, dur, cast(idle as DOUBLE), freq 128 query = `select [all …]
|
/external/freetype/src/cache/ |
D | ftcbasic.c | 73 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() 290 FTC_BasicQueryRec query; in FTC_ImageCache_Lookup() local 320 query.attrs.scaler.face_id = type->face_id; in FTC_ImageCache_Lookup() 321 query.attrs.scaler.width = type->width; in FTC_ImageCache_Lookup() 322 query.attrs.scaler.height = type->height; in FTC_ImageCache_Lookup() 323 query.attrs.load_flags = (FT_UInt)type->flags; in FTC_ImageCache_Lookup() 325 query.attrs.scaler.pixel = 1; in FTC_ImageCache_Lookup() [all …]
|
/external/perfetto/ui/src/tracks/process_summary/ |
D | controller.ts | 46 await this.query( 51 const threadQuery = await this.query( 57 await this.query( 64 await this.query(`create virtual table ${this.tableName('span')} 75 this.query(`update ${this.tableName('window')} set 93 const query = `select constant 99 const rawResult = await this.query(query); 118 private async query(query: string) { method in ProcessSummaryTrackController 119 const result = await this.engine.query(query); 121 console.error(`Query error "${query}": ${result.error}`); [all …]
|
/external/perfetto/ui/src/tracks/counter/ |
D | controller.ts | 48 const result = await this.query(` 54 await this.query( 57 await this.query(`create view ${this.tableName('counter_view')} as 64 await this.query(`create virtual table ${this.tableName('span')} using 79 this.query(`update ${this.tableName('window')} set 84 let query = `select min(ts) as ts, 91 query = `select ts, value 101 const rawResult = await this.query(query); 136 private async query(query: string) { method in CounterTrackController 137 const result = await this.engine.query(query); [all …]
|
/external/ltp/testcases/network/stress/ns-tools/ |
D | ns-igmp_querier.c | 64 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/perfetto/ui/src/tracks/process_scheduling/ |
D | controller.ts | 53 await this.query( 55 await this.query(`create view ${this.tableName('process')} as 59 await this.query(`create virtual table ${this.tableName('span')} 75 this.query(`update ${this.tableName('window')} set 100 const query = `select constant 109 const rawResult = await this.query(query); 135 const query = `select ts,dur,cpu,utid from ${this.tableName('span')} constant 145 const rawResult = await this.query(query); 175 private async query(query: string) { method in ProcessSchedulingTrackController 176 const result = await this.engine.query(query); [all …]
|
/external/autotest/frontend/tko/ |
D | rpc_interface.py | 47 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 …]
|