/external/python/cpython2/Modules/cjkcodecs/ |
_codecs_cn.c | 177 ucs4_t tc = c - 0x10000; local 181 OUT4((unsigned char)(tc % 10) + 0x30) 182 tc /= 10; 183 OUT3((unsigned char)(tc % 126) + 0x81) 184 tc /= 126; 185 OUT2((unsigned char)(tc % 10) + 0x30) 186 tc /= 10; 187 OUT1((unsigned char)(tc + 0x90)) 211 Py_UNICODE tc; local 213 tc = c - utrrange->first [all...] |
/external/python/cpython3/Modules/cjkcodecs/ |
_codecs_cn.c | 193 Py_UCS4 tc = c - 0x10000; local 198 OUTBYTE4((unsigned char)(tc % 10) + 0x30); 199 tc /= 10; 200 OUTBYTE3((unsigned char)(tc % 126) + 0x81); 201 tc /= 126; 202 OUTBYTE2((unsigned char)(tc % 10) + 0x30); 203 tc /= 10; 204 OUTBYTE1((unsigned char)(tc + 0x90)); 225 Py_UCS4 tc; local 227 tc = c - utrrange->first [all...] |
/art/test/800-smali/src/ |
Main.java | 188 for (TestCase tc : testCases) { 189 System.out.println(tc.testName); 191 runTest(tc); 198 private void runTest(TestCase tc) throws Exception { 201 Class<?> c = Class.forName(tc.testClass); 209 if (m.getName().equals(tc.testMethodName)) { 217 tc.testMethodName + " in class " + 218 tc.testClass + " for test " + 219 tc.testName); 223 retValue = method.invoke(null, tc.values) [all...] |
/external/libnl/lib/route/ |
act.c | 13 * @ingroup tc 19 #include <netlink-private/tc.h> 22 #include <netlink-private/route/tc-api.h> 70 struct rtnl_tc *tc = TC_CAST(act); local 79 if (tc->ce_mask & TCA_ATTR_KIND) 80 NLA_PUT_STRING(msg, TCA_ACT_KIND, tc->tc_kind); 82 ops = rtnl_tc_get_ops(tc); 85 void *data = rtnl_tc_data(tc); 91 if ((err = ops->to_msg_fill(tc, data, msg)) < 0) 95 } else if ((err = ops->to_msg_fill_raw(tc, data, msg)) < 0 172 struct rtnl_tc *tc; local 400 struct rtnl_tc *tc; local 461 struct rtnl_tc *tc = TC_CAST(*act); local [all...] |
/external/valgrind/memcheck/tests/ |
cond_ld_st.c | 354 int i, Bool isLd, const TestCase* tc ) 357 if (i == 0) { fn(i,isLd,tc); return; }; 359 if (i == 1) { fn(i,isLd,tc); return; }; 361 if (i == 2) { fn(i,isLd,tc); return; }; 363 if (i == 3) { fn(i,isLd,tc); return; }; 365 if (i == 4) { fn(i,isLd,tc); return; }; 367 if (i == 5) { fn(i,isLd,tc); return; }; 369 if (i == 6) { fn(i,isLd,tc); return; }; 371 if (i == 7) { fn(i,isLd,tc); return; }; 373 if (i == 8) { fn(i,isLd,tc); return; } [all...] |
/external/selinux/libsepol/cil/test/unit/ |
test_cil_resolve_ast.c | 66 void test_cil_resolve_name(CuTest *tc) { 87 CuAssertIntEquals(tc, SEPOL_OK, rc); 90 void test_cil_resolve_name_invalid_type_neg(CuTest *tc) { 111 CuAssertIntEquals(tc, SEPOL_ENOENT, rc); 114 void test_cil_resolve_ast_curr_null_neg(CuTest *tc) { 121 CuAssertIntEquals(tc, SEPOL_ERR, rc); 129 void test_cil_resolve_roleallow(CuTest *tc) { 146 CuAssertIntEquals(tc, SEPOL_OK, rc); 149 void test_cil_resolve_roleallow_srcdecl_neg(CuTest *tc) { 166 CuAssertIntEquals(tc, SEPOL_ENOENT, rc) [all...] |
/external/google-benchmark/src/ |
counter.cc | 46 for (auto const &tc : r) { 47 auto it = l->find(tc.first); 49 (*l)[tc.first] = tc.second;
|
/external/libcxx/utils/google-benchmark/src/ |
counter.cc | 46 for (auto const &tc : r) { 47 auto it = l->find(tc.first); 49 (*l)[tc.first] = tc.second;
|
/external/libnl/include/netlink/cli/ |
cls.h | 16 #include <netlink/cli/tc.h>
|
/external/libnl/lib/route/qdisc/ |
blackhole.c | 20 #include <netlink-private/route/tc-api.h>
|
/external/ltp/testcases/kernel/syscalls/fcntl/ |
fcntl35.c | 116 struct tcase *tc = &tcases[n]; local 119 if (tc->exp_usr) 122 verify_pipe_size(*tc->exp_sz, tc->des);
|
fcntl32.c | 60 int tc; local 69 for (tc = 0; tc < TST_TOTAL; tc++) 70 verify_fcntl(tc);
|
/external/ltp/testcases/kernel/syscalls/getcwd/ |
getcwd02.c | 81 struct t_case *tc = &tcases[n]; local 85 res = getcwd(tc->buf, tc->size); 101 if (!tc->buf)
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/utils/google-benchmark/src/ |
counter.cc | 46 for (auto const &tc : r) { 47 auto it = l->find(tc.first); 49 (*l)[tc.first] = tc.second;
|
/external/golang-protobuf/protoc-gen-go/generator/ |
name_test.go | 53 for _, tc := range tests { 54 if got := CamelCase(tc.in); got != tc.want { 55 t.Errorf("CamelCase(%q) = %q, want %q", tc.in, got, tc.want) 71 for _, tc := range tests { 75 GoPackage: &tc.in, 80 if impPath != tc.impPath || pkg != tc.pkg || ok != tc.ok [all...] |
/external/libnl/src/ |
nl-cls-delete.c | 91 struct rtnl_tc *tc; local 99 tc = (struct rtnl_tc *) cls; 135 case 'd': nl_cli_tc_parse_dev(tc, link_cache, optarg); break; 136 case 'p': nl_cli_tc_parse_parent(tc, optarg); break; 137 case 'i': nl_cli_tc_parse_handle(tc, optarg, 0); break; 138 case 'k': nl_cli_tc_parse_kind(tc, optarg); break; 146 if ((ifindex = rtnl_tc_get_ifindex(tc)))
|
/external/ltp/testcases/kernel/syscalls/msync/ |
msync03.c | 82 static void msync_verify(struct test_case_t *tc); 144 static void msync_verify(struct test_case_t *tc) 146 TEST(msync(*(tc->addr), page_sz, tc->flags)); 152 if (TEST_ERRNO == tc->exp_errno) { 157 "%d - %s", tc->exp_errno, 158 strerror(tc->exp_errno));
|
/external/ltp/testcases/kernel/syscalls/perf_event_open/ |
perf_event_open01.c | 78 static void verify(struct test_case_t *tc); 142 static void verify(struct test_case_t *tc) 147 pe.type = tc->type; 148 pe.config = tc->config; 156 tc->config_name); 160 tc->config_name); 189 tc->config_name);
|
/external/ltp/testcases/kernel/syscalls/quotactl/ |
quotactl02.c | 163 struct t_case *tc = &tcases[n]; local 165 TEST(quotactl(tc->cmd, tst_device->dev, test_id, tc->addr)); 167 tst_res(TFAIL | TTERRNO, "quotactl() failed to %s", tc->des); 171 tc->func_check(tc->check_subcmd, tc->des);
|
/external/ltp/testcases/kernel/syscalls/rmdir/ |
rmdir02.c | 96 static void rmdir_verify(struct test_case_t *tc); 171 static void rmdir_verify(struct test_case_t *tc) 173 TEST(rmdir(tc->dir)); 178 tc->exp_errno); 182 if (TEST_ERRNO == tc->exp_errno) { 187 tc->exp_errno, strerror(tc->exp_errno));
|
/prebuilts/go/darwin-x86/src/cmd/vendor/github.com/google/pprof/internal/elfexec/ |
elfexec_test.go | 73 for _, tc := range testcases { 74 base, err := GetBase(tc.fh, tc.loadSegment, tc.stextOffset, tc.start, tc.limit, tc.offset) 76 if !tc.wanterr { 77 t.Errorf("%s: want no error, got %v", tc.label, err) 81 if tc.wanterr [all...] |
/prebuilts/go/linux-x86/src/cmd/vendor/github.com/google/pprof/internal/elfexec/ |
elfexec_test.go | 73 for _, tc := range testcases { 74 base, err := GetBase(tc.fh, tc.loadSegment, tc.stextOffset, tc.start, tc.limit, tc.offset) 76 if !tc.wanterr { 77 t.Errorf("%s: want no error, got %v", tc.label, err) 81 if tc.wanterr [all...] |
/cts/tests/tests/net/src/android/net/cts/ |
MacAddressTest.java | 83 for (TestCase tc : tests) { 84 MacAddress mac = MacAddress.fromString(tc.macAddress); 86 if (!tc.ouiString.equals(mac.toOuiString())) { 88 tc.ouiString, mac.toOuiString())); 91 if (tc.isLocallyAssigned != mac.isLocallyAssigned()) { 93 localAssignedToString(tc.isLocallyAssigned), 97 if (tc.addressType != mac.getAddressType()) { 99 typeToString(tc.addressType), typeToString(mac.getAddressType()))); 102 if (!tc.macAddress.equals(mac.toString())) { 104 tc.macAddress, mac.toString())) [all...] |
/external/libnl/lib/cli/qdisc/ |
htb.c | 13 #include <netlink/cli/tc.h> 31 static void htb_parse_qdisc_argv(struct rtnl_tc *tc, int argc, char **argv) 33 struct rtnl_qdisc *qdisc = (struct rtnl_qdisc *) tc; 87 static void htb_parse_class_argv(struct rtnl_tc *tc, int argc, char **argv) 89 struct rtnl_class *class = (struct rtnl_class *) tc;
|
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmat/ |
hugeshmat01.c | 77 struct tcase *tc = &tcases[i]; local 79 addr = shmat(*(tc->shmid), tc->addr, tc->flags); 91 tc[1].addr = (void *)(((unsigned long)addr &
|