Home
last modified time | relevance | path

Searched refs:advice (Results 1 – 25 of 114) sorted by relevance

12345

/external/tensorflow/tensorflow/core/profiler/internal/advisor/
Dtfprof_advisor_test.cc75 AdviceProto advice = advisor_->Advise(options); in TEST_F() local
76 EXPECT_TRUE(advice.checkers().find(kCheckers[0]) != advice.checkers().end()); in TEST_F()
77 EXPECT_TRUE(advice.checkers().find(kCheckers[1]) != advice.checkers().end()); in TEST_F()
78 EXPECT_TRUE(advice.checkers().find(kCheckers[2]) != advice.checkers().end()); in TEST_F()
84 AdviceProto advice = advisor_->Advise(options); in TEST_F() local
85 EXPECT_EQ(advice.checkers().at(kCheckers[1]).reports_size(), 1); in TEST_F()
87 advice.checkers().at(kCheckers[1]).reports(0), "NCHW")); in TEST_F()
93 AdviceProto advice = advisor_->Advise(options); in TEST_F() local
94 EXPECT_EQ(advice.checkers().at(kCheckers[0]).reports_size(), 1); in TEST_F()
96 advice.checkers().at(kCheckers[0]).reports(0), "low utilization")); in TEST_F()
[all …]
/external/strace/tests-mx32/
Dfadvise64.c40 do_fadvise(long fd, long long offset, long long llen, long advice) in do_fadvise() argument
48 ret = syscall(__NR_fadvise64, fd, offset, llen, advice); in do_fadvise()
53 LL_VAL_TO_PAIR(offset), LL_VAL_TO_PAIR(llen), advice); in do_fadvise()
60 LL_VAL_TO_PAIR(offset), len, advice); in do_fadvise()
63 LL_VAL_TO_PAIR(offset), len, advice); in do_fadvise()
68 printxval(advise, (unsigned) advice, "POSIX_FADV_???"); in do_fadvise()
Dfadvise64_64.c47 do_fadvise(long fd, long long offset, long long llen, long advice) in do_fadvise() argument
55 ret = syscall(__NR_fadvise64_64, fd, offset, llen, advice); in do_fadvise()
57 ret = syscall(__NR_fadvise64_64, fd, advice, in do_fadvise()
61 LL_VAL_TO_PAIR(offset), LL_VAL_TO_PAIR(llen), advice); in do_fadvise()
66 printxval(advise, (unsigned) advice, "POSIX_FADV_???"); in do_fadvise()
Dmadvise.c40 const kernel_ulong_t advice) in k_madvise() argument
42 long rc = syscall(__NR_madvise, addr, length, advice); in k_madvise()
58 static const kernel_ulong_t advice = in main() local
60 rc = k_madvise((uintptr_t) addr, length, advice); in main()
Dfadvise.h41 static void do_fadvise(long fd, long long offset, long long llen, long advice);
/external/strace/tests/
Dfadvise64.c40 do_fadvise(long fd, long long offset, long long llen, long advice) in do_fadvise() argument
48 ret = syscall(__NR_fadvise64, fd, offset, llen, advice); in do_fadvise()
53 LL_VAL_TO_PAIR(offset), LL_VAL_TO_PAIR(llen), advice); in do_fadvise()
60 LL_VAL_TO_PAIR(offset), len, advice); in do_fadvise()
63 LL_VAL_TO_PAIR(offset), len, advice); in do_fadvise()
68 printxval(advise, (unsigned) advice, "POSIX_FADV_???"); in do_fadvise()
Dfadvise64_64.c47 do_fadvise(long fd, long long offset, long long llen, long advice) in do_fadvise() argument
55 ret = syscall(__NR_fadvise64_64, fd, offset, llen, advice); in do_fadvise()
57 ret = syscall(__NR_fadvise64_64, fd, advice, in do_fadvise()
61 LL_VAL_TO_PAIR(offset), LL_VAL_TO_PAIR(llen), advice); in do_fadvise()
66 printxval(advise, (unsigned) advice, "POSIX_FADV_???"); in do_fadvise()
Dmadvise.c40 const kernel_ulong_t advice) in k_madvise() argument
42 long rc = syscall(__NR_madvise, addr, length, advice); in k_madvise()
58 static const kernel_ulong_t advice = in main() local
60 rc = k_madvise((uintptr_t) addr, length, advice); in main()
Dfadvise.h41 static void do_fadvise(long fd, long long offset, long long llen, long advice);
/external/strace/tests-m32/
Dfadvise64.c40 do_fadvise(long fd, long long offset, long long llen, long advice) in do_fadvise() argument
48 ret = syscall(__NR_fadvise64, fd, offset, llen, advice); in do_fadvise()
53 LL_VAL_TO_PAIR(offset), LL_VAL_TO_PAIR(llen), advice); in do_fadvise()
60 LL_VAL_TO_PAIR(offset), len, advice); in do_fadvise()
63 LL_VAL_TO_PAIR(offset), len, advice); in do_fadvise()
68 printxval(advise, (unsigned) advice, "POSIX_FADV_???"); in do_fadvise()
Dfadvise64_64.c47 do_fadvise(long fd, long long offset, long long llen, long advice) in do_fadvise() argument
55 ret = syscall(__NR_fadvise64_64, fd, offset, llen, advice); in do_fadvise()
57 ret = syscall(__NR_fadvise64_64, fd, advice, in do_fadvise()
61 LL_VAL_TO_PAIR(offset), LL_VAL_TO_PAIR(llen), advice); in do_fadvise()
66 printxval(advise, (unsigned) advice, "POSIX_FADV_???"); in do_fadvise()
Dmadvise.c40 const kernel_ulong_t advice) in k_madvise() argument
42 long rc = syscall(__NR_madvise, addr, length, advice); in k_madvise()
58 static const kernel_ulong_t advice = in main() local
60 rc = k_madvise((uintptr_t) addr, length, advice); in main()
Dfadvise.h41 static void do_fadvise(long fd, long long offset, long long llen, long advice);
/external/dexmaker/dexmaker-mockito-inline-dispatcher/src/main/java/com/android/dx/mockito/inline/
DMockMethodDispatcher.java59 private MockMethodDispatcher(Object advice) { in MockMethodDispatcher() argument
60 mAdvice = advice; in MockMethodDispatcher()
69 public static void set(String identifier, Object advice) { in set() argument
70 INSTANCE.putIfAbsent(identifier, new MockMethodDispatcher(advice)); in set()
/external/libchrome/base/test/
Dtest_file_util_linux.cc30 int posix_fadvise(int fd, off_t offset, off_t len, int advice) { in posix_fadvise() argument
34 return syscall(__NR_arm_fadvise64_64, fd, advice, in posix_fadvise()
/external/ltp/testcases/kernel/syscalls/madvise/
Dmadvise08.c175 static pid_t run_child(int advice) in run_child() argument
180 advice == MADV_DONTDUMP ? "MADV_DONTDUMP" : "MADV_DODUMP"; in run_child()
184 if (madvise(fmem, FMEMSIZE, advice) == -1) { in run_child()
Dmadvise02.c72 int advice; member
100 switch (tc->advice) { in tcases_filter()
186 TEST(madvise(*(tc->addr), st.st_size, tc->advice)); in advice_test()
Dmadvise01.c45 int advice; member
109 TEST(madvise(*(tc->addr), st.st_size, tc->advice)); in verify_madvise()
/external/dexmaker/dexmaker-mockito-inline/src/main/java/com/android/dx/mockito/inline/
DClassTransformer.java101 MockMethodAdvice advice = new MockMethodAdvice(mocks); in ClassTransformer() local
105 advice); in ClassTransformer()
/external/dexmaker/dexmaker-mockito-inline-extended/src/main/java/com/android/dx/mockito/inline/
DStaticClassTransformer.java95 StaticMockMethodAdvice advice = new StaticMockMethodAdvice(markerToHandler, classToMarker); in StaticClassTransformer() local
99 advice); in StaticClassTransformer()
/external/syzkaller/vendor/golang.org/x/sys/unix/
Dsyscall_linux_arm.go135 func Fadvise(fd int, offset int64, length int64, advice int) (err error) {
136 …_, _, e1 := Syscall6(SYS_ARM_FADVISE64_64, uintptr(fd), uintptr(advice), uintptr(offset), uintptr(…
/external/syzkaller/sys/netbsd/
Dmm.txt10 madvise(addr vma, len len[addr], advice flags[madvise_flags])
/external/syzkaller/sys/freebsd/
Dposix_mm.txt11 madvise(addr vma, len len[addr], advice flags[madvise_flags])
/external/syzkaller/docs/
Dtroubleshooting.md24 Also see [this](linux/troubleshooting.md) for Linux kernel specific troubleshooting advice.
/external/syzkaller/docs/linux/
Dtroubleshooting.md41 Also see [this](/docs/troubleshooting.md) for generic troubleshooting advice.

12345