/external/ltp/testcases/kernel/syscalls/open/ |
open13.c | 74 int tc; local 85 for (tc = 0; tc < TST_TOTAL; tc++) 86 (*test_func[tc])();
|
/external/ltp/testcases/kernel/syscalls/signal/ |
signal01.c | 59 static void do_test(int tc); 100 static void do_test(int tc) 109 if (self_exec(argv0, "d", tc) < 0) 112 tcase = tc; 120 if (tcases[tc].kill) {
|
/external/libnl/lib/route/act/ |
mirred.c | 20 #include <netlink-private/tc.h> 24 #include <netlink-private/route/tc-api.h> 31 static int mirred_msg_parser(struct rtnl_tc *tc, void *data) 37 err = tca_parse(tb, TCA_MIRRED_MAX, tc, mirred_policy); 48 static void mirred_free_data(struct rtnl_tc *tc, void *data) 60 static void mirred_dump_line(struct rtnl_tc *tc, void *data, 96 static void mirred_dump_details(struct rtnl_tc *tc, void *data, 101 static void mirred_dump_stats(struct rtnl_tc *tc, void *data, 112 static int mirred_msg_fill(struct rtnl_tc *tc, void *data, struct nl_msg *msg)
|
/external/libnl/lib/route/qdisc/ |
red.c | 20 #include <netlink-private/tc.h> 23 #include <netlink-private/route/tc-api.h> 41 static int red_msg_parser(struct rtnl_tc *tc, void *data) 48 if (!(tc->ce_mask & TCA_ATTR_OPTS)) 51 err = tca_parse(tb, TCA_RED_MAX, tc, red_policy); 75 static void red_dump_line(struct rtnl_tc *tc, void *data, 85 static void red_dump_details(struct rtnl_tc *tc, void *data, 95 static void red_dump_stats(struct rtnl_tc *tc, void *data, 105 static int red_msg_fill(struct rtnl_tc *tc, void *data, struct nl_msg *msg)
|
sfq.c | 27 #include <netlink-private/tc.h> 30 #include <netlink-private/route/tc-api.h> 42 static int sfq_msg_parser(struct rtnl_tc *tc, void *data) 47 if (!(tc->ce_mask & TCA_ATTR_OPTS)) 50 if (tc->tc_opts->d_size < sizeof(*opts)) 53 opts = (struct tc_sfq_qopt *) tc->tc_opts->d_data; 68 static void sfq_dump_line(struct rtnl_tc *tc, void *data, 78 static void sfq_dump_details(struct rtnl_tc *tc, void *data, 88 static int sfq_msg_fill(struct rtnl_tc *tc, void *data, struct nl_msg *msg)
|
/external/ltp/testcases/kernel/syscalls/access/ |
access01.c | 253 static void verify_success(struct tcase *tc, const char *user) 258 tc->fname, tc->name, user); 262 tst_res(TPASS, "access(%s, %s) as %s", tc->fname, tc->name, user); 265 static void verify_failure(struct tcase *tc, const char *user) 269 tc->fname, tc->name, user); 273 if (TEST_ERRNO != tc->exp_errno) { 276 tc->fname, tc->name, user 297 struct tcase *tc = tcases + n; local [all...] |
/external/ltp/testcases/kernel/syscalls/utimes/ |
utimes01.c | 157 static void utimes_verify(const struct test_case_t *tc) 162 if (tc->exp_errno == 0) { 163 SAFE_STAT(cleanup, tc->pathname, &st); 171 TEST(utimes(tc->pathname, tc->times)); 173 if (TEST_ERRNO == tc->exp_errno) { 178 tc->exp_errno, strerror(tc->exp_errno)); 181 if (TEST_ERRNO == 0 && utimes(tc->pathname, tmp_tv) == -1)
|
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/ppc/ |
test1xcoff.asm | 19 .tc ignored0[TC],dsym0 21 .tc ignored1[TC],dsym1 23 .tc ignored2[TC],usym0 25 .tc ignored3[TC],usym1 27 .tc ignored4[TC],esym [all...] |
test1elf64.s | 20 .tc ignored0[TC],dsym0 22 .tc ignored1[TC],dsym1 24 .tc ignored2[TC],usym0 26 .tc ignored3[TC],usym1 28 .tc ignored4[TC],esym [all...] |
/prebuilts/go/darwin-x86/test/fixedbugs/ |
issue19658.go | 45 for _, tc := range []struct { 71 fmt.Fprintf(&b, fn, tc.Type, tc.Input) 88 log.Fatalf("expected a panic in output for %s, got: %s", tc.Type, out) 92 log.Fatalf("expected a newline in output for %s after the panic, got: %s", tc.Type, out) 95 if string(out) != tc.Expect { 96 log.Fatalf("expected '%s' for panic(%s(%s)), got %s", tc.Expect, tc.Type, tc.Input, out)
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
issue19658.go | 45 for _, tc := range []struct { 71 fmt.Fprintf(&b, fn, tc.Type, tc.Input) 88 log.Fatalf("expected a panic in output for %s, got: %s", tc.Type, out) 92 log.Fatalf("expected a newline in output for %s after the panic, got: %s", tc.Type, out) 95 if string(out) != tc.Expect { 96 log.Fatalf("expected '%s' for panic(%s(%s)), got %s", tc.Expect, tc.Type, tc.Input, out)
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bidi/ |
TestContext.java | 78 int tc; local 85 for (tc = 0; tc < CONTEXT_COUNT; tc++) { 86 cc = contextData[tc]; 97 assertEquals("\nActual and expected output mismatch on case "+tc+"." +
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/ |
TestContext.java | 75 int tc; local 82 for (tc = 0; tc < CONTEXT_COUNT; tc++) { 83 cc = contextData[tc]; 94 assertEquals("\nActual and expected output mismatch on case "+tc+"." +
|
/external/ltp/testcases/kernel/syscalls/link/ |
link08.c | 101 static void link_verify(const struct test_case_t *tc) 103 TEST(link(tc->oldpath, tc->newpath)); 110 if (TEST_ERRNO == tc->exp_errno) { 115 tc->exp_errno, strerror(tc->exp_errno));
|
/external/ltp/testcases/kernel/syscalls/madvise/ |
madvise01.c | 104 struct tcase *tc = &tcases[i]; local 106 TEST(madvise(*(tc->addr), st.st_size, tc->advice)); 110 tst_res(TCONF, "%s is not supported", tc->name); 114 tc->name, TEST_RETURN, TEST_ERRNO, 118 tst_res(TPASS, "madvise test for %s PASSED", tc->name);
|
/prebuilts/go/darwin-x86/src/cmd/vendor/github.com/google/pprof/internal/binutils/ |
disasm_test.go | 63 for _, tc := range testcases { 64 syms, err := findSymbols([]byte(tc.syms), "object.o", regexp.MustCompile(tc.query), 0) 66 t.Fatalf("%q: findSymbols: %v", tc.query, err) 68 if err := checkSymbol(syms, tc.want); err != nil { 69 t.Errorf("%q: %v", tc.query, err) 137 for _, tc := range testcases { 138 insts, err := disassemble([]byte(tc.asm)) 143 if len(insts) != len(tc.want) { 144 t.Errorf("Unexpected number of assembly instructions %d (want %d)\n", len(insts), len(tc.want) [all...] |
/prebuilts/go/linux-x86/src/cmd/vendor/github.com/google/pprof/internal/binutils/ |
disasm_test.go | 63 for _, tc := range testcases { 64 syms, err := findSymbols([]byte(tc.syms), "object.o", regexp.MustCompile(tc.query), 0) 66 t.Fatalf("%q: findSymbols: %v", tc.query, err) 68 if err := checkSymbol(syms, tc.want); err != nil { 69 t.Errorf("%q: %v", tc.query, err) 137 for _, tc := range testcases { 138 insts, err := disassemble([]byte(tc.asm)) 143 if len(insts) != len(tc.want) { 144 t.Errorf("Unexpected number of assembly instructions %d (want %d)\n", len(insts), len(tc.want) [all...] |
/external/lisa/libs/utils/ |
executor.py | 264 for tc in self._experiments_conf['confs']: 266 if not self._target_configure(tc): 270 wload, test_dir = self._wload_init(tc, wl_idx) 275 conf=tc, 283 self._target_cleanup(tc) 294 def _cgroups_init(self, tc): 296 if 'cgroups' not in tc: 303 for kind in tc['cgroups']['conf']: 312 def _setup_kernel(self, tc): 314 self.te.install_kernel(tc, reboot=True [all...] |
/art/test/161-final-abstract-class/src/ |
Main.java | 33 Class<?> tc = Class.forName("TestClass"); local 34 Method test = tc.getDeclaredMethod("test");
|
/external/iproute2/netem/ |
Makefile | 25 mkdir -p $(DESTDIR)$(LIBDIR)/tc 27 do install -m 644 $$i $(DESTDIR)$(LIBDIR)/tc; \
|
/external/libnl/lib/route/cls/ |
fw.c | 22 #include <netlink-private/tc.h> 24 #include <netlink-private/route/tc-api.h> 43 static int fw_msg_parser(struct rtnl_tc *tc, void *data) 49 err = tca_parse(tb, TCA_FW_MAX, tc, fw_policy); 85 static void fw_free_data(struct rtnl_tc *tc, void *data) 106 static void fw_dump_line(struct rtnl_tc *tc, void *data, 125 static void fw_dump_details(struct rtnl_tc *tc, void *data, 134 static int fw_msg_fill(struct rtnl_tc *tc, void *data, struct nl_msg *msg)
|
police.c | 13 #include <netlink-private/tc.h> 16 #include <netlink-private/route/tc-api.h>
|
/external/ltp/testcases/kernel/syscalls/mknodat/ |
mknodat02.c | 80 static void mknodat_verify(struct test_case_t *tc); 148 static void mknodat_verify(struct test_case_t *tc) 150 int fd = *(tc->dir_fd); 151 char *pathname = tc->pathname; 152 mode_t mode = tc->mode; 156 if (TEST_ERRNO == tc->exp_errno) { 162 "%d - %s", tc->exp_errno, 163 strerror(tc->exp_errno));
|
/external/clang/test/OpenMP/ |
single_codegen.cpp | 29 TestClass tc; variable 31 #pragma omp threadprivate(tc, tc2) 76 TestClass &c = tc; 139 #pragma omp single copyprivate(a, c, tc, a2, tc2)
|
/external/iproute2/examples/ |
SYN-DoS.rate.limit | 13 TC=$IPROUTE/tc/tc 25 $TC qdisc add dev $INDEV handle ffff: ingress 35 $TC filter add dev $INDEV parent ffff: protocol ip prio 50 handle 1 fw \ 42 $TC qdisc ls dev $INDEV 44 $TC class ls dev $INDEV 46 $TC filter ls dev $INDEV parent ffff: 49 #$TC qdisc del $INDEV ingress
|