Searched refs:gr (Results 1 - 25 of 35) sorted by relevance

12

/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/hud/
H A Dhud_fps.c42 query_fps(struct hud_graph *gr, struct pipe_context *pipe) argument
44 struct fps_info *info = gr->query_data;
52 hud_graph_add_value(gr, frametime);
55 else if (info->last_time + gr->pane->period <= now) {
61 hud_graph_add_value(gr, fps);
78 struct hud_graph *gr = CALLOC_STRUCT(hud_graph); local in function:hud_fps_graph_install
80 if (!gr)
83 strcpy(gr->name, "fps");
84 gr->query_data = CALLOC_STRUCT(fps_info);
85 if (!gr
105 struct hud_graph *gr = CALLOC_STRUCT(hud_graph); local in function:hud_frametime_graph_install
[all...]
H A Dhud_cpu.c192 query_cpu_load(struct hud_graph *gr, struct pipe_context *pipe) argument
194 struct cpu_info *info = gr->query_data;
198 if (info->last_time + gr->pane->period <= now) {
206 hud_graph_add_value(gr, cpu_load);
230 struct hud_graph *gr; local in function:hud_cpu_graph_install
239 gr = CALLOC_STRUCT(hud_graph);
240 if (!gr)
244 strcpy(gr->name, "cpu");
246 sprintf(gr->name, "cpu%u", cpu_index);
248 gr
287 query_api_thread_busy_status(struct hud_graph * gr,struct pipe_context * pipe) argument
331 struct hud_graph *gr; local in function:hud_thread_busy_install
363 get_counter(struct hud_graph * gr,enum hud_counter counter) argument
384 query_thread_counter(struct hud_graph * gr,struct pipe_context * pipe) argument
407 struct hud_graph *gr = CALLOC_STRUCT(hud_graph); local in function:hud_thread_counter_install
[all...]
H A Dhud_cpufreq.c94 query_cfi_load(struct hud_graph *gr, struct pipe_context *pipe) argument
96 struct cpufreq_info *cfi = gr->query_data;
100 if (cfi->last_time + gr->pane->period <= now) {
106 hud_graph_add_value(gr, (uint64_t)cfi->KHz * 1000);
127 struct hud_graph *gr; local in function:hud_cpufreq_graph_install
138 gr = CALLOC_STRUCT(hud_graph);
139 if (!gr)
145 snprintf(gr->name, sizeof(gr->name), "%s-Min", cfi->name);
148 snprintf(gr
[all...]
H A Dhud_diskstat.c120 query_dsi_load(struct hud_graph *gr, struct pipe_context *pipe) argument
125 struct diskstat_info *dsi = gr->query_data;
129 if (dsi->last_time + gr->pane->period <= now) {
140 (((float) gr->pane->period / 1000) / 1000);
146 (((float) gr->pane->period / 1000) / 1000);
150 hud_graph_add_value(gr, (uint64_t) val);
177 struct hud_graph *gr; local in function:hud_diskstat_graph_install
188 gr = CALLOC_STRUCT(hud_graph);
189 if (!gr)
194 snprintf(gr
[all...]
H A Dhud_sensors_temp.c160 query_sti_load(struct hud_graph *gr, struct pipe_context *pipe) argument
162 struct sensors_temp_info *sti = gr->query_data;
166 if (sti->last_time + gr->pane->period <= now) {
171 hud_graph_add_value(gr, sti->current);
174 hud_graph_add_value(gr, sti->critical);
177 hud_graph_add_value(gr, sti->current * 1000);
180 hud_graph_add_value(gr, sti->current);
183 hud_graph_add_value(gr, sti->current);
207 struct hud_graph *gr; local in function:hud_sensors_temp_graph_install
218 gr
[all...]
H A Dhud_nic.c174 query_nic_load(struct hud_graph *gr, struct pipe_context *pipe) argument
180 struct nic_info *nic = gr->query_data;
184 if (nic->last_time + gr->pane->period <= now) {
195 float periodMs = gr->pane->period / 1000.0;
207 hud_graph_add_value(gr, (uint64_t) pct);
216 hud_graph_add_value(gr, leveldBm);
249 struct hud_graph *gr; local in function:hud_nic_graph_install
260 gr = CALLOC_STRUCT(hud_graph);
261 if (!gr)
266 snprintf(gr
[all...]
H A Dhud_context.c301 hud_draw_graph_line_strip(struct hud_context *hud, const struct hud_graph *gr, argument
304 if (gr->num_vertices <= 1)
307 assert(gr->index <= gr->num_vertices);
310 gr->vertices, gr->index,
311 gr->color[0], gr->color[1], gr->color[2], 1,
312 xoffset + (gr
329 struct hud_graph *gr; local in function:hud_pane_accumulate_vertices
404 struct hud_graph *gr; local in function:hud_pane_accumulate_vertices_simple
424 struct hud_graph *gr; local in function:hud_pane_draw_colored_objects
622 struct hud_graph *gr; local in function:hud_start_queries
640 struct hud_graph *gr, *next; local in function:hud_stop_queries
844 hud_pane_update_dyn_ceiling(struct hud_graph * gr,struct hud_pane * pane) argument
921 hud_pane_add_graph(struct hud_pane * pane,struct hud_graph * gr) argument
955 hud_graph_add_value(struct hud_graph * gr,double value) argument
1039 hud_graph_set_dump_file(struct hud_graph * gr) argument
1505 struct hud_graph *gr; local in function:hud_parse_env_var
[all...]
H A Dhud_driver_query.c294 begin_query(struct hud_graph *gr, struct pipe_context *pipe) argument
296 struct query_info *info = gr->query_data;
304 query_new_value(struct hud_graph *gr, struct pipe_context *pipe) argument
306 struct query_info *info = gr->query_data;
320 if (info->num_results && info->last_time + gr->pane->period <= now) {
337 hud_graph_add_value(gr, value);
379 struct hud_graph *gr; local in function:hud_pipe_query_install
382 gr = CALLOC_STRUCT(hud_graph);
383 if (!gr)
386 strncpy(gr
[all...]
H A Dhud_private.h107 void (*begin_query)(struct hud_graph *gr, struct pipe_context *pipe);
108 void (*query_new_value)(struct hud_graph *gr, struct pipe_context *pipe);
148 void hud_pane_add_graph(struct hud_pane *pane, struct hud_graph *gr);
150 void hud_graph_add_value(struct hud_graph *gr, double value);
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/hud/
H A Dhud_fps.c42 query_fps(struct hud_graph *gr, struct pipe_context *pipe) argument
44 struct fps_info *info = gr->query_data;
52 hud_graph_add_value(gr, frametime);
55 else if (info->last_time + gr->pane->period <= now) {
61 hud_graph_add_value(gr, fps);
78 struct hud_graph *gr = CALLOC_STRUCT(hud_graph); local in function:hud_fps_graph_install
80 if (!gr)
83 strcpy(gr->name, "fps");
84 gr->query_data = CALLOC_STRUCT(fps_info);
85 if (!gr
105 struct hud_graph *gr = CALLOC_STRUCT(hud_graph); local in function:hud_frametime_graph_install
[all...]
H A Dhud_cpu.c231 query_cpu_load(struct hud_graph *gr, struct pipe_context *pipe) argument
233 struct cpu_info *info = gr->query_data;
237 if (info->last_time + gr->pane->period <= now) {
245 hud_graph_add_value(gr, cpu_load);
269 struct hud_graph *gr; local in function:hud_cpu_graph_install
278 gr = CALLOC_STRUCT(hud_graph);
279 if (!gr)
283 strcpy(gr->name, "cpu");
285 sprintf(gr->name, "cpu%u", cpu_index);
287 gr
326 query_api_thread_busy_status(struct hud_graph * gr,struct pipe_context * pipe) argument
370 struct hud_graph *gr; local in function:hud_thread_busy_install
402 get_counter(struct hud_graph * gr,enum hud_counter counter) argument
423 query_thread_counter(struct hud_graph * gr,struct pipe_context * pipe) argument
446 struct hud_graph *gr = CALLOC_STRUCT(hud_graph); local in function:hud_thread_counter_install
[all...]
H A Dhud_cpufreq.c94 query_cfi_load(struct hud_graph *gr, struct pipe_context *pipe) argument
96 struct cpufreq_info *cfi = gr->query_data;
100 if (cfi->last_time + gr->pane->period <= now) {
106 hud_graph_add_value(gr, (uint64_t)cfi->KHz * 1000);
127 struct hud_graph *gr; local in function:hud_cpufreq_graph_install
138 gr = CALLOC_STRUCT(hud_graph);
139 if (!gr)
145 snprintf(gr->name, sizeof(gr->name), "%s-Min", cfi->name);
148 snprintf(gr
[all...]
H A Dhud_diskstat.c121 query_dsi_load(struct hud_graph *gr, struct pipe_context *pipe) argument
126 struct diskstat_info *dsi = gr->query_data;
130 if (dsi->last_time + gr->pane->period <= now) {
141 (((float) gr->pane->period / 1000) / 1000);
147 (((float) gr->pane->period / 1000) / 1000);
151 hud_graph_add_value(gr, (uint64_t) val);
178 struct hud_graph *gr; local in function:hud_diskstat_graph_install
189 gr = CALLOC_STRUCT(hud_graph);
190 if (!gr)
195 snprintf(gr
[all...]
H A Dhud_sensors_temp.c161 query_sti_load(struct hud_graph *gr, struct pipe_context *pipe) argument
163 struct sensors_temp_info *sti = gr->query_data;
167 if (sti->last_time + gr->pane->period <= now) {
172 hud_graph_add_value(gr, sti->current);
175 hud_graph_add_value(gr, sti->critical);
178 hud_graph_add_value(gr, sti->current * 1000);
181 hud_graph_add_value(gr, sti->current);
184 hud_graph_add_value(gr, sti->current);
208 struct hud_graph *gr; local in function:hud_sensors_temp_graph_install
219 gr
[all...]
H A Dhud_nic.c175 query_nic_load(struct hud_graph *gr, struct pipe_context *pipe) argument
181 struct nic_info *nic = gr->query_data;
185 if (nic->last_time + gr->pane->period <= now) {
196 float periodMs = gr->pane->period / 1000.0;
208 hud_graph_add_value(gr, (uint64_t) pct);
217 hud_graph_add_value(gr, leveldBm);
250 struct hud_graph *gr; local in function:hud_nic_graph_install
261 gr = CALLOC_STRUCT(hud_graph);
262 if (!gr)
267 snprintf(gr
[all...]
H A Dhud_context.c301 hud_draw_graph_line_strip(struct hud_context *hud, const struct hud_graph *gr, argument
304 if (gr->num_vertices <= 1)
307 assert(gr->index <= gr->num_vertices);
310 gr->vertices, gr->index,
311 gr->color[0], gr->color[1], gr->color[2], 1,
312 xoffset + (gr
329 struct hud_graph *gr; local in function:hud_pane_accumulate_vertices
404 struct hud_graph *gr; local in function:hud_pane_accumulate_vertices_simple
424 struct hud_graph *gr; local in function:hud_pane_draw_colored_objects
629 struct hud_graph *gr; local in function:hud_start_queries
647 struct hud_graph *gr, *next; local in function:hud_stop_queries
843 hud_pane_update_dyn_ceiling(struct hud_graph * gr,struct hud_pane * pane) argument
920 hud_pane_add_graph(struct hud_pane * pane,struct hud_graph * gr) argument
954 hud_graph_add_value(struct hud_graph * gr,double value) argument
1038 hud_graph_set_dump_file(struct hud_graph * gr) argument
1504 struct hud_graph *gr; local in function:hud_parse_env_var
[all...]
H A Dhud_driver_query.c294 begin_query(struct hud_graph *gr, struct pipe_context *pipe) argument
296 struct query_info *info = gr->query_data;
304 query_new_value(struct hud_graph *gr, struct pipe_context *pipe) argument
306 struct query_info *info = gr->query_data;
320 if (info->num_results && info->last_time + gr->pane->period <= now) {
337 hud_graph_add_value(gr, value);
379 struct hud_graph *gr; local in function:hud_pipe_query_install
382 gr = CALLOC_STRUCT(hud_graph);
383 if (!gr)
386 strncpy(gr
[all...]
H A Dhud_private.h109 void (*begin_query)(struct hud_graph *gr, struct pipe_context *pipe);
110 void (*query_new_value)(struct hud_graph *gr, struct pipe_context *pipe);
150 void hud_pane_add_graph(struct hud_pane *pane, struct hud_graph *gr);
152 void hud_graph_add_value(struct hud_graph *gr, double value);
/xsrc/external/mit/xorg-server.old/dist/render/
H A Dglyph.c135 GlyphRefPtr table, gr, del; local in function:FindGlyphRef
144 gr = &table[elt];
145 s = gr->signature;
146 glyph = gr->glyph;
150 gr = del;
156 del = gr;
157 else if (gr == del)
176 return gr;
206 GlyphRefPtr gr; local in function:FindGlyphByHash
212 gr
275 GlyphRefPtr gr; local in function:FreeGlyph
309 GlyphRefPtr gr; local in function:AddGlyph
345 GlyphRefPtr gr; local in function:DeleteGlyph
433 GlyphRefPtr gr; local in function:ResizeGlyphHash
[all...]
/xsrc/external/mit/xorg-server/dist/render/
H A Dglyph.c126 GlyphRefPtr table, gr, del; local in function:FindGlyphRef
134 gr = &table[elt];
135 s = gr->signature;
136 glyph = gr->glyph;
139 gr = del;
144 del = gr;
145 else if (gr == del)
161 return gr;
189 GlyphRefPtr gr; local in function:FindGlyphByHash
195 gr
254 GlyphRefPtr gr; local in function:FreeGlyph
285 GlyphRefPtr gr; local in function:AddGlyph
317 GlyphRefPtr gr; local in function:DeleteGlyph
402 GlyphRefPtr gr; local in function:ResizeGlyphHash
[all...]
/xsrc/external/mit/xkeyboard-config/dist/symbols/sun_vndr/
H A DMakefile.am6 fi fr gb gr it \ data in directory:symbols
/xsrc/external/mit/luit/dist/
H A Dcharset.h59 int gr; member in struct:_LocaleCharset
H A Dcharset.c472 printf(" %s: GL -> G%d, GR -> G%d", p->name, p->gl, p->gr);
525 *gr_return = p->gr;
/xsrc/external/mit/glu/dist/src/libnurbs/nurbtess/
H A DgridWrap.cc178 gridWrap* gr,
184 : grid(gr), firstVlineIndex(first_vline_index), nVlines(n_vlines)
204 vertices[i][0] = gr->get_u_value(ulineIndices[i]);
205 vertices[i][1] = gr->get_v_value(first_vline_index-i);
177 gridBoundaryChain(gridWrap * gr,Int first_vline_index,Int n_vlines,Int * uline_indices,Int * inner_indices) argument
H A DgridWrap.h108 gridBoundaryChain(gridWrap* gr, Int first_vline_index, Int n_vlines, Int* uline_indices, Int* inner_indices);

Completed in 23 milliseconds

12