HomeSort by relevance Sort by last modified time
    Searched refs:tc (Results 101 - 125 of 886) sorted by null

1 2 3 45 6 7 8 91011>>

  /external/ltp/testcases/kernel/syscalls/futex/
futex_wake01.c 51 static void verify_futex_wake(struct testcase *tc)
55 res = futex_wake(tc->f_addr, tc->nr_wake, tc->opflags);
futex_wait01.c 55 static void verify_futex_wait(struct testcase *tc)
59 res = futex_wait(tc->f_addr, tc->f_val, &to, tc->opflags);
66 if (errno != tc->exp_errno) {
68 tst_strerrno(tc->exp_errno));
  /external/ltp/testcases/kernel/syscalls/setrlimit/
setrlimit03.c 50 struct tcase *tc = &tcases[n]; local
52 TEST(setrlimit(RLIMIT_NOFILE, tc->rlimt));
58 if (TEST_ERRNO != tc->exp_err) {
60 tst_strerrno(tc->exp_err));
  /external/selinux/libsepol/cil/test/unit/
test_cil_fqn.c 38 void test_cil_qualify_name(CuTest *tc) {
58 CuAssertIntEquals(tc, SEPOL_OK, rc);
61 void test_cil_qualify_name_cil_flavor(CuTest *tc) {
74 CuAssertIntEquals(tc, SEPOL_OK, rc);
  /external/libnl/src/
nl-cls-list.c 13 #include <netlink/cli/tc.h>
69 struct rtnl_tc *tc; local
77 tc = (struct rtnl_tc *) cls;
112 case 'd': nl_cli_tc_parse_dev(tc, link_cache, optarg); break;
113 case 'p': nl_cli_tc_parse_parent(tc, optarg); break;
114 case 'i': nl_cli_tc_parse_handle(tc, optarg, 0); break;
115 case 'k': nl_cli_tc_parse_kind(tc, optarg); break;
123 if ((ifindex = rtnl_tc_get_ifindex(tc)))
  /external/ltp/testcases/kernel/syscalls/access/
access04.c 71 static void access_test(struct tcase *tc, const char *user)
73 TEST(access(tc->pathname, tc->mode));
80 if (tc->exp_errno != TEST_ERRNO) {
83 user, tst_strerrno(tc->exp_errno));
92 struct tcase *tc = tcases + n; local
95 access_test(tc, "root");
102 access_test(tc, "nobody");
  /external/ltp/testcases/kernel/syscalls/epoll_ctl/
epoll_ctl02.c 102 struct testcase *tc = &tcases[n]; local
104 TEST(epoll_ctl(*tc->epfds, tc->opt, *tc->fds, tc->ts_event));
110 if (tc->exp_err == TEST_ERRNO) {
115 tc->exp_err, tst_strerrno(tc->exp_err));
  /build/kati/
shellutil_test.go 23 for _, tc := range []struct {
36 buf := []byte(tc.in)
38 if got, want := string(buf), tc.want; got != want {
39 t.Errorf("rot13(%q) got=%q; want=%q", tc.in, got, want)
50 for _, tc := range []struct {
72 m, ok := matchExpr(expr{tc.sharg}, b.pattern)
74 t.Logf("%s not match with %s", b.name, tc.sharg)
81 tc.sharg,
88 t.Errorf("%s: matched %s but not compacted", tc.sharg, b.name)
91 if got, want := sd.format, tc.format; got != want
    [all...]
  /external/ltp/testcases/kernel/syscalls/open/
open02.c 62 struct tcase *tc = &tcases[n]; local
64 TEST(open(tc->filename, tc->flag, 0444));
68 tc->filename);
72 if (tc->exp_errno != TEST_ERRNO) {
75 tst_strerrno(tc->exp_errno));
  /external/mesa3d/src/gallium/drivers/ilo/shader/
ilo_shader_vs.c 41 struct toy_compiler tc; member in struct:vs_compile_context
62 struct toy_compiler *tc = &vcc->tc; local
74 tc_MOV(tc, dst, src);
78 tc_MOV(tc, dst, tsrc_imm_f(0.0f));
98 tc_MOV(&vcc->tc, dst, src);
113 struct toy_compiler *tc = &vcc->tc; local
122 inst = tc_MOV(tc, header, r0);
126 tc_MOV(tc, block_offsets, idx)
143 struct toy_compiler *tc = &vcc->tc; local
192 struct toy_compiler *tc = &vcc->tc; local
232 struct toy_compiler *tc = &vcc->tc; local
270 struct toy_compiler *tc = &vcc->tc; local
394 struct toy_compiler *tc = &vcc->tc; local
571 struct toy_compiler *tc = &vcc->tc; local
660 struct toy_compiler *tc = &vcc->tc; local
731 struct toy_compiler *tc = &vcc->tc; local
910 struct toy_compiler *tc = &vcc->tc; local
    [all...]
toy_compiler.c 34 tc_dump_operand(struct toy_compiler *tc,
141 vert_stride = tc->rect_linear_width;
142 width = tc->rect_linear_width;
213 tc_dump_src(struct toy_compiler *tc, struct toy_src src)
220 tc_dump_operand(tc, src.file, src.type, src.rect,
240 tc_dump_dst(struct toy_compiler *tc, struct toy_dst dst)
242 tc_dump_operand(tc, dst.file, dst.type, dst.rect,
427 tc_dump_inst(struct toy_compiler *tc, const struct toy_inst *inst)
450 tc_dump_dst(tc, inst->dst);
457 tc_dump_src(tc, inst->src[i])
    [all...]
  /external/tensorflow/tensorflow/contrib/labeled_tensor/python/ops/
ops.py 26 from tensorflow.contrib.labeled_tensor.python.ops import _typecheck as tc
38 @tc.returns(core.LabeledTensor)
39 @tc.accepts(core.LabeledTensor, ops.Tensor, core.Axis,
40 tc.Optional(string_types))
51 @tc.returns(core.LabeledTensor)
52 @tc.accepts(core.LabeledTensorLike,
53 tc.Mapping(string_types,
54 tc.Union(slice, collections.Hashable, list)),
55 tc.Optional(string_types))
144 @tc.returns(core.LabeledTensor
    [all...]
sugar.py 23 from tensorflow.contrib.labeled_tensor.python.ops import _typecheck as tc
54 @tc.accepts(object, tc.Collection(str),
55 tc.Collection(tc.Union(str, core.AxisLike)), tc.Optional(str))
63 @tc.returns(core.LabeledTensor)
64 @tc.accepts(object, core.LabeledTensorLike)
100 @tc.returns(core.LabeledTensor)
101 @tc.accepts(object, core.LabeledTensorLike
    [all...]
  /external/ltp/testcases/kernel/syscalls/mount/
mount02.c 83 } tc[] = { variable in typeref:struct:test_case
99 int TST_TOTAL = ARRAY_SIZE(tc);
101 static void verify_mount(struct test_case *tc)
103 if (tc->setup)
104 tc->setup();
106 TEST(mount(*tc->device, *tc->mntpoint, *tc->fs_type, tc->flag, NULL));
114 if (TEST_ERRNO != tc->exp_errno)
    [all...]
  /external/ltp/testcases/kernel/device-drivers/block/block_dev_kernel/
ltp_block_dev.c 21 * 16 Jan 2009 0.2 Added "tc" parameter to run test cases separately
346 int tc = 0; local
347 sscanf(buf, "%d", &tc);
348 if (tc < 0 || tc > 9) {
349 prk_err(": Unexpected test-case number '%d'", tc);
355 if (tc == 0 || tc == 1)
358 if (tc == 0 || tc == 2
    [all...]
  /prebuilts/go/darwin-x86/src/cmd/compile/internal/ssa/
rewrite_test.go 62 for _, tc := range nlzTests {
63 if got := nlz(tc.v); got != tc.exp {
64 t.Errorf("expected nlz(0x%X) = %d, got %d", tc.v, tc.exp, got)
80 for _, tc := range ntoTests {
81 if got := nto(tc.v); got != tc.exp {
82 t.Errorf("expected nto(0x%X) = %d, got %d", tc.v, tc.exp, got
    [all...]
  /prebuilts/go/linux-x86/src/cmd/compile/internal/ssa/
rewrite_test.go 62 for _, tc := range nlzTests {
63 if got := nlz(tc.v); got != tc.exp {
64 t.Errorf("expected nlz(0x%X) = %d, got %d", tc.v, tc.exp, got)
80 for _, tc := range ntoTests {
81 if got := nto(tc.v); got != tc.exp {
82 t.Errorf("expected nto(0x%X) = %d, got %d", tc.v, tc.exp, got
    [all...]
  /external/ltp/testcases/kernel/syscalls/readlink/
readlink03.c 153 void readlink_verify(struct test_case_t *tc)
157 if (tc->buf_size == 1)
158 tc->buf_size = sizeof(buffer);
160 TEST(readlink(tc->link, buffer, tc->buf_size));
165 tc->exp_errno);
169 if (TEST_ERRNO == tc->exp_errno) {
174 tc->exp_errno, strerror(tc->exp_errno));
175 if (tc->exp_errno == ENOENT && TEST_ERRNO == EINVAL)
    [all...]
  /external/ltp/testcases/kernel/syscalls/setxattr/
setxattr02.c 83 static struct test_case tc[] = { variable in typeref:struct:test_case
144 TEST(setxattr(tc[i].fname, tc[i].key, tc[i].value, tc[i].size, tc[i].flags));
149 if (!tc[i].exp_err) {
165 if (TEST_ERRNO != tc[i].exp_err) {
167 tst_strerrno(tc[i].exp_err));
190 .tcnt = ARRAY_SIZE(tc),
    [all...]
  /prebuilts/go/darwin-x86/src/cmd/internal/objabi/
path_test.go 28 for _, tc := range tests {
29 if got := PathToPrefix(tc.Path); got != tc.Expected {
30 t.Errorf("expected PathToPrefix(%s) = %s, got %s", tc.Path, tc.Expected, got)
  /prebuilts/go/linux-x86/src/cmd/internal/objabi/
path_test.go 28 for _, tc := range tests {
29 if got := PathToPrefix(tc.Path); got != tc.Expected {
30 t.Errorf("expected PathToPrefix(%s) = %s, got %s", tc.Path, tc.Expected, got)
  /art/test/1909-per-agent-tls/src/art/
Test1909.java 87 ThreadHolder tc = new ThreadHolder(Thread.currentThread()); local
93 checkEq(0, tc.getTLS(e1));
95 checkEq(0, tc.getTLS(e2));
99 tc.setTLS(e1, 1);
100 checkEq(1, tc.getTLS(e1));
102 checkEq(0, tc.getTLS(e2));
107 checkEq(1, tc.getTLS(e1));
109 checkEq(0, tc.getTLS(e2));
113 tc.setTLS(e2, 3);
114 checkEq(1, tc.getTLS(e1))
    [all...]
  /prebuilts/go/darwin-x86/src/cmd/vendor/github.com/google/pprof/internal/measurement/
measurement_test.go 22 for _, tc := range []struct {
42 if gotValue, gotUnit := Scale(tc.value, tc.fromUnit, tc.toUnit); gotValue != tc.wantValue || gotUnit != tc.wantUnit {
44 tc.value, tc.fromUnit, tc.toUnit, gotValue, gotUnit, tc.wantValue, tc.wantUnit
    [all...]
  /prebuilts/go/linux-x86/src/cmd/vendor/github.com/google/pprof/internal/measurement/
measurement_test.go 22 for _, tc := range []struct {
42 if gotValue, gotUnit := Scale(tc.value, tc.fromUnit, tc.toUnit); gotValue != tc.wantValue || gotUnit != tc.wantUnit {
44 tc.value, tc.fromUnit, tc.toUnit, gotValue, gotUnit, tc.wantValue, tc.wantUnit
    [all...]
  /external/deqp/modules/gles3/functional/
es3fScissorTests.cpp 63 tcu::TestContext& tc = m_context.getTestContext();
94 addChild(createPrimitiveTest(tc,
104 addChild(createClearTest(tc, rc, "clear_depth", "Depth buffer clear", Vec4(0.1f, 0.1f, 0.8f, 0.8f), GL_DEPTH_BUFFER_BIT));
105 addChild(createClearTest(tc, rc, "clear_stencil", "Stencil buffer clear", Vec4(0.1f, 0.1f, 0.8f, 0.8f), GL_STENCIL_BUFFER_BIT));
106 addChild(createClearTest(tc, rc, "clear_color", "Color buffer clear", Vec4(0.1f, 0.1f, 0.8f, 0.8f), GL_COLOR_BUFFER_BIT));
108 addChild(createFramebufferClearTest(tc, rc, "clear_fixed_buffer", "Fixed point color clear", CLEAR_COLOR_FIXED));
109 addChild(createFramebufferClearTest(tc, rc, "clear_int_buffer", "Integer color clear", CLEAR_COLOR_INT));
110 addChild(createFramebufferClearTest(tc, rc, "clear_uint_buffer", "Unsigned integer buffer clear", CLEAR_COLOR_UINT));
111 addChild(createFramebufferClearTest(tc, rc, "clear_depth_buffer", "Depth buffer clear", CLEAR_DEPTH));
112 addChild(createFramebufferClearTest(tc, rc, "clear_stencil_buffer", "Stencil buffer clear", CLEAR_STENCIL))
    [all...]

Completed in 1424 milliseconds

1 2 3 45 6 7 8 91011>>