HomeSort by: relevance | last modified time | path
    Searched refs:gr (Results 1 - 25 of 32) sorted by relevancy

1 2

  /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/hud/
hud_fps.c 42 query_fps(struct hud_graph *gr, struct pipe_context *pipe)
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
80 if (!gr)
83 strcpy(gr->name, "fps");
84 gr->query_data = CALLOC_STRUCT(fps_info);
85 if (!gr->query_data)
105 struct hud_graph *gr = CALLOC_STRUCT(hud_graph); local
    [all...]
hud_cpu.c 231 query_cpu_load(struct hud_graph *gr, struct pipe_context *pipe)
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
278 gr = CALLOC_STRUCT(hud_graph);
279 if (!gr)
283 strcpy(gr->name, "cpu");
285 sprintf(gr->name, "cpu%u", cpu_index);
287 gr->query_data = CALLOC_STRUCT(cpu_info)
370 struct hud_graph *gr; local
446 struct hud_graph *gr = CALLOC_STRUCT(hud_graph); local
    [all...]
hud_cpufreq.c 94 query_cfi_load(struct hud_graph *gr, struct pipe_context *pipe)
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
138 gr = CALLOC_STRUCT(hud_graph);
139 if (!gr)
145 snprintf(gr->name, sizeof(gr->name), "%s-Min", cfi->name);
148 snprintf(gr->name, sizeof(gr->name), "%s-Cur", cfi->name)
    [all...]
hud_diskstat.c 121 query_dsi_load(struct hud_graph *gr, struct pipe_context *pipe)
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
189 gr = CALLOC_STRUCT(hud_graph);
190 if (!gr)
195 snprintf(gr->name, sizeof(gr->name), "%s-Read-MB/s", dsi->name)
    [all...]
hud_sensors_temp.c 161 query_sti_load(struct hud_graph *gr, struct pipe_context *pipe)
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
219 gr = CALLOC_STRUCT(hud_graph)
    [all...]
hud_nic.c 175 query_nic_load(struct hud_graph *gr, struct pipe_context *pipe)
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
261 gr = CALLOC_STRUCT(hud_graph);
262 if (!gr)
267 snprintf(gr->name, sizeof(gr->name), "%s-rx-%"PRId64"Mbps", nic->name
    [all...]
hud_context.c 301 hud_draw_graph_line_strip(struct hud_context *hud, const struct hud_graph *gr,
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->pane->max_num_vertices - gr->index - 1) * 2 - 1
329 struct hud_graph *gr; local
404 struct hud_graph *gr; local
424 struct hud_graph *gr; local
629 struct hud_graph *gr; local
647 struct hud_graph *gr, *next; local
1504 struct hud_graph *gr; local
    [all...]
hud_driver_query.c 294 begin_query(struct hud_graph *gr, struct pipe_context *pipe)
296 struct query_info *info = gr->query_data;
304 query_new_value(struct hud_graph *gr, struct pipe_context *pipe)
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
382 gr = CALLOC_STRUCT(hud_graph);
383 if (!gr)
386 strncpy(gr->name, name, sizeof(gr->name))
    [all...]
hud_private.h 109 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/MesaLib.old/dist/src/gallium/auxiliary/hud/
hud_fps.c 42 query_fps(struct hud_graph *gr, struct pipe_context *pipe)
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
80 if (!gr)
83 strcpy(gr->name, "fps");
84 gr->query_data = CALLOC_STRUCT(fps_info);
85 if (!gr->query_data)
105 struct hud_graph *gr = CALLOC_STRUCT(hud_graph); local
    [all...]
hud_cpu.c 192 query_cpu_load(struct hud_graph *gr, struct pipe_context *pipe)
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
239 gr = CALLOC_STRUCT(hud_graph);
240 if (!gr)
244 strcpy(gr->name, "cpu");
246 sprintf(gr->name, "cpu%u", cpu_index);
248 gr->query_data = CALLOC_STRUCT(cpu_info)
331 struct hud_graph *gr; local
407 struct hud_graph *gr = CALLOC_STRUCT(hud_graph); local
    [all...]
hud_cpufreq.c 94 query_cfi_load(struct hud_graph *gr, struct pipe_context *pipe)
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
138 gr = CALLOC_STRUCT(hud_graph);
139 if (!gr)
145 snprintf(gr->name, sizeof(gr->name), "%s-Min", cfi->name);
148 snprintf(gr->name, sizeof(gr->name), "%s-Cur", cfi->name)
    [all...]
hud_diskstat.c 120 query_dsi_load(struct hud_graph *gr, struct pipe_context *pipe)
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
188 gr = CALLOC_STRUCT(hud_graph);
189 if (!gr)
194 snprintf(gr->name, sizeof(gr->name), "%s-Read-MB/s", dsi->name)
    [all...]
hud_sensors_temp.c 160 query_sti_load(struct hud_graph *gr, struct pipe_context *pipe)
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
218 gr = CALLOC_STRUCT(hud_graph)
    [all...]
hud_nic.c 174 query_nic_load(struct hud_graph *gr, struct pipe_context *pipe)
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
260 gr = CALLOC_STRUCT(hud_graph);
261 if (!gr)
266 snprintf(gr->name, sizeof(gr->name), "%s-rx-%"PRId64"Mbps", nic->name
    [all...]
hud_context.c 301 hud_draw_graph_line_strip(struct hud_context *hud, const struct hud_graph *gr,
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->pane->max_num_vertices - gr->index - 1) * 2 - 1
329 struct hud_graph *gr; local
404 struct hud_graph *gr; local
424 struct hud_graph *gr; local
622 struct hud_graph *gr; local
640 struct hud_graph *gr, *next; local
1505 struct hud_graph *gr; local
    [all...]
hud_driver_query.c 294 begin_query(struct hud_graph *gr, struct pipe_context *pipe)
296 struct query_info *info = gr->query_data;
304 query_new_value(struct hud_graph *gr, struct pipe_context *pipe)
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
382 gr = CALLOC_STRUCT(hud_graph);
383 if (!gr)
386 strncpy(gr->name, name, sizeof(gr->name))
    [all...]
hud_private.h 107 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/xorg-server/dist/render/
glyph.c 126 GlyphRefPtr table, gr, del; local
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
195 gr = FindGlyphRef(&globalGlyphs[format], signature, TRUE, sha1)
254 GlyphRefPtr gr; local
285 GlyphRefPtr gr; local
317 GlyphRefPtr gr; local
402 GlyphRefPtr gr; local
    [all...]
  /xsrc/external/mit/xorg-server.old/dist/render/
glyph.c 135 GlyphRefPtr table, gr, del; local
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
212 gr = FindGlyphRef (&globalGlyphs[format]
275 GlyphRefPtr gr; local
309 GlyphRefPtr gr; local
345 GlyphRefPtr gr; local
433 GlyphRefPtr gr; local
    [all...]
  /xsrc/external/mit/luit/dist/
charset.h 59 int gr; member in struct:_LocaleCharset
charset.c 113 {"JIS X 0201:GR", T_94, 'I', "jisx0201.1976-0", 0x80, 0, 0},
448 {"eucJP", 0, 1, "ASCII", "JIS X 0208", "JIS X 0201:GR", "JIS X 0212", NULL},
472 printf(" %s: GL -> G%d, GR -> G%d", p->name, p->gl, p->gr);
525 *gr_return = p->gr;
iso2022.c 226 fprintf(stderr, "GR is G%d.\n", identifyCharset(i, i->grp));
232 int gl = 0, gr = 2; local
240 rc = getLocaleState(locale, charset, &gl, &gr, &g0, &g1, &g2, &g3, &other);
276 i->grp = &i->g[gr];
492 (OTHER(is) == NULL && CHARSET_REGULAR(GR(is)) &&
532 i = GR(is)->reverse(ucode, GR(is));
534 switch (GR(is)->type) {
538 /* we allow C1 characters if T_128 in GR */
558 switch (GR(is)->type)
    [all...]
  /xsrc/external/mit/glu/dist/src/libnurbs/nurbtess/
gridWrap.cc 178 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);
gridWrap.h 108 gridBoundaryChain(gridWrap* gr, Int first_vline_index, Int n_vlines, Int* uline_indices, Int* inner_indices);

Completed in 20 milliseconds

1 2