Searched refs:sample (Results 1 - 25 of 502) sorted by relevance

1234567891011>>

/external/strace/tests/
H A Dopenat.test6 run_strace_match_diff -P $NAME.sample
H A Dopen.test6 run_strace_match_diff -a30 -P $NAME.sample
H A Dumount.c49 static const char sample[] = "umount.sample"; local
50 if (mkdir(sample, 0700))
51 perror_msg_and_fail("mkdir: %s", sample);
53 long rc = syscall(__NR_oldumount, sample);
55 TEST_SYSCALL_STR, sample, rc, errno2name());
57 if (rmdir(sample))
58 perror_msg_and_fail("rmdir: %s", sample);
H A Dumount2.c45 static const char sample[] = "umount2.sample"; local
46 if (mkdir(sample, 0700))
47 perror_msg_and_fail("mkdir: %s", sample);
48 (void) syscall(__NR_umount2, sample, 31);
50 " = -1 EINVAL (%m)\n", TEST_SYSCALL_STR, sample);
51 if (rmdir(sample))
52 perror_msg_and_fail("rmdir: %s", sample);
H A Dswap.c13 static const char sample[] = "swap.sample"; local
16 rc = syscall(__NR_swapon, sample, 0);
18 sample, "0", rc, errno2name());
20 rc = syscall(__NR_swapon, sample, 42);
22 sample, "42", rc, errno2name());
24 rc = syscall(__NR_swapon, sample, SWAP_FLAG_PREFER);
26 sample, "SWAP_FLAG_PREFER|0", rc, errno2name());
28 rc = syscall(__NR_swapon, sample, SWAP_FLAG_PREFER | 42);
30 sample, "SWAP_FLAG_PREFE
[all...]
H A Dfchmodat.c43 static const char sample[] = "fchmodat_sample"; local
45 if (open(sample, O_RDONLY | O_CREAT, 0400) < 0)
48 long rc = syscall(__NR_fchmodat, -100, sample, 0600);
50 sample, sprintrc(rc));
52 if (unlink(sample))
55 rc = syscall(__NR_fchmodat, -100, sample, 051);
57 sample, sprintrc(rc));
59 rc = syscall(__NR_fchmodat, -100, sample, 004);
61 sample, sprintrc(rc));
H A Daccess.c12 static const char sample[] = "access_sample"; local
14 long rc = syscall(__NR_access, sample, F_OK);
16 sample, rc, errno2name());
18 rc = syscall(__NR_access, sample, R_OK|W_OK|X_OK);
20 sample, rc, errno2name());
H A Dunlinkat.c12 static const char sample[] = "unlinkat_sample"; local
15 long rc = syscall(__NR_unlinkat, fd, sample, 0);
17 (int) fd, sample, rc, errno2name());
19 rc = syscall(__NR_unlinkat, -100, sample, -1L);
21 "AT_FDCWD", sample,
/external/strace/tests-m32/
H A Dopenat.test6 run_strace_match_diff -P $NAME.sample
H A Dopen.test6 run_strace_match_diff -a30 -P $NAME.sample
H A Dumount.c49 static const char sample[] = "umount.sample"; local
50 if (mkdir(sample, 0700))
51 perror_msg_and_fail("mkdir: %s", sample);
53 long rc = syscall(__NR_oldumount, sample);
55 TEST_SYSCALL_STR, sample, rc, errno2name());
57 if (rmdir(sample))
58 perror_msg_and_fail("rmdir: %s", sample);
H A Dumount2.c45 static const char sample[] = "umount2.sample"; local
46 if (mkdir(sample, 0700))
47 perror_msg_and_fail("mkdir: %s", sample);
48 (void) syscall(__NR_umount2, sample, 31);
50 " = -1 EINVAL (%m)\n", TEST_SYSCALL_STR, sample);
51 if (rmdir(sample))
52 perror_msg_and_fail("rmdir: %s", sample);
H A Dswap.c13 static const char sample[] = "swap.sample"; local
16 rc = syscall(__NR_swapon, sample, 0);
18 sample, "0", rc, errno2name());
20 rc = syscall(__NR_swapon, sample, 42);
22 sample, "42", rc, errno2name());
24 rc = syscall(__NR_swapon, sample, SWAP_FLAG_PREFER);
26 sample, "SWAP_FLAG_PREFER|0", rc, errno2name());
28 rc = syscall(__NR_swapon, sample, SWAP_FLAG_PREFER | 42);
30 sample, "SWAP_FLAG_PREFE
[all...]
H A Dfchmodat.c43 static const char sample[] = "fchmodat_sample"; local
45 if (open(sample, O_RDONLY | O_CREAT, 0400) < 0)
48 long rc = syscall(__NR_fchmodat, -100, sample, 0600);
50 sample, sprintrc(rc));
52 if (unlink(sample))
55 rc = syscall(__NR_fchmodat, -100, sample, 051);
57 sample, sprintrc(rc));
59 rc = syscall(__NR_fchmodat, -100, sample, 004);
61 sample, sprintrc(rc));
H A Daccess.c12 static const char sample[] = "access_sample"; local
14 long rc = syscall(__NR_access, sample, F_OK);
16 sample, rc, errno2name());
18 rc = syscall(__NR_access, sample, R_OK|W_OK|X_OK);
20 sample, rc, errno2name());
H A Dunlinkat.c12 static const char sample[] = "unlinkat_sample"; local
15 long rc = syscall(__NR_unlinkat, fd, sample, 0);
17 (int) fd, sample, rc, errno2name());
19 rc = syscall(__NR_unlinkat, -100, sample, -1L);
21 "AT_FDCWD", sample,
/external/strace/tests-mx32/
H A Dopenat.test6 run_strace_match_diff -P $NAME.sample
H A Dopen.test6 run_strace_match_diff -a30 -P $NAME.sample
H A Dumount.c49 static const char sample[] = "umount.sample"; local
50 if (mkdir(sample, 0700))
51 perror_msg_and_fail("mkdir: %s", sample);
53 long rc = syscall(__NR_oldumount, sample);
55 TEST_SYSCALL_STR, sample, rc, errno2name());
57 if (rmdir(sample))
58 perror_msg_and_fail("rmdir: %s", sample);
H A Dumount2.c45 static const char sample[] = "umount2.sample"; local
46 if (mkdir(sample, 0700))
47 perror_msg_and_fail("mkdir: %s", sample);
48 (void) syscall(__NR_umount2, sample, 31);
50 " = -1 EINVAL (%m)\n", TEST_SYSCALL_STR, sample);
51 if (rmdir(sample))
52 perror_msg_and_fail("rmdir: %s", sample);
H A Dswap.c13 static const char sample[] = "swap.sample"; local
16 rc = syscall(__NR_swapon, sample, 0);
18 sample, "0", rc, errno2name());
20 rc = syscall(__NR_swapon, sample, 42);
22 sample, "42", rc, errno2name());
24 rc = syscall(__NR_swapon, sample, SWAP_FLAG_PREFER);
26 sample, "SWAP_FLAG_PREFER|0", rc, errno2name());
28 rc = syscall(__NR_swapon, sample, SWAP_FLAG_PREFER | 42);
30 sample, "SWAP_FLAG_PREFE
[all...]
H A Dfchmodat.c43 static const char sample[] = "fchmodat_sample"; local
45 if (open(sample, O_RDONLY | O_CREAT, 0400) < 0)
48 long rc = syscall(__NR_fchmodat, -100, sample, 0600);
50 sample, sprintrc(rc));
52 if (unlink(sample))
55 rc = syscall(__NR_fchmodat, -100, sample, 051);
57 sample, sprintrc(rc));
59 rc = syscall(__NR_fchmodat, -100, sample, 004);
61 sample, sprintrc(rc));
H A Daccess.c12 static const char sample[] = "access_sample"; local
14 long rc = syscall(__NR_access, sample, F_OK);
16 sample, rc, errno2name());
18 rc = syscall(__NR_access, sample, R_OK|W_OK|X_OK);
20 sample, rc, errno2name());
H A Dunlinkat.c12 static const char sample[] = "unlinkat_sample"; local
15 long rc = syscall(__NR_unlinkat, fd, sample, 0);
17 (int) fd, sample, rc, errno2name());
19 rc = syscall(__NR_unlinkat, -100, sample, -1L);
21 "AT_FDCWD", sample,
/external/webrtc/webrtc/system_wrappers/include/
H A Dmetrics.h24 // RTC_HISTOGRAM_COUNTS(name, sample, min, max, bucket_count);
27 // The boundary should be above the max enumerator sample.
28 // RTC_HISTOGRAM_ENUMERATION(name, sample, boundary);
38 // const std::string& name, int sample, int min, int max,
41 // const std::string& name, int sample, int boundary);
43 // Histogram* histogram_pointer, const std::string& name, int sample);
65 #define RTC_HISTOGRAM_COUNTS_100(name, sample) \
66 RTC_HISTOGRAM_COUNTS(name, sample, 1, 100, 50)
68 #define RTC_HISTOGRAM_COUNTS_200(name, sample) \
69 RTC_HISTOGRAM_COUNTS(name, sample,
[all...]

Completed in 285 milliseconds

1234567891011>>