Home
last modified time | relevance | path

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

123456

/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/chromium-trace/catapult/third_party/polymer/components/web-animations-js/src/
Ddeprecation.js19 shared.isDeprecated = function(feature, date, advice, plural) { argument
31 …+ ' ' + auxVerb + ' deprecated and will stop working on ' + expiry.toDateString() + '. ' + advice);
40 shared.deprecated = function(feature, date, advice, plural) { argument
42 if (shared.isDeprecated(feature, date, advice, plural)) {
43 throw new Error(feature + ' ' + auxVerb + ' no longer supported. ' + 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/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dbugprone-posix-return.cpp23 extern "C" int posix_fadvise(int fd, off_t offset, off_t len, int advice);
25 extern "C" int posix_madvise(void *addr, size_t len, int advice);
168 int posix_fadvise(int fd, off_t offset, off_t len, int advice);
190 int posix_fadvise(int fd, off_t offset, off_t len, int advice);
/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/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/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_solaris.cpp87 int internal_madvise(uptr addr, uptr length, int advice) { in internal_madvise() argument
88 return madvise((void *)addr, length, advice); in internal_madvise()
/external/libchrome/base/android/library_loader/
Dlibrary_prefetcher.cc113 void MadviseOnRange(const std::pair<size_t, size_t>& range, int advice) { in MadviseOnRange() argument
118 int err = madvise(reinterpret_cast<void*>(range.first), size, advice); in MadviseOnRange()
/external/curl/docs/
DEXPERIMENTAL.md13 3. We strongly advice against using this feature in production.

123456