Home
last modified time | relevance | path

Searched refs:translate (Results 1 – 25 of 926) sorted by relevance

12345678910>>...38

/external/ltrace/
Dglob.c196 translate(const char *glob, int exp_status, const char *expect) in translate() function
231 translate("*", 0, ".*"); in main()
232 translate("?", 0, "."); in main()
233 translate(".*", 0, "\\..*"); in main()
234 translate("*.*", 0, ".*\\..*"); in main()
235 translate("*a*", 0, ".*a.*"); in main()
236 translate("[abc]", 0, "[abc]"); in main()
237 translate("[^abc]", 0, "[^abc]"); in main()
238 translate("[!abc]", 0, "[^abc]"); in main()
239 translate("[]]", 0, "[]]"); in main()
[all …]
/external/mesa3d/src/gallium/tests/unit/
Dtranslate_test.c51 struct translate *(*create_fn)(const struct translate_key *key) = 0; in main()
197 struct translate* translate[2]; in main() local
232 translate[0] = create_fn(&key); in main()
233 if (!translate[0]) in main()
239 translate[1] = create_fn(&key); in main()
240 if(!translate[1]) in main()
243 translate[1] = translate_generic_create(&key); in main()
244 if(!translate[1]) in main()
262 translate[0]->set_buffer(translate[0], 0, buffer[0], input_format_size, count - 1); in main()
263 translate[0]->run_elts(translate[0], elts, count, 0, buffer[1]); in main()
[all …]
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pt_emit.c40 struct translate *translate; member
109 if (!emit->translate || in draw_pt_emit_prepare()
110 translate_key_compare(&emit->translate->key, &hw_key) != 0) { in draw_pt_emit_prepare()
112 emit->translate = translate_cache_find(emit->cache, &hw_key); in draw_pt_emit_prepare()
130 struct translate *translate = emit->translate; in draw_pt_emit() local
148 (ushort)translate->key.output_stride, in draw_pt_emit()
157 translate->set_buffer(translate, in draw_pt_emit()
163 translate->set_buffer(translate, in draw_pt_emit()
170 translate->run(translate, in draw_pt_emit()
200 struct translate *translate = emit->translate; in draw_pt_emit_linear() local
[all …]
Ddraw_pt_fetch.c41 struct translate *translate; member
140 if (!fetch->translate || in draw_pt_fetch_prepare()
141 translate_key_compare(&fetch->translate->key, &key) != 0) in draw_pt_fetch_prepare()
144 fetch->translate = translate_cache_find(fetch->cache, &key); in draw_pt_fetch_prepare()
156 struct translate *translate = fetch->translate; in draw_pt_fetch_run() local
160 translate->set_buffer(translate, in draw_pt_fetch_run()
168 translate->run_elts( translate, in draw_pt_fetch_run()
183 struct translate *translate = fetch->translate; in draw_pt_fetch_run_linear() local
187 translate->set_buffer(translate, in draw_pt_fetch_run_linear()
195 translate->run( translate, in draw_pt_fetch_run_linear()
Ddraw_pt_fetch_emit.c79 struct translate *translate; member
153 if (!feme->translate || in fetch_emit_prepare()
154 translate_key_compare(&feme->translate->key, &key) != 0) in fetch_emit_prepare()
157 feme->translate = translate_cache_find(feme->cache, in fetch_emit_prepare()
160 feme->translate->set_buffer(feme->translate, in fetch_emit_prepare()
170 feme->translate->set_buffer(feme->translate, in fetch_emit_prepare()
199 (ushort)feme->translate->key.output_stride, in fetch_emit_run()
210 feme->translate->run_elts( feme->translate, in fetch_emit_run()
257 (ushort)feme->translate->key.output_stride, in fetch_emit_run_linear()
267 feme->translate->run( feme->translate, in fetch_emit_run_linear()
[all …]
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowTime.java284 protected static Properties translate; field in ShadowTime.Strftime
291 translate = new Properties();
292 translate.put("a", "EEE");
293 translate.put("A", "EEEE");
294 translate.put("b", "MMM");
295 translate.put("B", "MMMM");
296 translate.put("c", "EEE MMM d HH:mm:ss yyyy");
301 translate.put("d", "dd");
302 translate.put("D", "MM/dd/yy");
303 translate.put("e", "dd"); //will show as '03' instead of ' 3'
[all …]
/external/skia/gm/
Dtextblobtransforms.cpp70 canvas->translate(20, 20); in onDraw()
80 canvas->translate(xOffset, 2 * yOffset); in onDraw()
82 canvas->translate(-xOffset, 0); in onDraw()
84 canvas->translate(2 * xOffset, 0); in onDraw()
86 canvas->translate(-xOffset, -yOffset); in onDraw()
88 canvas->translate(0, 2 * yOffset); in onDraw()
92 canvas->translate(4 * xOffset, -yOffset); in onDraw()
96 canvas->translate(0, -yOffset); in onDraw()
102 canvas->translate(-xOffset, yOffset); in onDraw()
108 canvas->translate(- 3 * xOffset, 3 * yOffset); in onDraw()
[all …]
Dskbug_257.cpp90 SkScalar translate = 225364.0f; variable
91 canvas->translate(0, -translate);
94 SkRect rect = SkRect::MakeLTRB(8, 8 + translate, size - 8,
95 size - 8 + translate);
99 canvas->translate(size, 0);
106 canvas->translate(-size, size);
108 SkPoint points[8] = {{size / 2, 8 + translate},
109 {size / 2, 8 + translate + delta},
110 {8, size / 2 + translate},
111 {8, size / 2 + translate + delta},
[all …]
Ddashing.cpp43 canvas->translate(0, SkIntToScalar(20)); in show_zero_len_dash()
71 canvas->translate(SkIntToScalar(20), SkIntToScalar(20)); in onDraw()
72 canvas->translate(0, SK_ScalarHalf); in onDraw()
85 canvas->translate(0, SkIntToScalar(20)); in onDraw()
91 canvas->translate(0, SkIntToScalar(20)); in onDraw()
93 canvas->translate(0, SkIntToScalar(20)); in onDraw()
249 canvas->translate(2, 0); in onDraw()
255 canvas->translate(112, 0); in onDraw()
261 canvas->translate(222, 0); in onDraw()
267 canvas->translate(332, 0); in onDraw()
[all …]
Dconcavepaths.cpp19 canvas->translate(0, 0); in test_concave()
31 canvas->translate(100, 0); in test_reverse_concave()
44 canvas->translate(200, 0); in test_bowtie()
57 canvas->translate(300, 0); in test_fake_bowtie()
72 canvas->translate(0, 100); in test_fish()
87 canvas->translate(100, 100); in test_collinear_edges()
100 canvas->translate(200, 100); in test_hole()
117 canvas->translate(300, 100); in test_star()
132 canvas->translate(0, 200); in test_stairstep()
146 canvas->translate(100, 200); in test_stairstep2()
[all …]
Daaclip.cpp28 canvas->translate(SkIntToScalar(x), SkIntToScalar(y)); in draw()
87 canvas->translate(SK_Scalar1 / 5, SK_Scalar1 / 5); in onDraw()
88 canvas->translate(SkIntToScalar(50), 0); in onDraw()
91 canvas->translate(SK_Scalar1 / 5, SK_Scalar1 / 5); in onDraw()
92 canvas->translate(SkIntToScalar(50), 0); in onDraw()
95 canvas->translate(SK_Scalar1 / 5, SK_Scalar1 / 5); in onDraw()
96 canvas->translate(SkIntToScalar(50), 0); in onDraw()
99 canvas->translate(SK_Scalar1 / 5, SK_Scalar1 / 5); in onDraw()
100 canvas->translate(SkIntToScalar(50), 0); in onDraw()
184 canvas->translate(info.width() + 10, 0); in onDraw()
[all …]
Dthinstrokedrects.cpp42 canvas->translate(5, 5); in onDraw()
45 canvas->translate(i*0.125f, i*30.0f); in onDraw()
49 canvas->translate(15, 0); in onDraw()
56 canvas->translate(0, 15); in onDraw()
59 canvas->translate(i*0.125f, i*30.0f); in onDraw()
64 canvas->translate(30, 0); in onDraw()
Dcubicpaths.cpp41 canvas->translate(dx, dy); in onDraw()
45 canvas->translate(bounds.width(), 0); in onDraw()
48 canvas->translate(0, bounds.height()); in onDraw()
71 canvas->translate(-2, 120); in onDraw()
73 canvas->translate(0, 170); in onDraw()
75 canvas->translate(0, 170); in onDraw()
77 canvas->translate(0, 170); in onDraw()
81 canvas->translate(20, -2); in onDraw()
83 canvas->translate(170, 0); in onDraw()
85 canvas->translate(170, 0); in onDraw()
[all …]
Doffsetimagefilter.cpp63 canvas->translate(SkIntToScalar(image->width() + MARGIN), 0); in onDraw()
159 canvas->translate(40, 40); in onDraw()
164 canvas->translate(100, 0); in onDraw()
167 canvas->translate(100, 0); in onDraw()
170 canvas->translate(100, 0); in onDraw()
173 canvas->translate(100, 0); in onDraw()
177 canvas->translate(100, 0); in onDraw()
182 canvas->translate(0, 80); in onDraw()
192 canvas->translate(100, 0); in onDraw()
196 canvas->translate(100, 0); in onDraw()
[all …]
/external/icu/icu4c/source/test/testdata/
Dra.txt10 * @translate yes
16 * @translate yes
24 * @translate yes
30 * @translate yes
36 * @translate yes
42 * @translate yes
48 * @translate yes
54 * @translate yes
61 * @translate yes
67 * @translate yes
[all …]
/external/mesa3d/src/gallium/auxiliary/translate/
Dtranslate.h71 struct translate;
74 typedef void (PIPE_CDECL *run_elts_func)(struct translate *,
80 typedef void (PIPE_CDECL *run_elts16_func)(struct translate *,
86 typedef void (PIPE_CDECL *run_elts8_func)(struct translate *,
92 typedef void (PIPE_CDECL *run_func)(struct translate *,
98 struct translate { struct
101 void (*release)( struct translate * ); argument
103 void (*set_buffer)( struct translate *, argument
117 struct translate *translate_create( const struct translate_key *key ); argument
150 struct translate *translate_sse2_create( const struct translate_key *key );
[all …]
Dtranslate_cache.c57 struct translate *state = (struct translate*)cso_hash_iter_data(iter); in delete_translates()
90 struct translate * translate_cache_find(struct translate_cache *cache, in translate_cache_find()
94 struct translate *translate = (struct translate*) in translate_cache_find() local
99 if (!translate) { in translate_cache_find()
101 translate = translate_create(key); in translate_cache_find()
102 cso_hash_insert(cache->hash, hash_key, translate); in translate_cache_find()
105 return translate; in translate_cache_find()
Dtranslate.c37 struct translate *translate_create( const struct translate_key *key ) in translate_create()
39 struct translate *translate = NULL; in translate_create() local
42 translate = translate_sse2_create( key ); in translate_create()
43 if (translate) in translate_create()
44 return translate; in translate_create()
46 (void)translate; in translate_create()
Dtranslate_generic.c51 struct translate translate; member
82 static struct translate_generic *translate_generic( struct translate *translate ) in translate_generic() argument
84 return (struct translate_generic *)translate; in translate_generic()
674 static void PIPE_CDECL generic_run_elts( struct translate *translate, in generic_run_elts() argument
680 struct translate_generic *tg = translate_generic(translate); in generic_run_elts()
686 vert += tg->translate.key.output_stride; in generic_run_elts()
690 static void PIPE_CDECL generic_run_elts16( struct translate *translate, in generic_run_elts16() argument
696 struct translate_generic *tg = translate_generic(translate); in generic_run_elts16()
702 vert += tg->translate.key.output_stride; in generic_run_elts16()
706 static void PIPE_CDECL generic_run_elts8( struct translate *translate, in generic_run_elts8() argument
[all …]
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_state_framebuffer.c184 float fx = viewport->scale[0] * -1.0 + viewport->translate[0]; in emit_viewport()
185 float fy = flip * viewport->scale[1] * -1.0 + viewport->translate[1]; in emit_viewport()
207 prescale.translate[0] = 0; in emit_viewport()
208 prescale.translate[1] = 0; in emit_viewport()
209 prescale.translate[2] = 0; in emit_viewport()
210 prescale.translate[3] = 0; in emit_viewport()
217 prescale.translate[0] += -fw; in emit_viewport()
219 fx = viewport->scale[0] * 1.0 + viewport->translate[0]; in emit_viewport()
223 prescale.translate[1] = fh - 1 + fy * 2; in emit_viewport()
231 prescale.translate[0] += fx; in emit_viewport()
[all …]
/external/skia/samplecode/
DSampleAARects.cpp60 canvas->translate(SkIntToScalar(10), SkIntToScalar(10)); in onDrawContent()
92 canvas->translate(dx, 0); in onDrawContent()
99 canvas->translate(dx, 0); in onDrawContent()
106 canvas->translate(dx, 0); in onDrawContent()
113 canvas->translate(dx, 0); in onDrawContent()
116 canvas->translate(.33f, .67f); in onDrawContent()
123 canvas->translate(dx, 0); in onDrawContent()
128 canvas->translate(20.0f / sqrtf(2.f), in onDrawContent()
136 canvas->translate(dx, 0); in onDrawContent()
146 canvas->translate(dx, 0); in onDrawContent()
[all …]
/external/libcxx/test/std/re/re.traits/
Dtranslate.pass.cpp24 assert(t.translate('a') == 'a'); in main()
25 assert(t.translate('B') == 'B'); in main()
26 assert(t.translate('c') == 'c'); in main()
30 assert(t.translate(L'a') == L'a'); in main()
31 assert(t.translate(L'B') == L'B'); in main()
32 assert(t.translate(L'c') == L'c'); in main()
/external/mesa3d/src/gallium/drivers/nvc0/
Dnvc0_vbo_translate.c16 struct translate *translate; member
44 ctx->translate = nvc0->vertex->translate; in nvc0_push_context_init()
61 struct translate *translate = nvc0->vertex->translate; in nvc0_vertex_configure_translate() local
77 translate->set_buffer(translate, i, map, vb->stride, ~0); in nvc0_vertex_configure_translate()
208 struct translate *translate = ctx->translate; in disp_vertices_i08() local
218 translate->run_elts8(translate, elts, nR, ctx->instance_id, ctx->dest); in disp_vertices_i08()
264 struct translate *translate = ctx->translate; in disp_vertices_i16() local
274 translate->run_elts16(translate, elts, nR, ctx->instance_id, ctx->dest); in disp_vertices_i16()
320 struct translate *translate = ctx->translate; in disp_vertices_i32() local
330 translate->run_elts(translate, elts, nR, ctx->instance_id, ctx->dest); in disp_vertices_i32()
[all …]
/external/mesa3d/src/gallium/auxiliary/indices/
Du_indices.c81 *out_translate = translate[in_idx][out_idx][in_pv][out_pv][prim]; in u_index_translator()
87 *out_translate = translate[in_idx][out_idx][in_pv][out_pv][prim]; in u_index_translator()
93 *out_translate = translate[in_idx][out_idx][in_pv][out_pv][prim]; in u_index_translator()
99 *out_translate = translate[in_idx][out_idx][in_pv][out_pv][prim]; in u_index_translator()
105 *out_translate = translate[in_idx][out_idx][in_pv][out_pv][prim]; in u_index_translator()
111 *out_translate = translate[in_idx][out_idx][in_pv][out_pv][prim]; in u_index_translator()
117 *out_translate = translate[in_idx][out_idx][in_pv][out_pv][prim]; in u_index_translator()
123 *out_translate = translate[in_idx][out_idx][in_pv][out_pv][prim]; in u_index_translator()
129 *out_translate = translate[in_idx][out_idx][in_pv][out_pv][prim]; in u_index_translator()
135 *out_translate = translate[in_idx][out_idx][in_pv][out_pv][prim]; in u_index_translator()
[all …]
/external/mesa3d/src/gallium/drivers/nv30/
Dnv30_push.c48 struct translate *translate; member
102 ctx->translate->run_elts8(ctx->translate, elts, nr, 0, ctx->push->cur); in emit_vertices_i08()
134 ctx->translate->run_elts16(ctx->translate, elts, nr, 0, ctx->push->cur); in emit_vertices_i16()
166 ctx->translate->run_elts(ctx->translate, elts, nr, 0, ctx->push->cur); in emit_vertices_i32()
190 ctx->translate->run(ctx->translate, start, push, 0, ctx->push->cur); in emit_vertices_seq()
205 ctx.translate = nv30->vertex->translate; in nv30_push_vbo()
220 ctx.translate->set_buffer(ctx.translate, i, data, vb->stride, ~0); in nv30_push_vbo()

12345678910>>...38