/prebuilts/go/linux-x86/src/runtime/pprof/internal/profile/ |
profile_test.go | 69 for _, tc := range tests { 70 _, err := parseContention([]byte(tc.in)) 71 if tc.wantErr && err == nil { 72 t.Errorf("parseContention(%q) succeeded unexpectedly", tc.name) 74 if !tc.wantErr && err != nil { 75 t.Errorf("parseContention(%q) failed unexpectedly: %v", tc.name, err)
|
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/ppc/ |
test1elf.asm | 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/src/cmd/vendor/github.com/google/pprof/internal/driver/ |
fetch_test.go | 64 for _, tc := range []struct { 77 os.Setenv("PPROF_BINARY_PATH", tc.env) 81 File: tc.file, 82 BuildID: tc.buildID, 87 locateBinaries(p, s, obj, &proftest.TestUI{T: t, Ignore: tc.msgCount}) 88 if file := p.Mapping[0].File; file != tc.want { 89 t.Errorf("%s:%s:%s, want %s, got %s", tc.env, tc.file, tc.buildID, tc.want, file [all...] |
/prebuilts/go/linux-x86/src/cmd/vendor/github.com/google/pprof/internal/driver/ |
fetch_test.go | 64 for _, tc := range []struct { 77 os.Setenv("PPROF_BINARY_PATH", tc.env) 81 File: tc.file, 82 BuildID: tc.buildID, 87 locateBinaries(p, s, obj, &proftest.TestUI{T: t, Ignore: tc.msgCount}) 88 if file := p.Mapping[0].File; file != tc.want { 89 t.Errorf("%s:%s:%s, want %s, got %s", tc.env, tc.file, tc.buildID, tc.want, file [all...] |
/external/ltp/testcases/kernel/syscalls/fcntl/ |
fcntl07.c | 87 static void verify_cloexec(struct tcase *tc) 89 int fd = *(tc->fd); 98 tc->msg, fd); 132 tc->msg); 136 tc->msg, WEXITSTATUS(status));
|
/external/ltp/testcases/kernel/syscalls/umount2/ |
umount2_02.c | 76 int tc; local 88 for (tc = 0; tc < TST_TOTAL; tc++) 89 test_umount2(tc);
|
umount2_03.c | 65 int tc; local 74 for (tc = 0; tc < TST_TOTAL; tc++) 75 test_umount2(tc);
|
/external/mesa3d/src/gallium/drivers/ilo/shader/ |
toy_legalize_ra.c | 330 struct toy_compiler *tc) 339 tc_head(tc); 340 while ((inst = tc_next_no_skip(tc)) != NULL) { 359 LIST_FOR_EACH_ENTRY_FROM(inst2, tc->iter_next, 360 &tc->instructions, list) { 463 struct toy_compiler *tc) 470 num_intervals = tc->next_vrf; 475 linear_scan_init_live_intervals(ls, tc); 509 linear_scan_allocation(struct toy_compiler *tc, 517 if (!linear_scan_init(&ls, num_grfs / num_grf_per_vrf, tc)) [all...] |
/prebuilts/go/darwin-x86/src/crypto/x509/ |
root_unix_test.go | 89 for _, tc := range testCases { 90 t.Run(tc.name, func(t *testing.T) { 91 if err := os.Setenv(certFileEnv, tc.fileEnv); err != nil { 94 if err := os.Setenv(certDirEnv, tc.dirEnv); err != nil { 98 certFiles, certDirectories = tc.files, tc.dirs 106 if tc.cns == nil { 114 for i, cn := range tc.cns { 122 if len(r.certs) > len(tc.cns) { 123 t.Errorf("got %v certs, which is more than %v wanted", len(r.certs), len(tc.cns) [all...] |
/prebuilts/go/linux-x86/src/crypto/x509/ |
root_unix_test.go | 89 for _, tc := range testCases { 90 t.Run(tc.name, func(t *testing.T) { 91 if err := os.Setenv(certFileEnv, tc.fileEnv); err != nil { 94 if err := os.Setenv(certDirEnv, tc.dirEnv); err != nil { 98 certFiles, certDirectories = tc.files, tc.dirs 106 if tc.cns == nil { 114 for i, cn := range tc.cns { 122 if len(r.certs) > len(tc.cns) { 123 t.Errorf("got %v certs, which is more than %v wanted", len(r.certs), len(tc.cns) [all...] |
/prebuilts/go/darwin-x86/src/strings/ |
replace_test.go | 289 for i, tc := range testCases { 290 if s := tc.r.Replace(tc.in); s != tc.out { 291 t.Errorf("%d. Replace(%q) = %q, want %q", i, tc.in, s, tc.out) 294 n, err := tc.r.WriteString(&buf, tc.in) 300 if got != tc.out { 301 t.Errorf("%d. WriteString(%q) wrote %q, want %q", i, tc.in, got, tc.out [all...] |
/prebuilts/go/linux-x86/src/strings/ |
replace_test.go | 289 for i, tc := range testCases { 290 if s := tc.r.Replace(tc.in); s != tc.out { 291 t.Errorf("%d. Replace(%q) = %q, want %q", i, tc.in, s, tc.out) 294 n, err := tc.r.WriteString(&buf, tc.in) 300 if got != tc.out { 301 t.Errorf("%d. WriteString(%q) wrote %q, want %q", i, tc.in, got, tc.out [all...] |
/external/libnl/lib/route/qdisc/ |
dsmark.c | 20 #include <netlink-private/tc.h> 24 #include <netlink-private/route/tc-api.h> 45 static int dsmark_qdisc_msg_parser(struct rtnl_tc *tc, void *data) 51 err = tca_parse(tb, TCA_DSMARK_MAX, tc, dsmark_policy); 74 static int dsmark_class_msg_parser(struct rtnl_tc *tc, void *data) 80 err = tca_parse(tb, TCA_DSMARK_MAX, tc, dsmark_policy); 97 static void dsmark_qdisc_dump_line(struct rtnl_tc *tc, void *data, 106 static void dsmark_qdisc_dump_details(struct rtnl_tc *tc, void *data, 118 nl_dump(p, " set-tc-index"); 121 static void dsmark_class_dump_line(struct rtnl_tc *tc, void *data [all...] |
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/ |
RunnerController.java | 158 for(TestCase tc: rule.getTestCases()) { 159 this.add(new TestCaseTreeNode(tc)); 169 for(TestCase tc: data.getTestCases()) { 170 if(tc.isPass()) 187 private TestCaseTreeNode(TestCase tc) { 188 super(tc.toString()); 189 data = tc;
|
/external/ltp/testcases/kernel/syscalls/chown/ |
chown04.c | 77 } tc[] = { variable in typeref:struct:test_case_t 89 int TST_TOTAL = ARRAY_SIZE(tc); 114 TEST(CHOWN(cleanup, tc[i].pathname, user_id, group_id)); 121 if (TEST_ERRNO == tc[i].exp_errno) { 126 tc[i].exp_errno, 127 tst_strerrno(tc[i].exp_errno)); 163 tc[2].pathname = bad_addr;
|
/external/ltp/testcases/kernel/syscalls/truncate/ |
truncate03.c | 167 void truncate_verify(struct test_case_t *tc) 169 TEST(truncate(tc->pathname, tc->length)); 174 tc->exp_errno); 178 if (TEST_ERRNO == tc->exp_errno) { 183 tc->exp_errno, strerror(tc->exp_errno));
|
/development/scripts/ |
stack_core.py | 433 tc = TraceConverter() 436 tc.UpdateAbiRegexes() 438 tc.ProcessLine(line) 440 matched = (tc.register_line.search(line) is not None) 442 tc.PrintOutput(tc.trace_lines, tc.value_lines) 464 tc = TraceConverter() 470 tc.UpdateAbiRegexes() 474 tc.ProcessLine(line [all...] |
/art/test/618-checker-induction/src/ |
Main.java | 872 int tc = (n <= 0) ? 0 : n; local 873 expectEquals(12345 + tc * 5, closedFormInductionUpN(n)); 874 expectEquals(12345 - tc * 5, closedFormInductionInAndDownN(12345, n)); 875 expectEquals(tc * 10, closedFormNestedN(n)); 876 expectEquals(12345 + tc * 23 * 7, closedFormNestedNAlt(n)); 877 expectEquals(tc * (tc + 1), closedFormNestedMN(n, n + 1)); 878 expectEquals(12345 + tc * (tc + 1) * 7, closedFormNestedMNAlt(n, n + 1)); 887 int tc = (n <= 0) ? 0 : n; local 905 int tc = (n <= 0) ? 0 : n; local [all...] |
/build/kati/ |
buf_test.go | 23 for _, tc := range []struct { 57 for _, s := range tc.in { 65 if !reflect.DeepEqual(got, tc.want) { 66 t.Errorf("%q => %q; want %q", tc.in, got, tc.want)
|
/build/soong/ui/build/ |
util_test.go | 53 for _, tc := range testcases { 54 got := string(stripAnsiEscapes([]byte(tc.input))) 55 if got != tc.output { 59 " got: %#v", tc.input, tc.output, got)
|
/external/tensorflow/tensorflow/core/lib/math/ |
math_util_test.cc | 220 for (const auto& tc : testcases) { 221 EXPECT_EQ(tc.gcd, MathUtil::GCD<uint32>(tc.x, tc.y)); 222 EXPECT_EQ(tc.gcd, MathUtil::GCD<uint32>(tc.y, tc.x)); 223 EXPECT_EQ(tc.gcd, MathUtil::GCD<uint64>(tc.x, tc.y)) [all...] |
/external/iproute2/examples/ |
cbq.init-v0.7.3 | 36 # - replace hardcoded ip/tc location with variables 105 # - optional tc & ip command logging (into /var/run/cbq-*) 152 # of Linux kernel is provided by "ip" and "tc" utilities from A. Kuznetsov's 162 # face "ip" and "tc" interface. 165 # 0.6.4. The caching works so that the sequence of "tc" commands for given 174 # If you only want cqb.init to translate your configuration to "tc" commands, 175 # use "compile" command which will output "tc" commands required to build 176 # your configuration. Bear in mind that "compile" does not check if the "tc" 373 # does not define any realms, it justs builds "tc filter" commands 476 TC=/sbin/t [all...] |
/frameworks/av/media/libeffects/lvm/lib/Common/src/ |
LVM_Mixer_TimeConstant.c | 31 /* Alpha = exp(ln(0.1)/ (tc * Update + 1.0)) */ 34 /* rate of Update times a second. tc is the required time constant in */ 48 /* 2. The product tc * Fs is limited approximately to the range */ 49 /* 8 < (tc * Fs) < 2^35 */ 52 /* tc - the time constant in 100us steps, i.e. 10 = 1ms */ 61 LVM_FLOAT LVM_Mixer_TimeConstant(LVM_UINT32 tc, 129 Product = ((tc >> 16) * (LVM_UINT32)Fs) << 13; /* Stereo value */ 130 Product = Product + (((tc & 0x0000FFFF) * (LVM_UINT32)Fs) >> 3); 164 LVM_UINT32 LVM_Mixer_TimeConstant(LVM_UINT32 tc, 227 Product = ((tc >> 16) * (LVM_UINT32)Fs) << 13; /* Stereo value * [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bidi/ |
TestReorderingMode.java | 59 /* TC 0: 123 */ 61 /* TC 1: .123->4.5 */ 64 /* TC 2: 678 */ 66 /* TC 3: .678->8.9 */ 70 /* TC 4: MLK1.2,3JIH */ 72 /* TC 5: FE.>12-> */ 76 /* TC 6: JIH.>12->a */ 81 /* TC 7: CBA.>67->89=a */ 86 /* TC 8: CBA.123->xyz */ 91 /* TC 9: .>12->xyz * 212 int tc, mode, option, level; local [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/ |
TestReorderingMode.java | 56 /* TC 0: 123 */ 58 /* TC 1: .123->4.5 */ 61 /* TC 2: 678 */ 63 /* TC 3: .678->8.9 */ 67 /* TC 4: MLK1.2,3JIH */ 69 /* TC 5: FE.>12-> */ 73 /* TC 6: JIH.>12->a */ 78 /* TC 7: CBA.>67->89=a */ 83 /* TC 8: CBA.123->xyz */ 88 /* TC 9: .>12->xyz * 209 int tc, mode, option, level; local [all...] |