/third_party/ltp/testcases/kernel/syscalls/munlock/ |
D | munlock01.c | 84 } TC[] = { variable 107 if (TC[i].setupfunc != NULL) in main() 108 TC[i].setupfunc(i); in main() 110 TEST(munlock(*(TC[i].addr), TC[i].len)); in main() 116 "return=%ld", TC[i].addr, TC[i].len, in main() 120 i, TC[i].len); in main() 133 addr1 = malloc(TC[i].len); in setup1() 136 TEST(mlock(*(TC[i].addr), TC[i].len)); in setup1() 141 "mlock(%p, %d) Failed with return=%ld", TC[i].addr, in setup1() 142 TC[i].len, TEST_RETURN); in setup1()
|
D | munlock02.c | 92 } TC[] = { variable 112 TC[0].len = 8 * getpagesize(); in main() 114 TEST(munlock(TC[i].addr, TC[i].len)); in main() 118 if (TEST_ERRNO != TC[i].error) in main() 123 TC[i].edesc, TEST_ERRNO, in main() 155 TC[0].len = 8 * getpagesize(); in setup() 156 address = mmap(0, TC[0].len, PROT_READ | PROT_WRITE, in setup() 160 memset(address, 0x20, TC[0].len); in setup() 161 TEST(mlock(address, TC[0].len)); in setup() 167 TC[0].len, TEST_RETURN); in setup() [all …]
|
/third_party/ltp/pan/cgi/ |
D | reconsile.cgi | 88 $rec->{TC} = $tc; 105 || $a->{TC} <=> $b->{TC} 106 || $a->{TC} cmp $b->{TC} 160 || $a->{TC} <=> $b->{TC} 161 || $a->{TC} cmp $b->{TC} 172 && @$rtcs[0]->{TC} eq $LCR->{TC} 203 && @$rtcs[0]->{TC} eq $LCR->{TC}) { 208 $match->{TC} = '*' if ($match->{TC} eq '{'); 209 $match->{TC} = '-' if ($match->{TC} eq '}'); 245 $copy->{TC} = $rec->{TC};
|
/third_party/ltp/testcases/kernel/syscalls/open/ |
D | open07.c | 90 } TC[] = { variable 115 if (TC[i].setupfunc != NULL) in main() 116 TC[i].setupfunc(); in main() 122 for (i = 0; TC[i].desc != NULL; ++i) { in main() 123 TEST(open(TC[i].filename, TC[i].flags, TC[i].mode)); in main() 125 if (TC[i].exp_errno != 0) { in main() 131 if (TEST_ERRNO != TC[i].exp_errno) { in main() 135 TC[i].exp_errno, TEST_ERRNO); in main() 170 strcpy(TC[0].filename, file2); in setupfunc_test1() 183 strcpy(TC[1].filename, file2); in setupfunc_test2() [all …]
|
/third_party/ffmpeg/doc/dev_community/ |
D | resolution_process.md | 5 The Technical Committee (**TC**) is here to arbitrate and make decisions when 8 The TC main role is to resolve technical conflicts. 16 The TC can take possession of any technical matter that it sees fit. 18 To involve the TC in a matter, email tc@ or CC them on an ongoing discussion. 20 As members of TC are developers, they also can email tc@ to raise an issue. 24 The TC, once seized, must announce itself on the main mailing list, with a _[TC]_ tag. 26 The TC has 2 modes of operation: a RFC one and an internal one. 28 If the TC thinks it needs the input from the larger community, the TC can call 31 If the disagreement involves a member of the TC, that member should recuse 35 decision of the TC. [all …]
|
/third_party/ltp/testcases/kernel/syscalls/socketcall/ |
D | socketcall02.c | 28 } TC[] = { variable 36 tst_res(TINFO, "%s", TC[i].desc); in verify_socketcall() 38 TEST(tst_syscall(__NR_socketcall, TC[i].call, TC[i].args)); in verify_socketcall() 43 if (TST_ERR == TC[i].exp_err) in verify_socketcall() 46 tst_res(TFAIL | TTERRNO, "socketcall fail expected %s got", tst_strerrno(TC[i].exp_err)); in verify_socketcall() 53 for (i = 0; i < ARRAY_SIZE(TC); i++) { in setup() 54 if (!TC[i].args) in setup() 55 TC[i].args = tst_get_bad_addr(NULL); in setup() 62 .tcnt = ARRAY_SIZE(TC),
|
D | socketcall01.c | 26 } TC[] = { variable 35 TEST(tst_syscall(__NR_socketcall, TC[i].call, TC[i].args)); in verify_socketcall() 39 TC[i].desc, TST_RET); in verify_socketcall() 43 tst_res(TPASS, "socketcall() for %s", TC[i].desc); in verify_socketcall() 50 .tcnt = ARRAY_SIZE(TC),
|
/third_party/ltp/testcases/kernel/syscalls/fstatfs/ |
D | fstatfs02.c | 42 } TC[] = { variable 54 int TST_TOTAL = ARRAY_SIZE(TC); 71 TEST(fstatfs(TC[i].fd, TC[i].sbuf)); in main() 78 if (TEST_ERRNO == TC[i].error) { in main() 85 strerror(TEST_ERRNO), TC[i].error); in main() 102 TC[1].fd = SAFE_OPEN(cleanup, "tempfile", O_RDWR | O_CREAT, 0700); in setup() 109 if (TC[1].fd > 0 && close(TC[1].fd)) in cleanup()
|
/third_party/ltp/testcases/kernel/syscalls/rename/ |
D | rename08.c | 89 } TC[] = { variable 103 int TST_TOTAL = ARRAY_SIZE(TC); 127 TEST(rename(TC[i].fd, TC[i].fd2)); in main() 134 if (TEST_ERRNO == TC[i].error) { in main() 141 strerror(TEST_ERRNO), TC[i].error); in main() 174 TC[0].fd2 = bad_addr; in setup() 175 TC[1].fd = bad_addr; in setup()
|
D | rename01.c | 95 } TC[] = { variable 129 TEST(rename(TC[i].name1, TC[i].name2)); in main() 136 SAFE_STAT(cleanup, TC[i].name2, &buf1); in main() 142 if (buf1.st_dev != *TC[i].olddev || in main() 143 buf1.st_ino != *TC[i].oldino) { in main() 146 "inode/location", TC[i].desc); in main() 155 "exists", TC[i].desc); in main() 160 "for renaming a %s", TC[i].desc); in main()
|
D | rename03.c | 93 } TC[] = { variable 126 TEST(rename(TC[i].name1, TC[i].name2)); in main() 133 SAFE_STAT(cleanup, TC[i].name2, &buf2); in main() 139 if (buf2.st_dev != *TC[i].olddev || in main() 140 buf2.st_ino != *TC[i].oldino) { in main() 143 "inode/location", TC[i].desc); in main() 152 "exists", TC[i].desc); in main() 157 "for renaming a %s", TC[i].desc); in main()
|
D | rename10.c | 86 } TC[] = { variable 120 TEST(rename(TC[i].fd1, TC[i].fd2)); in main() 127 if (TEST_ERRNO == TC[i].error) { in main() 134 strerror(TEST_ERRNO), TC[i].error); in main()
|
/third_party/ltp/testcases/kernel/syscalls/mprotect/ |
D | mprotect01.c | 67 struct test_case TC[] = { variable 97 if (TC[i].setupfunc != NULL) in main() 98 TC[i].setupfunc(&TC[i]); in main() 100 TEST(mprotect(TC[i].addr, TC[i].len, TC[i].prot)); in main() 107 if (TEST_ERRNO == TC[i].error) { in main() 114 strerror(TEST_ERRNO), TC[i].error); in main()
|
/third_party/ltp/testcases/kernel/syscalls/stat/ |
D | stat01.c | 32 } TC[] = { variable 39 struct tcase *tc = TC + n; in verify_stat() 91 for (i = 0; i < ARRAY_SIZE(TC); i++) { in setup() 92 if (tst_fill_file(TC[i].pathname, 'a', 256, 4)) in setup() 94 TC[i].pathname); in setup() 95 SAFE_CHMOD(TC[i].pathname, TC[i].mode); in setup() 103 .tcnt = ARRAY_SIZE(TC),
|
D | stat03.c | 34 } TC[] = { variable 45 struct tcase *tc = TC + n; in verify_stat() 74 for (i = 0; i < ARRAY_SIZE(TC); i++) { in setup() 75 if (TC[i].exp_errno == EFAULT) in setup() 76 TC[i].pathname = tst_get_bad_addr(NULL); in setup() 88 .tcnt = ARRAY_SIZE(TC),
|
/third_party/ltp/testcases/kernel/syscalls/mlockall/ |
D | mlockall02.c | 95 } TC[] = { variable 121 "for checking error %s", TC[i].edesc); in main() 125 TEST(mlockall(TC[i].flag)); in main() 129 if (TEST_ERRNO != TC[i].error) in main() 134 TC[i].edesc, TEST_ERRNO, in main() 191 "for mlockall error %s\n", TC[i].edesc); in setup_test() 214 "mlockall error %s\n", TC[i].edesc); in setup_test() 248 TC[i].edesc); in cleanup_test()
|
D | mlockall03.c | 103 } TC[] = { variable 144 "for checking error %s", TC[i].edesc); in main() 148 TEST(mlockall(TC[i].flag)); in main() 152 if (TEST_ERRNO != TC[i].error) in main() 157 TC[i].edesc, TEST_ERRNO, in main() 236 "for mlockall() error %s\n", TC[i].edesc); in setup_test() 247 "for mlockall() error %s\n", TC[i].edesc); in setup_test() 282 TC[i].edesc); in cleanup_test()
|
D | mlockall01.c | 83 } TC[] = { variable 107 TEST(mlockall(TC[i].flag)); in main() 114 "return=%ld", TC[i].fdesc, in main() 118 TC[i].fdesc); in main()
|
/third_party/ltp/testcases/kernel/syscalls/mlock/ |
D | mlock01.c | 67 } TC[] = { variable 102 if (TC[i].setupfunc != NULL) in main() 103 TC[i].setupfunc(TC[i].len); in main() 105 TEST(mlock(*(TC[i].addr), TC[i].len)); in main()
|
/third_party/python/Lib/idlelib/idle_test/ |
D | test_calltip.py | 13 class TC: class 40 tc = TC() 176 for func in (t1, t2, t3, t4, t5, TC): 181 doc = '\ndoc' if TC.__doc__ is not None else '' 182 for meth in (TC.t1, TC.t2, TC.t3, TC.t4, TC.t5, TC.t6, TC.__call__): 185 self.assertEqual(get_spec(TC.cm), "(a)" + doc) 186 self.assertEqual(get_spec(TC.sm), "(b)" + doc) 190 doc = '\ndoc' if TC.__doc__ is not None else '' 193 (tc, '(ci)'), (TC.cm, "(a)"),): 223 for meth, mtip in ((TC.nd, "(self)"), (tc.nd, "()")):
|
/third_party/ltp/testcases/kernel/syscalls/mkdir/ |
D | mkdir03.c | 40 } TC[] = { variable 52 struct tcase *tc = TC + n; in verify_mkdir() 77 for (i = 0; i < ARRAY_SIZE(TC); i++) { in setup() 78 if (TC[i].exp_errno == EFAULT) in setup() 79 TC[i].pathname = tst_get_bad_addr(NULL); in setup() 89 .tcnt = ARRAY_SIZE(TC),
|
/third_party/boost/libs/thread/test/threads/container/ |
D | thread_vector_pass.cpp | 20 template <typename TC> 21 void join_all(TC & tc) in join_all() 23 for (typename TC::iterator it = tc.begin(); it != tc.end(); ++it) in join_all() 29 template <typename TC> 30 void interrupt_all(TC & tc) in interrupt_all() 33 for (typename TC::iterator it = tc.begin(); it != tc.end(); ++it) in interrupt_all()
|
/third_party/ltp/testcases/kernel/syscalls/setpgid/ |
D | setpgid02.c | 73 } TC[] = { variable 102 TEST(setpgid(*TC[i].pid, *TC[i].pgid)); in main() 109 if (TEST_ERRNO == TC[i].error) { in main() 116 strerror(TEST_ERRNO), TC[i].error); in main()
|
/third_party/boost/boost/iterator/ |
D | iterator_facade.hpp | 48 template <class I, class V, class TC, class R, class D> class iterator_facade; 482 template <class Derived, class V, class TC, class R, class D> \ 484 …boost::iterators::detail::is_traversal_at_least< TC, boost::iterators::random_access_traversal_tag… 505 template <class I, class V, class TC, class R, class D> friend class iterator_facade; 506 …template <class I, class V, class TC, class R, class D, bool IsBidirectionalTraversal, bool IsRand… 533 , (iterator_facade<Derived, V, TC, R, D> const& 541 , iterator_facade<Derived, V, TC, R, D> const&) 600 template <class I, class V, class TC, class R, class D> 601 static I& derived(iterator_facade<I,V,TC,R,D>& facade) in derived() argument 606 template <class I, class V, class TC, class R, class D> [all …]
|
/third_party/ltp/testcases/kernel/syscalls/getpgid/ |
D | getpgid02.c | 67 } TC[] = { variable 92 TEST(getpgid(*TC[i].id)); in main() 99 if (TEST_ERRNO == TC[i].error) { in main() 106 strerror(TEST_ERRNO), TC[i].error); in main()
|