/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_tile_cache.h | 109 sp_destroy_tile_cache(struct softpipe_tile_cache *tc); 112 sp_tile_cache_set_surface(struct softpipe_tile_cache *tc, 116 sp_tile_cache_get_surface(struct softpipe_tile_cache *tc); 119 sp_flush_tile_cache(struct softpipe_tile_cache *tc); 122 sp_tile_cache_clear(struct softpipe_tile_cache *tc, 127 sp_find_cached_tile(struct softpipe_tile_cache *tc, 147 sp_get_cached_tile(struct softpipe_tile_cache *tc, 152 if (tc->last_tile_addr.value == addr.value) 153 return tc->last_tile; 155 return sp_find_cached_tile( tc, addr ) [all...] |
sp_tex_tile_cache.h | 112 sp_destroy_tex_tile_cache(struct softpipe_tex_tile_cache *tc); 115 sp_tex_tile_cache_set_sampler_view(struct softpipe_tex_tile_cache *tc, 119 sp_tex_tile_cache_validate_texture(struct softpipe_tex_tile_cache *tc); 122 sp_flush_tex_tile_cache(struct softpipe_tex_tile_cache *tc); 127 sp_find_cached_tile_tex(struct softpipe_tex_tile_cache *tc, 151 sp_get_cached_tile_tex(struct softpipe_tex_tile_cache *tc, 154 if (tc->last_tile->addr.value == addr.value) 155 return tc->last_tile; 157 return sp_find_cached_tile_tex( tc, addr );
|
/external/selinux/libsepol/cil/test/unit/ |
test_cil_post.c | 39 void test_cil_post_filecon_compare_meta_a_not_b(CuTest *tc) { 54 CuAssertTrue(tc, rc < 0); 57 void test_cil_post_filecon_compare_meta_b_not_a(CuTest *tc) { 72 CuAssertTrue(tc, rc > 0); 75 void test_cil_post_filecon_compare_meta_a_and_b_strlen_a_greater_b(CuTest *tc) { 90 CuAssertTrue(tc, rc > 0); 93 void test_cil_post_filecon_compare_type_atype_greater_btype(CuTest *tc) { 109 CuAssertTrue(tc, rc > 0); 112 void test_cil_post_filecon_compare_type_btype_greater_atype(CuTest *tc) { 129 CuAssertTrue(tc, rc < 0) [all...] |
test_cil_build_ast.c | 63 void test_cil_parse_to_list(CuTest *tc) { 89 CuAssertIntEquals(tc, SEPOL_OK, rc); 94 void test_cil_parse_to_list_currnull_neg(CuTest *tc) { 120 CuAssertIntEquals(tc, SEPOL_ERR, rc); 125 void test_cil_parse_to_list_listnull_neg(CuTest *tc) { 149 CuAssertIntEquals(tc, SEPOL_ERR, rc); 154 void test_cil_set_to_list(CuTest *tc) { 167 CuAssertIntEquals(tc, SEPOL_OK, rc); 168 CuAssertStrEquals(tc, "foo1", (char*)cil_l->head->data); 169 CuAssertStrEquals(tc, "foo2", (char*)cil_l->head->next->data) [all...] |
/external/mesa3d/src/gallium/drivers/ilo/shader/ |
ilo_shader_fs.c | 41 struct toy_compiler tc; member in struct:fs_compile_context 73 struct toy_compiler *tc = &fcc->tc; local 96 tmp_uw = tdst_uw(tc_alloc_tmp(tc)); 97 tmp = tc_alloc_tmp(tc); 100 tc_ADD(tc, tmp_uw, subspan_x, tsrc_imm_v(0x10101010)); 101 tc_MOV(tc, tmp, tsrc_from(tmp_uw)); 103 tc_MOV(tc, real_dst[0], tsrc_from(tmp)); 105 tc_ADD(tc, real_dst[0], tsrc_from(tmp), tsrc_imm_f(0.5f)); 108 tc_ADD(tc, tmp_uw, subspan_y, tsrc_imm_v(0x11001100)) 136 struct toy_compiler *tc = &fcc->tc; local 161 struct toy_compiler *tc = &fcc->tc; local 264 struct toy_compiler *tc = &fcc->tc; local 348 struct toy_compiler *tc = &fcc->tc; local 393 struct toy_compiler *tc = &fcc->tc; local 457 struct toy_compiler *tc = &fcc->tc; local 482 struct toy_compiler *tc = &fcc->tc; local 520 struct toy_compiler *tc = &fcc->tc; local 722 struct toy_compiler *tc = &fcc->tc; local 1100 struct toy_compiler *tc = &fcc->tc; local 1283 struct toy_compiler *tc = &fcc->tc; local 1368 struct toy_compiler *tc = &fcc->tc; local 1444 struct toy_compiler *tc = &fcc->tc; local [all...] |
ilo_shader_gs.c | 48 struct toy_compiler tc; member in struct:gs_compile_context 112 gs_COPY8(struct toy_compiler *tc, struct toy_dst dst, struct toy_src src) 116 inst = tc_MOV(tc, dst, src); 122 gs_COPY4(struct toy_compiler *tc, 128 inst = tc_MOV(tc, 136 gs_COPY1(struct toy_compiler *tc, 142 inst = tc_MOV(tc, 152 struct toy_compiler *tc = &gcc->tc; local 158 gs_COPY8(tc, dst, gcc->payload.header) 181 struct toy_compiler *tc = &gcc->tc; local 200 struct toy_compiler *tc = &gcc->tc; local 228 struct toy_compiler *tc = &gcc->tc; local 284 struct toy_compiler *tc = &gcc->tc; local 334 struct toy_compiler *tc = &gcc->tc; local 372 struct toy_compiler *tc = &gcc->tc; local 394 struct toy_compiler *tc = &gcc->tc; local 438 struct toy_compiler *tc = &gcc->tc; local 541 struct toy_compiler *tc = &gcc->tc; local 572 struct toy_compiler *tc = &gcc->tc; local 656 struct toy_compiler *tc = &gcc->tc; local 701 struct toy_compiler *tc = &gcc->tc; local 793 struct toy_compiler *tc = &gcc->tc; local 855 struct toy_compiler *tc = &gcc->tc; local 915 struct toy_compiler *tc = &gcc->tc; local [all...] |
toy_legalize.c | 38 toy_compiler_lower_to_send(struct toy_compiler *tc, struct toy_inst *inst, 77 toy_compiler_lower_math(struct toy_compiler *tc, struct toy_inst *inst) 95 tmp = tdst_type(tc_alloc_tmp(tc), inst->src[i].type); 96 tc_MOV(tc, tmp, inst->src[i]); 108 tc_move_inst(tc, inst); 115 tmp = tc_alloc_tmp(tc); 119 inst2 = tc_MOV(tc, dst, tsrc_from(tmp)); 177 validate_imm(struct toy_compiler *tc, struct toy_inst *inst) 209 tmp = tc_alloc_tmp(tc); 211 tc_MOV(tc, tmp, inst->src[i]) [all...] |
/toolchain/binutils/binutils-2.27/gas/ |
Makefile.am | 45 TARG_CPU_C = $(srcdir)/config/tc-@target_cpu_type@.c 46 TARG_CPU_O = tc-@target_cpu_type@.@OBJEXT@ 47 TARG_CPU_H = $(srcdir)/config/tc-@target_cpu_type@.h 126 tc.h \ 132 config/tc-aarch64.c \ 133 config/tc-alpha.c \ 134 config/tc-arc.c \ 135 config/tc-arm.c \ 136 config/tc-avr.c \ 137 config/tc-bfin.c [all...] |
/external/ltp/testcases/kernel/syscalls/pwritev/ |
pwritev02.c | 83 struct tcase *tc = &tcases[n]; local 85 TEST(pwritev(*tc->fd, tc->name, tc->count, tc->offset)); 91 if (TEST_ERRNO == tc->exp_err) { 97 tst_strerrno(tc->exp_err));
|
/external/ltp/testcases/kernel/syscalls/tee/ |
tee02.c | 65 struct tcase *tc = &tcases[n]; local 67 TEST(tee(*(tc->fdin), *(tc->fdout), TEE_TEST_LEN, 0)); 72 tc->exp_errno); 76 if (TEST_ERRNO != tc->exp_errno) { 79 tc->exp_errno, tst_strerrno(tc->exp_errno));
|
/prebuilts/go/darwin-x86/src/net/ |
dnsname_test.go | 42 for _, tc := range dnsNameTests { 43 ch <- tc 62 for tc := range ch { 63 if isDomainName(tc.name) != tc.result { 64 t.Errorf("isDomainName(%q) = %v; want %v", tc.name, !tc.result, tc.result) 77 for _, tc := range benchmarks { 78 if isDomainName(tc.name) != tc.result [all...] |
/prebuilts/go/darwin-x86/src/strings/ |
search_test.go | 35 for _, tc := range testCases { 36 got := StringFind(tc.pat, tc.text) 37 want := tc.index 39 t.Errorf("stringFind(%q, %q) got %d, want %d\n", tc.pat, tc.text, got, want) 73 for _, tc := range testCases { 74 bad, good := DumpTables(tc.pattern) 77 want := tc.bad[i] 79 want = len(tc.pattern [all...] |
/prebuilts/go/linux-x86/src/net/ |
dnsname_test.go | 42 for _, tc := range dnsNameTests { 43 ch <- tc 62 for tc := range ch { 63 if isDomainName(tc.name) != tc.result { 64 t.Errorf("isDomainName(%q) = %v; want %v", tc.name, !tc.result, tc.result) 77 for _, tc := range benchmarks { 78 if isDomainName(tc.name) != tc.result [all...] |
/prebuilts/go/linux-x86/src/strings/ |
search_test.go | 35 for _, tc := range testCases { 36 got := StringFind(tc.pat, tc.text) 37 want := tc.index 39 t.Errorf("stringFind(%q, %q) got %d, want %d\n", tc.pat, tc.text, got, want) 73 for _, tc := range testCases { 74 bad, good := DumpTables(tc.pattern) 77 want := tc.bad[i] 79 want = len(tc.pattern [all...] |
/external/ltp/testcases/kernel/syscalls/fchown/ |
fchown05.c | 47 } tc[] = { variable in typeref:struct:test_case_t 56 int TST_TOTAL = ARRAY_SIZE(tc); 76 for (i = 0; tc[i].desc != NULL; i++) { 77 user_id = tc[i].user_id; 78 group_id = tc[i].group_id; 84 "fchown() Fails to %s", tc[i].desc); 91 user_id = tc[i - 1].user_id; 94 group_id = tc[i - 1].group_id; 104 tc[i].desc, TESTFILE);
|
/external/ltp/testcases/kernel/syscalls/read/ |
read02.c | 77 struct tcase *tc = &tcases[n]; local 79 if (tc->fd == &fd4 && *tc->fd == -1) { 85 TEST(read(*tc->fd, *tc->buf, tc->count)); 87 if (*tc->fd == fd4 && TEST_RETURN >= 0) { 98 if (TEST_ERRNO == tc->exp_error) { 102 "expected %s", tst_strerrno(tc->exp_error));
|
/external/ltp/testcases/kernel/syscalls/splice/ |
splice03.c | 92 struct tcase *tc = &tcases[n]; local 94 TEST(splice(*(tc->fdin), tc->offin, *(tc->fdout), 95 tc->offout, SPLICE_TEST_LEN, 0)); 99 TEST_RETURN, tst_strerrno(tc->exp_errno)); 103 if (TEST_ERRNO != tc->exp_errno) { 106 tc->exp_errno, tst_strerrno(tc->exp_errno));
|
/build/soong/ui/build/ |
config_test.go | 76 for _, tc := range testCases { 77 t.Run(strings.Join(tc.args, " "), func(t *testing.T) { 86 c.parseArgs(ctx, tc.args) 88 if c.parallel != tc.parallel { 90 strings.Join(tc.args, " "), 91 tc.parallel, c.parallel) 93 if c.keepGoing != tc.keepGoing { 95 strings.Join(tc.args, " "), 96 tc.keepGoing, c.keepGoing) 98 if !reflect.DeepEqual(c.arguments, tc.remaining) [all...] |
/external/ltp/testcases/kernel/syscalls/clock_nanosleep/ |
clock_nanosleep01.c | 99 struct test_case *tc = &tcase[i]; local 103 tst_res(TINFO, "case %s", tc->desc); 105 if (tc->ttype == SEND_SIGINT) 108 TEST(clock_nanosleep(tc->clk_id, tc->flags, &tc->rq, &rm)); 115 if (tc->ttype == SEND_SIGINT) { 116 long long expect_ms = tst_timespec_to_ms(tc->rq); 136 if (TEST_RETURN != tc->exp_ret) { 139 tc->exp_ret, tst_strerrno(tc->exp_err), tc->exp_err) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/wizards/ |
NdkWizardHandler.java | 32 for (IToolChain tc : tcs) { 33 if (tc.getId().equals("com.android.toolchain.gcc")) //$NON-NLS-1$ 35 tc
|
/toolchain/binutils/binutils-2.27/ld/testsuite/ld-powerpc/ |
aix-weak-3b.s | 13 .tc x1[TC],x1 15 .tc x2[TC],x2 17 .tc x3[TC],x3
|
/external/ltp/testcases/kernel/syscalls/mq_notify/ |
mq_notify01.c | 117 struct test_case *tc = &tcase[i]; local 120 ev.sigev_notify = tc->notify; 123 switch (tc->notify) { 145 if (tc->already_registered && mq_notify(*tc->fd, &ev) == -1) { 150 TEST(mq_notify(*tc->fd, &ev)); 153 if (tc->err != TEST_ERRNO) 156 tst_strerrno(tc->err)); 161 if (*tc->fd == fd) 162 mq_notify(*tc->fd, NULL) [all...] |
/external/tensorflow/tensorflow/contrib/labeled_tensor/python/ops/ |
core.py | 38 from tensorflow.contrib.labeled_tensor.python.ops import _typecheck as tc 49 LabelsLike = tc.Union(np.ndarray, range, list, tuple) 52 DimensionLike = tc.Optional(tc.Union(tensor_shape.Dimension, int)) 55 AxisValue = tc.Union(LabelsLike, DimensionLike) 58 Scalar = tc.Union(numbers.Number, bool, binary_type, text_type) 72 @tc.accepts(object, string_types, AxisValue) 113 @tc.returns(string_types) 117 @tc.returns(string_types) 123 @tc.returns(bool [all...] |
/external/ltp/testcases/kernel/syscalls/ppoll/ |
ppoll01.c | 213 struct test_case *tc = &tcase[i]; local 216 if (tc->ts) { 217 memcpy(&ts, tc->ts, sizeof(ts)); 221 tst_res(TINFO, "case %s", tc->desc); 224 if (tc->sigmask_cur) { 225 if (sigprocmask(SIG_SETMASK, tc->sigmask_cur, NULL) == -1) 228 if (tc->sigint_count > 0) { 229 pid = create_sig_proc(SIGINT, tc->sigint_count, 230 tc->sigint_delay); 235 sys_ret = tst_syscall(__NR_ppoll, tc->fds, tc->nfds, tsp [all...] |
/pdk/apps/TestingCamera2/src/com/android/testingcamera2/ |
PaneLayout.java | 120 public void readConfig(TestingCamera21 tc, XmlPullParser configParser) 128 T pane = readControlPane(tc, configParser); 154 public void addPane(TestingCamera21 tc) { 155 T newPane = createControlPane(tc, null); 175 protected abstract T createControlPane(TestingCamera21 tc, AttributeSet attrs); 177 protected abstract T readControlPane(TestingCamera21 tc, XmlPullParser configParser) 187 protected TargetControlPane createControlPane(TestingCamera21 tc, AttributeSet attrs) { 188 return new TargetControlPane(tc, attrs, this); 191 protected TargetControlPane readControlPane(TestingCamera21 tc, XmlPullParser configParser) 193 return new TargetControlPane(tc, configParser, this) [all...] |