/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
H A D | u_texture.c | 52 /* Compute sc = +/-scale and tc = +/-scale. 58 const float tc = (2 * in_st[1] - 1) * scale; local 63 ry = -tc; 68 ry = -tc; 74 rz = tc; 79 rz = -tc; 83 ry = -tc; 88 ry = -tc;
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/arch/x86/util/ |
H A D | tsc.c | 11 u64 perf_time_to_tsc(u64 ns, struct perf_tsc_conversion *tc) argument 15 t = ns - tc->time_zero; 16 quot = t / tc->time_mult; 17 rem = t % tc->time_mult; 18 return (quot << tc->time_shift) + 19 (rem << tc->time_shift) / tc->time_mult; 22 u64 tsc_to_perf_time(u64 cyc, struct perf_tsc_conversion *tc) argument 26 quot = cyc >> tc->time_shift; 27 rem = cyc & ((1 << tc 32 perf_read_tsc_conversion(const struct perf_event_mmap_page *pc, struct perf_tsc_conversion *tc) argument [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_texture.c | 52 /* Compute sc = +/-scale and tc = +/-scale. 58 const float tc = (2 * in_st[1] - 1) * scale; local 63 ry = -tc; 68 ry = -tc; 74 rz = tc; 79 rz = -tc; 83 ry = -tc; 88 ry = -tc;
|
/external/qemu/target-mips/ |
H A D | machine.c | 6 static void save_tc(QEMUFile *f, TCState *tc) argument 12 qemu_put_betls(f, &tc->gpr[i]); 13 qemu_put_betls(f, &tc->PC); 15 qemu_put_betls(f, &tc->HI[i]); 17 qemu_put_betls(f, &tc->LO[i]); 19 qemu_put_betls(f, &tc->ACX[i]); 20 qemu_put_betls(f, &tc->DSPControl); 21 qemu_put_sbe32s(f, &tc->CP0_TCStatus); 22 qemu_put_sbe32s(f, &tc->CP0_TCBind); 23 qemu_put_betls(f, &tc 153 load_tc(QEMUFile *f, TCState *tc) argument [all...] |
/external/chromium_org/tools/gn/ |
H A D | label_pattern.h | 54 void set_toolchain(const Label& tc) { toolchain_ = tc; } argument
|
H A D | builder_unittest.cc | 68 settings_.set_toolchain_label(Label(SourceDir("//tc/"), "default")); 73 Toolchain* tc = new Toolchain(&settings_, settings_.toolchain_label()); local 74 TestWithScope::SetupToolchain(tc); 75 builder_->ItemDefined(scoped_ptr<Item>(tc)); 76 return tc; 107 EXPECT_TRUE(loader_->HasLoadedTwo(SourceFile("//tc/BUILD.gn"), 187 Label toolchain_label2(SourceDir("//tc/"), "secondary");
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/ |
H A D | nv50_tex.c | 35 nv50_tic_swizzle(uint32_t tc, unsigned swz, boolean tex_int) argument 39 return (tc & NV50_TIC_0_MAPR__MASK) >> NV50_TIC_0_MAPR__SHIFT; 41 return (tc & NV50_TIC_0_MAPG__MASK) >> NV50_TIC_0_MAPG__SHIFT; 43 return (tc & NV50_TIC_0_MAPB__MASK) >> NV50_TIC_0_MAPB__SHIFT; 45 return (tc & NV50_TIC_0_MAPA__MASK) >> NV50_TIC_0_MAPA__SHIFT;
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/ |
H A D | sp_tex_tile_cache.c | 49 struct softpipe_tex_tile_cache *tc; local 55 tc = CALLOC_STRUCT( softpipe_tex_tile_cache ); 56 if (tc) { 57 tc->pipe = pipe; 59 tc->entries[pos].addr.bits.invalid = 1; 61 tc->last_tile = &tc->entries[0]; /* any tile */ 63 return tc; 68 sp_destroy_tex_tile_cache(struct softpipe_tex_tile_cache *tc) argument 70 if (tc) { 91 sp_tex_tile_cache_map_transfers(struct softpipe_tex_tile_cache *tc) argument 99 sp_tex_tile_cache_unmap_transfers(struct softpipe_tex_tile_cache *tc) argument 112 sp_tex_tile_cache_validate_texture(struct softpipe_tex_tile_cache *tc) argument 125 sp_tex_tile_is_compat_view(struct softpipe_tex_tile_cache *tc, struct pipe_sampler_view *view) argument 142 sp_tex_tile_cache_set_sampler_view(struct softpipe_tex_tile_cache *tc, struct pipe_sampler_view *view) argument 189 sp_flush_tex_tile_cache(struct softpipe_tex_tile_cache *tc) argument 228 sp_find_cached_tile_tex(struct softpipe_tex_tile_cache *tc, union tex_tile_address addr ) argument [all...] |
H A D | sp_state_derived.c | 216 struct softpipe_tex_tile_cache *tc = softpipe->tex_cache[sh][i]; local 217 if (tc && tc->texture) { 218 struct softpipe_resource *spt = softpipe_resource(tc->texture); 219 if (spt->timestamp != tc->timestamp) { 220 sp_tex_tile_cache_validate_texture( tc ); 222 _debug_printf("INV %d %d\n", tc->timestamp, spt->timestamp); 224 tc->timestamp = spt->timestamp;
|
H A D | sp_tile_cache.c | 42 sp_alloc_tile(struct softpipe_tile_cache *tc); 86 struct softpipe_tile_cache *tc; local 99 tc = CALLOC_STRUCT( softpipe_tile_cache ); 100 if (tc) { 101 tc->pipe = pipe; 103 tc->tile_addrs[pos].bits.invalid = 1; 105 tc->last_tile_addr.bits.invalid = 1; 110 tc->tile = MALLOC_STRUCT( softpipe_cached_tile ); 111 if (!tc->tile) 113 FREE(tc); 132 sp_destroy_tile_cache(struct softpipe_tile_cache *tc) argument 156 sp_tile_cache_set_surface(struct softpipe_tile_cache *tc, struct pipe_surface *ps) argument 192 sp_tile_cache_get_surface(struct softpipe_tile_cache *tc) argument 199 sp_tile_cache_map_transfers(struct softpipe_tile_cache *tc) argument 207 sp_tile_cache_unmap_transfers(struct softpipe_tile_cache *tc) argument 325 sp_tile_cache_flush_clear(struct softpipe_tile_cache *tc) argument 388 sp_flush_tile(struct softpipe_tile_cache* tc, unsigned pos) argument 431 sp_flush_tile_cache(struct softpipe_tile_cache *tc) argument 462 sp_alloc_tile(struct softpipe_tile_cache *tc) argument 499 sp_find_cached_tile(struct softpipe_tile_cache *tc, union tile_address addr ) argument 614 sp_tile_cache_clear(struct softpipe_tile_cache *tc, const union pipe_color_union *color, uint64_t clearValue) argument [all...] |
H A D | sp_tile_cache.h | 106 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, argument 155 if (tc [all...] |
/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/ |
H A D | perf-time-to-tsc.c | 65 struct perf_tsc_conversion tc; local 97 ret = perf_read_tsc_conversion(pc, &tc); 145 test_time = tsc_to_perf_time(test_tsc, &tc); 146 comm1_tsc = perf_time_to_tsc(comm1_time, &tc); 147 comm2_tsc = perf_time_to_tsc(comm2_time, &tc);
|
/external/mesa3d/src/gallium/drivers/nv50/ |
H A D | nv50_tex.c | 35 nv50_tic_swizzle(uint32_t tc, unsigned swz, boolean tex_int) argument 39 return (tc & NV50_TIC_0_MAPR__MASK) >> NV50_TIC_0_MAPR__SHIFT; 41 return (tc & NV50_TIC_0_MAPG__MASK) >> NV50_TIC_0_MAPG__SHIFT; 43 return (tc & NV50_TIC_0_MAPB__MASK) >> NV50_TIC_0_MAPB__SHIFT; 45 return (tc & NV50_TIC_0_MAPA__MASK) >> NV50_TIC_0_MAPA__SHIFT;
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
H A D | sp_tex_tile_cache.c | 49 struct softpipe_tex_tile_cache *tc; local 55 tc = CALLOC_STRUCT( softpipe_tex_tile_cache ); 56 if (tc) { 57 tc->pipe = pipe; 59 tc->entries[pos].addr.bits.invalid = 1; 61 tc->last_tile = &tc->entries[0]; /* any tile */ 63 return tc; 68 sp_destroy_tex_tile_cache(struct softpipe_tex_tile_cache *tc) argument 70 if (tc) { 91 sp_tex_tile_cache_map_transfers(struct softpipe_tex_tile_cache *tc) argument 99 sp_tex_tile_cache_unmap_transfers(struct softpipe_tex_tile_cache *tc) argument 112 sp_tex_tile_cache_validate_texture(struct softpipe_tex_tile_cache *tc) argument 125 sp_tex_tile_is_compat_view(struct softpipe_tex_tile_cache *tc, struct pipe_sampler_view *view) argument 142 sp_tex_tile_cache_set_sampler_view(struct softpipe_tex_tile_cache *tc, struct pipe_sampler_view *view) argument 189 sp_flush_tex_tile_cache(struct softpipe_tex_tile_cache *tc) argument 228 sp_find_cached_tile_tex(struct softpipe_tex_tile_cache *tc, union tex_tile_address addr ) argument [all...] |
H A D | sp_state_derived.c | 216 struct softpipe_tex_tile_cache *tc = softpipe->tex_cache[sh][i]; local 217 if (tc && tc->texture) { 218 struct softpipe_resource *spt = softpipe_resource(tc->texture); 219 if (spt->timestamp != tc->timestamp) { 220 sp_tex_tile_cache_validate_texture( tc ); 222 _debug_printf("INV %d %d\n", tc->timestamp, spt->timestamp); 224 tc->timestamp = spt->timestamp;
|
/external/ppp/pppd/ |
H A D | srp-entry.c | 96 struct t_conf *tc; local 121 if (idx != 0 && (tc = t_openconf(NULL)) != NULL) { 123 tcent = t_getconflast(tc); 125 tcent = t_getconfbyindex(tc, idx);
|
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/ |
H A D | RunnerController.java | 158 for(TestCase tc: rule.getTestCases()) { 159 this.add(new TestCaseTreeNode(tc)); 169 for(TestCase tc: data.getTestCases()) { 170 if(tc.isPass()) 187 private TestCaseTreeNode(TestCase tc) { argument 188 super(tc.toString()); 189 data = tc;
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/debuggee/ |
H A D | InvokeMethodDebuggee.java | 70 testClass tc, testClass[] atc, testClass[][] aatc) { 68 testMethod3(int i, int[] ai, int[][] aai, String s, String[] as, String[][] aas, testClass tc, testClass[] atc, testClass[][] aatc) argument
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
H A D | RenderTableCol.cpp | 70 HTMLTableColElement& tc = toHTMLTableColElement(*n); local 71 m_span = tc.span();
|
/external/chromium_org/third_party/libsrtp/srtp/crypto/test/ |
H A D | sha1_driver.c | 148 struct hex_sha1_test_case_t tc[] = { local 476 tc[i].hex_data, 477 tc[i].bit_len/8, 478 tc[i].hex_hash, 20);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nvc0/ |
H A D | nvc0_tex.c | 37 nv50_tic_swizzle(uint32_t tc, unsigned swz, boolean tex_int) argument 41 return (tc & NV50_TIC_0_MAPR__MASK) >> NV50_TIC_0_MAPR__SHIFT; 43 return (tc & NV50_TIC_0_MAPG__MASK) >> NV50_TIC_0_MAPG__SHIFT; 45 return (tc & NV50_TIC_0_MAPB__MASK) >> NV50_TIC_0_MAPB__SHIFT; 47 return (tc & NV50_TIC_0_MAPA__MASK) >> NV50_TIC_0_MAPA__SHIFT;
|
/external/clang/test/CXX/special/class.copy/ |
H A D | p12-0x.cpp | 49 TemplateCtor tc; member in struct:TemplateCtorMember
|
H A D | p25-0x.cpp | 52 TemplateCtor tc; member in struct:TemplateCtorMember
|
/external/expat/tests/ |
H A D | minicheck.c | 28 TCase *tc = (TCase *) calloc(1, sizeof(TCase)); local 29 if (tc != NULL) { 30 tc->name = name; 32 return tc; 36 suite_add_tcase(Suite *suite, TCase *tc) argument 39 assert(tc != NULL); 40 assert(tc->next_tcase == NULL); 42 tc->next_tcase = suite->tests; 43 suite->tests = tc; 47 tcase_add_checked_fixture(TCase *tc, argument 57 tcase_add_test(TCase *tc, tcase_test_function test) argument 114 TCase *tc; local [all...] |
/external/mesa3d/src/gallium/drivers/nvc0/ |
H A D | nvc0_tex.c | 37 nv50_tic_swizzle(uint32_t tc, unsigned swz, boolean tex_int) argument 41 return (tc & NV50_TIC_0_MAPR__MASK) >> NV50_TIC_0_MAPR__SHIFT; 43 return (tc & NV50_TIC_0_MAPG__MASK) >> NV50_TIC_0_MAPG__SHIFT; 45 return (tc & NV50_TIC_0_MAPB__MASK) >> NV50_TIC_0_MAPB__SHIFT; 47 return (tc & NV50_TIC_0_MAPA__MASK) >> NV50_TIC_0_MAPA__SHIFT;
|