Home
last modified time | relevance | path

Searched refs:tc (Results 1 – 25 of 241) sorted by relevance

12345678910

/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/
Dsp_tex_tile_cache.c49 struct softpipe_tex_tile_cache *tc; in sp_create_tex_tile_cache() local
55 tc = CALLOC_STRUCT( softpipe_tex_tile_cache ); in sp_create_tex_tile_cache()
56 if (tc) { in sp_create_tex_tile_cache()
57 tc->pipe = pipe; in sp_create_tex_tile_cache()
59 tc->entries[pos].addr.bits.invalid = 1; in sp_create_tex_tile_cache()
61 tc->last_tile = &tc->entries[0]; /* any tile */ in sp_create_tex_tile_cache()
63 return tc; in sp_create_tex_tile_cache()
68 sp_destroy_tex_tile_cache(struct softpipe_tex_tile_cache *tc) in sp_destroy_tex_tile_cache() argument
70 if (tc) { in sp_destroy_tex_tile_cache()
76 if (tc->transfer) { in sp_destroy_tex_tile_cache()
[all …]
Dsp_tile_cache.c42 sp_alloc_tile(struct softpipe_tile_cache *tc);
86 struct softpipe_tile_cache *tc; in sp_create_tile_cache() local
99 tc = CALLOC_STRUCT( softpipe_tile_cache ); in sp_create_tile_cache()
100 if (tc) { in sp_create_tile_cache()
101 tc->pipe = pipe; in sp_create_tile_cache()
103 tc->tile_addrs[pos].bits.invalid = 1; in sp_create_tile_cache()
105 tc->last_tile_addr.bits.invalid = 1; in sp_create_tile_cache()
110 tc->tile = MALLOC_STRUCT( softpipe_cached_tile ); in sp_create_tile_cache()
111 if (!tc->tile) in sp_create_tile_cache()
113 FREE(tc); in sp_create_tile_cache()
[all …]
Dsp_tile_cache.h106 sp_destroy_tile_cache(struct softpipe_tile_cache *tc);
109 sp_tile_cache_set_surface(struct softpipe_tile_cache *tc,
113 sp_tile_cache_get_surface(struct softpipe_tile_cache *tc);
116 sp_tile_cache_map_transfers(struct softpipe_tile_cache *tc);
119 sp_tile_cache_unmap_transfers(struct softpipe_tile_cache *tc);
122 sp_flush_tile_cache(struct softpipe_tile_cache *tc);
125 sp_tile_cache_clear(struct softpipe_tile_cache *tc,
130 sp_find_cached_tile(struct softpipe_tile_cache *tc,
150 sp_get_cached_tile(struct softpipe_tile_cache *tc, in sp_get_cached_tile() argument
155 if (tc->last_tile_addr.value == addr.value) in sp_get_cached_tile()
[all …]
Dsp_tex_tile_cache.h107 sp_destroy_tex_tile_cache(struct softpipe_tex_tile_cache *tc);
111 sp_tex_tile_cache_map_transfers(struct softpipe_tex_tile_cache *tc);
114 sp_tex_tile_cache_unmap_transfers(struct softpipe_tex_tile_cache *tc);
117 sp_tex_tile_cache_set_sampler_view(struct softpipe_tex_tile_cache *tc,
121 sp_tex_tile_cache_validate_texture(struct softpipe_tex_tile_cache *tc);
124 sp_flush_tex_tile_cache(struct softpipe_tex_tile_cache *tc);
129 sp_find_cached_tile_tex(struct softpipe_tex_tile_cache *tc,
154 sp_get_cached_tile_tex(struct softpipe_tex_tile_cache *tc, in sp_get_cached_tile_tex() argument
157 if (tc->last_tile->addr.value == addr.value) in sp_get_cached_tile_tex()
158 return tc->last_tile; in sp_get_cached_tile_tex()
[all …]
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_tex_tile_cache.c49 struct softpipe_tex_tile_cache *tc; in sp_create_tex_tile_cache() local
55 tc = CALLOC_STRUCT( softpipe_tex_tile_cache ); in sp_create_tex_tile_cache()
56 if (tc) { in sp_create_tex_tile_cache()
57 tc->pipe = pipe; in sp_create_tex_tile_cache()
59 tc->entries[pos].addr.bits.invalid = 1; in sp_create_tex_tile_cache()
61 tc->last_tile = &tc->entries[0]; /* any tile */ in sp_create_tex_tile_cache()
63 return tc; in sp_create_tex_tile_cache()
68 sp_destroy_tex_tile_cache(struct softpipe_tex_tile_cache *tc) in sp_destroy_tex_tile_cache() argument
70 if (tc) { in sp_destroy_tex_tile_cache()
76 if (tc->transfer) { in sp_destroy_tex_tile_cache()
[all …]
Dsp_tile_cache.c42 sp_alloc_tile(struct softpipe_tile_cache *tc);
86 struct softpipe_tile_cache *tc; in sp_create_tile_cache() local
99 tc = CALLOC_STRUCT( softpipe_tile_cache ); in sp_create_tile_cache()
100 if (tc) { in sp_create_tile_cache()
101 tc->pipe = pipe; in sp_create_tile_cache()
103 tc->tile_addrs[pos].bits.invalid = 1; in sp_create_tile_cache()
105 tc->last_tile_addr.bits.invalid = 1; in sp_create_tile_cache()
110 tc->tile = MALLOC_STRUCT( softpipe_cached_tile ); in sp_create_tile_cache()
111 if (!tc->tile) in sp_create_tile_cache()
113 FREE(tc); in sp_create_tile_cache()
[all …]
Dsp_tile_cache.h106 sp_destroy_tile_cache(struct softpipe_tile_cache *tc);
109 sp_tile_cache_set_surface(struct softpipe_tile_cache *tc,
113 sp_tile_cache_get_surface(struct softpipe_tile_cache *tc);
116 sp_tile_cache_map_transfers(struct softpipe_tile_cache *tc);
119 sp_tile_cache_unmap_transfers(struct softpipe_tile_cache *tc);
122 sp_flush_tile_cache(struct softpipe_tile_cache *tc);
125 sp_tile_cache_clear(struct softpipe_tile_cache *tc,
130 sp_find_cached_tile(struct softpipe_tile_cache *tc,
150 sp_get_cached_tile(struct softpipe_tile_cache *tc, in sp_get_cached_tile() argument
155 if (tc->last_tile_addr.value == addr.value) in sp_get_cached_tile()
[all …]
Dsp_tex_tile_cache.h107 sp_destroy_tex_tile_cache(struct softpipe_tex_tile_cache *tc);
111 sp_tex_tile_cache_map_transfers(struct softpipe_tex_tile_cache *tc);
114 sp_tex_tile_cache_unmap_transfers(struct softpipe_tex_tile_cache *tc);
117 sp_tex_tile_cache_set_sampler_view(struct softpipe_tex_tile_cache *tc,
121 sp_tex_tile_cache_validate_texture(struct softpipe_tex_tile_cache *tc);
124 sp_flush_tex_tile_cache(struct softpipe_tex_tile_cache *tc);
129 sp_find_cached_tile_tex(struct softpipe_tex_tile_cache *tc,
154 sp_get_cached_tile_tex(struct softpipe_tex_tile_cache *tc, in sp_get_cached_tile_tex() argument
157 if (tc->last_tile->addr.value == addr.value) in sp_get_cached_tile_tex()
158 return tc->last_tile; in sp_get_cached_tile_tex()
[all …]
/external/expat/tests/
Dminicheck.c28 TCase *tc = (TCase *) calloc(1, sizeof(TCase)); in tcase_create() local
29 if (tc != NULL) { in tcase_create()
30 tc->name = name; in tcase_create()
32 return tc; in tcase_create()
36 suite_add_tcase(Suite *suite, TCase *tc) in suite_add_tcase() argument
39 assert(tc != NULL); in suite_add_tcase()
40 assert(tc->next_tcase == NULL); in suite_add_tcase()
42 tc->next_tcase = suite->tests; in suite_add_tcase()
43 suite->tests = tc; in suite_add_tcase()
47 tcase_add_checked_fixture(TCase *tc, in tcase_add_checked_fixture() argument
[all …]
/external/linux-tools-perf/perf-3.12.0/tools/perf/arch/x86/util/
Dtsc.c11 u64 perf_time_to_tsc(u64 ns, struct perf_tsc_conversion *tc) in perf_time_to_tsc() argument
15 t = ns - tc->time_zero; in perf_time_to_tsc()
16 quot = t / tc->time_mult; in perf_time_to_tsc()
17 rem = t % tc->time_mult; in perf_time_to_tsc()
18 return (quot << tc->time_shift) + in perf_time_to_tsc()
19 (rem << tc->time_shift) / tc->time_mult; in perf_time_to_tsc()
22 u64 tsc_to_perf_time(u64 cyc, struct perf_tsc_conversion *tc) in tsc_to_perf_time() argument
26 quot = cyc >> tc->time_shift; in tsc_to_perf_time()
27 rem = cyc & ((1 << tc->time_shift) - 1); in tsc_to_perf_time()
28 return tc->time_zero + quot * tc->time_mult + in tsc_to_perf_time()
[all …]
/external/iproute2/man/man8/
DMakefile4 tc-bfifo.8 tc-cbq-details.8 tc-cbq.8 tc-drr.8 tc-htb.8 \
5 tc-pfifo.8 tc-pfifo_fast.8 tc-prio.8 tc-red.8 tc-sfq.8 \
6 tc-tbf.8 tc.8 rtstat.8 ctstat.8 nstat.8 routef.8 \
7 tc-sfb.8 tc-netem.8 tc-choke.8 ip-tunnel.8 ip-rule.8 ip-ntable.8 \
8 ip-monitor.8 tc-stab.8 tc-hfsc.8 ip-xfrm.8 ip-netns.8 \
/external/libhevc/common/
Dihevc_deblk_edge_filter.c113 WORD32 beta, tc; in ihevc_deblk_luma_vert() local
135 tc = gai4_ihevc_tc_table[tc_indx]; in ihevc_deblk_luma_vert()
136 if(0 == tc) in ihevc_deblk_luma_vert()
166 && ABS(pu1_src[0] - pu1_src[-1]) < ((5 * tc + 1) >> 1)) in ihevc_deblk_luma_vert()
176 && ABS(pu1_src[0] - pu1_src[-1]) < ((5 * tc + 1) >> 1)) in ihevc_deblk_luma_vert()
185 if(tc <= 1) in ihevc_deblk_luma_vert()
209 pu1_src[0] - 2 * tc, in ihevc_deblk_luma_vert()
210 pu1_src[0] + 2 * tc); in ihevc_deblk_luma_vert()
214 pu1_src[1] - 2 * tc, in ihevc_deblk_luma_vert()
215 pu1_src[1] + 2 * tc); in ihevc_deblk_luma_vert()
[all …]
/external/valgrind/main/memcheck/tests/
Dcond_ld_st.c354 int i, Bool isLd, const TestCase* tc ) in do_test_case_steer() argument
357 if (i == 0) { fn(i,isLd,tc); return; }; in do_test_case_steer()
359 if (i == 1) { fn(i,isLd,tc); return; }; in do_test_case_steer()
361 if (i == 2) { fn(i,isLd,tc); return; }; in do_test_case_steer()
363 if (i == 3) { fn(i,isLd,tc); return; }; in do_test_case_steer()
365 if (i == 4) { fn(i,isLd,tc); return; }; in do_test_case_steer()
367 if (i == 5) { fn(i,isLd,tc); return; }; in do_test_case_steer()
369 if (i == 6) { fn(i,isLd,tc); return; }; in do_test_case_steer()
371 if (i == 7) { fn(i,isLd,tc); return; }; in do_test_case_steer()
373 if (i == 8) { fn(i,isLd,tc); return; }; in do_test_case_steer()
[all …]
/external/deqp/modules/gles3/functional/
Des3fScissorTests.cpp63 tcu::TestContext& tc = m_context.getTestContext(); in init() local
94 addChild(createPrimitiveTest(tc, in init()
104 …addChild(createClearTest(tc, rc, "clear_depth", "Depth buffer clear", Vec4(0.1f, 0.1f, 0.8f, 0.8f… in init()
105 …addChild(createClearTest(tc, rc, "clear_stencil", "Stencil buffer clear", Vec4(0.1f, 0.1f, 0.8f, 0… in init()
106 …addChild(createClearTest(tc, rc, "clear_color", "Color buffer clear", Vec4(0.1f, 0.1f, 0.8f, 0.8f… in init()
108 …addChild(createFramebufferClearTest(tc, rc, "clear_fixed_buffer", "Fixed point color clear", C… in init()
109 …addChild(createFramebufferClearTest(tc, rc, "clear_int_buffer", "Integer color clear", CLEAR… in init()
110 …addChild(createFramebufferClearTest(tc, rc, "clear_uint_buffer", "Unsigned integer buffer clear"… in init()
111 …addChild(createFramebufferClearTest(tc, rc, "clear_depth_buffer", "Depth buffer clear", CLEAR… in init()
112 …addChild(createFramebufferClearTest(tc, rc, "clear_stencil_buffer", "Stencil buffer clear", C… in init()
[all …]
/external/chromium-trace/trace-viewer/src/about_tracing/
Dtracing_controller_test.js16 var tc = new about_tracing.TracingController(undefined);
17 tc.addEventListener('loadTraceFileComplete', function(event) {
20 tc.onLoadTraceFileComplete(traceEventData);
23 assertEquals(traceEventData, tc.traceEventData);
29 var tc = new about_tracing.TracingController(undefined);
30 tc.addEventListener('loadTraceFileComplete', function(event) {
33 tc.onLoadTraceFileComplete('<DOCTYPE>');
35 assertEquals('<DOCTYPE>', tc.traceEventData);
69 var tc = new about_tracing.TracingController(sendStub.send.bind(sendStub));
70 tc.traceEventData_ = JSON.stringify([1, 2, 3]);
[all …]
Dprofiling_view.js166 var tc = this.tracingController;
167 tc.collectCategories();
168 tc.addEventListener('categoriesCollected', this.onCategoriesCollected_);
172 var tc = this.tracingController;
198 tc.removeEventListener('categoriesCollected',
206 var tc = this.tracingController;
212 tc.beginTracing(this.recordSelectionDialog_.isSystemTracingEnabled(),
217 tc.addEventListener('traceEnded', this.onTraceEnded_);
221 var tc = this.tracingController;
225 tc.removeEventListener('traceEnded', this.onTraceEnded_);
[all …]
/external/iproute2/examples/
Dcbq.init-v0.7.3477 TC=/sbin/tc
522 tc qdisc del dev $1 root 2> /dev/null
564 [ `tc qdisc show dev $dev| wc -l` -eq 0 ] && continue
566 tc $1 qdisc show dev $dev; echo
568 [ `tc class show dev $dev| wc -l` -eq 0 ] && continue
570 tc $1 class show dev $dev; echo
572 [ `tc filter show dev $dev| wc -l` -eq 0 ] && continue
574 tc $1 filter show dev $dev; echo
664 tc () {
678 tc () {
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_texture.c58 const float tc = (2 * in_st[1] - 1) * scale; in util_map_texcoords2d_onto_cubemap() local
63 ry = -tc; in util_map_texcoords2d_onto_cubemap()
68 ry = -tc; in util_map_texcoords2d_onto_cubemap()
74 rz = tc; in util_map_texcoords2d_onto_cubemap()
79 rz = -tc; in util_map_texcoords2d_onto_cubemap()
83 ry = -tc; in util_map_texcoords2d_onto_cubemap()
88 ry = -tc; in util_map_texcoords2d_onto_cubemap()
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
Du_texture.c58 const float tc = (2 * in_st[1] - 1) * scale; in util_map_texcoords2d_onto_cubemap() local
63 ry = -tc; in util_map_texcoords2d_onto_cubemap()
68 ry = -tc; in util_map_texcoords2d_onto_cubemap()
74 rz = tc; in util_map_texcoords2d_onto_cubemap()
79 rz = -tc; in util_map_texcoords2d_onto_cubemap()
83 ry = -tc; in util_map_texcoords2d_onto_cubemap()
88 ry = -tc; in util_map_texcoords2d_onto_cubemap()
/external/qemu/target-mips/
Dmachine.c6 static void save_tc(QEMUFile *f, TCState *tc) in save_tc() argument
12 qemu_put_betls(f, &tc->gpr[i]); in save_tc()
13 qemu_put_betls(f, &tc->PC); in save_tc()
15 qemu_put_betls(f, &tc->HI[i]); in save_tc()
17 qemu_put_betls(f, &tc->LO[i]); in save_tc()
19 qemu_put_betls(f, &tc->ACX[i]); in save_tc()
20 qemu_put_betls(f, &tc->DSPControl); in save_tc()
21 qemu_put_sbe32s(f, &tc->CP0_TCStatus); in save_tc()
22 qemu_put_sbe32s(f, &tc->CP0_TCBind); in save_tc()
23 qemu_put_betls(f, &tc->CP0_TCHalt); in save_tc()
[all …]
/external/chromium_org/native_client_sdk/src/build_tools/
Ddsc2gyp.py213 for tc in tools:
214 if tc not in valid_tools:
216 if tc in ['newlib', 'glibc']:
217 configs += NEXE_CONFIG % {'toolchain': tc}
255 for tc in desc['TOOLS']:
256 if tc in valid_tools:
257 default = '%s-debug' % ConfigName(tc)
265 for tc in desc['TOOLS']:
266 if tc not in valid_tools:
268 output.write(TOOLCHAIN_CONFIG % {'toolchain': ConfigName(tc)})
/external/deqp/modules/gles2/functional/
Des2fScissorTests.cpp53 tcu::TestContext& tc = m_context.getTestContext(); in init() local
84 addChild(createPrimitiveTest(tc, in init()
94 …addChild(createClearTest(tc, rc, "clear_depth", "Depth buffer clear", Vec4(0.1f, 0.1f, 0.8f, 0.8f… in init()
95 …addChild(createClearTest(tc, rc, "clear_stencil", "Stencil buffer clear", Vec4(0.1f, 0.1f, 0.8f, 0… in init()
96 …addChild(createClearTest(tc, rc, "clear_color", "Color buffer clear", Vec4(0.1f, 0.1f, 0.8f, 0.8f… in init()
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/
DRunnerController.java158 for(TestCase tc: rule.getTestCases()) { in TestGroupTreeNode()
159 this.add(new TestCaseTreeNode(tc)); in TestGroupTreeNode()
169 for(TestCase tc: data.getTestCases()) { in toString()
170 if(tc.isPass()) in toString()
187 private TestCaseTreeNode(TestCase tc) { in TestCaseTreeNode() argument
188 super(tc.toString()); in TestCaseTreeNode()
189 data = tc; in TestCaseTreeNode()
/external/iproute2/
DREADME.iproute2+tc1 iproute2+tc*
19 tc qdisc add dev eth1 root handle 1: cbq bandwidth 10Mbit allot 1514 cell 8 \
24 tc class add dev eth1 parent 1:0 classid 1:1 cbq bandwidth 10Mbit rate 10Mbit \
29 tc class add dev eth1 parent 1:1 classid 1:2 cbq bandwidth 10Mbit rate 1Mbit \
35 tc class add dev eth1 parent 1:1 classid 1:3 cbq bandwidth 10Mbit rate 8Mbit \
56 tc qdisc add dev eth1 parent 1:2 tbf rate 64Kbit buffer 5Kb/8 limit 10Kb
60 tc qdisc ls dev eth1
61 tc class ls dev eth1
66 tc filter add dev eth1 parent 1:0 protocol ip prio 100 route to 1 classid 1:2
83 TC=/home/root/tc
/external/smack/src/org/jivesoftware/smackx/workgroup/util/
DListenerEventDispatcher.java91 TripletContainer tc = li.next(); in run() local
94 tc.getListenerMethod().invoke(tc.getListenerInstance(), tc.getMethodArguments()); in run()

12345678910