Home
last modified time | relevance | path

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

12345

/external/tensorflow/tensorflow/core/profiler/internal/advisor/
Dtfprof_advisor_test.cc74 AdviceProto advice = advisor_->Advise(options); in TEST_F() local
75 EXPECT_TRUE(advice.checkers().find(kCheckers[0]) != advice.checkers().end()); in TEST_F()
76 EXPECT_TRUE(advice.checkers().find(kCheckers[1]) != advice.checkers().end()); in TEST_F()
77 EXPECT_TRUE(advice.checkers().find(kCheckers[2]) != advice.checkers().end()); in TEST_F()
83 AdviceProto advice = advisor_->Advise(options); in TEST_F() local
84 EXPECT_EQ(advice.checkers().at(kCheckers[1]).reports_size(), 1); in TEST_F()
86 absl::StrContains(advice.checkers().at(kCheckers[1]).reports(0), "NCHW")); in TEST_F()
92 AdviceProto advice = advisor_->Advise(options); in TEST_F() local
93 EXPECT_EQ(advice.checkers().at(kCheckers[0]).reports_size(), 1); in TEST_F()
94 EXPECT_TRUE(absl::StrContains(advice.checkers().at(kCheckers[0]).reports(0), in TEST_F()
[all …]
/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/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/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.c159 static pid_t run_child(int advice) in run_child() argument
164 advice == MADV_DONTDUMP ? "MADV_DONTDUMP" : "MADV_DODUMP"; in run_child()
168 if (madvise(fmem, FMEMSIZE, advice) == -1) { in run_child()
Dmadvise02.c63 int advice; member
91 switch (tc->advice) { in tcases_filter()
177 TEST(madvise(*(tc->addr), st.st_size, tc->advice)); in advice_test()
Dmadvise01.c36 int advice; member
100 TEST(madvise(*(tc->addr), st.st_size, tc->advice)); in verify_madvise()
/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/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/curl/docs/
DEXPERIMENTAL.md13 3. We strongly advice against using this feature in production.
/external/mesa3d/include/CL/
Dcl_ext_intel.h673 cl_mem_advice_intel advice,
683 cl_mem_advice_intel advice,
/external/ImageMagick/
DInstall-mac.txt47 and follow the doctor's advice.
/external/google-styleguide/
DREADME.md26 rules, it also contains advice on designing your own vs. adapting an existing
/external/python/cpython3/Misc/NEWS.d/
D3.6.0a2.rst558 update_idletasks solution to four test files. Record this additional advice
568 Revise idle_test/README.txt with advice about avoiding tk warning messages
569 from tests. Apply advice to several IDLE tests.

12345